| Name | Type | Description | Notes |
|---|---|---|---|
| Command | Pointer to []string | The command to run to determine if the container is healthy | [optional] |
| Interval | Pointer to int32 | Time period (seconds) between health checks | [optional] [default to 30] |
| Timeout | Pointer to int32 | Time period (seconds) to wait for a health check to return | [optional] [default to 5] |
| Retries | Pointer to int32 | Number of times to retry a failed health check | [optional] [default to 3] |
| StartPeriod | Pointer to NullableInt32 | Grace period (seconds) to ignore unhealthy checks after container starts | [optional] |
func NewContainerHealthCheck() *ContainerHealthCheck
NewContainerHealthCheck instantiates a new ContainerHealthCheck object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewContainerHealthCheckWithDefaults() *ContainerHealthCheck
NewContainerHealthCheckWithDefaults instantiates a new ContainerHealthCheck object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *ContainerHealthCheck) GetCommand() []string
GetCommand returns the Command field if non-nil, zero value otherwise.
func (o *ContainerHealthCheck) GetCommandOk() (*[]string, bool)
GetCommandOk returns a tuple with the Command field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerHealthCheck) SetCommand(v []string)
SetCommand sets Command field to given value.
func (o *ContainerHealthCheck) HasCommand() bool
HasCommand returns a boolean if a field has been set.
func (o *ContainerHealthCheck) GetInterval() int32
GetInterval returns the Interval field if non-nil, zero value otherwise.
func (o *ContainerHealthCheck) GetIntervalOk() (*int32, bool)
GetIntervalOk returns a tuple with the Interval field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerHealthCheck) SetInterval(v int32)
SetInterval sets Interval field to given value.
func (o *ContainerHealthCheck) HasInterval() bool
HasInterval returns a boolean if a field has been set.
func (o *ContainerHealthCheck) GetTimeout() int32
GetTimeout returns the Timeout field if non-nil, zero value otherwise.
func (o *ContainerHealthCheck) GetTimeoutOk() (*int32, bool)
GetTimeoutOk returns a tuple with the Timeout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerHealthCheck) SetTimeout(v int32)
SetTimeout sets Timeout field to given value.
func (o *ContainerHealthCheck) HasTimeout() bool
HasTimeout returns a boolean if a field has been set.
func (o *ContainerHealthCheck) GetRetries() int32
GetRetries returns the Retries field if non-nil, zero value otherwise.
func (o *ContainerHealthCheck) GetRetriesOk() (*int32, bool)
GetRetriesOk returns a tuple with the Retries field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerHealthCheck) SetRetries(v int32)
SetRetries sets Retries field to given value.
func (o *ContainerHealthCheck) HasRetries() bool
HasRetries returns a boolean if a field has been set.
func (o *ContainerHealthCheck) GetStartPeriod() int32
GetStartPeriod returns the StartPeriod field if non-nil, zero value otherwise.
func (o *ContainerHealthCheck) GetStartPeriodOk() (*int32, bool)
GetStartPeriodOk returns a tuple with the StartPeriod field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerHealthCheck) SetStartPeriod(v int32)
SetStartPeriod sets StartPeriod field to given value.
func (o *ContainerHealthCheck) HasStartPeriod() bool
HasStartPeriod returns a boolean if a field has been set.
func (o *ContainerHealthCheck) SetStartPeriodNil(b bool)
SetStartPeriodNil sets the value for StartPeriod to be an explicit nil
func (o *ContainerHealthCheck) UnsetStartPeriod()
UnsetStartPeriod ensures that no value is present for StartPeriod, not even an explicit nil