v1beta2

package
Version: v0.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2022 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerRevisionApplyConfiguration

type ControllerRevisionApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Data                             *runtime.RawExtension `json:"data,omitempty"`
	Revision                         *int64                `json:"revision,omitempty"`
}

ControllerRevisionApplyConfiguration represents an declarative configuration of the ControllerRevision type for use with apply.

func ControllerRevision

func ControllerRevision(name, namespace string) *ControllerRevisionApplyConfiguration

ControllerRevision constructs an declarative configuration of the ControllerRevision type for use with apply.

func ExtractControllerRevision

func ExtractControllerRevision(controllerRevision *v1beta2.ControllerRevision, fieldManager string) (*ControllerRevisionApplyConfiguration, error)

ExtractControllerRevision extracts the applied configuration owned by fieldManager from controllerRevision. If no managedFields are found in controllerRevision for fieldManager, a ControllerRevisionApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. controllerRevision must be a unmodified ControllerRevision API object that was retrieved from the Kubernetes API. ExtractControllerRevision provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractControllerRevisionStatus added in v0.22.0

func ExtractControllerRevisionStatus(controllerRevision *v1beta2.ControllerRevision, fieldManager string) (*ControllerRevisionApplyConfiguration, error)

ExtractControllerRevisionStatus is the same as ExtractControllerRevision except that it extracts the status subresource applied configuration. Experimental!

func (*ControllerRevisionApplyConfiguration) WithAPIVersion

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 (*ControllerRevisionApplyConfiguration) WithAnnotations

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 (*ControllerRevisionApplyConfiguration) WithCreationTimestamp

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 (*ControllerRevisionApplyConfiguration) WithData

WithData sets the Data 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 Data field is set to the value of the last call.

func (*ControllerRevisionApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *ControllerRevisionApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ControllerRevisionApplyConfiguration

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 (*ControllerRevisionApplyConfiguration) WithDeletionTimestamp

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 (*ControllerRevisionApplyConfiguration) WithFinalizers

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 (*ControllerRevisionApplyConfiguration) WithGenerateName

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 (*ControllerRevisionApplyConfiguration) WithGeneration

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 (*ControllerRevisionApplyConfiguration) WithKind

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 (*ControllerRevisionApplyConfiguration) WithLabels

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 (*ControllerRevisionApplyConfiguration) WithName

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 (*ControllerRevisionApplyConfiguration) WithNamespace

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 (*ControllerRevisionApplyConfiguration) WithOwnerReferences

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 (*ControllerRevisionApplyConfiguration) WithResourceVersion

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 (*ControllerRevisionApplyConfiguration) WithRevision

WithRevision sets the Revision 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 Revision field is set to the value of the last call.

func (*ControllerRevisionApplyConfiguration) WithUID

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 DaemonSetApplyConfiguration

type DaemonSetApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *DaemonSetSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *DaemonSetStatusApplyConfiguration `json:"status,omitempty"`
}

DaemonSetApplyConfiguration represents an declarative configuration of the DaemonSet type for use with apply.

func DaemonSet

func DaemonSet(name, namespace string) *DaemonSetApplyConfiguration

DaemonSet constructs an declarative configuration of the DaemonSet type for use with apply.

func ExtractDaemonSet

func ExtractDaemonSet(daemonSet *appsv1beta2.DaemonSet, fieldManager string) (*DaemonSetApplyConfiguration, error)

ExtractDaemonSet extracts the applied configuration owned by fieldManager from daemonSet. If no managedFields are found in daemonSet for fieldManager, a DaemonSetApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. daemonSet must be a unmodified DaemonSet API object that was retrieved from the Kubernetes API. ExtractDaemonSet provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractDaemonSetStatus added in v0.22.0

func ExtractDaemonSetStatus(daemonSet *appsv1beta2.DaemonSet, fieldManager string) (*DaemonSetApplyConfiguration, error)

ExtractDaemonSetStatus is the same as ExtractDaemonSet except that it extracts the status subresource applied configuration. Experimental!

func (*DaemonSetApplyConfiguration) WithAPIVersion

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 (*DaemonSetApplyConfiguration) WithAnnotations

func (b *DaemonSetApplyConfiguration) WithAnnotations(entries map[string]string) *DaemonSetApplyConfiguration

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 (*DaemonSetApplyConfiguration) WithCreationTimestamp

func (b *DaemonSetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DaemonSetApplyConfiguration

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 (*DaemonSetApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *DaemonSetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DaemonSetApplyConfiguration

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 (*DaemonSetApplyConfiguration) WithDeletionTimestamp

func (b *DaemonSetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DaemonSetApplyConfiguration

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 (*DaemonSetApplyConfiguration) WithFinalizers

func (b *DaemonSetApplyConfiguration) WithFinalizers(values ...string) *DaemonSetApplyConfiguration

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 (*DaemonSetApplyConfiguration) WithGenerateName

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 (*DaemonSetApplyConfiguration) WithGeneration

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 (*DaemonSetApplyConfiguration) WithKind

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 (*DaemonSetApplyConfiguration) WithLabels

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 (*DaemonSetApplyConfiguration) WithName

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 (*DaemonSetApplyConfiguration) WithNamespace

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 (*DaemonSetApplyConfiguration) WithOwnerReferences

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 (*DaemonSetApplyConfiguration) WithResourceVersion

func (b *DaemonSetApplyConfiguration) WithResourceVersion(value string) *DaemonSetApplyConfiguration

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 (*DaemonSetApplyConfiguration) WithSpec

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 (*DaemonSetApplyConfiguration) WithStatus

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 (*DaemonSetApplyConfiguration) WithUID

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 DaemonSetConditionApplyConfiguration

type DaemonSetConditionApplyConfiguration struct {
	Type               *v1beta2.DaemonSetConditionType `json:"type,omitempty"`
	Status             *v1.ConditionStatus             `json:"status,omitempty"`
	LastTransitionTime *metav1.Time                    `json:"lastTransitionTime,omitempty"`
	Reason             *string                         `json:"reason,omitempty"`
	Message            *string                         `json:"message,omitempty"`
}

DaemonSetConditionApplyConfiguration represents an declarative configuration of the DaemonSetCondition type for use with apply.

func DaemonSetCondition

func DaemonSetCondition() *DaemonSetConditionApplyConfiguration

DaemonSetConditionApplyConfiguration constructs an declarative configuration of the DaemonSetCondition type for use with apply.

func (*DaemonSetConditionApplyConfiguration) WithLastTransitionTime

WithLastTransitionTime sets the LastTransitionTime 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 LastTransitionTime field is set to the value of the last call.

func (*DaemonSetConditionApplyConfiguration) WithMessage

WithMessage sets the Message 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 Message field is set to the value of the last call.

func (*DaemonSetConditionApplyConfiguration) WithReason

WithReason sets the Reason 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 Reason field is set to the value of the last call.

func (*DaemonSetConditionApplyConfiguration) WithStatus

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 (*DaemonSetConditionApplyConfiguration) WithType

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 DaemonSetSpecApplyConfiguration

type DaemonSetSpecApplyConfiguration struct {
	Selector             *v1.LabelSelectorApplyConfiguration        `json:"selector,omitempty"`
	Template             *corev1.PodTemplateSpecApplyConfiguration  `json:"template,omitempty"`
	UpdateStrategy       *DaemonSetUpdateStrategyApplyConfiguration `json:"updateStrategy,omitempty"`
	MinReadySeconds      *int32                                     `json:"minReadySeconds,omitempty"`
	RevisionHistoryLimit *int32                                     `json:"revisionHistoryLimit,omitempty"`
}

DaemonSetSpecApplyConfiguration represents an declarative configuration of the DaemonSetSpec type for use with apply.

func DaemonSetSpec

func DaemonSetSpec() *DaemonSetSpecApplyConfiguration

DaemonSetSpecApplyConfiguration constructs an declarative configuration of the DaemonSetSpec type for use with apply.

func (*DaemonSetSpecApplyConfiguration) WithMinReadySeconds

WithMinReadySeconds sets the MinReadySeconds 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 MinReadySeconds field is set to the value of the last call.

func (*DaemonSetSpecApplyConfiguration) WithRevisionHistoryLimit

func (b *DaemonSetSpecApplyConfiguration) WithRevisionHistoryLimit(value int32) *DaemonSetSpecApplyConfiguration

WithRevisionHistoryLimit sets the RevisionHistoryLimit 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 RevisionHistoryLimit field is set to the value of the last call.

func (*DaemonSetSpecApplyConfiguration) WithSelector

WithSelector sets the Selector 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 Selector field is set to the value of the last call.

func (*DaemonSetSpecApplyConfiguration) WithTemplate

WithTemplate sets the Template 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 Template field is set to the value of the last call.

func (*DaemonSetSpecApplyConfiguration) WithUpdateStrategy

WithUpdateStrategy sets the UpdateStrategy 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 UpdateStrategy field is set to the value of the last call.

type DaemonSetStatusApplyConfiguration

type DaemonSetStatusApplyConfiguration struct {
	CurrentNumberScheduled *int32                                 `json:"currentNumberScheduled,omitempty"`
	NumberMisscheduled     *int32                                 `json:"numberMisscheduled,omitempty"`
	DesiredNumberScheduled *int32                                 `json:"desiredNumberScheduled,omitempty"`
	NumberReady            *int32                                 `json:"numberReady,omitempty"`
	ObservedGeneration     *int64                                 `json:"observedGeneration,omitempty"`
	UpdatedNumberScheduled *int32                                 `json:"updatedNumberScheduled,omitempty"`
	NumberAvailable        *int32                                 `json:"numberAvailable,omitempty"`
	NumberUnavailable      *int32                                 `json:"numberUnavailable,omitempty"`
	CollisionCount         *int32                                 `json:"collisionCount,omitempty"`
	Conditions             []DaemonSetConditionApplyConfiguration `json:"conditions,omitempty"`
}

DaemonSetStatusApplyConfiguration represents an declarative configuration of the DaemonSetStatus type for use with apply.

func DaemonSetStatus

func DaemonSetStatus() *DaemonSetStatusApplyConfiguration

DaemonSetStatusApplyConfiguration constructs an declarative configuration of the DaemonSetStatus type for use with apply.

func (*DaemonSetStatusApplyConfiguration) WithCollisionCount

WithCollisionCount sets the CollisionCount 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 CollisionCount field is set to the value of the last call.

func (*DaemonSetStatusApplyConfiguration) WithConditions

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 (*DaemonSetStatusApplyConfiguration) WithCurrentNumberScheduled

func (b *DaemonSetStatusApplyConfiguration) WithCurrentNumberScheduled(value int32) *DaemonSetStatusApplyConfiguration

WithCurrentNumberScheduled sets the CurrentNumberScheduled 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 CurrentNumberScheduled field is set to the value of the last call.

func (*DaemonSetStatusApplyConfiguration) WithDesiredNumberScheduled

func (b *DaemonSetStatusApplyConfiguration) WithDesiredNumberScheduled(value int32) *DaemonSetStatusApplyConfiguration

WithDesiredNumberScheduled sets the DesiredNumberScheduled 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 DesiredNumberScheduled field is set to the value of the last call.

func (*DaemonSetStatusApplyConfiguration) WithNumberAvailable

WithNumberAvailable sets the NumberAvailable 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 NumberAvailable field is set to the value of the last call.

func (*DaemonSetStatusApplyConfiguration) WithNumberMisscheduled

WithNumberMisscheduled sets the NumberMisscheduled 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 NumberMisscheduled field is set to the value of the last call.

func (*DaemonSetStatusApplyConfiguration) WithNumberReady

WithNumberReady sets the NumberReady 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 NumberReady field is set to the value of the last call.

func (*DaemonSetStatusApplyConfiguration) WithNumberUnavailable

WithNumberUnavailable sets the NumberUnavailable 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 NumberUnavailable field is set to the value of the last call.

func (*DaemonSetStatusApplyConfiguration) WithObservedGeneration

WithObservedGeneration sets the ObservedGeneration 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 ObservedGeneration field is set to the value of the last call.

func (*DaemonSetStatusApplyConfiguration) WithUpdatedNumberScheduled

func (b *DaemonSetStatusApplyConfiguration) WithUpdatedNumberScheduled(value int32) *DaemonSetStatusApplyConfiguration

WithUpdatedNumberScheduled sets the UpdatedNumberScheduled 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 UpdatedNumberScheduled field is set to the value of the last call.

type DaemonSetUpdateStrategyApplyConfiguration

type DaemonSetUpdateStrategyApplyConfiguration struct {
	Type          *v1beta2.DaemonSetUpdateStrategyType      `json:"type,omitempty"`
	RollingUpdate *RollingUpdateDaemonSetApplyConfiguration `json:"rollingUpdate,omitempty"`
}

DaemonSetUpdateStrategyApplyConfiguration represents an declarative configuration of the DaemonSetUpdateStrategy type for use with apply.

func DaemonSetUpdateStrategy

func DaemonSetUpdateStrategy() *DaemonSetUpdateStrategyApplyConfiguration

DaemonSetUpdateStrategyApplyConfiguration constructs an declarative configuration of the DaemonSetUpdateStrategy type for use with apply.

func (*DaemonSetUpdateStrategyApplyConfiguration) WithRollingUpdate

WithRollingUpdate sets the RollingUpdate 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 RollingUpdate field is set to the value of the last call.

func (*DaemonSetUpdateStrategyApplyConfiguration) WithType

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 DeploymentApplyConfiguration

type DeploymentApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *DeploymentSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *DeploymentStatusApplyConfiguration `json:"status,omitempty"`
}

DeploymentApplyConfiguration represents an declarative configuration of the Deployment type for use with apply.

func Deployment

func Deployment(name, namespace string) *DeploymentApplyConfiguration

Deployment constructs an declarative configuration of the Deployment type for use with apply.

func ExtractDeployment

func ExtractDeployment(deployment *appsv1beta2.Deployment, fieldManager string) (*DeploymentApplyConfiguration, error)

ExtractDeployment extracts the applied configuration owned by fieldManager from deployment. If no managedFields are found in deployment for fieldManager, a DeploymentApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. deployment must be a unmodified Deployment API object that was retrieved from the Kubernetes API. ExtractDeployment provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractDeploymentStatus added in v0.22.0

func ExtractDeploymentStatus(deployment *appsv1beta2.Deployment, fieldManager string) (*DeploymentApplyConfiguration, error)

ExtractDeploymentStatus is the same as ExtractDeployment except that it extracts the status subresource applied configuration. Experimental!

func (*DeploymentApplyConfiguration) WithAPIVersion

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 (*DeploymentApplyConfiguration) WithAnnotations

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 (*DeploymentApplyConfiguration) WithCreationTimestamp

func (b *DeploymentApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DeploymentApplyConfiguration

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 (*DeploymentApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *DeploymentApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DeploymentApplyConfiguration

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 (*DeploymentApplyConfiguration) WithDeletionTimestamp

func (b *DeploymentApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DeploymentApplyConfiguration

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 (*DeploymentApplyConfiguration) WithFinalizers

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 (*DeploymentApplyConfiguration) WithGenerateName

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 (*DeploymentApplyConfiguration) WithGeneration

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 (*DeploymentApplyConfiguration) WithKind

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 (*DeploymentApplyConfiguration) WithLabels

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 (*DeploymentApplyConfiguration) WithName

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 (*DeploymentApplyConfiguration) WithNamespace

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 (*DeploymentApplyConfiguration) WithOwnerReferences

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 (*DeploymentApplyConfiguration) WithResourceVersion

func (b *DeploymentApplyConfiguration) WithResourceVersion(value string) *DeploymentApplyConfiguration

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 (*DeploymentApplyConfiguration) WithSpec

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 (*DeploymentApplyConfiguration) WithStatus

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 (*DeploymentApplyConfiguration) WithUID

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 DeploymentConditionApplyConfiguration

type DeploymentConditionApplyConfiguration struct {
	Type               *v1beta2.DeploymentConditionType `json:"type,omitempty"`
	Status             *v1.ConditionStatus              `json:"status,omitempty"`
	LastUpdateTime     *metav1.Time                     `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time                     `json:"lastTransitionTime,omitempty"`
	Reason             *string                          `json:"reason,omitempty"`
	Message            *string                          `json:"message,omitempty"`
}

DeploymentConditionApplyConfiguration represents an declarative configuration of the DeploymentCondition type for use with apply.

func DeploymentCondition

func DeploymentCondition() *DeploymentConditionApplyConfiguration

DeploymentConditionApplyConfiguration constructs an declarative configuration of the DeploymentCondition type for use with apply.

func (*DeploymentConditionApplyConfiguration) WithLastTransitionTime

WithLastTransitionTime sets the LastTransitionTime 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 LastTransitionTime field is set to the value of the last call.

func (*DeploymentConditionApplyConfiguration) WithLastUpdateTime

WithLastUpdateTime sets the LastUpdateTime 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 LastUpdateTime field is set to the value of the last call.

func (*DeploymentConditionApplyConfiguration) WithMessage

WithMessage sets the Message 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 Message field is set to the value of the last call.

func (*DeploymentConditionApplyConfiguration) WithReason

WithReason sets the Reason 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 Reason field is set to the value of the last call.

func (*DeploymentConditionApplyConfiguration) WithStatus

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 (*DeploymentConditionApplyConfiguration) WithType

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 DeploymentSpecApplyConfiguration

type DeploymentSpecApplyConfiguration struct {
	Replicas                *int32                                    `json:"replicas,omitempty"`
	Selector                *v1.LabelSelectorApplyConfiguration       `json:"selector,omitempty"`
	Template                *corev1.PodTemplateSpecApplyConfiguration `json:"template,omitempty"`
	Strategy                *DeploymentStrategyApplyConfiguration     `json:"strategy,omitempty"`
	MinReadySeconds         *int32                                    `json:"minReadySeconds,omitempty"`
	RevisionHistoryLimit    *int32                                    `json:"revisionHistoryLimit,omitempty"`
	Paused                  *bool                                     `json:"paused,omitempty"`
	ProgressDeadlineSeconds *int32                                    `json:"progressDeadlineSeconds,omitempty"`
}

DeploymentSpecApplyConfiguration represents an declarative configuration of the DeploymentSpec type for use with apply.

func DeploymentSpec

func DeploymentSpec() *DeploymentSpecApplyConfiguration

DeploymentSpecApplyConfiguration constructs an declarative configuration of the DeploymentSpec type for use with apply.

func (*DeploymentSpecApplyConfiguration) WithMinReadySeconds

WithMinReadySeconds sets the MinReadySeconds 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 MinReadySeconds field is set to the value of the last call.

func (*DeploymentSpecApplyConfiguration) WithPaused

WithPaused sets the Paused 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 Paused field is set to the value of the last call.

func (*DeploymentSpecApplyConfiguration) WithProgressDeadlineSeconds

func (b *DeploymentSpecApplyConfiguration) WithProgressDeadlineSeconds(value int32) *DeploymentSpecApplyConfiguration

WithProgressDeadlineSeconds sets the ProgressDeadlineSeconds 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 ProgressDeadlineSeconds field is set to the value of the last call.

func (*DeploymentSpecApplyConfiguration) WithReplicas

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 (*DeploymentSpecApplyConfiguration) WithRevisionHistoryLimit

func (b *DeploymentSpecApplyConfiguration) WithRevisionHistoryLimit(value int32) *DeploymentSpecApplyConfiguration

WithRevisionHistoryLimit sets the RevisionHistoryLimit 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 RevisionHistoryLimit field is set to the value of the last call.

func (*DeploymentSpecApplyConfiguration) WithSelector

WithSelector sets the Selector 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 Selector field is set to the value of the last call.

func (*DeploymentSpecApplyConfiguration) WithStrategy

WithStrategy sets the Strategy 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 Strategy field is set to the value of the last call.

func (*DeploymentSpecApplyConfiguration) WithTemplate

WithTemplate sets the Template 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 Template field is set to the value of the last call.

type DeploymentStatusApplyConfiguration

type DeploymentStatusApplyConfiguration struct {
	ObservedGeneration  *int64                                  `json:"observedGeneration,omitempty"`
	Replicas            *int32                                  `json:"replicas,omitempty"`
	UpdatedReplicas     *int32                                  `json:"updatedReplicas,omitempty"`
	ReadyReplicas       *int32                                  `json:"readyReplicas,omitempty"`
	AvailableReplicas   *int32                                  `json:"availableReplicas,omitempty"`
	UnavailableReplicas *int32                                  `json:"unavailableReplicas,omitempty"`
	Conditions          []DeploymentConditionApplyConfiguration `json:"conditions,omitempty"`
	CollisionCount      *int32                                  `json:"collisionCount,omitempty"`
}

DeploymentStatusApplyConfiguration represents an declarative configuration of the DeploymentStatus type for use with apply.

func DeploymentStatus

func DeploymentStatus() *DeploymentStatusApplyConfiguration

DeploymentStatusApplyConfiguration constructs an declarative configuration of the DeploymentStatus type for use with apply.

func (*DeploymentStatusApplyConfiguration) WithAvailableReplicas

WithAvailableReplicas sets the AvailableReplicas 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 AvailableReplicas field is set to the value of the last call.

func (*DeploymentStatusApplyConfiguration) WithCollisionCount

WithCollisionCount sets the CollisionCount 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 CollisionCount field is set to the value of the last call.

func (*DeploymentStatusApplyConfiguration) WithConditions

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 (*DeploymentStatusApplyConfiguration) WithObservedGeneration

WithObservedGeneration sets the ObservedGeneration 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 ObservedGeneration field is set to the value of the last call.

func (*DeploymentStatusApplyConfiguration) WithReadyReplicas

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 (*DeploymentStatusApplyConfiguration) WithReplicas

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 (*DeploymentStatusApplyConfiguration) WithUnavailableReplicas

WithUnavailableReplicas sets the UnavailableReplicas 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 UnavailableReplicas field is set to the value of the last call.

func (*DeploymentStatusApplyConfiguration) WithUpdatedReplicas

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 DeploymentStrategyApplyConfiguration

type DeploymentStrategyApplyConfiguration struct {
	Type          *v1beta2.DeploymentStrategyType            `json:"type,omitempty"`
	RollingUpdate *RollingUpdateDeploymentApplyConfiguration `json:"rollingUpdate,omitempty"`
}

DeploymentStrategyApplyConfiguration represents an declarative configuration of the DeploymentStrategy type for use with apply.

func DeploymentStrategy

func DeploymentStrategy() *DeploymentStrategyApplyConfiguration

DeploymentStrategyApplyConfiguration constructs an declarative configuration of the DeploymentStrategy type for use with apply.

func (*DeploymentStrategyApplyConfiguration) WithRollingUpdate

WithRollingUpdate sets the RollingUpdate 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 RollingUpdate field is set to the value of the last call.

func (*DeploymentStrategyApplyConfiguration) WithType

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 ReplicaSetApplyConfiguration

type ReplicaSetApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ReplicaSetSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ReplicaSetStatusApplyConfiguration `json:"status,omitempty"`
}

ReplicaSetApplyConfiguration represents an declarative configuration of the ReplicaSet type for use with apply.

func ExtractReplicaSet

func ExtractReplicaSet(replicaSet *appsv1beta2.ReplicaSet, fieldManager string) (*ReplicaSetApplyConfiguration, error)

ExtractReplicaSet extracts the applied configuration owned by fieldManager from replicaSet. If no managedFields are found in replicaSet for fieldManager, a ReplicaSetApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. replicaSet must be a unmodified ReplicaSet API object that was retrieved from the Kubernetes API. ExtractReplicaSet provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractReplicaSetStatus added in v0.22.0

func ExtractReplicaSetStatus(replicaSet *appsv1beta2.ReplicaSet, fieldManager string) (*ReplicaSetApplyConfiguration, error)

ExtractReplicaSetStatus is the same as ExtractReplicaSet except that it extracts the status subresource applied configuration. Experimental!

func ReplicaSet

func ReplicaSet(name, namespace string) *ReplicaSetApplyConfiguration

ReplicaSet constructs an declarative configuration of the ReplicaSet type for use with apply.

func (*ReplicaSetApplyConfiguration) WithAPIVersion

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 (*ReplicaSetApplyConfiguration) WithAnnotations

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 (*ReplicaSetApplyConfiguration) WithCreationTimestamp

func (b *ReplicaSetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ReplicaSetApplyConfiguration

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 (*ReplicaSetApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *ReplicaSetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ReplicaSetApplyConfiguration

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 (*ReplicaSetApplyConfiguration) WithDeletionTimestamp

func (b *ReplicaSetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ReplicaSetApplyConfiguration

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 (*ReplicaSetApplyConfiguration) WithFinalizers

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 (*ReplicaSetApplyConfiguration) WithGenerateName

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 (*ReplicaSetApplyConfiguration) WithGeneration

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 (*ReplicaSetApplyConfiguration) WithKind

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 (*ReplicaSetApplyConfiguration) WithLabels

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 (*ReplicaSetApplyConfiguration) WithName

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 (*ReplicaSetApplyConfiguration) WithNamespace

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 (*ReplicaSetApplyConfiguration) WithOwnerReferences

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 (*ReplicaSetApplyConfiguration) WithResourceVersion

func (b *ReplicaSetApplyConfiguration) WithResourceVersion(value string) *ReplicaSetApplyConfiguration

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 (*ReplicaSetApplyConfiguration) WithSpec

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 (*ReplicaSetApplyConfiguration) WithStatus

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 (*ReplicaSetApplyConfiguration) WithUID

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 ReplicaSetConditionApplyConfiguration

type ReplicaSetConditionApplyConfiguration struct {
	Type               *v1beta2.ReplicaSetConditionType `json:"type,omitempty"`
	Status             *v1.ConditionStatus              `json:"status,omitempty"`
	LastTransitionTime *metav1.Time                     `json:"lastTransitionTime,omitempty"`
	Reason             *string                          `json:"reason,omitempty"`
	Message            *string                          `json:"message,omitempty"`
}

ReplicaSetConditionApplyConfiguration represents an declarative configuration of the ReplicaSetCondition type for use with apply.

func ReplicaSetCondition

func ReplicaSetCondition() *ReplicaSetConditionApplyConfiguration

ReplicaSetConditionApplyConfiguration constructs an declarative configuration of the ReplicaSetCondition type for use with apply.

func (*ReplicaSetConditionApplyConfiguration) WithLastTransitionTime

WithLastTransitionTime sets the LastTransitionTime 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 LastTransitionTime field is set to the value of the last call.

func (*ReplicaSetConditionApplyConfiguration) WithMessage

WithMessage sets the Message 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 Message field is set to the value of the last call.

func (*ReplicaSetConditionApplyConfiguration) WithReason

WithReason sets the Reason 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 Reason field is set to the value of the last call.

func (*ReplicaSetConditionApplyConfiguration) WithStatus

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 (*ReplicaSetConditionApplyConfiguration) WithType

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 ReplicaSetSpecApplyConfiguration

type ReplicaSetSpecApplyConfiguration struct {
	Replicas        *int32                                    `json:"replicas,omitempty"`
	MinReadySeconds *int32                                    `json:"minReadySeconds,omitempty"`
	Selector        *v1.LabelSelectorApplyConfiguration       `json:"selector,omitempty"`
	Template        *corev1.PodTemplateSpecApplyConfiguration `json:"template,omitempty"`
}

ReplicaSetSpecApplyConfiguration represents an declarative configuration of the ReplicaSetSpec type for use with apply.

func ReplicaSetSpec

func ReplicaSetSpec() *ReplicaSetSpecApplyConfiguration

ReplicaSetSpecApplyConfiguration constructs an declarative configuration of the ReplicaSetSpec type for use with apply.

func (*ReplicaSetSpecApplyConfiguration) WithMinReadySeconds

WithMinReadySeconds sets the MinReadySeconds 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 MinReadySeconds field is set to the value of the last call.

func (*ReplicaSetSpecApplyConfiguration) WithReplicas

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 (*ReplicaSetSpecApplyConfiguration) WithSelector

WithSelector sets the Selector 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 Selector field is set to the value of the last call.

func (*ReplicaSetSpecApplyConfiguration) WithTemplate

WithTemplate sets the Template 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 Template field is set to the value of the last call.

type ReplicaSetStatusApplyConfiguration

type ReplicaSetStatusApplyConfiguration struct {
	Replicas             *int32                                  `json:"replicas,omitempty"`
	FullyLabeledReplicas *int32                                  `json:"fullyLabeledReplicas,omitempty"`
	ReadyReplicas        *int32                                  `json:"readyReplicas,omitempty"`
	AvailableReplicas    *int32                                  `json:"availableReplicas,omitempty"`
	ObservedGeneration   *int64                                  `json:"observedGeneration,omitempty"`
	Conditions           []ReplicaSetConditionApplyConfiguration `json:"conditions,omitempty"`
}

ReplicaSetStatusApplyConfiguration represents an declarative configuration of the ReplicaSetStatus type for use with apply.

func ReplicaSetStatus

func ReplicaSetStatus() *ReplicaSetStatusApplyConfiguration

ReplicaSetStatusApplyConfiguration constructs an declarative configuration of the ReplicaSetStatus type for use with apply.

func (*ReplicaSetStatusApplyConfiguration) WithAvailableReplicas

WithAvailableReplicas sets the AvailableReplicas 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 AvailableReplicas field is set to the value of the last call.

func (*ReplicaSetStatusApplyConfiguration) WithConditions

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 (*ReplicaSetStatusApplyConfiguration) WithFullyLabeledReplicas

WithFullyLabeledReplicas sets the FullyLabeledReplicas 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 FullyLabeledReplicas field is set to the value of the last call.

func (*ReplicaSetStatusApplyConfiguration) WithObservedGeneration

WithObservedGeneration sets the ObservedGeneration 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 ObservedGeneration field is set to the value of the last call.

func (*ReplicaSetStatusApplyConfiguration) WithReadyReplicas

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 (*ReplicaSetStatusApplyConfiguration) WithReplicas

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 RollingUpdateDaemonSetApplyConfiguration

type RollingUpdateDaemonSetApplyConfiguration struct {
	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"`
	MaxSurge       *intstr.IntOrString `json:"maxSurge,omitempty"`
}

RollingUpdateDaemonSetApplyConfiguration represents an declarative configuration of the RollingUpdateDaemonSet type for use with apply.

func RollingUpdateDaemonSet

func RollingUpdateDaemonSet() *RollingUpdateDaemonSetApplyConfiguration

RollingUpdateDaemonSetApplyConfiguration constructs an declarative configuration of the RollingUpdateDaemonSet type for use with apply.

func (*RollingUpdateDaemonSetApplyConfiguration) WithMaxSurge

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 (*RollingUpdateDaemonSetApplyConfiguration) WithMaxUnavailable

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 RollingUpdateDeploymentApplyConfiguration

type RollingUpdateDeploymentApplyConfiguration struct {
	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"`
	MaxSurge       *intstr.IntOrString `json:"maxSurge,omitempty"`
}

RollingUpdateDeploymentApplyConfiguration represents an declarative configuration of the RollingUpdateDeployment type for use with apply.

func RollingUpdateDeployment

func RollingUpdateDeployment() *RollingUpdateDeploymentApplyConfiguration

RollingUpdateDeploymentApplyConfiguration constructs an declarative configuration of the RollingUpdateDeployment type for use with apply.

func (*RollingUpdateDeploymentApplyConfiguration) WithMaxSurge

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 (*RollingUpdateDeploymentApplyConfiguration) WithMaxUnavailable

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 RollingUpdateStatefulSetStrategyApplyConfiguration

type RollingUpdateStatefulSetStrategyApplyConfiguration struct {
	Partition      *int32              `json:"partition,omitempty"`
	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"`
}

RollingUpdateStatefulSetStrategyApplyConfiguration represents an declarative configuration of the RollingUpdateStatefulSetStrategy type for use with apply.

func RollingUpdateStatefulSetStrategy

func RollingUpdateStatefulSetStrategy() *RollingUpdateStatefulSetStrategyApplyConfiguration

RollingUpdateStatefulSetStrategyApplyConfiguration constructs an declarative configuration of the RollingUpdateStatefulSetStrategy type for use with apply.

func (*RollingUpdateStatefulSetStrategyApplyConfiguration) WithMaxUnavailable added in v0.24.0

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.

func (*RollingUpdateStatefulSetStrategyApplyConfiguration) WithPartition

WithPartition sets the Partition 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 Partition field is set to the value of the last call.

type ScaleApplyConfiguration added in v0.22.0

type ScaleApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *v1beta2.ScaleSpec   `json:"spec,omitempty"`
	Status                           *v1beta2.ScaleStatus `json:"status,omitempty"`
}

ScaleApplyConfiguration represents an declarative configuration of the Scale type for use with apply.

func Scale added in v0.22.0

func Scale() *ScaleApplyConfiguration

ScaleApplyConfiguration constructs an declarative configuration of the Scale type for use with apply.

func (*ScaleApplyConfiguration) WithAPIVersion added in v0.22.0

func (b *ScaleApplyConfiguration) WithAPIVersion(value string) *ScaleApplyConfiguration

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 (*ScaleApplyConfiguration) WithAnnotations added in v0.22.0

func (b *ScaleApplyConfiguration) WithAnnotations(entries map[string]string) *ScaleApplyConfiguration

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 (*ScaleApplyConfiguration) WithCreationTimestamp added in v0.22.0

func (b *ScaleApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ScaleApplyConfiguration

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 (*ScaleApplyConfiguration) WithDeletionGracePeriodSeconds added in v0.22.0

func (b *ScaleApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ScaleApplyConfiguration

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 (*ScaleApplyConfiguration) WithDeletionTimestamp added in v0.22.0

func (b *ScaleApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ScaleApplyConfiguration

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 (*ScaleApplyConfiguration) WithFinalizers added in v0.22.0

func (b *ScaleApplyConfiguration) WithFinalizers(values ...string) *ScaleApplyConfiguration

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 (*ScaleApplyConfiguration) WithGenerateName added in v0.22.0

func (b *ScaleApplyConfiguration) WithGenerateName(value string) *ScaleApplyConfiguration

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 (*ScaleApplyConfiguration) WithGeneration added in v0.22.0

func (b *ScaleApplyConfiguration) WithGeneration(value int64) *ScaleApplyConfiguration

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 (*ScaleApplyConfiguration) WithKind added in v0.22.0

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 (*ScaleApplyConfiguration) WithLabels added in v0.22.0

func (b *ScaleApplyConfiguration) WithLabels(entries map[string]string) *ScaleApplyConfiguration

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 (*ScaleApplyConfiguration) WithName added in v0.22.0

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 (*ScaleApplyConfiguration) WithNamespace added in v0.22.0

func (b *ScaleApplyConfiguration) WithNamespace(value string) *ScaleApplyConfiguration

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 (*ScaleApplyConfiguration) WithOwnerReferences added in v0.22.0

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 (*ScaleApplyConfiguration) WithResourceVersion added in v0.22.0

func (b *ScaleApplyConfiguration) WithResourceVersion(value string) *ScaleApplyConfiguration

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 (*ScaleApplyConfiguration) WithSpec added in v0.22.0

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 (*ScaleApplyConfiguration) WithStatus added in v0.22.0

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 (*ScaleApplyConfiguration) WithUID added in v0.22.0

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 StatefulSetApplyConfiguration

type StatefulSetApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *StatefulSetSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *StatefulSetStatusApplyConfiguration `json:"status,omitempty"`
}

StatefulSetApplyConfiguration represents an declarative configuration of the StatefulSet type for use with apply.

func ExtractStatefulSet

func ExtractStatefulSet(statefulSet *appsv1beta2.StatefulSet, fieldManager string) (*StatefulSetApplyConfiguration, error)

ExtractStatefulSet extracts the applied configuration owned by fieldManager from statefulSet. If no managedFields are found in statefulSet for fieldManager, a StatefulSetApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. statefulSet must be a unmodified StatefulSet API object that was retrieved from the Kubernetes API. ExtractStatefulSet provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractStatefulSetStatus added in v0.22.0

func ExtractStatefulSetStatus(statefulSet *appsv1beta2.StatefulSet, fieldManager string) (*StatefulSetApplyConfiguration, error)

ExtractStatefulSetStatus is the same as ExtractStatefulSet except that it extracts the status subresource applied configuration. Experimental!

func StatefulSet

func StatefulSet(name, namespace string) *StatefulSetApplyConfiguration

StatefulSet constructs an declarative configuration of the StatefulSet type for use with apply.

func (*StatefulSetApplyConfiguration) WithAPIVersion

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 (*StatefulSetApplyConfiguration) WithAnnotations

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 (*StatefulSetApplyConfiguration) WithCreationTimestamp

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 (*StatefulSetApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *StatefulSetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *StatefulSetApplyConfiguration

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 (*StatefulSetApplyConfiguration) WithDeletionTimestamp

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 (*StatefulSetApplyConfiguration) WithFinalizers

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 (*StatefulSetApplyConfiguration) WithGenerateName

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 (*StatefulSetApplyConfiguration) WithGeneration

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 (*StatefulSetApplyConfiguration) WithKind

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 (*StatefulSetApplyConfiguration) WithLabels

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 (*StatefulSetApplyConfiguration) WithName

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 (*StatefulSetApplyConfiguration) WithNamespace

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 (*StatefulSetApplyConfiguration) WithOwnerReferences

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 (*StatefulSetApplyConfiguration) WithResourceVersion

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 (*StatefulSetApplyConfiguration) WithSpec

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 (*StatefulSetApplyConfiguration) WithStatus

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 (*StatefulSetApplyConfiguration) WithUID

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 StatefulSetConditionApplyConfiguration

type StatefulSetConditionApplyConfiguration struct {
	Type               *v1beta2.StatefulSetConditionType `json:"type,omitempty"`
	Status             *v1.ConditionStatus               `json:"status,omitempty"`
	LastTransitionTime *metav1.Time                      `json:"lastTransitionTime,omitempty"`
	Reason             *string                           `json:"reason,omitempty"`
	Message            *string                           `json:"message,omitempty"`
}

StatefulSetConditionApplyConfiguration represents an declarative configuration of the StatefulSetCondition type for use with apply.

func StatefulSetCondition

func StatefulSetCondition() *StatefulSetConditionApplyConfiguration

StatefulSetConditionApplyConfiguration constructs an declarative configuration of the StatefulSetCondition type for use with apply.

func (*StatefulSetConditionApplyConfiguration) WithLastTransitionTime

WithLastTransitionTime sets the LastTransitionTime 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 LastTransitionTime field is set to the value of the last call.

func (*StatefulSetConditionApplyConfiguration) WithMessage

WithMessage sets the Message 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 Message field is set to the value of the last call.

func (*StatefulSetConditionApplyConfiguration) WithReason

WithReason sets the Reason 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 Reason field is set to the value of the last call.

func (*StatefulSetConditionApplyConfiguration) WithStatus

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 (*StatefulSetConditionApplyConfiguration) WithType

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 StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration added in v0.23.0

type StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration struct {
	WhenDeleted *v1beta2.PersistentVolumeClaimRetentionPolicyType `json:"whenDeleted,omitempty"`
	WhenScaled  *v1beta2.PersistentVolumeClaimRetentionPolicyType `json:"whenScaled,omitempty"`
}

StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration represents an declarative configuration of the StatefulSetPersistentVolumeClaimRetentionPolicy type for use with apply.

func StatefulSetPersistentVolumeClaimRetentionPolicy added in v0.23.0

func StatefulSetPersistentVolumeClaimRetentionPolicy() *StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration

StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration constructs an declarative configuration of the StatefulSetPersistentVolumeClaimRetentionPolicy type for use with apply.

func (*StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration) WithWhenDeleted added in v0.23.0

WithWhenDeleted sets the WhenDeleted 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 WhenDeleted field is set to the value of the last call.

func (*StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration) WithWhenScaled added in v0.23.0

WithWhenScaled sets the WhenScaled 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 WhenScaled field is set to the value of the last call.

type StatefulSetSpecApplyConfiguration

type StatefulSetSpecApplyConfiguration struct {
	Replicas                             *int32                                                             `json:"replicas,omitempty"`
	Selector                             *v1.LabelSelectorApplyConfiguration                                `json:"selector,omitempty"`
	Template                             *corev1.PodTemplateSpecApplyConfiguration                          `json:"template,omitempty"`
	VolumeClaimTemplates                 []corev1.PersistentVolumeClaimApplyConfiguration                   `json:"volumeClaimTemplates,omitempty"`
	ServiceName                          *string                                                            `json:"serviceName,omitempty"`
	PodManagementPolicy                  *v1beta2.PodManagementPolicyType                                   `json:"podManagementPolicy,omitempty"`
	UpdateStrategy                       *StatefulSetUpdateStrategyApplyConfiguration                       `json:"updateStrategy,omitempty"`
	RevisionHistoryLimit                 *int32                                                             `json:"revisionHistoryLimit,omitempty"`
	MinReadySeconds                      *int32                                                             `json:"minReadySeconds,omitempty"`
	PersistentVolumeClaimRetentionPolicy *StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration `json:"persistentVolumeClaimRetentionPolicy,omitempty"`
}

StatefulSetSpecApplyConfiguration represents an declarative configuration of the StatefulSetSpec type for use with apply.

func StatefulSetSpec

func StatefulSetSpec() *StatefulSetSpecApplyConfiguration

StatefulSetSpecApplyConfiguration constructs an declarative configuration of the StatefulSetSpec type for use with apply.

func (*StatefulSetSpecApplyConfiguration) WithMinReadySeconds added in v0.22.0

WithMinReadySeconds sets the MinReadySeconds 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 MinReadySeconds field is set to the value of the last call.

func (*StatefulSetSpecApplyConfiguration) WithPersistentVolumeClaimRetentionPolicy added in v0.23.0

WithPersistentVolumeClaimRetentionPolicy sets the PersistentVolumeClaimRetentionPolicy 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 PersistentVolumeClaimRetentionPolicy field is set to the value of the last call.

func (*StatefulSetSpecApplyConfiguration) WithPodManagementPolicy

WithPodManagementPolicy sets the PodManagementPolicy 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 PodManagementPolicy field is set to the value of the last call.

func (*StatefulSetSpecApplyConfiguration) WithReplicas

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 (*StatefulSetSpecApplyConfiguration) WithRevisionHistoryLimit

WithRevisionHistoryLimit sets the RevisionHistoryLimit 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 RevisionHistoryLimit field is set to the value of the last call.

func (*StatefulSetSpecApplyConfiguration) WithSelector

WithSelector sets the Selector 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 Selector field is set to the value of the last call.

func (*StatefulSetSpecApplyConfiguration) WithServiceName

WithServiceName sets the ServiceName 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 ServiceName field is set to the value of the last call.

func (*StatefulSetSpecApplyConfiguration) WithTemplate

WithTemplate sets the Template 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 Template field is set to the value of the last call.

func (*StatefulSetSpecApplyConfiguration) WithUpdateStrategy

WithUpdateStrategy sets the UpdateStrategy 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 UpdateStrategy field is set to the value of the last call.

func (*StatefulSetSpecApplyConfiguration) WithVolumeClaimTemplates

WithVolumeClaimTemplates adds the given value to the VolumeClaimTemplates 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 VolumeClaimTemplates field.

type StatefulSetStatusApplyConfiguration

type StatefulSetStatusApplyConfiguration struct {
	ObservedGeneration *int64                                   `json:"observedGeneration,omitempty"`
	Replicas           *int32                                   `json:"replicas,omitempty"`
	ReadyReplicas      *int32                                   `json:"readyReplicas,omitempty"`
	CurrentReplicas    *int32                                   `json:"currentReplicas,omitempty"`
	UpdatedReplicas    *int32                                   `json:"updatedReplicas,omitempty"`
	CurrentRevision    *string                                  `json:"currentRevision,omitempty"`
	UpdateRevision     *string                                  `json:"updateRevision,omitempty"`
	CollisionCount     *int32                                   `json:"collisionCount,omitempty"`
	Conditions         []StatefulSetConditionApplyConfiguration `json:"conditions,omitempty"`
	AvailableReplicas  *int32                                   `json:"availableReplicas,omitempty"`
}

StatefulSetStatusApplyConfiguration represents an declarative configuration of the StatefulSetStatus type for use with apply.

func StatefulSetStatus

func StatefulSetStatus() *StatefulSetStatusApplyConfiguration

StatefulSetStatusApplyConfiguration constructs an declarative configuration of the StatefulSetStatus type for use with apply.

func (*StatefulSetStatusApplyConfiguration) WithAvailableReplicas added in v0.22.0

WithAvailableReplicas sets the AvailableReplicas 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 AvailableReplicas field is set to the value of the last call.

func (*StatefulSetStatusApplyConfiguration) WithCollisionCount

WithCollisionCount sets the CollisionCount 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 CollisionCount field is set to the value of the last call.

func (*StatefulSetStatusApplyConfiguration) WithConditions

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 (*StatefulSetStatusApplyConfiguration) WithCurrentReplicas

WithCurrentReplicas sets the CurrentReplicas 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 CurrentReplicas field is set to the value of the last call.

func (*StatefulSetStatusApplyConfiguration) WithCurrentRevision

WithCurrentRevision sets the CurrentRevision 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 CurrentRevision field is set to the value of the last call.

func (*StatefulSetStatusApplyConfiguration) WithObservedGeneration

WithObservedGeneration sets the ObservedGeneration 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 ObservedGeneration field is set to the value of the last call.

func (*StatefulSetStatusApplyConfiguration) WithReadyReplicas

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 (*StatefulSetStatusApplyConfiguration) WithReplicas

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 (*StatefulSetStatusApplyConfiguration) WithUpdateRevision

WithUpdateRevision sets the UpdateRevision 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 UpdateRevision field is set to the value of the last call.

func (*StatefulSetStatusApplyConfiguration) WithUpdatedReplicas

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 StatefulSetUpdateStrategyApplyConfiguration

type StatefulSetUpdateStrategyApplyConfiguration struct {
	Type          *v1beta2.StatefulSetUpdateStrategyType              `json:"type,omitempty"`
	RollingUpdate *RollingUpdateStatefulSetStrategyApplyConfiguration `json:"rollingUpdate,omitempty"`
}

StatefulSetUpdateStrategyApplyConfiguration represents an declarative configuration of the StatefulSetUpdateStrategy type for use with apply.

func StatefulSetUpdateStrategy

func StatefulSetUpdateStrategy() *StatefulSetUpdateStrategyApplyConfiguration

StatefulSetUpdateStrategyApplyConfiguration constructs an declarative configuration of the StatefulSetUpdateStrategy type for use with apply.

func (*StatefulSetUpdateStrategyApplyConfiguration) WithRollingUpdate

WithRollingUpdate sets the RollingUpdate 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 RollingUpdate field is set to the value of the last call.

func (*StatefulSetUpdateStrategyApplyConfiguration) WithType

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL