Documentation ¶
Index ¶
- type LeaderWorkerSetApplyConfiguration
- func (b *LeaderWorkerSetApplyConfiguration) GetName() *string
- func (b *LeaderWorkerSetApplyConfiguration) WithAPIVersion(value string) *LeaderWorkerSetApplyConfiguration
- func (b *LeaderWorkerSetApplyConfiguration) WithAnnotations(entries map[string]string) *LeaderWorkerSetApplyConfiguration
- func (b *LeaderWorkerSetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *LeaderWorkerSetApplyConfiguration
- func (b *LeaderWorkerSetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *LeaderWorkerSetApplyConfiguration
- func (b *LeaderWorkerSetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *LeaderWorkerSetApplyConfiguration
- func (b *LeaderWorkerSetApplyConfiguration) WithFinalizers(values ...string) *LeaderWorkerSetApplyConfiguration
- func (b *LeaderWorkerSetApplyConfiguration) WithGenerateName(value string) *LeaderWorkerSetApplyConfiguration
- func (b *LeaderWorkerSetApplyConfiguration) WithGeneration(value int64) *LeaderWorkerSetApplyConfiguration
- func (b *LeaderWorkerSetApplyConfiguration) WithKind(value string) *LeaderWorkerSetApplyConfiguration
- func (b *LeaderWorkerSetApplyConfiguration) WithLabels(entries map[string]string) *LeaderWorkerSetApplyConfiguration
- func (b *LeaderWorkerSetApplyConfiguration) WithName(value string) *LeaderWorkerSetApplyConfiguration
- func (b *LeaderWorkerSetApplyConfiguration) WithNamespace(value string) *LeaderWorkerSetApplyConfiguration
- func (b *LeaderWorkerSetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *LeaderWorkerSetApplyConfiguration
- func (b *LeaderWorkerSetApplyConfiguration) WithResourceVersion(value string) *LeaderWorkerSetApplyConfiguration
- func (b *LeaderWorkerSetApplyConfiguration) WithSpec(value *LeaderWorkerSetSpecApplyConfiguration) *LeaderWorkerSetApplyConfiguration
- func (b *LeaderWorkerSetApplyConfiguration) WithStatus(value *LeaderWorkerSetStatusApplyConfiguration) *LeaderWorkerSetApplyConfiguration
- func (b *LeaderWorkerSetApplyConfiguration) WithUID(value types.UID) *LeaderWorkerSetApplyConfiguration
- type LeaderWorkerSetSpecApplyConfiguration
- func (b *LeaderWorkerSetSpecApplyConfiguration) WithLeaderWorkerTemplate(value *LeaderWorkerTemplateApplyConfiguration) *LeaderWorkerSetSpecApplyConfiguration
- func (b *LeaderWorkerSetSpecApplyConfiguration) WithNetworkConfig(value *NetworkConfigApplyConfiguration) *LeaderWorkerSetSpecApplyConfiguration
- func (b *LeaderWorkerSetSpecApplyConfiguration) WithReplicas(value int32) *LeaderWorkerSetSpecApplyConfiguration
- func (b *LeaderWorkerSetSpecApplyConfiguration) WithRolloutStrategy(value *RolloutStrategyApplyConfiguration) *LeaderWorkerSetSpecApplyConfiguration
- func (b *LeaderWorkerSetSpecApplyConfiguration) WithStartupPolicy(value leaderworkersetv1.StartupPolicyType) *LeaderWorkerSetSpecApplyConfiguration
- type LeaderWorkerSetStatusApplyConfiguration
- func (b *LeaderWorkerSetStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *LeaderWorkerSetStatusApplyConfiguration
- func (b *LeaderWorkerSetStatusApplyConfiguration) WithHPAPodSelector(value string) *LeaderWorkerSetStatusApplyConfiguration
- func (b *LeaderWorkerSetStatusApplyConfiguration) WithReadyReplicas(value int32) *LeaderWorkerSetStatusApplyConfiguration
- func (b *LeaderWorkerSetStatusApplyConfiguration) WithReplicas(value int32) *LeaderWorkerSetStatusApplyConfiguration
- func (b *LeaderWorkerSetStatusApplyConfiguration) WithUpdatedReplicas(value int32) *LeaderWorkerSetStatusApplyConfiguration
- type LeaderWorkerTemplateApplyConfiguration
- func (b *LeaderWorkerTemplateApplyConfiguration) WithLeaderTemplate(value v1.PodTemplateSpec) *LeaderWorkerTemplateApplyConfiguration
- func (b *LeaderWorkerTemplateApplyConfiguration) WithRestartPolicy(value leaderworkersetv1.RestartPolicyType) *LeaderWorkerTemplateApplyConfiguration
- func (b *LeaderWorkerTemplateApplyConfiguration) WithSize(value int32) *LeaderWorkerTemplateApplyConfiguration
- func (b *LeaderWorkerTemplateApplyConfiguration) WithSubGroupPolicy(value *SubGroupPolicyApplyConfiguration) *LeaderWorkerTemplateApplyConfiguration
- func (b *LeaderWorkerTemplateApplyConfiguration) WithWorkerTemplate(value v1.PodTemplateSpec) *LeaderWorkerTemplateApplyConfiguration
- type NetworkConfigApplyConfiguration
- type RollingUpdateConfigurationApplyConfiguration
- type RolloutStrategyApplyConfiguration
- type SubGroupPolicyApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LeaderWorkerSetApplyConfiguration ¶
type LeaderWorkerSetApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *LeaderWorkerSetSpecApplyConfiguration `json:"spec,omitempty"` Status *LeaderWorkerSetStatusApplyConfiguration `json:"status,omitempty"` }
LeaderWorkerSetApplyConfiguration represents a declarative configuration of the LeaderWorkerSet type for use with apply.
func LeaderWorkerSet ¶
func LeaderWorkerSet(name, namespace string) *LeaderWorkerSetApplyConfiguration
LeaderWorkerSet constructs a declarative configuration of the LeaderWorkerSet type for use with apply.
func (*LeaderWorkerSetApplyConfiguration) GetName ¶ added in v0.4.0
func (b *LeaderWorkerSetApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*LeaderWorkerSetApplyConfiguration) WithAPIVersion ¶
func (b *LeaderWorkerSetApplyConfiguration) WithAPIVersion(value string) *LeaderWorkerSetApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*LeaderWorkerSetApplyConfiguration) WithAnnotations ¶
func (b *LeaderWorkerSetApplyConfiguration) WithAnnotations(entries map[string]string) *LeaderWorkerSetApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*LeaderWorkerSetApplyConfiguration) WithCreationTimestamp ¶
func (b *LeaderWorkerSetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *LeaderWorkerSetApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*LeaderWorkerSetApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *LeaderWorkerSetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *LeaderWorkerSetApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*LeaderWorkerSetApplyConfiguration) WithDeletionTimestamp ¶
func (b *LeaderWorkerSetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *LeaderWorkerSetApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*LeaderWorkerSetApplyConfiguration) WithFinalizers ¶
func (b *LeaderWorkerSetApplyConfiguration) WithFinalizers(values ...string) *LeaderWorkerSetApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*LeaderWorkerSetApplyConfiguration) WithGenerateName ¶
func (b *LeaderWorkerSetApplyConfiguration) WithGenerateName(value string) *LeaderWorkerSetApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*LeaderWorkerSetApplyConfiguration) WithGeneration ¶
func (b *LeaderWorkerSetApplyConfiguration) WithGeneration(value int64) *LeaderWorkerSetApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*LeaderWorkerSetApplyConfiguration) WithKind ¶
func (b *LeaderWorkerSetApplyConfiguration) WithKind(value string) *LeaderWorkerSetApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*LeaderWorkerSetApplyConfiguration) WithLabels ¶
func (b *LeaderWorkerSetApplyConfiguration) WithLabels(entries map[string]string) *LeaderWorkerSetApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*LeaderWorkerSetApplyConfiguration) WithName ¶
func (b *LeaderWorkerSetApplyConfiguration) WithName(value string) *LeaderWorkerSetApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*LeaderWorkerSetApplyConfiguration) WithNamespace ¶
func (b *LeaderWorkerSetApplyConfiguration) WithNamespace(value string) *LeaderWorkerSetApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*LeaderWorkerSetApplyConfiguration) WithOwnerReferences ¶
func (b *LeaderWorkerSetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *LeaderWorkerSetApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*LeaderWorkerSetApplyConfiguration) WithResourceVersion ¶
func (b *LeaderWorkerSetApplyConfiguration) WithResourceVersion(value string) *LeaderWorkerSetApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*LeaderWorkerSetApplyConfiguration) WithSpec ¶
func (b *LeaderWorkerSetApplyConfiguration) WithSpec(value *LeaderWorkerSetSpecApplyConfiguration) *LeaderWorkerSetApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*LeaderWorkerSetApplyConfiguration) WithStatus ¶
func (b *LeaderWorkerSetApplyConfiguration) WithStatus(value *LeaderWorkerSetStatusApplyConfiguration) *LeaderWorkerSetApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*LeaderWorkerSetApplyConfiguration) WithUID ¶
func (b *LeaderWorkerSetApplyConfiguration) WithUID(value types.UID) *LeaderWorkerSetApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type LeaderWorkerSetSpecApplyConfiguration ¶
type LeaderWorkerSetSpecApplyConfiguration struct { Replicas *int32 `json:"replicas,omitempty"` LeaderWorkerTemplate *LeaderWorkerTemplateApplyConfiguration `json:"leaderWorkerTemplate,omitempty"` RolloutStrategy *RolloutStrategyApplyConfiguration `json:"rolloutStrategy,omitempty"` StartupPolicy *leaderworkersetv1.StartupPolicyType `json:"startupPolicy,omitempty"` NetworkConfig *NetworkConfigApplyConfiguration `json:"networkConfig,omitempty"` }
LeaderWorkerSetSpecApplyConfiguration represents a declarative configuration of the LeaderWorkerSetSpec type for use with apply.
func LeaderWorkerSetSpec ¶
func LeaderWorkerSetSpec() *LeaderWorkerSetSpecApplyConfiguration
LeaderWorkerSetSpecApplyConfiguration constructs a declarative configuration of the LeaderWorkerSetSpec type for use with apply.
func (*LeaderWorkerSetSpecApplyConfiguration) WithLeaderWorkerTemplate ¶
func (b *LeaderWorkerSetSpecApplyConfiguration) WithLeaderWorkerTemplate(value *LeaderWorkerTemplateApplyConfiguration) *LeaderWorkerSetSpecApplyConfiguration
WithLeaderWorkerTemplate sets the LeaderWorkerTemplate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LeaderWorkerTemplate field is set to the value of the last call.
func (*LeaderWorkerSetSpecApplyConfiguration) WithNetworkConfig ¶ added in v0.4.0
func (b *LeaderWorkerSetSpecApplyConfiguration) WithNetworkConfig(value *NetworkConfigApplyConfiguration) *LeaderWorkerSetSpecApplyConfiguration
WithNetworkConfig sets the NetworkConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkConfig field is set to the value of the last call.
func (*LeaderWorkerSetSpecApplyConfiguration) WithReplicas ¶
func (b *LeaderWorkerSetSpecApplyConfiguration) WithReplicas(value int32) *LeaderWorkerSetSpecApplyConfiguration
WithReplicas sets the Replicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Replicas field is set to the value of the last call.
func (*LeaderWorkerSetSpecApplyConfiguration) WithRolloutStrategy ¶ added in v0.2.0
func (b *LeaderWorkerSetSpecApplyConfiguration) WithRolloutStrategy(value *RolloutStrategyApplyConfiguration) *LeaderWorkerSetSpecApplyConfiguration
WithRolloutStrategy sets the RolloutStrategy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RolloutStrategy field is set to the value of the last call.
func (*LeaderWorkerSetSpecApplyConfiguration) WithStartupPolicy ¶ added in v0.4.0
func (b *LeaderWorkerSetSpecApplyConfiguration) WithStartupPolicy(value leaderworkersetv1.StartupPolicyType) *LeaderWorkerSetSpecApplyConfiguration
WithStartupPolicy sets the StartupPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StartupPolicy field is set to the value of the last call.
type LeaderWorkerSetStatusApplyConfiguration ¶
type LeaderWorkerSetStatusApplyConfiguration struct { Conditions []v1.ConditionApplyConfiguration `json:"conditions,omitempty"` ReadyReplicas *int32 `json:"readyReplicas,omitempty"` UpdatedReplicas *int32 `json:"updatedReplicas,omitempty"` Replicas *int32 `json:"replicas,omitempty"` HPAPodSelector *string `json:"hpaPodSelector,omitempty"` }
LeaderWorkerSetStatusApplyConfiguration represents a declarative configuration of the LeaderWorkerSetStatus type for use with apply.
func LeaderWorkerSetStatus ¶
func LeaderWorkerSetStatus() *LeaderWorkerSetStatusApplyConfiguration
LeaderWorkerSetStatusApplyConfiguration constructs a declarative configuration of the LeaderWorkerSetStatus type for use with apply.
func (*LeaderWorkerSetStatusApplyConfiguration) WithConditions ¶
func (b *LeaderWorkerSetStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *LeaderWorkerSetStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*LeaderWorkerSetStatusApplyConfiguration) WithHPAPodSelector ¶
func (b *LeaderWorkerSetStatusApplyConfiguration) WithHPAPodSelector(value string) *LeaderWorkerSetStatusApplyConfiguration
WithHPAPodSelector sets the HPAPodSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HPAPodSelector field is set to the value of the last call.
func (*LeaderWorkerSetStatusApplyConfiguration) WithReadyReplicas ¶
func (b *LeaderWorkerSetStatusApplyConfiguration) WithReadyReplicas(value int32) *LeaderWorkerSetStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*LeaderWorkerSetStatusApplyConfiguration) WithReplicas ¶
func (b *LeaderWorkerSetStatusApplyConfiguration) WithReplicas(value int32) *LeaderWorkerSetStatusApplyConfiguration
WithReplicas sets the Replicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Replicas field is set to the value of the last call.
func (*LeaderWorkerSetStatusApplyConfiguration) WithUpdatedReplicas ¶ added in v0.2.0
func (b *LeaderWorkerSetStatusApplyConfiguration) WithUpdatedReplicas(value int32) *LeaderWorkerSetStatusApplyConfiguration
WithUpdatedReplicas sets the UpdatedReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpdatedReplicas field is set to the value of the last call.
type LeaderWorkerTemplateApplyConfiguration ¶
type LeaderWorkerTemplateApplyConfiguration struct { LeaderTemplate *v1.PodTemplateSpec `json:"leaderTemplate,omitempty"` WorkerTemplate *v1.PodTemplateSpec `json:"workerTemplate,omitempty"` Size *int32 `json:"size,omitempty"` RestartPolicy *leaderworkersetv1.RestartPolicyType `json:"restartPolicy,omitempty"` SubGroupPolicy *SubGroupPolicyApplyConfiguration `json:"subGroupPolicy,omitempty"` }
LeaderWorkerTemplateApplyConfiguration represents a declarative configuration of the LeaderWorkerTemplate type for use with apply.
func LeaderWorkerTemplate ¶
func LeaderWorkerTemplate() *LeaderWorkerTemplateApplyConfiguration
LeaderWorkerTemplateApplyConfiguration constructs a declarative configuration of the LeaderWorkerTemplate type for use with apply.
func (*LeaderWorkerTemplateApplyConfiguration) WithLeaderTemplate ¶
func (b *LeaderWorkerTemplateApplyConfiguration) WithLeaderTemplate(value v1.PodTemplateSpec) *LeaderWorkerTemplateApplyConfiguration
WithLeaderTemplate sets the LeaderTemplate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LeaderTemplate field is set to the value of the last call.
func (*LeaderWorkerTemplateApplyConfiguration) WithRestartPolicy ¶
func (b *LeaderWorkerTemplateApplyConfiguration) WithRestartPolicy(value leaderworkersetv1.RestartPolicyType) *LeaderWorkerTemplateApplyConfiguration
WithRestartPolicy sets the RestartPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RestartPolicy field is set to the value of the last call.
func (*LeaderWorkerTemplateApplyConfiguration) WithSize ¶
func (b *LeaderWorkerTemplateApplyConfiguration) WithSize(value int32) *LeaderWorkerTemplateApplyConfiguration
WithSize sets the Size field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Size field is set to the value of the last call.
func (*LeaderWorkerTemplateApplyConfiguration) WithSubGroupPolicy ¶ added in v0.3.0
func (b *LeaderWorkerTemplateApplyConfiguration) WithSubGroupPolicy(value *SubGroupPolicyApplyConfiguration) *LeaderWorkerTemplateApplyConfiguration
WithSubGroupPolicy sets the SubGroupPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SubGroupPolicy field is set to the value of the last call.
func (*LeaderWorkerTemplateApplyConfiguration) WithWorkerTemplate ¶
func (b *LeaderWorkerTemplateApplyConfiguration) WithWorkerTemplate(value v1.PodTemplateSpec) *LeaderWorkerTemplateApplyConfiguration
WithWorkerTemplate sets the WorkerTemplate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WorkerTemplate field is set to the value of the last call.
type NetworkConfigApplyConfiguration ¶ added in v0.4.0
type NetworkConfigApplyConfiguration struct {
SubdomainPolicy *v1.SubdomainPolicy `json:"subdomainPolicy,omitempty"`
}
NetworkConfigApplyConfiguration represents a declarative configuration of the NetworkConfig type for use with apply.
func NetworkConfig ¶ added in v0.4.0
func NetworkConfig() *NetworkConfigApplyConfiguration
NetworkConfigApplyConfiguration constructs a declarative configuration of the NetworkConfig type for use with apply.
func (*NetworkConfigApplyConfiguration) WithSubdomainPolicy ¶ added in v0.4.0
func (b *NetworkConfigApplyConfiguration) WithSubdomainPolicy(value v1.SubdomainPolicy) *NetworkConfigApplyConfiguration
WithSubdomainPolicy sets the SubdomainPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SubdomainPolicy field is set to the value of the last call.
type RollingUpdateConfigurationApplyConfiguration ¶ added in v0.2.0
type RollingUpdateConfigurationApplyConfiguration struct { MaxSurge *intstr.IntOrString `json:"maxSurge,omitempty"` }
RollingUpdateConfigurationApplyConfiguration represents a declarative configuration of the RollingUpdateConfiguration type for use with apply.
func RollingUpdateConfiguration ¶ added in v0.2.0
func RollingUpdateConfiguration() *RollingUpdateConfigurationApplyConfiguration
RollingUpdateConfigurationApplyConfiguration constructs a declarative configuration of the RollingUpdateConfiguration type for use with apply.
func (*RollingUpdateConfigurationApplyConfiguration) WithMaxSurge ¶ added in v0.3.0
func (b *RollingUpdateConfigurationApplyConfiguration) WithMaxSurge(value intstr.IntOrString) *RollingUpdateConfigurationApplyConfiguration
WithMaxSurge sets the MaxSurge field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxSurge field is set to the value of the last call.
func (*RollingUpdateConfigurationApplyConfiguration) WithMaxUnavailable ¶ added in v0.2.0
func (b *RollingUpdateConfigurationApplyConfiguration) WithMaxUnavailable(value intstr.IntOrString) *RollingUpdateConfigurationApplyConfiguration
WithMaxUnavailable sets the MaxUnavailable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxUnavailable field is set to the value of the last call.
type RolloutStrategyApplyConfiguration ¶ added in v0.2.0
type RolloutStrategyApplyConfiguration struct { Type *v1.RolloutStrategyType `json:"type,omitempty"` RollingUpdateConfiguration *RollingUpdateConfigurationApplyConfiguration `json:"rollingUpdateConfiguration,omitempty"` }
RolloutStrategyApplyConfiguration represents a declarative configuration of the RolloutStrategy type for use with apply.
func RolloutStrategy ¶ added in v0.2.0
func RolloutStrategy() *RolloutStrategyApplyConfiguration
RolloutStrategyApplyConfiguration constructs a declarative configuration of the RolloutStrategy type for use with apply.
func (*RolloutStrategyApplyConfiguration) WithRollingUpdateConfiguration ¶ added in v0.2.0
func (b *RolloutStrategyApplyConfiguration) WithRollingUpdateConfiguration(value *RollingUpdateConfigurationApplyConfiguration) *RolloutStrategyApplyConfiguration
WithRollingUpdateConfiguration sets the RollingUpdateConfiguration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RollingUpdateConfiguration field is set to the value of the last call.
func (*RolloutStrategyApplyConfiguration) WithType ¶ added in v0.2.0
func (b *RolloutStrategyApplyConfiguration) WithType(value v1.RolloutStrategyType) *RolloutStrategyApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type SubGroupPolicyApplyConfiguration ¶ added in v0.3.0
type SubGroupPolicyApplyConfiguration struct {
SubGroupSize *int32 `json:"subGroupSize,omitempty"`
}
SubGroupPolicyApplyConfiguration represents a declarative configuration of the SubGroupPolicy type for use with apply.
func SubGroupPolicy ¶ added in v0.3.0
func SubGroupPolicy() *SubGroupPolicyApplyConfiguration
SubGroupPolicyApplyConfiguration constructs a declarative configuration of the SubGroupPolicy type for use with apply.
func (*SubGroupPolicyApplyConfiguration) WithSubGroupSize ¶ added in v0.3.0
func (b *SubGroupPolicyApplyConfiguration) WithSubGroupSize(value int32) *SubGroupPolicyApplyConfiguration
WithSubGroupSize sets the SubGroupSize field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SubGroupSize field is set to the value of the last call.