Documentation ¶
Index ¶
- type LeaderWorkerSetApplyConfiguration
- 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
- type LeaderWorkerSetStatusApplyConfiguration
- func (b *LeaderWorkerSetStatusApplyConfiguration) WithConditions(values ...v1.Condition) *LeaderWorkerSetStatusApplyConfiguration
- func (b *LeaderWorkerSetStatusApplyConfiguration) WithHPAPodSelector(value string) *LeaderWorkerSetStatusApplyConfiguration
- func (b *LeaderWorkerSetStatusApplyConfiguration) WithReadyReplicas(value int) *LeaderWorkerSetStatusApplyConfiguration
- func (b *LeaderWorkerSetStatusApplyConfiguration) WithReplicas(value int) *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) WithWorkerTemplate(value v1.PodTemplateSpec) *LeaderWorkerTemplateApplyConfiguration
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 an declarative configuration of the LeaderWorkerSet type for use with apply.
func LeaderWorkerSet ¶
func LeaderWorkerSet(name, namespace string) *LeaderWorkerSetApplyConfiguration
LeaderWorkerSet constructs an declarative configuration of the LeaderWorkerSet type for use with apply.
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"` }
LeaderWorkerSetSpecApplyConfiguration represents an declarative configuration of the LeaderWorkerSetSpec type for use with apply.
func LeaderWorkerSetSpec ¶
func LeaderWorkerSetSpec() *LeaderWorkerSetSpecApplyConfiguration
LeaderWorkerSetSpecApplyConfiguration constructs an 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) 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.
type LeaderWorkerSetStatusApplyConfiguration ¶
type LeaderWorkerSetStatusApplyConfiguration struct { Conditions []v1.Condition `json:"conditions,omitempty"` ReadyReplicas *int `json:"readyReplicas,omitempty"` Replicas *int `json:"replicas,omitempty"` HPAPodSelector *string `json:"hpaPodSelector,omitempty"` }
LeaderWorkerSetStatusApplyConfiguration represents an declarative configuration of the LeaderWorkerSetStatus type for use with apply.
func LeaderWorkerSetStatus ¶
func LeaderWorkerSetStatus() *LeaderWorkerSetStatusApplyConfiguration
LeaderWorkerSetStatusApplyConfiguration constructs an declarative configuration of the LeaderWorkerSetStatus type for use with apply.
func (*LeaderWorkerSetStatusApplyConfiguration) WithConditions ¶
func (b *LeaderWorkerSetStatusApplyConfiguration) WithConditions(values ...v1.Condition) *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 int) *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 int) *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.
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"` }
LeaderWorkerTemplateApplyConfiguration represents an declarative configuration of the LeaderWorkerTemplate type for use with apply.
func LeaderWorkerTemplate ¶
func LeaderWorkerTemplate() *LeaderWorkerTemplateApplyConfiguration
LeaderWorkerTemplateApplyConfiguration constructs an 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) 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.