Name | Type | Description | Notes |
---|---|---|---|
MinReadySeconds | Pointer to int32 | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional] |
Replicas | Pointer to int32 | Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller | [optional] |
Selector | V1LabelSelector | ||
Template | Pointer to V1PodTemplateSpec | [optional] |
func NewV1ReplicaSetSpec(selector V1LabelSelector, ) *V1ReplicaSetSpec
NewV1ReplicaSetSpec instantiates a new V1ReplicaSetSpec 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 NewV1ReplicaSetSpecWithDefaults() *V1ReplicaSetSpec
NewV1ReplicaSetSpecWithDefaults instantiates a new V1ReplicaSetSpec 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 *V1ReplicaSetSpec) GetMinReadySeconds() int32
GetMinReadySeconds returns the MinReadySeconds field if non-nil, zero value otherwise.
func (o *V1ReplicaSetSpec) GetMinReadySecondsOk() (*int32, bool)
GetMinReadySecondsOk returns a tuple with the MinReadySeconds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1ReplicaSetSpec) SetMinReadySeconds(v int32)
SetMinReadySeconds sets MinReadySeconds field to given value.
func (o *V1ReplicaSetSpec) HasMinReadySeconds() bool
HasMinReadySeconds returns a boolean if a field has been set.
func (o *V1ReplicaSetSpec) GetReplicas() int32
GetReplicas returns the Replicas field if non-nil, zero value otherwise.
func (o *V1ReplicaSetSpec) GetReplicasOk() (*int32, bool)
GetReplicasOk returns a tuple with the Replicas field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1ReplicaSetSpec) SetReplicas(v int32)
SetReplicas sets Replicas field to given value.
func (o *V1ReplicaSetSpec) HasReplicas() bool
HasReplicas returns a boolean if a field has been set.
func (o *V1ReplicaSetSpec) GetSelector() V1LabelSelector
GetSelector returns the Selector field if non-nil, zero value otherwise.
func (o *V1ReplicaSetSpec) GetSelectorOk() (*V1LabelSelector, bool)
GetSelectorOk returns a tuple with the Selector field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1ReplicaSetSpec) SetSelector(v V1LabelSelector)
SetSelector sets Selector field to given value.
func (o *V1ReplicaSetSpec) GetTemplate() V1PodTemplateSpec
GetTemplate returns the Template field if non-nil, zero value otherwise.
func (o *V1ReplicaSetSpec) GetTemplateOk() (*V1PodTemplateSpec, bool)
GetTemplateOk returns a tuple with the Template field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1ReplicaSetSpec) SetTemplate(v V1PodTemplateSpec)
SetTemplate sets Template field to given value.
func (o *V1ReplicaSetSpec) HasTemplate() bool
HasTemplate returns a boolean if a field has been set.