v1beta1

package
v0.22.11-rc.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: Apache-2.0 Imports: 9 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllowedCSIDriverApplyConfiguration

type AllowedCSIDriverApplyConfiguration struct {
	Name *string `json:"name,omitempty"`
}

AllowedCSIDriverApplyConfiguration represents an declarative configuration of the AllowedCSIDriver type for use with apply.

func AllowedCSIDriver

func AllowedCSIDriver() *AllowedCSIDriverApplyConfiguration

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

func (*AllowedCSIDriverApplyConfiguration) 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.

type AllowedFlexVolumeApplyConfiguration

type AllowedFlexVolumeApplyConfiguration struct {
	Driver *string `json:"driver,omitempty"`
}

AllowedFlexVolumeApplyConfiguration represents an declarative configuration of the AllowedFlexVolume type for use with apply.

func AllowedFlexVolume

func AllowedFlexVolume() *AllowedFlexVolumeApplyConfiguration

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

func (*AllowedFlexVolumeApplyConfiguration) WithDriver

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

type AllowedHostPathApplyConfiguration

type AllowedHostPathApplyConfiguration struct {
	PathPrefix *string `json:"pathPrefix,omitempty"`
	ReadOnly   *bool   `json:"readOnly,omitempty"`
}

AllowedHostPathApplyConfiguration represents an declarative configuration of the AllowedHostPath type for use with apply.

func AllowedHostPath

func AllowedHostPath() *AllowedHostPathApplyConfiguration

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

func (*AllowedHostPathApplyConfiguration) WithPathPrefix

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

func (*AllowedHostPathApplyConfiguration) WithReadOnly

WithReadOnly sets the ReadOnly 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 ReadOnly 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 *extensionsv1beta1.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 *extensionsv1beta1.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) WithClusterName

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

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.

WithSelfLink sets the SelfLink 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 SelfLink 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               *v1beta1.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"`
	TemplateGeneration   *int64                                     `json:"templateGeneration,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) WithTemplateGeneration

func (b *DaemonSetSpecApplyConfiguration) WithTemplateGeneration(value int64) *DaemonSetSpecApplyConfiguration

WithTemplateGeneration sets the TemplateGeneration 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 TemplateGeneration 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          *v1beta1.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 *extensionsv1beta1.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 *extensionsv1beta1.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) WithClusterName

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

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.

WithSelfLink sets the SelfLink 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 SelfLink 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               *v1beta1.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"`
	RollbackTo              *RollbackConfigApplyConfiguration         `json:"rollbackTo,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) WithRollbackTo

WithRollbackTo sets the RollbackTo 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 RollbackTo 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          *v1beta1.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 FSGroupStrategyOptionsApplyConfiguration

type FSGroupStrategyOptionsApplyConfiguration struct {
	Rule   *v1beta1.FSGroupStrategyType `json:"rule,omitempty"`
	Ranges []IDRangeApplyConfiguration  `json:"ranges,omitempty"`
}

FSGroupStrategyOptionsApplyConfiguration represents an declarative configuration of the FSGroupStrategyOptions type for use with apply.

func FSGroupStrategyOptions

func FSGroupStrategyOptions() *FSGroupStrategyOptionsApplyConfiguration

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

func (*FSGroupStrategyOptionsApplyConfiguration) WithRanges

WithRanges adds the given value to the Ranges 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 Ranges field.

func (*FSGroupStrategyOptionsApplyConfiguration) WithRule

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

type HTTPIngressPathApplyConfiguration

type HTTPIngressPathApplyConfiguration struct {
	Path     *string                           `json:"path,omitempty"`
	PathType *v1beta1.PathType                 `json:"pathType,omitempty"`
	Backend  *IngressBackendApplyConfiguration `json:"backend,omitempty"`
}

HTTPIngressPathApplyConfiguration represents an declarative configuration of the HTTPIngressPath type for use with apply.

func HTTPIngressPath

func HTTPIngressPath() *HTTPIngressPathApplyConfiguration

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

func (*HTTPIngressPathApplyConfiguration) WithBackend

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

func (*HTTPIngressPathApplyConfiguration) WithPath

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

func (*HTTPIngressPathApplyConfiguration) WithPathType

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

type HTTPIngressRuleValueApplyConfiguration

type HTTPIngressRuleValueApplyConfiguration struct {
	Paths []HTTPIngressPathApplyConfiguration `json:"paths,omitempty"`
}

HTTPIngressRuleValueApplyConfiguration represents an declarative configuration of the HTTPIngressRuleValue type for use with apply.

func HTTPIngressRuleValue

func HTTPIngressRuleValue() *HTTPIngressRuleValueApplyConfiguration

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

func (*HTTPIngressRuleValueApplyConfiguration) WithPaths

WithPaths adds the given value to the Paths 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 Paths field.

type HostPortRangeApplyConfiguration

type HostPortRangeApplyConfiguration struct {
	Min *int32 `json:"min,omitempty"`
	Max *int32 `json:"max,omitempty"`
}

HostPortRangeApplyConfiguration represents an declarative configuration of the HostPortRange type for use with apply.

func HostPortRange

func HostPortRange() *HostPortRangeApplyConfiguration

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

func (*HostPortRangeApplyConfiguration) WithMax

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

func (*HostPortRangeApplyConfiguration) WithMin

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

type IDRangeApplyConfiguration

type IDRangeApplyConfiguration struct {
	Min *int64 `json:"min,omitempty"`
	Max *int64 `json:"max,omitempty"`
}

IDRangeApplyConfiguration represents an declarative configuration of the IDRange type for use with apply.

func IDRange

func IDRange() *IDRangeApplyConfiguration

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

func (*IDRangeApplyConfiguration) WithMax

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

func (*IDRangeApplyConfiguration) WithMin

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

type IPBlockApplyConfiguration

type IPBlockApplyConfiguration struct {
	CIDR   *string  `json:"cidr,omitempty"`
	Except []string `json:"except,omitempty"`
}

IPBlockApplyConfiguration represents an declarative configuration of the IPBlock type for use with apply.

func IPBlock

func IPBlock() *IPBlockApplyConfiguration

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

func (*IPBlockApplyConfiguration) WithCIDR

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

func (*IPBlockApplyConfiguration) WithExcept

WithExcept adds the given value to the Except 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 Except field.

type IngressApplyConfiguration

type IngressApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *IngressSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *IngressStatusApplyConfiguration `json:"status,omitempty"`
}

IngressApplyConfiguration represents an declarative configuration of the Ingress type for use with apply.

func ExtractIngress

func ExtractIngress(ingress *extensionsv1beta1.Ingress, fieldManager string) (*IngressApplyConfiguration, error)

ExtractIngress extracts the applied configuration owned by fieldManager from ingress. If no managedFields are found in ingress for fieldManager, a IngressApplyConfiguration 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. ingress must be a unmodified Ingress API object that was retrieved from the Kubernetes API. ExtractIngress 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 ExtractIngressStatus added in v0.22.0

func ExtractIngressStatus(ingress *extensionsv1beta1.Ingress, fieldManager string) (*IngressApplyConfiguration, error)

ExtractIngressStatus is the same as ExtractIngress except that it extracts the status subresource applied configuration. Experimental!

func Ingress

func Ingress(name, namespace string) *IngressApplyConfiguration

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

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

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

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 (*IngressApplyConfiguration) WithClusterName

func (b *IngressApplyConfiguration) WithClusterName(value string) *IngressApplyConfiguration

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

func (*IngressApplyConfiguration) WithCreationTimestamp

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

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

func (*IngressApplyConfiguration) 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 (*IngressApplyConfiguration) 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 (*IngressApplyConfiguration) 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 IngressBackendApplyConfiguration

type IngressBackendApplyConfiguration struct {
	ServiceName *string                                         `json:"serviceName,omitempty"`
	ServicePort *intstr.IntOrString                             `json:"servicePort,omitempty"`
	Resource    *v1.TypedLocalObjectReferenceApplyConfiguration `json:"resource,omitempty"`
}

IngressBackendApplyConfiguration represents an declarative configuration of the IngressBackend type for use with apply.

func IngressBackend

func IngressBackend() *IngressBackendApplyConfiguration

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

func (*IngressBackendApplyConfiguration) WithResource

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

func (*IngressBackendApplyConfiguration) 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 (*IngressBackendApplyConfiguration) WithServicePort

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

type IngressRuleApplyConfiguration

type IngressRuleApplyConfiguration struct {
	Host                               *string `json:"host,omitempty"`
	IngressRuleValueApplyConfiguration `json:",omitempty,inline"`
}

IngressRuleApplyConfiguration represents an declarative configuration of the IngressRule type for use with apply.

func IngressRule

func IngressRule() *IngressRuleApplyConfiguration

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

func (*IngressRuleApplyConfiguration) WithHTTP

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

func (*IngressRuleApplyConfiguration) WithHost

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

type IngressRuleValueApplyConfiguration

type IngressRuleValueApplyConfiguration struct {
	HTTP *HTTPIngressRuleValueApplyConfiguration `json:"http,omitempty"`
}

IngressRuleValueApplyConfiguration represents an declarative configuration of the IngressRuleValue type for use with apply.

func IngressRuleValue

func IngressRuleValue() *IngressRuleValueApplyConfiguration

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

func (*IngressRuleValueApplyConfiguration) WithHTTP

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

type IngressSpecApplyConfiguration

type IngressSpecApplyConfiguration struct {
	IngressClassName *string                           `json:"ingressClassName,omitempty"`
	Backend          *IngressBackendApplyConfiguration `json:"backend,omitempty"`
	TLS              []IngressTLSApplyConfiguration    `json:"tls,omitempty"`
	Rules            []IngressRuleApplyConfiguration   `json:"rules,omitempty"`
}

IngressSpecApplyConfiguration represents an declarative configuration of the IngressSpec type for use with apply.

func IngressSpec

func IngressSpec() *IngressSpecApplyConfiguration

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

func (*IngressSpecApplyConfiguration) WithBackend

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

func (*IngressSpecApplyConfiguration) WithIngressClassName

func (b *IngressSpecApplyConfiguration) WithIngressClassName(value string) *IngressSpecApplyConfiguration

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

func (*IngressSpecApplyConfiguration) WithRules

WithRules adds the given value to the Rules 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 Rules field.

func (*IngressSpecApplyConfiguration) WithTLS

WithTLS adds the given value to the TLS 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 TLS field.

type IngressStatusApplyConfiguration

type IngressStatusApplyConfiguration struct {
	LoadBalancer *v1.LoadBalancerStatusApplyConfiguration `json:"loadBalancer,omitempty"`
}

IngressStatusApplyConfiguration represents an declarative configuration of the IngressStatus type for use with apply.

func IngressStatus

func IngressStatus() *IngressStatusApplyConfiguration

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

func (*IngressStatusApplyConfiguration) WithLoadBalancer

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

type IngressTLSApplyConfiguration

type IngressTLSApplyConfiguration struct {
	Hosts      []string `json:"hosts,omitempty"`
	SecretName *string  `json:"secretName,omitempty"`
}

IngressTLSApplyConfiguration represents an declarative configuration of the IngressTLS type for use with apply.

func IngressTLS

func IngressTLS() *IngressTLSApplyConfiguration

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

func (*IngressTLSApplyConfiguration) WithHosts

WithHosts adds the given value to the Hosts 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 Hosts field.

func (*IngressTLSApplyConfiguration) WithSecretName

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

type NetworkPolicyApplyConfiguration

type NetworkPolicyApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *NetworkPolicySpecApplyConfiguration `json:"spec,omitempty"`
}

NetworkPolicyApplyConfiguration represents an declarative configuration of the NetworkPolicy type for use with apply.

func ExtractNetworkPolicy

func ExtractNetworkPolicy(networkPolicy *extensionsv1beta1.NetworkPolicy, fieldManager string) (*NetworkPolicyApplyConfiguration, error)

ExtractNetworkPolicy extracts the applied configuration owned by fieldManager from networkPolicy. If no managedFields are found in networkPolicy for fieldManager, a NetworkPolicyApplyConfiguration 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. networkPolicy must be a unmodified NetworkPolicy API object that was retrieved from the Kubernetes API. ExtractNetworkPolicy 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 ExtractNetworkPolicyStatus added in v0.22.0

func ExtractNetworkPolicyStatus(networkPolicy *extensionsv1beta1.NetworkPolicy, fieldManager string) (*NetworkPolicyApplyConfiguration, error)

ExtractNetworkPolicyStatus is the same as ExtractNetworkPolicy except that it extracts the status subresource applied configuration. Experimental!

func NetworkPolicy

func NetworkPolicy(name, namespace string) *NetworkPolicyApplyConfiguration

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

func (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) WithClusterName

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

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

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

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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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.

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

func (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 NetworkPolicyEgressRuleApplyConfiguration

type NetworkPolicyEgressRuleApplyConfiguration struct {
	Ports []NetworkPolicyPortApplyConfiguration `json:"ports,omitempty"`
	To    []NetworkPolicyPeerApplyConfiguration `json:"to,omitempty"`
}

NetworkPolicyEgressRuleApplyConfiguration represents an declarative configuration of the NetworkPolicyEgressRule type for use with apply.

func NetworkPolicyEgressRule

func NetworkPolicyEgressRule() *NetworkPolicyEgressRuleApplyConfiguration

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

func (*NetworkPolicyEgressRuleApplyConfiguration) WithPorts

WithPorts adds the given value to the Ports 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 Ports field.

func (*NetworkPolicyEgressRuleApplyConfiguration) WithTo

WithTo adds the given value to the To 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 To field.

type NetworkPolicyIngressRuleApplyConfiguration

type NetworkPolicyIngressRuleApplyConfiguration struct {
	Ports []NetworkPolicyPortApplyConfiguration `json:"ports,omitempty"`
	From  []NetworkPolicyPeerApplyConfiguration `json:"from,omitempty"`
}

NetworkPolicyIngressRuleApplyConfiguration represents an declarative configuration of the NetworkPolicyIngressRule type for use with apply.

func NetworkPolicyIngressRule

func NetworkPolicyIngressRule() *NetworkPolicyIngressRuleApplyConfiguration

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

func (*NetworkPolicyIngressRuleApplyConfiguration) WithFrom

WithFrom adds the given value to the From 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 From field.

func (*NetworkPolicyIngressRuleApplyConfiguration) WithPorts

WithPorts adds the given value to the Ports 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 Ports field.

type NetworkPolicyPeerApplyConfiguration

type NetworkPolicyPeerApplyConfiguration struct {
	PodSelector       *v1.LabelSelectorApplyConfiguration `json:"podSelector,omitempty"`
	NamespaceSelector *v1.LabelSelectorApplyConfiguration `json:"namespaceSelector,omitempty"`
	IPBlock           *IPBlockApplyConfiguration          `json:"ipBlock,omitempty"`
}

NetworkPolicyPeerApplyConfiguration represents an declarative configuration of the NetworkPolicyPeer type for use with apply.

func NetworkPolicyPeer

func NetworkPolicyPeer() *NetworkPolicyPeerApplyConfiguration

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

func (*NetworkPolicyPeerApplyConfiguration) WithIPBlock

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

func (*NetworkPolicyPeerApplyConfiguration) WithNamespaceSelector

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

func (*NetworkPolicyPeerApplyConfiguration) WithPodSelector

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

type NetworkPolicyPortApplyConfiguration

type NetworkPolicyPortApplyConfiguration struct {
	Protocol *v1.Protocol        `json:"protocol,omitempty"`
	Port     *intstr.IntOrString `json:"port,omitempty"`
	EndPort  *int32              `json:"endPort,omitempty"`
}

NetworkPolicyPortApplyConfiguration represents an declarative configuration of the NetworkPolicyPort type for use with apply.

func NetworkPolicyPort

func NetworkPolicyPort() *NetworkPolicyPortApplyConfiguration

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

func (*NetworkPolicyPortApplyConfiguration) WithEndPort

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

func (*NetworkPolicyPortApplyConfiguration) WithPort

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

func (*NetworkPolicyPortApplyConfiguration) WithProtocol

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

type NetworkPolicySpecApplyConfiguration

type NetworkPolicySpecApplyConfiguration struct {
	PodSelector *v1.LabelSelectorApplyConfiguration          `json:"podSelector,omitempty"`
	Ingress     []NetworkPolicyIngressRuleApplyConfiguration `json:"ingress,omitempty"`
	Egress      []NetworkPolicyEgressRuleApplyConfiguration  `json:"egress,omitempty"`
	PolicyTypes []extensionsv1beta1.PolicyType               `json:"policyTypes,omitempty"`
}

NetworkPolicySpecApplyConfiguration represents an declarative configuration of the NetworkPolicySpec type for use with apply.

func NetworkPolicySpec

func NetworkPolicySpec() *NetworkPolicySpecApplyConfiguration

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

func (*NetworkPolicySpecApplyConfiguration) WithEgress

WithEgress adds the given value to the Egress 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 Egress field.

func (*NetworkPolicySpecApplyConfiguration) WithIngress

WithIngress adds the given value to the Ingress 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 Ingress field.

func (*NetworkPolicySpecApplyConfiguration) WithPodSelector

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

func (*NetworkPolicySpecApplyConfiguration) WithPolicyTypes

WithPolicyTypes adds the given value to the PolicyTypes 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 PolicyTypes field.

type PodSecurityPolicyApplyConfiguration

type PodSecurityPolicyApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PodSecurityPolicySpecApplyConfiguration `json:"spec,omitempty"`
}

PodSecurityPolicyApplyConfiguration represents an declarative configuration of the PodSecurityPolicy type for use with apply.

func ExtractPodSecurityPolicy

func ExtractPodSecurityPolicy(podSecurityPolicy *extensionsv1beta1.PodSecurityPolicy, fieldManager string) (*PodSecurityPolicyApplyConfiguration, error)

ExtractPodSecurityPolicy extracts the applied configuration owned by fieldManager from podSecurityPolicy. If no managedFields are found in podSecurityPolicy for fieldManager, a PodSecurityPolicyApplyConfiguration 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. podSecurityPolicy must be a unmodified PodSecurityPolicy API object that was retrieved from the Kubernetes API. ExtractPodSecurityPolicy 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 ExtractPodSecurityPolicyStatus added in v0.22.0

func ExtractPodSecurityPolicyStatus(podSecurityPolicy *extensionsv1beta1.PodSecurityPolicy, fieldManager string) (*PodSecurityPolicyApplyConfiguration, error)

ExtractPodSecurityPolicyStatus is the same as ExtractPodSecurityPolicy except that it extracts the status subresource applied configuration. Experimental!

func PodSecurityPolicy

func PodSecurityPolicy(name string) *PodSecurityPolicyApplyConfiguration

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

func (*PodSecurityPolicyApplyConfiguration) 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 (*PodSecurityPolicyApplyConfiguration) 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 (*PodSecurityPolicyApplyConfiguration) WithClusterName

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

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

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

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 (*PodSecurityPolicyApplyConfiguration) 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 (*PodSecurityPolicyApplyConfiguration) 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 (*PodSecurityPolicyApplyConfiguration) 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 (*PodSecurityPolicyApplyConfiguration) 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 (*PodSecurityPolicyApplyConfiguration) 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 (*PodSecurityPolicyApplyConfiguration) 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 (*PodSecurityPolicyApplyConfiguration) 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 (*PodSecurityPolicyApplyConfiguration) 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 (*PodSecurityPolicyApplyConfiguration) 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 (*PodSecurityPolicyApplyConfiguration) 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.

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

func (*PodSecurityPolicyApplyConfiguration) 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 (*PodSecurityPolicyApplyConfiguration) 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 PodSecurityPolicySpecApplyConfiguration

type PodSecurityPolicySpecApplyConfiguration struct {
	Privileged                      *bool                                                `json:"privileged,omitempty"`
	DefaultAddCapabilities          []v1.Capability                                      `json:"defaultAddCapabilities,omitempty"`
	RequiredDropCapabilities        []v1.Capability                                      `json:"requiredDropCapabilities,omitempty"`
	AllowedCapabilities             []v1.Capability                                      `json:"allowedCapabilities,omitempty"`
	Volumes                         []v1beta1.FSType                                     `json:"volumes,omitempty"`
	HostNetwork                     *bool                                                `json:"hostNetwork,omitempty"`
	HostPorts                       []HostPortRangeApplyConfiguration                    `json:"hostPorts,omitempty"`
	HostPID                         *bool                                                `json:"hostPID,omitempty"`
	HostIPC                         *bool                                                `json:"hostIPC,omitempty"`
	SELinux                         *SELinuxStrategyOptionsApplyConfiguration            `json:"seLinux,omitempty"`
	RunAsUser                       *RunAsUserStrategyOptionsApplyConfiguration          `json:"runAsUser,omitempty"`
	RunAsGroup                      *RunAsGroupStrategyOptionsApplyConfiguration         `json:"runAsGroup,omitempty"`
	SupplementalGroups              *SupplementalGroupsStrategyOptionsApplyConfiguration `json:"supplementalGroups,omitempty"`
	FSGroup                         *FSGroupStrategyOptionsApplyConfiguration            `json:"fsGroup,omitempty"`
	ReadOnlyRootFilesystem          *bool                                                `json:"readOnlyRootFilesystem,omitempty"`
	DefaultAllowPrivilegeEscalation *bool                                                `json:"defaultAllowPrivilegeEscalation,omitempty"`
	AllowPrivilegeEscalation        *bool                                                `json:"allowPrivilegeEscalation,omitempty"`
	AllowedHostPaths                []AllowedHostPathApplyConfiguration                  `json:"allowedHostPaths,omitempty"`
	AllowedFlexVolumes              []AllowedFlexVolumeApplyConfiguration                `json:"allowedFlexVolumes,omitempty"`
	AllowedCSIDrivers               []AllowedCSIDriverApplyConfiguration                 `json:"allowedCSIDrivers,omitempty"`
	AllowedUnsafeSysctls            []string                                             `json:"allowedUnsafeSysctls,omitempty"`
	ForbiddenSysctls                []string                                             `json:"forbiddenSysctls,omitempty"`
	AllowedProcMountTypes           []v1.ProcMountType                                   `json:"allowedProcMountTypes,omitempty"`
	RuntimeClass                    *RuntimeClassStrategyOptionsApplyConfiguration       `json:"runtimeClass,omitempty"`
}

PodSecurityPolicySpecApplyConfiguration represents an declarative configuration of the PodSecurityPolicySpec type for use with apply.

func PodSecurityPolicySpec

func PodSecurityPolicySpec() *PodSecurityPolicySpecApplyConfiguration

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

func (*PodSecurityPolicySpecApplyConfiguration) WithAllowPrivilegeEscalation

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

func (*PodSecurityPolicySpecApplyConfiguration) WithAllowedCSIDrivers

WithAllowedCSIDrivers adds the given value to the AllowedCSIDrivers 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 AllowedCSIDrivers field.

func (*PodSecurityPolicySpecApplyConfiguration) WithAllowedCapabilities

WithAllowedCapabilities adds the given value to the AllowedCapabilities 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 AllowedCapabilities field.

func (*PodSecurityPolicySpecApplyConfiguration) WithAllowedFlexVolumes

WithAllowedFlexVolumes adds the given value to the AllowedFlexVolumes 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 AllowedFlexVolumes field.

func (*PodSecurityPolicySpecApplyConfiguration) WithAllowedHostPaths

WithAllowedHostPaths adds the given value to the AllowedHostPaths 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 AllowedHostPaths field.

func (*PodSecurityPolicySpecApplyConfiguration) WithAllowedProcMountTypes

WithAllowedProcMountTypes adds the given value to the AllowedProcMountTypes 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 AllowedProcMountTypes field.

func (*PodSecurityPolicySpecApplyConfiguration) WithAllowedUnsafeSysctls

WithAllowedUnsafeSysctls adds the given value to the AllowedUnsafeSysctls 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 AllowedUnsafeSysctls field.

func (*PodSecurityPolicySpecApplyConfiguration) WithDefaultAddCapabilities

WithDefaultAddCapabilities adds the given value to the DefaultAddCapabilities 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 DefaultAddCapabilities field.

func (*PodSecurityPolicySpecApplyConfiguration) WithDefaultAllowPrivilegeEscalation

func (b *PodSecurityPolicySpecApplyConfiguration) WithDefaultAllowPrivilegeEscalation(value bool) *PodSecurityPolicySpecApplyConfiguration

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

func (*PodSecurityPolicySpecApplyConfiguration) WithFSGroup

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

func (*PodSecurityPolicySpecApplyConfiguration) WithForbiddenSysctls

WithForbiddenSysctls adds the given value to the ForbiddenSysctls 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 ForbiddenSysctls field.

func (*PodSecurityPolicySpecApplyConfiguration) WithHostIPC

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

func (*PodSecurityPolicySpecApplyConfiguration) WithHostNetwork

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

func (*PodSecurityPolicySpecApplyConfiguration) WithHostPID

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

func (*PodSecurityPolicySpecApplyConfiguration) WithHostPorts

WithHostPorts adds the given value to the HostPorts 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 HostPorts field.

func (*PodSecurityPolicySpecApplyConfiguration) WithPrivileged

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

func (*PodSecurityPolicySpecApplyConfiguration) WithReadOnlyRootFilesystem

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

func (*PodSecurityPolicySpecApplyConfiguration) WithRequiredDropCapabilities

WithRequiredDropCapabilities adds the given value to the RequiredDropCapabilities 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 RequiredDropCapabilities field.

func (*PodSecurityPolicySpecApplyConfiguration) WithRunAsGroup

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

func (*PodSecurityPolicySpecApplyConfiguration) WithRunAsUser

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

func (*PodSecurityPolicySpecApplyConfiguration) WithRuntimeClass

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

func (*PodSecurityPolicySpecApplyConfiguration) WithSELinux

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

func (*PodSecurityPolicySpecApplyConfiguration) WithSupplementalGroups

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

func (*PodSecurityPolicySpecApplyConfiguration) WithVolumes

WithVolumes adds the given value to the Volumes 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 Volumes field.

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 *extensionsv1beta1.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 *extensionsv1beta1.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) WithClusterName

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

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.

WithSelfLink sets the SelfLink 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 SelfLink 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               *v1beta1.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 RollbackConfigApplyConfiguration

type RollbackConfigApplyConfiguration struct {
	Revision *int64 `json:"revision,omitempty"`
}

RollbackConfigApplyConfiguration represents an declarative configuration of the RollbackConfig type for use with apply.

func RollbackConfig

func RollbackConfig() *RollbackConfigApplyConfiguration

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

func (*RollbackConfigApplyConfiguration) 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.

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 RunAsGroupStrategyOptionsApplyConfiguration

type RunAsGroupStrategyOptionsApplyConfiguration struct {
	Rule   *v1beta1.RunAsGroupStrategy `json:"rule,omitempty"`
	Ranges []IDRangeApplyConfiguration `json:"ranges,omitempty"`
}

RunAsGroupStrategyOptionsApplyConfiguration represents an declarative configuration of the RunAsGroupStrategyOptions type for use with apply.

func RunAsGroupStrategyOptions

func RunAsGroupStrategyOptions() *RunAsGroupStrategyOptionsApplyConfiguration

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

func (*RunAsGroupStrategyOptionsApplyConfiguration) WithRanges

WithRanges adds the given value to the Ranges 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 Ranges field.

func (*RunAsGroupStrategyOptionsApplyConfiguration) WithRule

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

type RunAsUserStrategyOptionsApplyConfiguration

type RunAsUserStrategyOptionsApplyConfiguration struct {
	Rule   *v1beta1.RunAsUserStrategy  `json:"rule,omitempty"`
	Ranges []IDRangeApplyConfiguration `json:"ranges,omitempty"`
}

RunAsUserStrategyOptionsApplyConfiguration represents an declarative configuration of the RunAsUserStrategyOptions type for use with apply.

func RunAsUserStrategyOptions

func RunAsUserStrategyOptions() *RunAsUserStrategyOptionsApplyConfiguration

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

func (*RunAsUserStrategyOptionsApplyConfiguration) WithRanges

WithRanges adds the given value to the Ranges 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 Ranges field.

func (*RunAsUserStrategyOptionsApplyConfiguration) WithRule

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

type RuntimeClassStrategyOptionsApplyConfiguration

type RuntimeClassStrategyOptionsApplyConfiguration struct {
	AllowedRuntimeClassNames []string `json:"allowedRuntimeClassNames,omitempty"`
	DefaultRuntimeClassName  *string  `json:"defaultRuntimeClassName,omitempty"`
}

RuntimeClassStrategyOptionsApplyConfiguration represents an declarative configuration of the RuntimeClassStrategyOptions type for use with apply.

func RuntimeClassStrategyOptions

func RuntimeClassStrategyOptions() *RuntimeClassStrategyOptionsApplyConfiguration

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

func (*RuntimeClassStrategyOptionsApplyConfiguration) WithAllowedRuntimeClassNames

WithAllowedRuntimeClassNames adds the given value to the AllowedRuntimeClassNames 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 AllowedRuntimeClassNames field.

func (*RuntimeClassStrategyOptionsApplyConfiguration) WithDefaultRuntimeClassName

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

type SELinuxStrategyOptionsApplyConfiguration

type SELinuxStrategyOptionsApplyConfiguration struct {
	Rule           *v1beta1.SELinuxStrategy             `json:"rule,omitempty"`
	SELinuxOptions *v1.SELinuxOptionsApplyConfiguration `json:"seLinuxOptions,omitempty"`
}

SELinuxStrategyOptionsApplyConfiguration represents an declarative configuration of the SELinuxStrategyOptions type for use with apply.

func SELinuxStrategyOptions

func SELinuxStrategyOptions() *SELinuxStrategyOptionsApplyConfiguration

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

func (*SELinuxStrategyOptionsApplyConfiguration) WithRule

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

func (*SELinuxStrategyOptionsApplyConfiguration) WithSELinuxOptions

WithSELinuxOptions sets the SELinuxOptions 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 SELinuxOptions 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                             *v1beta1.ScaleSpec   `json:"spec,omitempty"`
	Status                           *v1beta1.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) WithClusterName added in v0.22.0

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

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

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 (b *ScaleApplyConfiguration) WithSelfLink(value string) *ScaleApplyConfiguration

WithSelfLink sets the SelfLink 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 SelfLink 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 SupplementalGroupsStrategyOptionsApplyConfiguration

type SupplementalGroupsStrategyOptionsApplyConfiguration struct {
	Rule   *v1beta1.SupplementalGroupsStrategyType `json:"rule,omitempty"`
	Ranges []IDRangeApplyConfiguration             `json:"ranges,omitempty"`
}

SupplementalGroupsStrategyOptionsApplyConfiguration represents an declarative configuration of the SupplementalGroupsStrategyOptions type for use with apply.

func SupplementalGroupsStrategyOptions

func SupplementalGroupsStrategyOptions() *SupplementalGroupsStrategyOptionsApplyConfiguration

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

func (*SupplementalGroupsStrategyOptionsApplyConfiguration) WithRanges

WithRanges adds the given value to the Ranges 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 Ranges field.

func (*SupplementalGroupsStrategyOptionsApplyConfiguration) WithRule

WithRule sets the Rule 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 Rule 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