v1

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSElasticBlockStoreVolumeSourceApplyConfiguration

type AWSElasticBlockStoreVolumeSourceApplyConfiguration struct {
	VolumeID  *string `json:"volumeID,omitempty"`
	FSType    *string `json:"fsType,omitempty"`
	Partition *int32  `json:"partition,omitempty"`
	ReadOnly  *bool   `json:"readOnly,omitempty"`
}

AWSElasticBlockStoreVolumeSourceApplyConfiguration represents an declarative configuration of the AWSElasticBlockStoreVolumeSource type for use with apply.

func AWSElasticBlockStoreVolumeSource

func AWSElasticBlockStoreVolumeSource() *AWSElasticBlockStoreVolumeSourceApplyConfiguration

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

func (*AWSElasticBlockStoreVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

func (*AWSElasticBlockStoreVolumeSourceApplyConfiguration) WithPartition

WithPartition sets the Partition field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Partition field is set to the value of the last call.

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

func (*AWSElasticBlockStoreVolumeSourceApplyConfiguration) WithVolumeID

WithVolumeID sets the VolumeID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeID field is set to the value of the last call.

type AffinityApplyConfiguration

type AffinityApplyConfiguration struct {
	NodeAffinity    *NodeAffinityApplyConfiguration    `json:"nodeAffinity,omitempty"`
	PodAffinity     *PodAffinityApplyConfiguration     `json:"podAffinity,omitempty"`
	PodAntiAffinity *PodAntiAffinityApplyConfiguration `json:"podAntiAffinity,omitempty"`
}

AffinityApplyConfiguration represents an declarative configuration of the Affinity type for use with apply.

func Affinity

func Affinity() *AffinityApplyConfiguration

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

func (*AffinityApplyConfiguration) WithNodeAffinity

WithNodeAffinity sets the NodeAffinity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeAffinity field is set to the value of the last call.

func (*AffinityApplyConfiguration) WithPodAffinity

WithPodAffinity sets the PodAffinity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodAffinity field is set to the value of the last call.

func (*AffinityApplyConfiguration) WithPodAntiAffinity

WithPodAntiAffinity sets the PodAntiAffinity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodAntiAffinity field is set to the value of the last call.

type AttachedVolumeApplyConfiguration

type AttachedVolumeApplyConfiguration struct {
	Name       *v1.UniqueVolumeName `json:"name,omitempty"`
	DevicePath *string              `json:"devicePath,omitempty"`
}

AttachedVolumeApplyConfiguration represents an declarative configuration of the AttachedVolume type for use with apply.

func AttachedVolume

func AttachedVolume() *AttachedVolumeApplyConfiguration

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

func (*AttachedVolumeApplyConfiguration) WithDevicePath

WithDevicePath sets the DevicePath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DevicePath field is set to the value of the last call.

func (*AttachedVolumeApplyConfiguration) 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 AzureDiskVolumeSourceApplyConfiguration

type AzureDiskVolumeSourceApplyConfiguration struct {
	DiskName    *string                      `json:"diskName,omitempty"`
	DataDiskURI *string                      `json:"diskURI,omitempty"`
	CachingMode *v1.AzureDataDiskCachingMode `json:"cachingMode,omitempty"`
	FSType      *string                      `json:"fsType,omitempty"`
	ReadOnly    *bool                        `json:"readOnly,omitempty"`
	Kind        *v1.AzureDataDiskKind        `json:"kind,omitempty"`
}

AzureDiskVolumeSourceApplyConfiguration represents an declarative configuration of the AzureDiskVolumeSource type for use with apply.

func AzureDiskVolumeSource

func AzureDiskVolumeSource() *AzureDiskVolumeSourceApplyConfiguration

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

func (*AzureDiskVolumeSourceApplyConfiguration) WithCachingMode

WithCachingMode sets the CachingMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CachingMode field is set to the value of the last call.

func (*AzureDiskVolumeSourceApplyConfiguration) WithDataDiskURI

WithDataDiskURI sets the DataDiskURI field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DataDiskURI field is set to the value of the last call.

func (*AzureDiskVolumeSourceApplyConfiguration) WithDiskName

WithDiskName sets the DiskName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DiskName field is set to the value of the last call.

func (*AzureDiskVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

func (*AzureDiskVolumeSourceApplyConfiguration) 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 (*AzureDiskVolumeSourceApplyConfiguration) 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 AzureFilePersistentVolumeSourceApplyConfiguration

type AzureFilePersistentVolumeSourceApplyConfiguration struct {
	SecretName      *string `json:"secretName,omitempty"`
	ShareName       *string `json:"shareName,omitempty"`
	ReadOnly        *bool   `json:"readOnly,omitempty"`
	SecretNamespace *string `json:"secretNamespace,omitempty"`
}

AzureFilePersistentVolumeSourceApplyConfiguration represents an declarative configuration of the AzureFilePersistentVolumeSource type for use with apply.

func AzureFilePersistentVolumeSource

func AzureFilePersistentVolumeSource() *AzureFilePersistentVolumeSourceApplyConfiguration

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

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

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

func (*AzureFilePersistentVolumeSourceApplyConfiguration) WithSecretNamespace

WithSecretNamespace sets the SecretNamespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretNamespace field is set to the value of the last call.

func (*AzureFilePersistentVolumeSourceApplyConfiguration) WithShareName

WithShareName sets the ShareName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ShareName field is set to the value of the last call.

type AzureFileVolumeSourceApplyConfiguration

type AzureFileVolumeSourceApplyConfiguration struct {
	SecretName *string `json:"secretName,omitempty"`
	ShareName  *string `json:"shareName,omitempty"`
	ReadOnly   *bool   `json:"readOnly,omitempty"`
}

AzureFileVolumeSourceApplyConfiguration represents an declarative configuration of the AzureFileVolumeSource type for use with apply.

func AzureFileVolumeSource

func AzureFileVolumeSource() *AzureFileVolumeSourceApplyConfiguration

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

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

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

func (*AzureFileVolumeSourceApplyConfiguration) WithShareName

WithShareName sets the ShareName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ShareName field is set to the value of the last call.

type CSIPersistentVolumeSourceApplyConfiguration

type CSIPersistentVolumeSourceApplyConfiguration struct {
	Driver                     *string                            `json:"driver,omitempty"`
	VolumeHandle               *string                            `json:"volumeHandle,omitempty"`
	ReadOnly                   *bool                              `json:"readOnly,omitempty"`
	FSType                     *string                            `json:"fsType,omitempty"`
	VolumeAttributes           map[string]string                  `json:"volumeAttributes,omitempty"`
	ControllerPublishSecretRef *SecretReferenceApplyConfiguration `json:"controllerPublishSecretRef,omitempty"`
	NodeStageSecretRef         *SecretReferenceApplyConfiguration `json:"nodeStageSecretRef,omitempty"`
	NodePublishSecretRef       *SecretReferenceApplyConfiguration `json:"nodePublishSecretRef,omitempty"`
	ControllerExpandSecretRef  *SecretReferenceApplyConfiguration `json:"controllerExpandSecretRef,omitempty"`
	NodeExpandSecretRef        *SecretReferenceApplyConfiguration `json:"nodeExpandSecretRef,omitempty"`
}

CSIPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the CSIPersistentVolumeSource type for use with apply.

func CSIPersistentVolumeSource

func CSIPersistentVolumeSource() *CSIPersistentVolumeSourceApplyConfiguration

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

func (*CSIPersistentVolumeSourceApplyConfiguration) WithControllerExpandSecretRef

WithControllerExpandSecretRef sets the ControllerExpandSecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ControllerExpandSecretRef field is set to the value of the last call.

func (*CSIPersistentVolumeSourceApplyConfiguration) WithControllerPublishSecretRef

WithControllerPublishSecretRef sets the ControllerPublishSecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ControllerPublishSecretRef field is set to the value of the last call.

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

func (*CSIPersistentVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

func (*CSIPersistentVolumeSourceApplyConfiguration) WithNodeExpandSecretRef

WithNodeExpandSecretRef sets the NodeExpandSecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeExpandSecretRef field is set to the value of the last call.

func (*CSIPersistentVolumeSourceApplyConfiguration) WithNodePublishSecretRef

WithNodePublishSecretRef sets the NodePublishSecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodePublishSecretRef field is set to the value of the last call.

func (*CSIPersistentVolumeSourceApplyConfiguration) WithNodeStageSecretRef

WithNodeStageSecretRef sets the NodeStageSecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeStageSecretRef field is set to the value of the last call.

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

func (*CSIPersistentVolumeSourceApplyConfiguration) WithVolumeAttributes

WithVolumeAttributes puts the entries into the VolumeAttributes 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 VolumeAttributes field, overwriting an existing map entries in VolumeAttributes field with the same key.

func (*CSIPersistentVolumeSourceApplyConfiguration) WithVolumeHandle

WithVolumeHandle sets the VolumeHandle field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeHandle field is set to the value of the last call.

type CSIVolumeSourceApplyConfiguration

type CSIVolumeSourceApplyConfiguration struct {
	Driver               *string                                 `json:"driver,omitempty"`
	ReadOnly             *bool                                   `json:"readOnly,omitempty"`
	FSType               *string                                 `json:"fsType,omitempty"`
	VolumeAttributes     map[string]string                       `json:"volumeAttributes,omitempty"`
	NodePublishSecretRef *LocalObjectReferenceApplyConfiguration `json:"nodePublishSecretRef,omitempty"`
}

CSIVolumeSourceApplyConfiguration represents an declarative configuration of the CSIVolumeSource type for use with apply.

func CSIVolumeSource

func CSIVolumeSource() *CSIVolumeSourceApplyConfiguration

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

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

func (*CSIVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

func (*CSIVolumeSourceApplyConfiguration) WithNodePublishSecretRef

WithNodePublishSecretRef sets the NodePublishSecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodePublishSecretRef field is set to the value of the last call.

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

func (*CSIVolumeSourceApplyConfiguration) WithVolumeAttributes

WithVolumeAttributes puts the entries into the VolumeAttributes 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 VolumeAttributes field, overwriting an existing map entries in VolumeAttributes field with the same key.

type CapabilitiesApplyConfiguration

type CapabilitiesApplyConfiguration struct {
	Add  []v1.Capability `json:"add,omitempty"`
	Drop []v1.Capability `json:"drop,omitempty"`
}

CapabilitiesApplyConfiguration represents an declarative configuration of the Capabilities type for use with apply.

func Capabilities

func Capabilities() *CapabilitiesApplyConfiguration

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

func (*CapabilitiesApplyConfiguration) WithAdd

WithAdd adds the given value to the Add 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 Add field.

func (*CapabilitiesApplyConfiguration) WithDrop

WithDrop adds the given value to the Drop 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 Drop field.

type CephFSPersistentVolumeSourceApplyConfiguration

type CephFSPersistentVolumeSourceApplyConfiguration struct {
	Monitors   []string                           `json:"monitors,omitempty"`
	Path       *string                            `json:"path,omitempty"`
	User       *string                            `json:"user,omitempty"`
	SecretFile *string                            `json:"secretFile,omitempty"`
	SecretRef  *SecretReferenceApplyConfiguration `json:"secretRef,omitempty"`
	ReadOnly   *bool                              `json:"readOnly,omitempty"`
}

CephFSPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the CephFSPersistentVolumeSource type for use with apply.

func CephFSPersistentVolumeSource

func CephFSPersistentVolumeSource() *CephFSPersistentVolumeSourceApplyConfiguration

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

func (*CephFSPersistentVolumeSourceApplyConfiguration) WithMonitors

WithMonitors adds the given value to the Monitors 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 Monitors field.

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

func (*CephFSPersistentVolumeSourceApplyConfiguration) WithSecretFile

WithSecretFile sets the SecretFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretFile field is set to the value of the last call.

func (*CephFSPersistentVolumeSourceApplyConfiguration) WithSecretRef

WithSecretRef sets the SecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretRef field is set to the value of the last call.

func (*CephFSPersistentVolumeSourceApplyConfiguration) WithUser

WithUser sets the User field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the User field is set to the value of the last call.

type CephFSVolumeSourceApplyConfiguration

type CephFSVolumeSourceApplyConfiguration struct {
	Monitors   []string                                `json:"monitors,omitempty"`
	Path       *string                                 `json:"path,omitempty"`
	User       *string                                 `json:"user,omitempty"`
	SecretFile *string                                 `json:"secretFile,omitempty"`
	SecretRef  *LocalObjectReferenceApplyConfiguration `json:"secretRef,omitempty"`
	ReadOnly   *bool                                   `json:"readOnly,omitempty"`
}

CephFSVolumeSourceApplyConfiguration represents an declarative configuration of the CephFSVolumeSource type for use with apply.

func CephFSVolumeSource

func CephFSVolumeSource() *CephFSVolumeSourceApplyConfiguration

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

func (*CephFSVolumeSourceApplyConfiguration) WithMonitors

WithMonitors adds the given value to the Monitors 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 Monitors field.

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

func (*CephFSVolumeSourceApplyConfiguration) WithSecretFile

WithSecretFile sets the SecretFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretFile field is set to the value of the last call.

func (*CephFSVolumeSourceApplyConfiguration) WithSecretRef

WithSecretRef sets the SecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretRef field is set to the value of the last call.

func (*CephFSVolumeSourceApplyConfiguration) WithUser

WithUser sets the User field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the User field is set to the value of the last call.

type CinderPersistentVolumeSourceApplyConfiguration

type CinderPersistentVolumeSourceApplyConfiguration struct {
	VolumeID  *string                            `json:"volumeID,omitempty"`
	FSType    *string                            `json:"fsType,omitempty"`
	ReadOnly  *bool                              `json:"readOnly,omitempty"`
	SecretRef *SecretReferenceApplyConfiguration `json:"secretRef,omitempty"`
}

CinderPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the CinderPersistentVolumeSource type for use with apply.

func CinderPersistentVolumeSource

func CinderPersistentVolumeSource() *CinderPersistentVolumeSourceApplyConfiguration

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

func (*CinderPersistentVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

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

func (*CinderPersistentVolumeSourceApplyConfiguration) WithSecretRef

WithSecretRef sets the SecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretRef field is set to the value of the last call.

func (*CinderPersistentVolumeSourceApplyConfiguration) WithVolumeID

WithVolumeID sets the VolumeID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeID field is set to the value of the last call.

type CinderVolumeSourceApplyConfiguration

type CinderVolumeSourceApplyConfiguration struct {
	VolumeID  *string                                 `json:"volumeID,omitempty"`
	FSType    *string                                 `json:"fsType,omitempty"`
	ReadOnly  *bool                                   `json:"readOnly,omitempty"`
	SecretRef *LocalObjectReferenceApplyConfiguration `json:"secretRef,omitempty"`
}

CinderVolumeSourceApplyConfiguration represents an declarative configuration of the CinderVolumeSource type for use with apply.

func CinderVolumeSource

func CinderVolumeSource() *CinderVolumeSourceApplyConfiguration

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

func (*CinderVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

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

func (*CinderVolumeSourceApplyConfiguration) WithSecretRef

WithSecretRef sets the SecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretRef field is set to the value of the last call.

func (*CinderVolumeSourceApplyConfiguration) WithVolumeID

WithVolumeID sets the VolumeID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeID field is set to the value of the last call.

type ClaimSourceApplyConfiguration

type ClaimSourceApplyConfiguration struct {
	ResourceClaimName         *string `json:"resourceClaimName,omitempty"`
	ResourceClaimTemplateName *string `json:"resourceClaimTemplateName,omitempty"`
}

ClaimSourceApplyConfiguration represents an declarative configuration of the ClaimSource type for use with apply.

func ClaimSource

func ClaimSource() *ClaimSourceApplyConfiguration

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

func (*ClaimSourceApplyConfiguration) WithResourceClaimName

func (b *ClaimSourceApplyConfiguration) WithResourceClaimName(value string) *ClaimSourceApplyConfiguration

WithResourceClaimName sets the ResourceClaimName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceClaimName field is set to the value of the last call.

func (*ClaimSourceApplyConfiguration) WithResourceClaimTemplateName

func (b *ClaimSourceApplyConfiguration) WithResourceClaimTemplateName(value string) *ClaimSourceApplyConfiguration

WithResourceClaimTemplateName sets the ResourceClaimTemplateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceClaimTemplateName field is set to the value of the last call.

type ClientIPConfigApplyConfiguration

type ClientIPConfigApplyConfiguration struct {
	TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"`
}

ClientIPConfigApplyConfiguration represents an declarative configuration of the ClientIPConfig type for use with apply.

func ClientIPConfig

func ClientIPConfig() *ClientIPConfigApplyConfiguration

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

func (*ClientIPConfigApplyConfiguration) WithTimeoutSeconds

WithTimeoutSeconds sets the TimeoutSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TimeoutSeconds field is set to the value of the last call.

type ComponentConditionApplyConfiguration

type ComponentConditionApplyConfiguration struct {
	Type    *v1.ComponentConditionType `json:"type,omitempty"`
	Status  *v1.ConditionStatus        `json:"status,omitempty"`
	Message *string                    `json:"message,omitempty"`
	Error   *string                    `json:"error,omitempty"`
}

ComponentConditionApplyConfiguration represents an declarative configuration of the ComponentCondition type for use with apply.

func ComponentCondition

func ComponentCondition() *ComponentConditionApplyConfiguration

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

func (*ComponentConditionApplyConfiguration) WithError

WithError sets the Error field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Error field is set to the value of the last call.

func (*ComponentConditionApplyConfiguration) 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 (*ComponentConditionApplyConfiguration) 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 (*ComponentConditionApplyConfiguration) 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 ComponentStatusApplyConfiguration

type ComponentStatusApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Conditions                       []ComponentConditionApplyConfiguration `json:"conditions,omitempty"`
}

ComponentStatusApplyConfiguration represents an declarative configuration of the ComponentStatus type for use with apply.

func ComponentStatus

func ComponentStatus(name string) *ComponentStatusApplyConfiguration

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

func ExtractComponentStatus

func ExtractComponentStatus(componentStatus *apicorev1.ComponentStatus, fieldManager string) (*ComponentStatusApplyConfiguration, error)

ExtractComponentStatus extracts the applied configuration owned by fieldManager from componentStatus. If no managedFields are found in componentStatus for fieldManager, a ComponentStatusApplyConfiguration 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. componentStatus must be a unmodified ComponentStatus API object that was retrieved from the Kubernetes API. ExtractComponentStatus 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 ExtractComponentStatusStatus

func ExtractComponentStatusStatus(componentStatus *apicorev1.ComponentStatus, fieldManager string) (*ComponentStatusApplyConfiguration, error)

ExtractComponentStatusStatus is the same as ExtractComponentStatus except that it extracts the status subresource applied configuration. Experimental!

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

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

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

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*ComponentStatusApplyConfiguration) 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 ConfigMapApplyConfiguration

type ConfigMapApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Immutable                        *bool             `json:"immutable,omitempty"`
	Data                             map[string]string `json:"data,omitempty"`
	BinaryData                       map[string][]byte `json:"binaryData,omitempty"`
}

ConfigMapApplyConfiguration represents an declarative configuration of the ConfigMap type for use with apply.

func ConfigMap

func ConfigMap(name, namespace string) *ConfigMapApplyConfiguration

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

func ExtractConfigMap

func ExtractConfigMap(configMap *corev1.ConfigMap, fieldManager string) (*ConfigMapApplyConfiguration, error)

ExtractConfigMap extracts the applied configuration owned by fieldManager from configMap. If no managedFields are found in configMap for fieldManager, a ConfigMapApplyConfiguration 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. configMap must be a unmodified ConfigMap API object that was retrieved from the Kubernetes API. ExtractConfigMap 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 ExtractConfigMapStatus

func ExtractConfigMapStatus(configMap *corev1.ConfigMap, fieldManager string) (*ConfigMapApplyConfiguration, error)

ExtractConfigMapStatus is the same as ExtractConfigMap except that it extracts the status subresource applied configuration. Experimental!

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

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

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 (*ConfigMapApplyConfiguration) WithBinaryData

func (b *ConfigMapApplyConfiguration) WithBinaryData(entries map[string][]byte) *ConfigMapApplyConfiguration

WithBinaryData puts the entries into the BinaryData 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 BinaryData field, overwriting an existing map entries in BinaryData field with the same key.

func (*ConfigMapApplyConfiguration) WithCreationTimestamp

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

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

WithData puts the entries into the Data 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 Data field, overwriting an existing map entries in Data field with the same key.

func (*ConfigMapApplyConfiguration) WithDeletionGracePeriodSeconds

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

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

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

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

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

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 (*ConfigMapApplyConfiguration) 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 (*ConfigMapApplyConfiguration) 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 (*ConfigMapApplyConfiguration) WithImmutable

WithImmutable sets the Immutable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Immutable field is set to the value of the last call.

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

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

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 (*ConfigMapApplyConfiguration) 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 ConfigMapEnvSourceApplyConfiguration

type ConfigMapEnvSourceApplyConfiguration struct {
	LocalObjectReferenceApplyConfiguration `json:",inline"`
	Optional                               *bool `json:"optional,omitempty"`
}

ConfigMapEnvSourceApplyConfiguration represents an declarative configuration of the ConfigMapEnvSource type for use with apply.

func ConfigMapEnvSource

func ConfigMapEnvSource() *ConfigMapEnvSourceApplyConfiguration

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

func (*ConfigMapEnvSourceApplyConfiguration) 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 (*ConfigMapEnvSourceApplyConfiguration) WithOptional

WithOptional sets the Optional field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Optional field is set to the value of the last call.

type ConfigMapKeySelectorApplyConfiguration

type ConfigMapKeySelectorApplyConfiguration struct {
	LocalObjectReferenceApplyConfiguration `json:",inline"`
	Key                                    *string `json:"key,omitempty"`
	Optional                               *bool   `json:"optional,omitempty"`
}

ConfigMapKeySelectorApplyConfiguration represents an declarative configuration of the ConfigMapKeySelector type for use with apply.

func ConfigMapKeySelector

func ConfigMapKeySelector() *ConfigMapKeySelectorApplyConfiguration

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

func (*ConfigMapKeySelectorApplyConfiguration) WithKey

WithKey sets the Key field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Key field is set to the value of the last call.

func (*ConfigMapKeySelectorApplyConfiguration) 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 (*ConfigMapKeySelectorApplyConfiguration) WithOptional

WithOptional sets the Optional field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Optional field is set to the value of the last call.

type ConfigMapNodeConfigSourceApplyConfiguration

type ConfigMapNodeConfigSourceApplyConfiguration struct {
	Namespace        *string    `json:"namespace,omitempty"`
	Name             *string    `json:"name,omitempty"`
	UID              *types.UID `json:"uid,omitempty"`
	ResourceVersion  *string    `json:"resourceVersion,omitempty"`
	KubeletConfigKey *string    `json:"kubeletConfigKey,omitempty"`
}

ConfigMapNodeConfigSourceApplyConfiguration represents an declarative configuration of the ConfigMapNodeConfigSource type for use with apply.

func ConfigMapNodeConfigSource

func ConfigMapNodeConfigSource() *ConfigMapNodeConfigSourceApplyConfiguration

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

func (*ConfigMapNodeConfigSourceApplyConfiguration) WithKubeletConfigKey

WithKubeletConfigKey sets the KubeletConfigKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KubeletConfigKey field is set to the value of the last call.

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

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*ConfigMapNodeConfigSourceApplyConfiguration) 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 ConfigMapProjectionApplyConfiguration

type ConfigMapProjectionApplyConfiguration struct {
	LocalObjectReferenceApplyConfiguration `json:",inline"`
	Items                                  []KeyToPathApplyConfiguration `json:"items,omitempty"`
	Optional                               *bool                         `json:"optional,omitempty"`
}

ConfigMapProjectionApplyConfiguration represents an declarative configuration of the ConfigMapProjection type for use with apply.

func ConfigMapProjection

func ConfigMapProjection() *ConfigMapProjectionApplyConfiguration

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

func (*ConfigMapProjectionApplyConfiguration) WithItems

WithItems adds the given value to the Items 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 Items field.

func (*ConfigMapProjectionApplyConfiguration) 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 (*ConfigMapProjectionApplyConfiguration) WithOptional

WithOptional sets the Optional field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Optional field is set to the value of the last call.

type ConfigMapVolumeSourceApplyConfiguration

type ConfigMapVolumeSourceApplyConfiguration struct {
	LocalObjectReferenceApplyConfiguration `json:",inline"`
	Items                                  []KeyToPathApplyConfiguration `json:"items,omitempty"`
	DefaultMode                            *int32                        `json:"defaultMode,omitempty"`
	Optional                               *bool                         `json:"optional,omitempty"`
}

ConfigMapVolumeSourceApplyConfiguration represents an declarative configuration of the ConfigMapVolumeSource type for use with apply.

func ConfigMapVolumeSource

func ConfigMapVolumeSource() *ConfigMapVolumeSourceApplyConfiguration

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

func (*ConfigMapVolumeSourceApplyConfiguration) WithDefaultMode

WithDefaultMode sets the DefaultMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DefaultMode field is set to the value of the last call.

func (*ConfigMapVolumeSourceApplyConfiguration) WithItems

WithItems adds the given value to the Items 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 Items field.

func (*ConfigMapVolumeSourceApplyConfiguration) 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 (*ConfigMapVolumeSourceApplyConfiguration) WithOptional

WithOptional sets the Optional field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Optional field is set to the value of the last call.

type ContainerApplyConfiguration

type ContainerApplyConfiguration struct {
	Name                     *string                                 `json:"name,omitempty"`
	Image                    *string                                 `json:"image,omitempty"`
	Command                  []string                                `json:"command,omitempty"`
	Args                     []string                                `json:"args,omitempty"`
	WorkingDir               *string                                 `json:"workingDir,omitempty"`
	Ports                    []ContainerPortApplyConfiguration       `json:"ports,omitempty"`
	EnvFrom                  []EnvFromSourceApplyConfiguration       `json:"envFrom,omitempty"`
	Env                      []EnvVarApplyConfiguration              `json:"env,omitempty"`
	Resources                *ResourceRequirementsApplyConfiguration `json:"resources,omitempty"`
	VolumeMounts             []VolumeMountApplyConfiguration         `json:"volumeMounts,omitempty"`
	VolumeDevices            []VolumeDeviceApplyConfiguration        `json:"volumeDevices,omitempty"`
	LivenessProbe            *ProbeApplyConfiguration                `json:"livenessProbe,omitempty"`
	ReadinessProbe           *ProbeApplyConfiguration                `json:"readinessProbe,omitempty"`
	StartupProbe             *ProbeApplyConfiguration                `json:"startupProbe,omitempty"`
	Lifecycle                *LifecycleApplyConfiguration            `json:"lifecycle,omitempty"`
	TerminationMessagePath   *string                                 `json:"terminationMessagePath,omitempty"`
	TerminationMessagePolicy *corev1.TerminationMessagePolicy        `json:"terminationMessagePolicy,omitempty"`
	ImagePullPolicy          *corev1.PullPolicy                      `json:"imagePullPolicy,omitempty"`
	SecurityContext          *SecurityContextApplyConfiguration      `json:"securityContext,omitempty"`
	Stdin                    *bool                                   `json:"stdin,omitempty"`
	StdinOnce                *bool                                   `json:"stdinOnce,omitempty"`
	TTY                      *bool                                   `json:"tty,omitempty"`
}

ContainerApplyConfiguration represents an declarative configuration of the Container type for use with apply.

func Container

func Container() *ContainerApplyConfiguration

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

func (*ContainerApplyConfiguration) WithArgs

WithArgs adds the given value to the Args 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 Args field.

func (*ContainerApplyConfiguration) WithCommand

WithCommand adds the given value to the Command 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 Command field.

func (*ContainerApplyConfiguration) WithEnv

WithEnv adds the given value to the Env 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 Env field.

func (*ContainerApplyConfiguration) WithEnvFrom

WithEnvFrom adds the given value to the EnvFrom 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 EnvFrom field.

func (*ContainerApplyConfiguration) WithImage

WithImage sets the Image field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Image field is set to the value of the last call.

func (*ContainerApplyConfiguration) WithImagePullPolicy

WithImagePullPolicy sets the ImagePullPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImagePullPolicy field is set to the value of the last call.

func (*ContainerApplyConfiguration) WithLifecycle

WithLifecycle sets the Lifecycle field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Lifecycle field is set to the value of the last call.

func (*ContainerApplyConfiguration) WithLivenessProbe

WithLivenessProbe sets the LivenessProbe field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LivenessProbe field is set to the value of the last call.

func (*ContainerApplyConfiguration) 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 (*ContainerApplyConfiguration) 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 (*ContainerApplyConfiguration) WithReadinessProbe

WithReadinessProbe sets the ReadinessProbe field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadinessProbe field is set to the value of the last call.

func (*ContainerApplyConfiguration) WithResources

WithResources sets the Resources field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resources field is set to the value of the last call.

func (*ContainerApplyConfiguration) WithSecurityContext

WithSecurityContext sets the SecurityContext field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecurityContext field is set to the value of the last call.

func (*ContainerApplyConfiguration) WithStartupProbe

WithStartupProbe sets the StartupProbe field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StartupProbe field is set to the value of the last call.

func (*ContainerApplyConfiguration) WithStdin

WithStdin sets the Stdin field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Stdin field is set to the value of the last call.

func (*ContainerApplyConfiguration) WithStdinOnce

WithStdinOnce sets the StdinOnce field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StdinOnce field is set to the value of the last call.

func (*ContainerApplyConfiguration) WithTTY

WithTTY sets the TTY field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TTY field is set to the value of the last call.

func (*ContainerApplyConfiguration) WithTerminationMessagePath

func (b *ContainerApplyConfiguration) WithTerminationMessagePath(value string) *ContainerApplyConfiguration

WithTerminationMessagePath sets the TerminationMessagePath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TerminationMessagePath field is set to the value of the last call.

func (*ContainerApplyConfiguration) WithTerminationMessagePolicy

WithTerminationMessagePolicy sets the TerminationMessagePolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TerminationMessagePolicy field is set to the value of the last call.

func (*ContainerApplyConfiguration) WithVolumeDevices

WithVolumeDevices adds the given value to the VolumeDevices 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 VolumeDevices field.

func (*ContainerApplyConfiguration) WithVolumeMounts

WithVolumeMounts adds the given value to the VolumeMounts 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 VolumeMounts field.

func (*ContainerApplyConfiguration) WithWorkingDir

WithWorkingDir sets the WorkingDir field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WorkingDir field is set to the value of the last call.

type ContainerImageApplyConfiguration

type ContainerImageApplyConfiguration struct {
	Names     []string `json:"names,omitempty"`
	SizeBytes *int64   `json:"sizeBytes,omitempty"`
}

ContainerImageApplyConfiguration represents an declarative configuration of the ContainerImage type for use with apply.

func ContainerImage

func ContainerImage() *ContainerImageApplyConfiguration

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

func (*ContainerImageApplyConfiguration) WithNames

WithNames adds the given value to the Names 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 Names field.

func (*ContainerImageApplyConfiguration) WithSizeBytes

WithSizeBytes sets the SizeBytes field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SizeBytes field is set to the value of the last call.

type ContainerPortApplyConfiguration

type ContainerPortApplyConfiguration struct {
	Name          *string      `json:"name,omitempty"`
	HostPort      *int32       `json:"hostPort,omitempty"`
	ContainerPort *int32       `json:"containerPort,omitempty"`
	Protocol      *v1.Protocol `json:"protocol,omitempty"`
	HostIP        *string      `json:"hostIP,omitempty"`
}

ContainerPortApplyConfiguration represents an declarative configuration of the ContainerPort type for use with apply.

func ContainerPort

func ContainerPort() *ContainerPortApplyConfiguration

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

func (*ContainerPortApplyConfiguration) WithContainerPort

WithContainerPort sets the ContainerPort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ContainerPort field is set to the value of the last call.

func (*ContainerPortApplyConfiguration) WithHostIP

WithHostIP sets the HostIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HostIP field is set to the value of the last call.

func (*ContainerPortApplyConfiguration) WithHostPort

WithHostPort sets the HostPort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HostPort field is set to the value of the last call.

func (*ContainerPortApplyConfiguration) 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 (*ContainerPortApplyConfiguration) 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 ContainerStateApplyConfiguration

type ContainerStateApplyConfiguration struct {
	Waiting    *ContainerStateWaitingApplyConfiguration    `json:"waiting,omitempty"`
	Running    *ContainerStateRunningApplyConfiguration    `json:"running,omitempty"`
	Terminated *ContainerStateTerminatedApplyConfiguration `json:"terminated,omitempty"`
}

ContainerStateApplyConfiguration represents an declarative configuration of the ContainerState type for use with apply.

func ContainerState

func ContainerState() *ContainerStateApplyConfiguration

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

func (*ContainerStateApplyConfiguration) WithRunning

WithRunning sets the Running field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Running field is set to the value of the last call.

func (*ContainerStateApplyConfiguration) WithTerminated

WithTerminated sets the Terminated field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Terminated field is set to the value of the last call.

func (*ContainerStateApplyConfiguration) WithWaiting

WithWaiting sets the Waiting field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Waiting field is set to the value of the last call.

type ContainerStateRunningApplyConfiguration

type ContainerStateRunningApplyConfiguration struct {
	StartedAt *v1.Time `json:"startedAt,omitempty"`
}

ContainerStateRunningApplyConfiguration represents an declarative configuration of the ContainerStateRunning type for use with apply.

func ContainerStateRunning

func ContainerStateRunning() *ContainerStateRunningApplyConfiguration

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

func (*ContainerStateRunningApplyConfiguration) WithStartedAt

WithStartedAt sets the StartedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StartedAt field is set to the value of the last call.

type ContainerStateTerminatedApplyConfiguration

type ContainerStateTerminatedApplyConfiguration struct {
	ExitCode    *int32   `json:"exitCode,omitempty"`
	Signal      *int32   `json:"signal,omitempty"`
	Reason      *string  `json:"reason,omitempty"`
	Message     *string  `json:"message,omitempty"`
	StartedAt   *v1.Time `json:"startedAt,omitempty"`
	FinishedAt  *v1.Time `json:"finishedAt,omitempty"`
	ContainerID *string  `json:"containerID,omitempty"`
}

ContainerStateTerminatedApplyConfiguration represents an declarative configuration of the ContainerStateTerminated type for use with apply.

func ContainerStateTerminated

func ContainerStateTerminated() *ContainerStateTerminatedApplyConfiguration

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

func (*ContainerStateTerminatedApplyConfiguration) WithContainerID

WithContainerID sets the ContainerID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ContainerID field is set to the value of the last call.

func (*ContainerStateTerminatedApplyConfiguration) WithExitCode

WithExitCode sets the ExitCode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ExitCode field is set to the value of the last call.

func (*ContainerStateTerminatedApplyConfiguration) WithFinishedAt

WithFinishedAt sets the FinishedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FinishedAt field is set to the value of the last call.

func (*ContainerStateTerminatedApplyConfiguration) 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 (*ContainerStateTerminatedApplyConfiguration) 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 (*ContainerStateTerminatedApplyConfiguration) WithSignal

WithSignal sets the Signal field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Signal field is set to the value of the last call.

func (*ContainerStateTerminatedApplyConfiguration) WithStartedAt

WithStartedAt sets the StartedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StartedAt field is set to the value of the last call.

type ContainerStateWaitingApplyConfiguration

type ContainerStateWaitingApplyConfiguration struct {
	Reason  *string `json:"reason,omitempty"`
	Message *string `json:"message,omitempty"`
}

ContainerStateWaitingApplyConfiguration represents an declarative configuration of the ContainerStateWaiting type for use with apply.

func ContainerStateWaiting

func ContainerStateWaiting() *ContainerStateWaitingApplyConfiguration

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

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

type ContainerStatusApplyConfiguration

type ContainerStatusApplyConfiguration struct {
	Name                 *string                           `json:"name,omitempty"`
	State                *ContainerStateApplyConfiguration `json:"state,omitempty"`
	LastTerminationState *ContainerStateApplyConfiguration `json:"lastState,omitempty"`
	Ready                *bool                             `json:"ready,omitempty"`
	RestartCount         *int32                            `json:"restartCount,omitempty"`
	Image                *string                           `json:"image,omitempty"`
	ImageID              *string                           `json:"imageID,omitempty"`
	ContainerID          *string                           `json:"containerID,omitempty"`
	Started              *bool                             `json:"started,omitempty"`
}

ContainerStatusApplyConfiguration represents an declarative configuration of the ContainerStatus type for use with apply.

func ContainerStatus

func ContainerStatus() *ContainerStatusApplyConfiguration

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

func (*ContainerStatusApplyConfiguration) WithContainerID

WithContainerID sets the ContainerID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ContainerID field is set to the value of the last call.

func (*ContainerStatusApplyConfiguration) WithImage

WithImage sets the Image field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Image field is set to the value of the last call.

func (*ContainerStatusApplyConfiguration) WithImageID

WithImageID sets the ImageID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageID field is set to the value of the last call.

func (*ContainerStatusApplyConfiguration) WithLastTerminationState

WithLastTerminationState sets the LastTerminationState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastTerminationState field is set to the value of the last call.

func (*ContainerStatusApplyConfiguration) 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 (*ContainerStatusApplyConfiguration) WithReady

WithReady sets the Ready field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ready field is set to the value of the last call.

func (*ContainerStatusApplyConfiguration) WithRestartCount

WithRestartCount sets the RestartCount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RestartCount field is set to the value of the last call.

func (*ContainerStatusApplyConfiguration) WithStarted

WithStarted sets the Started field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Started field is set to the value of the last call.

func (*ContainerStatusApplyConfiguration) WithState

WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.

type DaemonEndpointApplyConfiguration

type DaemonEndpointApplyConfiguration struct {
	Port *int32 `json:"Port,omitempty"`
}

DaemonEndpointApplyConfiguration represents an declarative configuration of the DaemonEndpoint type for use with apply.

func DaemonEndpoint

func DaemonEndpoint() *DaemonEndpointApplyConfiguration

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

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

type DownwardAPIProjectionApplyConfiguration

type DownwardAPIProjectionApplyConfiguration struct {
	Items []DownwardAPIVolumeFileApplyConfiguration `json:"items,omitempty"`
}

DownwardAPIProjectionApplyConfiguration represents an declarative configuration of the DownwardAPIProjection type for use with apply.

func DownwardAPIProjection

func DownwardAPIProjection() *DownwardAPIProjectionApplyConfiguration

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

func (*DownwardAPIProjectionApplyConfiguration) WithItems

WithItems adds the given value to the Items 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 Items field.

type DownwardAPIVolumeFileApplyConfiguration

type DownwardAPIVolumeFileApplyConfiguration struct {
	Path             *string                                  `json:"path,omitempty"`
	FieldRef         *ObjectFieldSelectorApplyConfiguration   `json:"fieldRef,omitempty"`
	ResourceFieldRef *ResourceFieldSelectorApplyConfiguration `json:"resourceFieldRef,omitempty"`
	Mode             *int32                                   `json:"mode,omitempty"`
}

DownwardAPIVolumeFileApplyConfiguration represents an declarative configuration of the DownwardAPIVolumeFile type for use with apply.

func DownwardAPIVolumeFile

func DownwardAPIVolumeFile() *DownwardAPIVolumeFileApplyConfiguration

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

func (*DownwardAPIVolumeFileApplyConfiguration) WithFieldRef

WithFieldRef sets the FieldRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FieldRef field is set to the value of the last call.

func (*DownwardAPIVolumeFileApplyConfiguration) WithMode

WithMode sets the Mode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Mode field is set to the value of the last call.

func (*DownwardAPIVolumeFileApplyConfiguration) 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 (*DownwardAPIVolumeFileApplyConfiguration) WithResourceFieldRef

WithResourceFieldRef sets the ResourceFieldRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceFieldRef field is set to the value of the last call.

type DownwardAPIVolumeSourceApplyConfiguration

type DownwardAPIVolumeSourceApplyConfiguration struct {
	Items       []DownwardAPIVolumeFileApplyConfiguration `json:"items,omitempty"`
	DefaultMode *int32                                    `json:"defaultMode,omitempty"`
}

DownwardAPIVolumeSourceApplyConfiguration represents an declarative configuration of the DownwardAPIVolumeSource type for use with apply.

func DownwardAPIVolumeSource

func DownwardAPIVolumeSource() *DownwardAPIVolumeSourceApplyConfiguration

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

func (*DownwardAPIVolumeSourceApplyConfiguration) WithDefaultMode

WithDefaultMode sets the DefaultMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DefaultMode field is set to the value of the last call.

func (*DownwardAPIVolumeSourceApplyConfiguration) WithItems

WithItems adds the given value to the Items 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 Items field.

type EmptyDirVolumeSourceApplyConfiguration

type EmptyDirVolumeSourceApplyConfiguration struct {
	Medium    *v1.StorageMedium  `json:"medium,omitempty"`
	SizeLimit *resource.Quantity `json:"sizeLimit,omitempty"`
}

EmptyDirVolumeSourceApplyConfiguration represents an declarative configuration of the EmptyDirVolumeSource type for use with apply.

func EmptyDirVolumeSource

func EmptyDirVolumeSource() *EmptyDirVolumeSourceApplyConfiguration

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

func (*EmptyDirVolumeSourceApplyConfiguration) WithMedium

WithMedium sets the Medium field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Medium field is set to the value of the last call.

func (*EmptyDirVolumeSourceApplyConfiguration) WithSizeLimit

WithSizeLimit sets the SizeLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SizeLimit field is set to the value of the last call.

type EndpointAddressApplyConfiguration

type EndpointAddressApplyConfiguration struct {
	IP        *string                            `json:"ip,omitempty"`
	Hostname  *string                            `json:"hostname,omitempty"`
	NodeName  *string                            `json:"nodeName,omitempty"`
	TargetRef *ObjectReferenceApplyConfiguration `json:"targetRef,omitempty"`
}

EndpointAddressApplyConfiguration represents an declarative configuration of the EndpointAddress type for use with apply.

func EndpointAddress

func EndpointAddress() *EndpointAddressApplyConfiguration

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

func (*EndpointAddressApplyConfiguration) WithHostname

WithHostname sets the Hostname field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Hostname field is set to the value of the last call.

func (*EndpointAddressApplyConfiguration) WithIP

WithIP sets the IP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IP field is set to the value of the last call.

func (*EndpointAddressApplyConfiguration) WithNodeName

WithNodeName sets the NodeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeName field is set to the value of the last call.

func (*EndpointAddressApplyConfiguration) WithTargetRef

WithTargetRef sets the TargetRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TargetRef field is set to the value of the last call.

type EndpointPortApplyConfiguration

type EndpointPortApplyConfiguration struct {
	Name        *string      `json:"name,omitempty"`
	Port        *int32       `json:"port,omitempty"`
	Protocol    *v1.Protocol `json:"protocol,omitempty"`
	AppProtocol *string      `json:"appProtocol,omitempty"`
}

EndpointPortApplyConfiguration represents an declarative configuration of the EndpointPort type for use with apply.

func EndpointPort

func EndpointPort() *EndpointPortApplyConfiguration

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

func (*EndpointPortApplyConfiguration) WithAppProtocol

WithAppProtocol sets the AppProtocol field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AppProtocol field is set to the value of the last call.

func (*EndpointPortApplyConfiguration) 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 (*EndpointPortApplyConfiguration) 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 (*EndpointPortApplyConfiguration) 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 EndpointSubsetApplyConfiguration

type EndpointSubsetApplyConfiguration struct {
	Addresses         []EndpointAddressApplyConfiguration `json:"addresses,omitempty"`
	NotReadyAddresses []EndpointAddressApplyConfiguration `json:"notReadyAddresses,omitempty"`
	Ports             []EndpointPortApplyConfiguration    `json:"ports,omitempty"`
}

EndpointSubsetApplyConfiguration represents an declarative configuration of the EndpointSubset type for use with apply.

func EndpointSubset

func EndpointSubset() *EndpointSubsetApplyConfiguration

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

func (*EndpointSubsetApplyConfiguration) WithAddresses

WithAddresses adds the given value to the Addresses 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 Addresses field.

func (*EndpointSubsetApplyConfiguration) WithNotReadyAddresses

WithNotReadyAddresses adds the given value to the NotReadyAddresses 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 NotReadyAddresses field.

func (*EndpointSubsetApplyConfiguration) 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 EndpointsApplyConfiguration

type EndpointsApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Subsets                          []EndpointSubsetApplyConfiguration `json:"subsets,omitempty"`
}

EndpointsApplyConfiguration represents an declarative configuration of the Endpoints type for use with apply.

func Endpoints

func Endpoints(name, namespace string) *EndpointsApplyConfiguration

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

func ExtractEndpoints

func ExtractEndpoints(endpoints *apicorev1.Endpoints, fieldManager string) (*EndpointsApplyConfiguration, error)

ExtractEndpoints extracts the applied configuration owned by fieldManager from endpoints. If no managedFields are found in endpoints for fieldManager, a EndpointsApplyConfiguration 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. endpoints must be a unmodified Endpoints API object that was retrieved from the Kubernetes API. ExtractEndpoints 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 ExtractEndpointsStatus

func ExtractEndpointsStatus(endpoints *apicorev1.Endpoints, fieldManager string) (*EndpointsApplyConfiguration, error)

ExtractEndpointsStatus is the same as ExtractEndpoints except that it extracts the status subresource applied configuration. Experimental!

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

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

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

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

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

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

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

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

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

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

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

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

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 (*EndpointsApplyConfiguration) WithSubsets

WithSubsets adds the given value to the Subsets 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 Subsets field.

func (*EndpointsApplyConfiguration) 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 EnvFromSourceApplyConfiguration

type EnvFromSourceApplyConfiguration struct {
	Prefix       *string                               `json:"prefix,omitempty"`
	ConfigMapRef *ConfigMapEnvSourceApplyConfiguration `json:"configMapRef,omitempty"`
	SecretRef    *SecretEnvSourceApplyConfiguration    `json:"secretRef,omitempty"`
}

EnvFromSourceApplyConfiguration represents an declarative configuration of the EnvFromSource type for use with apply.

func EnvFromSource

func EnvFromSource() *EnvFromSourceApplyConfiguration

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

func (*EnvFromSourceApplyConfiguration) WithConfigMapRef

WithConfigMapRef sets the ConfigMapRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfigMapRef field is set to the value of the last call.

func (*EnvFromSourceApplyConfiguration) WithPrefix

WithPrefix sets the Prefix field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Prefix field is set to the value of the last call.

func (*EnvFromSourceApplyConfiguration) WithSecretRef

WithSecretRef sets the SecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretRef field is set to the value of the last call.

type EnvVarApplyConfiguration

type EnvVarApplyConfiguration struct {
	Name      *string                         `json:"name,omitempty"`
	Value     *string                         `json:"value,omitempty"`
	ValueFrom *EnvVarSourceApplyConfiguration `json:"valueFrom,omitempty"`
}

EnvVarApplyConfiguration represents an declarative configuration of the EnvVar type for use with apply.

func EnvVar

func EnvVar() *EnvVarApplyConfiguration

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

func (*EnvVarApplyConfiguration) 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 (*EnvVarApplyConfiguration) WithValue

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

func (*EnvVarApplyConfiguration) WithValueFrom

WithValueFrom sets the ValueFrom field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ValueFrom field is set to the value of the last call.

type EnvVarSourceApplyConfiguration

type EnvVarSourceApplyConfiguration struct {
	FieldRef         *ObjectFieldSelectorApplyConfiguration   `json:"fieldRef,omitempty"`
	ResourceFieldRef *ResourceFieldSelectorApplyConfiguration `json:"resourceFieldRef,omitempty"`
	ConfigMapKeyRef  *ConfigMapKeySelectorApplyConfiguration  `json:"configMapKeyRef,omitempty"`
	SecretKeyRef     *SecretKeySelectorApplyConfiguration     `json:"secretKeyRef,omitempty"`
}

EnvVarSourceApplyConfiguration represents an declarative configuration of the EnvVarSource type for use with apply.

func EnvVarSource

func EnvVarSource() *EnvVarSourceApplyConfiguration

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

func (*EnvVarSourceApplyConfiguration) WithConfigMapKeyRef

WithConfigMapKeyRef sets the ConfigMapKeyRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfigMapKeyRef field is set to the value of the last call.

func (*EnvVarSourceApplyConfiguration) WithFieldRef

WithFieldRef sets the FieldRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FieldRef field is set to the value of the last call.

func (*EnvVarSourceApplyConfiguration) WithResourceFieldRef

WithResourceFieldRef sets the ResourceFieldRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceFieldRef field is set to the value of the last call.

func (*EnvVarSourceApplyConfiguration) WithSecretKeyRef

WithSecretKeyRef sets the SecretKeyRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretKeyRef field is set to the value of the last call.

type EphemeralContainerApplyConfiguration

type EphemeralContainerApplyConfiguration struct {
	EphemeralContainerCommonApplyConfiguration `json:",inline"`
	TargetContainerName                        *string `json:"targetContainerName,omitempty"`
}

EphemeralContainerApplyConfiguration represents an declarative configuration of the EphemeralContainer type for use with apply.

func EphemeralContainer

func EphemeralContainer() *EphemeralContainerApplyConfiguration

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

func (*EphemeralContainerApplyConfiguration) WithArgs

WithArgs adds the given value to the Args 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 Args field.

func (*EphemeralContainerApplyConfiguration) WithCommand

WithCommand adds the given value to the Command 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 Command field.

func (*EphemeralContainerApplyConfiguration) WithEnv

WithEnv adds the given value to the Env 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 Env field.

func (*EphemeralContainerApplyConfiguration) WithEnvFrom

WithEnvFrom adds the given value to the EnvFrom 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 EnvFrom field.

func (*EphemeralContainerApplyConfiguration) WithImage

WithImage sets the Image field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Image field is set to the value of the last call.

func (*EphemeralContainerApplyConfiguration) WithImagePullPolicy

WithImagePullPolicy sets the ImagePullPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImagePullPolicy field is set to the value of the last call.

func (*EphemeralContainerApplyConfiguration) WithLifecycle

WithLifecycle sets the Lifecycle field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Lifecycle field is set to the value of the last call.

func (*EphemeralContainerApplyConfiguration) WithLivenessProbe

WithLivenessProbe sets the LivenessProbe field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LivenessProbe field is set to the value of the last call.

func (*EphemeralContainerApplyConfiguration) 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 (*EphemeralContainerApplyConfiguration) 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 (*EphemeralContainerApplyConfiguration) WithReadinessProbe

WithReadinessProbe sets the ReadinessProbe field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadinessProbe field is set to the value of the last call.

func (*EphemeralContainerApplyConfiguration) WithResources

WithResources sets the Resources field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resources field is set to the value of the last call.

func (*EphemeralContainerApplyConfiguration) WithSecurityContext

WithSecurityContext sets the SecurityContext field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecurityContext field is set to the value of the last call.

func (*EphemeralContainerApplyConfiguration) WithStartupProbe

WithStartupProbe sets the StartupProbe field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StartupProbe field is set to the value of the last call.

func (*EphemeralContainerApplyConfiguration) WithStdin

WithStdin sets the Stdin field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Stdin field is set to the value of the last call.

func (*EphemeralContainerApplyConfiguration) WithStdinOnce

WithStdinOnce sets the StdinOnce field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StdinOnce field is set to the value of the last call.

func (*EphemeralContainerApplyConfiguration) WithTTY

WithTTY sets the TTY field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TTY field is set to the value of the last call.

func (*EphemeralContainerApplyConfiguration) WithTargetContainerName

WithTargetContainerName sets the TargetContainerName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TargetContainerName field is set to the value of the last call.

func (*EphemeralContainerApplyConfiguration) WithTerminationMessagePath

WithTerminationMessagePath sets the TerminationMessagePath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TerminationMessagePath field is set to the value of the last call.

func (*EphemeralContainerApplyConfiguration) WithTerminationMessagePolicy

WithTerminationMessagePolicy sets the TerminationMessagePolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TerminationMessagePolicy field is set to the value of the last call.

func (*EphemeralContainerApplyConfiguration) WithVolumeDevices

WithVolumeDevices adds the given value to the VolumeDevices 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 VolumeDevices field.

func (*EphemeralContainerApplyConfiguration) WithVolumeMounts

WithVolumeMounts adds the given value to the VolumeMounts 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 VolumeMounts field.

func (*EphemeralContainerApplyConfiguration) WithWorkingDir

WithWorkingDir sets the WorkingDir field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WorkingDir field is set to the value of the last call.

type EphemeralContainerCommonApplyConfiguration

type EphemeralContainerCommonApplyConfiguration struct {
	Name                     *string                                 `json:"name,omitempty"`
	Image                    *string                                 `json:"image,omitempty"`
	Command                  []string                                `json:"command,omitempty"`
	Args                     []string                                `json:"args,omitempty"`
	WorkingDir               *string                                 `json:"workingDir,omitempty"`
	Ports                    []ContainerPortApplyConfiguration       `json:"ports,omitempty"`
	EnvFrom                  []EnvFromSourceApplyConfiguration       `json:"envFrom,omitempty"`
	Env                      []EnvVarApplyConfiguration              `json:"env,omitempty"`
	Resources                *ResourceRequirementsApplyConfiguration `json:"resources,omitempty"`
	VolumeMounts             []VolumeMountApplyConfiguration         `json:"volumeMounts,omitempty"`
	VolumeDevices            []VolumeDeviceApplyConfiguration        `json:"volumeDevices,omitempty"`
	LivenessProbe            *ProbeApplyConfiguration                `json:"livenessProbe,omitempty"`
	ReadinessProbe           *ProbeApplyConfiguration                `json:"readinessProbe,omitempty"`
	StartupProbe             *ProbeApplyConfiguration                `json:"startupProbe,omitempty"`
	Lifecycle                *LifecycleApplyConfiguration            `json:"lifecycle,omitempty"`
	TerminationMessagePath   *string                                 `json:"terminationMessagePath,omitempty"`
	TerminationMessagePolicy *corev1.TerminationMessagePolicy        `json:"terminationMessagePolicy,omitempty"`
	ImagePullPolicy          *corev1.PullPolicy                      `json:"imagePullPolicy,omitempty"`
	SecurityContext          *SecurityContextApplyConfiguration      `json:"securityContext,omitempty"`
	Stdin                    *bool                                   `json:"stdin,omitempty"`
	StdinOnce                *bool                                   `json:"stdinOnce,omitempty"`
	TTY                      *bool                                   `json:"tty,omitempty"`
}

EphemeralContainerCommonApplyConfiguration represents an declarative configuration of the EphemeralContainerCommon type for use with apply.

func EphemeralContainerCommon

func EphemeralContainerCommon() *EphemeralContainerCommonApplyConfiguration

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

func (*EphemeralContainerCommonApplyConfiguration) WithArgs

WithArgs adds the given value to the Args 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 Args field.

func (*EphemeralContainerCommonApplyConfiguration) WithCommand

WithCommand adds the given value to the Command 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 Command field.

func (*EphemeralContainerCommonApplyConfiguration) WithEnv

WithEnv adds the given value to the Env 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 Env field.

func (*EphemeralContainerCommonApplyConfiguration) WithEnvFrom

WithEnvFrom adds the given value to the EnvFrom 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 EnvFrom field.

func (*EphemeralContainerCommonApplyConfiguration) WithImage

WithImage sets the Image field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Image field is set to the value of the last call.

func (*EphemeralContainerCommonApplyConfiguration) WithImagePullPolicy

WithImagePullPolicy sets the ImagePullPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImagePullPolicy field is set to the value of the last call.

func (*EphemeralContainerCommonApplyConfiguration) WithLifecycle

WithLifecycle sets the Lifecycle field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Lifecycle field is set to the value of the last call.

func (*EphemeralContainerCommonApplyConfiguration) WithLivenessProbe

WithLivenessProbe sets the LivenessProbe field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LivenessProbe field is set to the value of the last call.

func (*EphemeralContainerCommonApplyConfiguration) 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 (*EphemeralContainerCommonApplyConfiguration) 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 (*EphemeralContainerCommonApplyConfiguration) WithReadinessProbe

WithReadinessProbe sets the ReadinessProbe field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadinessProbe field is set to the value of the last call.

func (*EphemeralContainerCommonApplyConfiguration) WithResources

WithResources sets the Resources field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resources field is set to the value of the last call.

func (*EphemeralContainerCommonApplyConfiguration) WithSecurityContext

WithSecurityContext sets the SecurityContext field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecurityContext field is set to the value of the last call.

func (*EphemeralContainerCommonApplyConfiguration) WithStartupProbe

WithStartupProbe sets the StartupProbe field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StartupProbe field is set to the value of the last call.

func (*EphemeralContainerCommonApplyConfiguration) WithStdin

WithStdin sets the Stdin field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Stdin field is set to the value of the last call.

func (*EphemeralContainerCommonApplyConfiguration) WithStdinOnce

WithStdinOnce sets the StdinOnce field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StdinOnce field is set to the value of the last call.

func (*EphemeralContainerCommonApplyConfiguration) WithTTY

WithTTY sets the TTY field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TTY field is set to the value of the last call.

func (*EphemeralContainerCommonApplyConfiguration) WithTerminationMessagePath

WithTerminationMessagePath sets the TerminationMessagePath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TerminationMessagePath field is set to the value of the last call.

func (*EphemeralContainerCommonApplyConfiguration) WithTerminationMessagePolicy

WithTerminationMessagePolicy sets the TerminationMessagePolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TerminationMessagePolicy field is set to the value of the last call.

func (*EphemeralContainerCommonApplyConfiguration) WithVolumeDevices

WithVolumeDevices adds the given value to the VolumeDevices 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 VolumeDevices field.

func (*EphemeralContainerCommonApplyConfiguration) WithVolumeMounts

WithVolumeMounts adds the given value to the VolumeMounts 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 VolumeMounts field.

func (*EphemeralContainerCommonApplyConfiguration) WithWorkingDir

WithWorkingDir sets the WorkingDir field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WorkingDir field is set to the value of the last call.

type EphemeralVolumeSourceApplyConfiguration

type EphemeralVolumeSourceApplyConfiguration struct {
	VolumeClaimTemplate *PersistentVolumeClaimTemplateApplyConfiguration `json:"volumeClaimTemplate,omitempty"`
}

EphemeralVolumeSourceApplyConfiguration represents an declarative configuration of the EphemeralVolumeSource type for use with apply.

func EphemeralVolumeSource

func EphemeralVolumeSource() *EphemeralVolumeSourceApplyConfiguration

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

func (*EphemeralVolumeSourceApplyConfiguration) WithVolumeClaimTemplate

WithVolumeClaimTemplate sets the VolumeClaimTemplate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeClaimTemplate field is set to the value of the last call.

type EventApplyConfiguration

type EventApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	InvolvedObject                   *ObjectReferenceApplyConfiguration `json:"involvedObject,omitempty"`
	Reason                           *string                            `json:"reason,omitempty"`
	Message                          *string                            `json:"message,omitempty"`
	Source                           *EventSourceApplyConfiguration     `json:"source,omitempty"`
	FirstTimestamp                   *metav1.Time                       `json:"firstTimestamp,omitempty"`
	LastTimestamp                    *metav1.Time                       `json:"lastTimestamp,omitempty"`
	Count                            *int32                             `json:"count,omitempty"`
	Type                             *string                            `json:"type,omitempty"`
	EventTime                        *metav1.MicroTime                  `json:"eventTime,omitempty"`
	Series                           *EventSeriesApplyConfiguration     `json:"series,omitempty"`
	Action                           *string                            `json:"action,omitempty"`
	Related                          *ObjectReferenceApplyConfiguration `json:"related,omitempty"`
	ReportingController              *string                            `json:"reportingComponent,omitempty"`
	ReportingInstance                *string                            `json:"reportingInstance,omitempty"`
}

EventApplyConfiguration represents an declarative configuration of the Event type for use with apply.

func Event

func Event(name, namespace string) *EventApplyConfiguration

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

func ExtractEvent

func ExtractEvent(event *apicorev1.Event, fieldManager string) (*EventApplyConfiguration, error)

ExtractEvent extracts the applied configuration owned by fieldManager from event. If no managedFields are found in event for fieldManager, a EventApplyConfiguration 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. event must be a unmodified Event API object that was retrieved from the Kubernetes API. ExtractEvent 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 ExtractEventStatus

func ExtractEventStatus(event *apicorev1.Event, fieldManager string) (*EventApplyConfiguration, error)

ExtractEventStatus is the same as ExtractEvent except that it extracts the status subresource applied configuration. Experimental!

func (*EventApplyConfiguration) WithAPIVersion

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

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 (*EventApplyConfiguration) WithAction

WithAction sets the Action field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Action field is set to the value of the last call.

func (*EventApplyConfiguration) WithAnnotations

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

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 (*EventApplyConfiguration) WithCount

WithCount sets the Count field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Count field is set to the value of the last call.

func (*EventApplyConfiguration) WithCreationTimestamp

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

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

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

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

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

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 (*EventApplyConfiguration) WithEventTime

WithEventTime sets the EventTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EventTime field is set to the value of the last call.

func (*EventApplyConfiguration) WithFinalizers

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

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 (*EventApplyConfiguration) WithFirstTimestamp

func (b *EventApplyConfiguration) WithFirstTimestamp(value metav1.Time) *EventApplyConfiguration

WithFirstTimestamp sets the FirstTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FirstTimestamp field is set to the value of the last call.

func (*EventApplyConfiguration) WithGenerateName

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

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

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

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 (*EventApplyConfiguration) WithInvolvedObject

WithInvolvedObject sets the InvolvedObject field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InvolvedObject field is set to the value of the last call.

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

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

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 (*EventApplyConfiguration) WithLastTimestamp

func (b *EventApplyConfiguration) WithLastTimestamp(value metav1.Time) *EventApplyConfiguration

WithLastTimestamp sets the LastTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastTimestamp field is set to the value of the last call.

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

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

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 (*EventApplyConfiguration) 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 (*EventApplyConfiguration) 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 (*EventApplyConfiguration) WithRelated

WithRelated sets the Related field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Related field is set to the value of the last call.

func (*EventApplyConfiguration) WithReportingController

func (b *EventApplyConfiguration) WithReportingController(value string) *EventApplyConfiguration

WithReportingController sets the ReportingController field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReportingController field is set to the value of the last call.

func (*EventApplyConfiguration) WithReportingInstance

func (b *EventApplyConfiguration) WithReportingInstance(value string) *EventApplyConfiguration

WithReportingInstance sets the ReportingInstance field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReportingInstance field is set to the value of the last call.

func (*EventApplyConfiguration) WithResourceVersion

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

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 (*EventApplyConfiguration) WithSeries

WithSeries sets the Series field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Series field is set to the value of the last call.

func (*EventApplyConfiguration) WithSource

WithSource sets the Source field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Source field is set to the value of the last call.

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

func (*EventApplyConfiguration) 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 EventSeriesApplyConfiguration

type EventSeriesApplyConfiguration struct {
	Count            *int32        `json:"count,omitempty"`
	LastObservedTime *v1.MicroTime `json:"lastObservedTime,omitempty"`
}

EventSeriesApplyConfiguration represents an declarative configuration of the EventSeries type for use with apply.

func EventSeries

func EventSeries() *EventSeriesApplyConfiguration

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

func (*EventSeriesApplyConfiguration) WithCount

WithCount sets the Count field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Count field is set to the value of the last call.

func (*EventSeriesApplyConfiguration) WithLastObservedTime

WithLastObservedTime sets the LastObservedTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastObservedTime field is set to the value of the last call.

type EventSourceApplyConfiguration

type EventSourceApplyConfiguration struct {
	Component *string `json:"component,omitempty"`
	Host      *string `json:"host,omitempty"`
}

EventSourceApplyConfiguration represents an declarative configuration of the EventSource type for use with apply.

func EventSource

func EventSource() *EventSourceApplyConfiguration

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

func (*EventSourceApplyConfiguration) WithComponent

WithComponent sets the Component field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Component field is set to the value of the last call.

func (*EventSourceApplyConfiguration) 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 ExecActionApplyConfiguration

type ExecActionApplyConfiguration struct {
	Command []string `json:"command,omitempty"`
}

ExecActionApplyConfiguration represents an declarative configuration of the ExecAction type for use with apply.

func ExecAction

func ExecAction() *ExecActionApplyConfiguration

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

func (*ExecActionApplyConfiguration) WithCommand

WithCommand adds the given value to the Command 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 Command field.

type FCVolumeSourceApplyConfiguration

type FCVolumeSourceApplyConfiguration struct {
	TargetWWNs []string `json:"targetWWNs,omitempty"`
	Lun        *int32   `json:"lun,omitempty"`
	FSType     *string  `json:"fsType,omitempty"`
	ReadOnly   *bool    `json:"readOnly,omitempty"`
	WWIDs      []string `json:"wwids,omitempty"`
}

FCVolumeSourceApplyConfiguration represents an declarative configuration of the FCVolumeSource type for use with apply.

func FCVolumeSource

func FCVolumeSource() *FCVolumeSourceApplyConfiguration

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

func (*FCVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

func (*FCVolumeSourceApplyConfiguration) WithLun

WithLun sets the Lun field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Lun field is set to the value of the last call.

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

func (*FCVolumeSourceApplyConfiguration) WithTargetWWNs

WithTargetWWNs adds the given value to the TargetWWNs 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 TargetWWNs field.

func (*FCVolumeSourceApplyConfiguration) WithWWIDs

WithWWIDs adds the given value to the WWIDs 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 WWIDs field.

type FlexPersistentVolumeSourceApplyConfiguration

type FlexPersistentVolumeSourceApplyConfiguration struct {
	Driver    *string                            `json:"driver,omitempty"`
	FSType    *string                            `json:"fsType,omitempty"`
	SecretRef *SecretReferenceApplyConfiguration `json:"secretRef,omitempty"`
	ReadOnly  *bool                              `json:"readOnly,omitempty"`
	Options   map[string]string                  `json:"options,omitempty"`
}

FlexPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the FlexPersistentVolumeSource type for use with apply.

func FlexPersistentVolumeSource

func FlexPersistentVolumeSource() *FlexPersistentVolumeSourceApplyConfiguration

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

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

func (*FlexPersistentVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

func (*FlexPersistentVolumeSourceApplyConfiguration) WithOptions

WithOptions puts the entries into the Options 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 Options field, overwriting an existing map entries in Options field with the same key.

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

func (*FlexPersistentVolumeSourceApplyConfiguration) WithSecretRef

WithSecretRef sets the SecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretRef field is set to the value of the last call.

type FlexVolumeSourceApplyConfiguration

type FlexVolumeSourceApplyConfiguration struct {
	Driver    *string                                 `json:"driver,omitempty"`
	FSType    *string                                 `json:"fsType,omitempty"`
	SecretRef *LocalObjectReferenceApplyConfiguration `json:"secretRef,omitempty"`
	ReadOnly  *bool                                   `json:"readOnly,omitempty"`
	Options   map[string]string                       `json:"options,omitempty"`
}

FlexVolumeSourceApplyConfiguration represents an declarative configuration of the FlexVolumeSource type for use with apply.

func FlexVolumeSource

func FlexVolumeSource() *FlexVolumeSourceApplyConfiguration

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

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

func (*FlexVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

func (*FlexVolumeSourceApplyConfiguration) WithOptions

WithOptions puts the entries into the Options 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 Options field, overwriting an existing map entries in Options field with the same key.

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

func (*FlexVolumeSourceApplyConfiguration) WithSecretRef

WithSecretRef sets the SecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretRef field is set to the value of the last call.

type FlockerVolumeSourceApplyConfiguration

type FlockerVolumeSourceApplyConfiguration struct {
	DatasetName *string `json:"datasetName,omitempty"`
	DatasetUUID *string `json:"datasetUUID,omitempty"`
}

FlockerVolumeSourceApplyConfiguration represents an declarative configuration of the FlockerVolumeSource type for use with apply.

func FlockerVolumeSource

func FlockerVolumeSource() *FlockerVolumeSourceApplyConfiguration

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

func (*FlockerVolumeSourceApplyConfiguration) WithDatasetName

WithDatasetName sets the DatasetName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DatasetName field is set to the value of the last call.

func (*FlockerVolumeSourceApplyConfiguration) WithDatasetUUID

WithDatasetUUID sets the DatasetUUID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DatasetUUID field is set to the value of the last call.

type GCEPersistentDiskVolumeSourceApplyConfiguration

type GCEPersistentDiskVolumeSourceApplyConfiguration struct {
	PDName    *string `json:"pdName,omitempty"`
	FSType    *string `json:"fsType,omitempty"`
	Partition *int32  `json:"partition,omitempty"`
	ReadOnly  *bool   `json:"readOnly,omitempty"`
}

GCEPersistentDiskVolumeSourceApplyConfiguration represents an declarative configuration of the GCEPersistentDiskVolumeSource type for use with apply.

func GCEPersistentDiskVolumeSource

func GCEPersistentDiskVolumeSource() *GCEPersistentDiskVolumeSourceApplyConfiguration

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

func (*GCEPersistentDiskVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

func (*GCEPersistentDiskVolumeSourceApplyConfiguration) WithPDName

WithPDName sets the PDName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PDName field is set to the value of the last call.

func (*GCEPersistentDiskVolumeSourceApplyConfiguration) WithPartition

WithPartition sets the Partition field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Partition field is set to the value of the last call.

func (*GCEPersistentDiskVolumeSourceApplyConfiguration) 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 GRPCActionApplyConfiguration

type GRPCActionApplyConfiguration struct {
	Port    *int32  `json:"port,omitempty"`
	Service *string `json:"service,omitempty"`
}

GRPCActionApplyConfiguration represents an declarative configuration of the GRPCAction type for use with apply.

func GRPCAction

func GRPCAction() *GRPCActionApplyConfiguration

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

func (*GRPCActionApplyConfiguration) 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 (*GRPCActionApplyConfiguration) WithService

WithService sets the Service field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Service field is set to the value of the last call.

type GitRepoVolumeSourceApplyConfiguration

type GitRepoVolumeSourceApplyConfiguration struct {
	Repository *string `json:"repository,omitempty"`
	Revision   *string `json:"revision,omitempty"`
	Directory  *string `json:"directory,omitempty"`
}

GitRepoVolumeSourceApplyConfiguration represents an declarative configuration of the GitRepoVolumeSource type for use with apply.

func GitRepoVolumeSource

func GitRepoVolumeSource() *GitRepoVolumeSourceApplyConfiguration

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

func (*GitRepoVolumeSourceApplyConfiguration) WithDirectory

WithDirectory sets the Directory field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Directory field is set to the value of the last call.

func (*GitRepoVolumeSourceApplyConfiguration) WithRepository

WithRepository sets the Repository field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Repository field is set to the value of the last call.

func (*GitRepoVolumeSourceApplyConfiguration) 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 GlusterfsPersistentVolumeSourceApplyConfiguration

type GlusterfsPersistentVolumeSourceApplyConfiguration struct {
	EndpointsName      *string `json:"endpoints,omitempty"`
	Path               *string `json:"path,omitempty"`
	ReadOnly           *bool   `json:"readOnly,omitempty"`
	EndpointsNamespace *string `json:"endpointsNamespace,omitempty"`
}

GlusterfsPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the GlusterfsPersistentVolumeSource type for use with apply.

func GlusterfsPersistentVolumeSource

func GlusterfsPersistentVolumeSource() *GlusterfsPersistentVolumeSourceApplyConfiguration

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

func (*GlusterfsPersistentVolumeSourceApplyConfiguration) WithEndpointsName

WithEndpointsName sets the EndpointsName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EndpointsName field is set to the value of the last call.

func (*GlusterfsPersistentVolumeSourceApplyConfiguration) WithEndpointsNamespace

WithEndpointsNamespace sets the EndpointsNamespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EndpointsNamespace field is set to the value of the last call.

func (*GlusterfsPersistentVolumeSourceApplyConfiguration) 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 (*GlusterfsPersistentVolumeSourceApplyConfiguration) 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 GlusterfsVolumeSourceApplyConfiguration

type GlusterfsVolumeSourceApplyConfiguration struct {
	EndpointsName *string `json:"endpoints,omitempty"`
	Path          *string `json:"path,omitempty"`
	ReadOnly      *bool   `json:"readOnly,omitempty"`
}

GlusterfsVolumeSourceApplyConfiguration represents an declarative configuration of the GlusterfsVolumeSource type for use with apply.

func GlusterfsVolumeSource

func GlusterfsVolumeSource() *GlusterfsVolumeSourceApplyConfiguration

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

func (*GlusterfsVolumeSourceApplyConfiguration) WithEndpointsName

WithEndpointsName sets the EndpointsName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EndpointsName field is set to the value of the last call.

func (*GlusterfsVolumeSourceApplyConfiguration) 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 (*GlusterfsVolumeSourceApplyConfiguration) 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 HTTPGetActionApplyConfiguration

type HTTPGetActionApplyConfiguration struct {
	Path        *string                        `json:"path,omitempty"`
	Port        *intstr.IntOrString            `json:"port,omitempty"`
	Host        *string                        `json:"host,omitempty"`
	Scheme      *v1.URIScheme                  `json:"scheme,omitempty"`
	HTTPHeaders []HTTPHeaderApplyConfiguration `json:"httpHeaders,omitempty"`
}

HTTPGetActionApplyConfiguration represents an declarative configuration of the HTTPGetAction type for use with apply.

func HTTPGetAction

func HTTPGetAction() *HTTPGetActionApplyConfiguration

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

func (*HTTPGetActionApplyConfiguration) WithHTTPHeaders

WithHTTPHeaders adds the given value to the HTTPHeaders 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 HTTPHeaders field.

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

func (*HTTPGetActionApplyConfiguration) 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 (*HTTPGetActionApplyConfiguration) 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 (*HTTPGetActionApplyConfiguration) WithScheme

WithScheme sets the Scheme field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Scheme field is set to the value of the last call.

type HTTPHeaderApplyConfiguration

type HTTPHeaderApplyConfiguration struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

HTTPHeaderApplyConfiguration represents an declarative configuration of the HTTPHeader type for use with apply.

func HTTPHeader

func HTTPHeader() *HTTPHeaderApplyConfiguration

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

func (*HTTPHeaderApplyConfiguration) 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 (*HTTPHeaderApplyConfiguration) WithValue

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type HostAliasApplyConfiguration

type HostAliasApplyConfiguration struct {
	IP        *string  `json:"ip,omitempty"`
	Hostnames []string `json:"hostnames,omitempty"`
}

HostAliasApplyConfiguration represents an declarative configuration of the HostAlias type for use with apply.

func HostAlias

func HostAlias() *HostAliasApplyConfiguration

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

func (*HostAliasApplyConfiguration) WithHostnames

func (b *HostAliasApplyConfiguration) WithHostnames(values ...string) *HostAliasApplyConfiguration

WithHostnames adds the given value to the Hostnames 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 Hostnames field.

func (*HostAliasApplyConfiguration) WithIP

WithIP sets the IP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IP field is set to the value of the last call.

type HostPathVolumeSourceApplyConfiguration

type HostPathVolumeSourceApplyConfiguration struct {
	Path *string          `json:"path,omitempty"`
	Type *v1.HostPathType `json:"type,omitempty"`
}

HostPathVolumeSourceApplyConfiguration represents an declarative configuration of the HostPathVolumeSource type for use with apply.

func HostPathVolumeSource

func HostPathVolumeSource() *HostPathVolumeSourceApplyConfiguration

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

func (*HostPathVolumeSourceApplyConfiguration) 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 (*HostPathVolumeSourceApplyConfiguration) 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 ISCSIPersistentVolumeSourceApplyConfiguration

type ISCSIPersistentVolumeSourceApplyConfiguration struct {
	TargetPortal      *string                            `json:"targetPortal,omitempty"`
	IQN               *string                            `json:"iqn,omitempty"`
	Lun               *int32                             `json:"lun,omitempty"`
	ISCSIInterface    *string                            `json:"iscsiInterface,omitempty"`
	FSType            *string                            `json:"fsType,omitempty"`
	ReadOnly          *bool                              `json:"readOnly,omitempty"`
	Portals           []string                           `json:"portals,omitempty"`
	DiscoveryCHAPAuth *bool                              `json:"chapAuthDiscovery,omitempty"`
	SessionCHAPAuth   *bool                              `json:"chapAuthSession,omitempty"`
	SecretRef         *SecretReferenceApplyConfiguration `json:"secretRef,omitempty"`
	InitiatorName     *string                            `json:"initiatorName,omitempty"`
}

ISCSIPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the ISCSIPersistentVolumeSource type for use with apply.

func ISCSIPersistentVolumeSource

func ISCSIPersistentVolumeSource() *ISCSIPersistentVolumeSourceApplyConfiguration

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

func (*ISCSIPersistentVolumeSourceApplyConfiguration) WithDiscoveryCHAPAuth

WithDiscoveryCHAPAuth sets the DiscoveryCHAPAuth field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DiscoveryCHAPAuth field is set to the value of the last call.

func (*ISCSIPersistentVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

func (*ISCSIPersistentVolumeSourceApplyConfiguration) WithIQN

WithIQN sets the IQN field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IQN field is set to the value of the last call.

func (*ISCSIPersistentVolumeSourceApplyConfiguration) WithISCSIInterface

WithISCSIInterface sets the ISCSIInterface field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ISCSIInterface field is set to the value of the last call.

func (*ISCSIPersistentVolumeSourceApplyConfiguration) WithInitiatorName

WithInitiatorName sets the InitiatorName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InitiatorName field is set to the value of the last call.

func (*ISCSIPersistentVolumeSourceApplyConfiguration) WithLun

WithLun sets the Lun field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Lun field is set to the value of the last call.

func (*ISCSIPersistentVolumeSourceApplyConfiguration) WithPortals

WithPortals adds the given value to the Portals 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 Portals field.

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

func (*ISCSIPersistentVolumeSourceApplyConfiguration) WithSecretRef

WithSecretRef sets the SecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretRef field is set to the value of the last call.

func (*ISCSIPersistentVolumeSourceApplyConfiguration) WithSessionCHAPAuth

WithSessionCHAPAuth sets the SessionCHAPAuth field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SessionCHAPAuth field is set to the value of the last call.

func (*ISCSIPersistentVolumeSourceApplyConfiguration) WithTargetPortal

WithTargetPortal sets the TargetPortal field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TargetPortal field is set to the value of the last call.

type ISCSIVolumeSourceApplyConfiguration

type ISCSIVolumeSourceApplyConfiguration struct {
	TargetPortal      *string                                 `json:"targetPortal,omitempty"`
	IQN               *string                                 `json:"iqn,omitempty"`
	Lun               *int32                                  `json:"lun,omitempty"`
	ISCSIInterface    *string                                 `json:"iscsiInterface,omitempty"`
	FSType            *string                                 `json:"fsType,omitempty"`
	ReadOnly          *bool                                   `json:"readOnly,omitempty"`
	Portals           []string                                `json:"portals,omitempty"`
	DiscoveryCHAPAuth *bool                                   `json:"chapAuthDiscovery,omitempty"`
	SessionCHAPAuth   *bool                                   `json:"chapAuthSession,omitempty"`
	SecretRef         *LocalObjectReferenceApplyConfiguration `json:"secretRef,omitempty"`
	InitiatorName     *string                                 `json:"initiatorName,omitempty"`
}

ISCSIVolumeSourceApplyConfiguration represents an declarative configuration of the ISCSIVolumeSource type for use with apply.

func ISCSIVolumeSource

func ISCSIVolumeSource() *ISCSIVolumeSourceApplyConfiguration

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

func (*ISCSIVolumeSourceApplyConfiguration) WithDiscoveryCHAPAuth

WithDiscoveryCHAPAuth sets the DiscoveryCHAPAuth field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DiscoveryCHAPAuth field is set to the value of the last call.

func (*ISCSIVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

func (*ISCSIVolumeSourceApplyConfiguration) WithIQN

WithIQN sets the IQN field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IQN field is set to the value of the last call.

func (*ISCSIVolumeSourceApplyConfiguration) WithISCSIInterface

WithISCSIInterface sets the ISCSIInterface field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ISCSIInterface field is set to the value of the last call.

func (*ISCSIVolumeSourceApplyConfiguration) WithInitiatorName

WithInitiatorName sets the InitiatorName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InitiatorName field is set to the value of the last call.

func (*ISCSIVolumeSourceApplyConfiguration) WithLun

WithLun sets the Lun field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Lun field is set to the value of the last call.

func (*ISCSIVolumeSourceApplyConfiguration) WithPortals

WithPortals adds the given value to the Portals 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 Portals field.

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

func (*ISCSIVolumeSourceApplyConfiguration) WithSecretRef

WithSecretRef sets the SecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretRef field is set to the value of the last call.

func (*ISCSIVolumeSourceApplyConfiguration) WithSessionCHAPAuth

WithSessionCHAPAuth sets the SessionCHAPAuth field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SessionCHAPAuth field is set to the value of the last call.

func (*ISCSIVolumeSourceApplyConfiguration) WithTargetPortal

WithTargetPortal sets the TargetPortal field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TargetPortal field is set to the value of the last call.

type KeyToPathApplyConfiguration

type KeyToPathApplyConfiguration struct {
	Key  *string `json:"key,omitempty"`
	Path *string `json:"path,omitempty"`
	Mode *int32  `json:"mode,omitempty"`
}

KeyToPathApplyConfiguration represents an declarative configuration of the KeyToPath type for use with apply.

func KeyToPath

func KeyToPath() *KeyToPathApplyConfiguration

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

func (*KeyToPathApplyConfiguration) WithKey

WithKey sets the Key field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Key field is set to the value of the last call.

func (*KeyToPathApplyConfiguration) WithMode

WithMode sets the Mode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Mode field is set to the value of the last call.

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

type LifecycleApplyConfiguration

type LifecycleApplyConfiguration struct {
	PostStart *LifecycleHandlerApplyConfiguration `json:"postStart,omitempty"`
	PreStop   *LifecycleHandlerApplyConfiguration `json:"preStop,omitempty"`
}

LifecycleApplyConfiguration represents an declarative configuration of the Lifecycle type for use with apply.

func Lifecycle

func Lifecycle() *LifecycleApplyConfiguration

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

func (*LifecycleApplyConfiguration) WithPostStart

WithPostStart sets the PostStart field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PostStart field is set to the value of the last call.

func (*LifecycleApplyConfiguration) WithPreStop

WithPreStop sets the PreStop field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PreStop field is set to the value of the last call.

type LifecycleHandlerApplyConfiguration

type LifecycleHandlerApplyConfiguration struct {
	Exec      *ExecActionApplyConfiguration      `json:"exec,omitempty"`
	HTTPGet   *HTTPGetActionApplyConfiguration   `json:"httpGet,omitempty"`
	TCPSocket *TCPSocketActionApplyConfiguration `json:"tcpSocket,omitempty"`
}

LifecycleHandlerApplyConfiguration represents an declarative configuration of the LifecycleHandler type for use with apply.

func LifecycleHandler

func LifecycleHandler() *LifecycleHandlerApplyConfiguration

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

func (*LifecycleHandlerApplyConfiguration) WithExec

WithExec sets the Exec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Exec field is set to the value of the last call.

func (*LifecycleHandlerApplyConfiguration) WithHTTPGet

WithHTTPGet sets the HTTPGet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPGet field is set to the value of the last call.

func (*LifecycleHandlerApplyConfiguration) WithTCPSocket

WithTCPSocket sets the TCPSocket field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TCPSocket field is set to the value of the last call.

type LimitRangeApplyConfiguration

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

LimitRangeApplyConfiguration represents an declarative configuration of the LimitRange type for use with apply.

func ExtractLimitRange

func ExtractLimitRange(limitRange *apicorev1.LimitRange, fieldManager string) (*LimitRangeApplyConfiguration, error)

ExtractLimitRange extracts the applied configuration owned by fieldManager from limitRange. If no managedFields are found in limitRange for fieldManager, a LimitRangeApplyConfiguration 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. limitRange must be a unmodified LimitRange API object that was retrieved from the Kubernetes API. ExtractLimitRange 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 ExtractLimitRangeStatus

func ExtractLimitRangeStatus(limitRange *apicorev1.LimitRange, fieldManager string) (*LimitRangeApplyConfiguration, error)

ExtractLimitRangeStatus is the same as ExtractLimitRange except that it extracts the status subresource applied configuration. Experimental!

func LimitRange

func LimitRange(name, namespace string) *LimitRangeApplyConfiguration

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

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

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

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

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

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

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

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

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

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 (*LimitRangeApplyConfiguration) 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 (*LimitRangeApplyConfiguration) 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 LimitRangeItemApplyConfiguration

type LimitRangeItemApplyConfiguration struct {
	Type                 *v1.LimitType    `json:"type,omitempty"`
	Max                  *v1.ResourceList `json:"max,omitempty"`
	Min                  *v1.ResourceList `json:"min,omitempty"`
	Default              *v1.ResourceList `json:"default,omitempty"`
	DefaultRequest       *v1.ResourceList `json:"defaultRequest,omitempty"`
	MaxLimitRequestRatio *v1.ResourceList `json:"maxLimitRequestRatio,omitempty"`
}

LimitRangeItemApplyConfiguration represents an declarative configuration of the LimitRangeItem type for use with apply.

func LimitRangeItem

func LimitRangeItem() *LimitRangeItemApplyConfiguration

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

func (*LimitRangeItemApplyConfiguration) WithDefault

WithDefault sets the Default field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Default field is set to the value of the last call.

func (*LimitRangeItemApplyConfiguration) WithDefaultRequest

WithDefaultRequest sets the DefaultRequest field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DefaultRequest field is set to the value of the last call.

func (*LimitRangeItemApplyConfiguration) 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 (*LimitRangeItemApplyConfiguration) WithMaxLimitRequestRatio

WithMaxLimitRequestRatio sets the MaxLimitRequestRatio field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxLimitRequestRatio field is set to the value of the last call.

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

func (*LimitRangeItemApplyConfiguration) 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 LimitRangeSpecApplyConfiguration

type LimitRangeSpecApplyConfiguration struct {
	Limits []LimitRangeItemApplyConfiguration `json:"limits,omitempty"`
}

LimitRangeSpecApplyConfiguration represents an declarative configuration of the LimitRangeSpec type for use with apply.

func LimitRangeSpec

func LimitRangeSpec() *LimitRangeSpecApplyConfiguration

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

func (*LimitRangeSpecApplyConfiguration) WithLimits

WithLimits adds the given value to the Limits 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 Limits field.

type LoadBalancerIngressApplyConfiguration

type LoadBalancerIngressApplyConfiguration struct {
	IP       *string                        `json:"ip,omitempty"`
	Hostname *string                        `json:"hostname,omitempty"`
	Ports    []PortStatusApplyConfiguration `json:"ports,omitempty"`
}

LoadBalancerIngressApplyConfiguration represents an declarative configuration of the LoadBalancerIngress type for use with apply.

func LoadBalancerIngress

func LoadBalancerIngress() *LoadBalancerIngressApplyConfiguration

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

func (*LoadBalancerIngressApplyConfiguration) WithHostname

WithHostname sets the Hostname field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Hostname field is set to the value of the last call.

func (*LoadBalancerIngressApplyConfiguration) WithIP

WithIP sets the IP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IP field is set to the value of the last call.

func (*LoadBalancerIngressApplyConfiguration) 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 LoadBalancerStatusApplyConfiguration

type LoadBalancerStatusApplyConfiguration struct {
	Ingress []LoadBalancerIngressApplyConfiguration `json:"ingress,omitempty"`
}

LoadBalancerStatusApplyConfiguration represents an declarative configuration of the LoadBalancerStatus type for use with apply.

func LoadBalancerStatus

func LoadBalancerStatus() *LoadBalancerStatusApplyConfiguration

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

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

type LocalObjectReferenceApplyConfiguration

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

LocalObjectReferenceApplyConfiguration represents an declarative configuration of the LocalObjectReference type for use with apply.

func LocalObjectReference

func LocalObjectReference() *LocalObjectReferenceApplyConfiguration

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

func (*LocalObjectReferenceApplyConfiguration) 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 LocalVolumeSourceApplyConfiguration

type LocalVolumeSourceApplyConfiguration struct {
	Path   *string `json:"path,omitempty"`
	FSType *string `json:"fsType,omitempty"`
}

LocalVolumeSourceApplyConfiguration represents an declarative configuration of the LocalVolumeSource type for use with apply.

func LocalVolumeSource

func LocalVolumeSource() *LocalVolumeSourceApplyConfiguration

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

func (*LocalVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

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

type NFSVolumeSourceApplyConfiguration

type NFSVolumeSourceApplyConfiguration struct {
	Server   *string `json:"server,omitempty"`
	Path     *string `json:"path,omitempty"`
	ReadOnly *bool   `json:"readOnly,omitempty"`
}

NFSVolumeSourceApplyConfiguration represents an declarative configuration of the NFSVolumeSource type for use with apply.

func NFSVolumeSource

func NFSVolumeSource() *NFSVolumeSourceApplyConfiguration

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

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

func (*NFSVolumeSourceApplyConfiguration) WithServer

WithServer sets the Server field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Server field is set to the value of the last call.

type NamespaceApplyConfiguration

type NamespaceApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *NamespaceSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *NamespaceStatusApplyConfiguration `json:"status,omitempty"`
}

NamespaceApplyConfiguration represents an declarative configuration of the Namespace type for use with apply.

func ExtractNamespace

func ExtractNamespace(namespace *apicorev1.Namespace, fieldManager string) (*NamespaceApplyConfiguration, error)

ExtractNamespace extracts the applied configuration owned by fieldManager from namespace. If no managedFields are found in namespace for fieldManager, a NamespaceApplyConfiguration 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. namespace must be a unmodified Namespace API object that was retrieved from the Kubernetes API. ExtractNamespace 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 ExtractNamespaceStatus

func ExtractNamespaceStatus(namespace *apicorev1.Namespace, fieldManager string) (*NamespaceApplyConfiguration, error)

ExtractNamespaceStatus is the same as ExtractNamespace except that it extracts the status subresource applied configuration. Experimental!

func Namespace

func Namespace(name string) *NamespaceApplyConfiguration

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*NamespaceApplyConfiguration) 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 (*NamespaceApplyConfiguration) 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 (*NamespaceApplyConfiguration) 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 NamespaceConditionApplyConfiguration

type NamespaceConditionApplyConfiguration struct {
	Type               *v1.NamespaceConditionType `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"`
}

NamespaceConditionApplyConfiguration represents an declarative configuration of the NamespaceCondition type for use with apply.

func NamespaceCondition

func NamespaceCondition() *NamespaceConditionApplyConfiguration

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

func (*NamespaceConditionApplyConfiguration) 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 (*NamespaceConditionApplyConfiguration) 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 (*NamespaceConditionApplyConfiguration) 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 (*NamespaceConditionApplyConfiguration) 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 (*NamespaceConditionApplyConfiguration) 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 NamespaceSpecApplyConfiguration

type NamespaceSpecApplyConfiguration struct {
	Finalizers []v1.FinalizerName `json:"finalizers,omitempty"`
}

NamespaceSpecApplyConfiguration represents an declarative configuration of the NamespaceSpec type for use with apply.

func NamespaceSpec

func NamespaceSpec() *NamespaceSpecApplyConfiguration

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

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

type NamespaceStatusApplyConfiguration

type NamespaceStatusApplyConfiguration struct {
	Phase      *v1.NamespacePhase                     `json:"phase,omitempty"`
	Conditions []NamespaceConditionApplyConfiguration `json:"conditions,omitempty"`
}

NamespaceStatusApplyConfiguration represents an declarative configuration of the NamespaceStatus type for use with apply.

func NamespaceStatus

func NamespaceStatus() *NamespaceStatusApplyConfiguration

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

func (*NamespaceStatusApplyConfiguration) 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 (*NamespaceStatusApplyConfiguration) WithPhase

WithPhase sets the Phase field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Phase field is set to the value of the last call.

type NodeAddressApplyConfiguration

type NodeAddressApplyConfiguration struct {
	Type    *v1.NodeAddressType `json:"type,omitempty"`
	Address *string             `json:"address,omitempty"`
}

NodeAddressApplyConfiguration represents an declarative configuration of the NodeAddress type for use with apply.

func NodeAddress

func NodeAddress() *NodeAddressApplyConfiguration

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

func (*NodeAddressApplyConfiguration) WithAddress

WithAddress sets the Address field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Address field is set to the value of the last call.

func (*NodeAddressApplyConfiguration) 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 NodeAffinityApplyConfiguration

type NodeAffinityApplyConfiguration struct {
	RequiredDuringSchedulingIgnoredDuringExecution  *NodeSelectorApplyConfiguration             `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
	PreferredDuringSchedulingIgnoredDuringExecution []PreferredSchedulingTermApplyConfiguration `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
}

NodeAffinityApplyConfiguration represents an declarative configuration of the NodeAffinity type for use with apply.

func NodeAffinity

func NodeAffinity() *NodeAffinityApplyConfiguration

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

func (*NodeAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution

func (b *NodeAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution(values ...*PreferredSchedulingTermApplyConfiguration) *NodeAffinityApplyConfiguration

WithPreferredDuringSchedulingIgnoredDuringExecution adds the given value to the PreferredDuringSchedulingIgnoredDuringExecution 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 PreferredDuringSchedulingIgnoredDuringExecution field.

func (*NodeAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution

func (b *NodeAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution(value *NodeSelectorApplyConfiguration) *NodeAffinityApplyConfiguration

WithRequiredDuringSchedulingIgnoredDuringExecution sets the RequiredDuringSchedulingIgnoredDuringExecution field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RequiredDuringSchedulingIgnoredDuringExecution field is set to the value of the last call.

type NodeApplyConfiguration

type NodeApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *NodeSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *NodeStatusApplyConfiguration `json:"status,omitempty"`
}

NodeApplyConfiguration represents an declarative configuration of the Node type for use with apply.

func ExtractNode

func ExtractNode(node *apicorev1.Node, fieldManager string) (*NodeApplyConfiguration, error)

ExtractNode extracts the applied configuration owned by fieldManager from node. If no managedFields are found in node for fieldManager, a NodeApplyConfiguration 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. node must be a unmodified Node API object that was retrieved from the Kubernetes API. ExtractNode 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 ExtractNodeStatus

func ExtractNodeStatus(node *apicorev1.Node, fieldManager string) (*NodeApplyConfiguration, error)

ExtractNodeStatus is the same as ExtractNode except that it extracts the status subresource applied configuration. Experimental!

func Node

func Node(name string) *NodeApplyConfiguration

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

func (*NodeApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*NodeApplyConfiguration) 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 (*NodeApplyConfiguration) 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 (*NodeApplyConfiguration) 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 NodeConditionApplyConfiguration

type NodeConditionApplyConfiguration struct {
	Type               *v1.NodeConditionType `json:"type,omitempty"`
	Status             *v1.ConditionStatus   `json:"status,omitempty"`
	LastHeartbeatTime  *metav1.Time          `json:"lastHeartbeatTime,omitempty"`
	LastTransitionTime *metav1.Time          `json:"lastTransitionTime,omitempty"`
	Reason             *string               `json:"reason,omitempty"`
	Message            *string               `json:"message,omitempty"`
}

NodeConditionApplyConfiguration represents an declarative configuration of the NodeCondition type for use with apply.

func NodeCondition

func NodeCondition() *NodeConditionApplyConfiguration

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

func (*NodeConditionApplyConfiguration) WithLastHeartbeatTime

WithLastHeartbeatTime sets the LastHeartbeatTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastHeartbeatTime field is set to the value of the last call.

func (*NodeConditionApplyConfiguration) 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 (*NodeConditionApplyConfiguration) 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 (*NodeConditionApplyConfiguration) 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 (*NodeConditionApplyConfiguration) 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 (*NodeConditionApplyConfiguration) 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 NodeConfigSourceApplyConfiguration

type NodeConfigSourceApplyConfiguration struct {
	ConfigMap *ConfigMapNodeConfigSourceApplyConfiguration `json:"configMap,omitempty"`
}

NodeConfigSourceApplyConfiguration represents an declarative configuration of the NodeConfigSource type for use with apply.

func NodeConfigSource

func NodeConfigSource() *NodeConfigSourceApplyConfiguration

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

func (*NodeConfigSourceApplyConfiguration) WithConfigMap

WithConfigMap sets the ConfigMap field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfigMap field is set to the value of the last call.

type NodeConfigStatusApplyConfiguration

type NodeConfigStatusApplyConfiguration struct {
	Assigned      *NodeConfigSourceApplyConfiguration `json:"assigned,omitempty"`
	Active        *NodeConfigSourceApplyConfiguration `json:"active,omitempty"`
	LastKnownGood *NodeConfigSourceApplyConfiguration `json:"lastKnownGood,omitempty"`
	Error         *string                             `json:"error,omitempty"`
}

NodeConfigStatusApplyConfiguration represents an declarative configuration of the NodeConfigStatus type for use with apply.

func NodeConfigStatus

func NodeConfigStatus() *NodeConfigStatusApplyConfiguration

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

func (*NodeConfigStatusApplyConfiguration) WithActive

WithActive sets the Active field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Active field is set to the value of the last call.

func (*NodeConfigStatusApplyConfiguration) WithAssigned

WithAssigned sets the Assigned field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Assigned field is set to the value of the last call.

func (*NodeConfigStatusApplyConfiguration) WithError

WithError sets the Error field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Error field is set to the value of the last call.

func (*NodeConfigStatusApplyConfiguration) WithLastKnownGood

WithLastKnownGood sets the LastKnownGood field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastKnownGood field is set to the value of the last call.

type NodeDaemonEndpointsApplyConfiguration

type NodeDaemonEndpointsApplyConfiguration struct {
	KubeletEndpoint *DaemonEndpointApplyConfiguration `json:"kubeletEndpoint,omitempty"`
}

NodeDaemonEndpointsApplyConfiguration represents an declarative configuration of the NodeDaemonEndpoints type for use with apply.

func NodeDaemonEndpoints

func NodeDaemonEndpoints() *NodeDaemonEndpointsApplyConfiguration

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

func (*NodeDaemonEndpointsApplyConfiguration) WithKubeletEndpoint

WithKubeletEndpoint sets the KubeletEndpoint field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KubeletEndpoint field is set to the value of the last call.

type NodeSelectorApplyConfiguration

type NodeSelectorApplyConfiguration struct {
	NodeSelectorTerms []NodeSelectorTermApplyConfiguration `json:"nodeSelectorTerms,omitempty"`
}

NodeSelectorApplyConfiguration represents an declarative configuration of the NodeSelector type for use with apply.

func NodeSelector

func NodeSelector() *NodeSelectorApplyConfiguration

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

func (*NodeSelectorApplyConfiguration) WithNodeSelectorTerms

WithNodeSelectorTerms adds the given value to the NodeSelectorTerms 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 NodeSelectorTerms field.

type NodeSelectorRequirementApplyConfiguration

type NodeSelectorRequirementApplyConfiguration struct {
	Key      *string                  `json:"key,omitempty"`
	Operator *v1.NodeSelectorOperator `json:"operator,omitempty"`
	Values   []string                 `json:"values,omitempty"`
}

NodeSelectorRequirementApplyConfiguration represents an declarative configuration of the NodeSelectorRequirement type for use with apply.

func NodeSelectorRequirement

func NodeSelectorRequirement() *NodeSelectorRequirementApplyConfiguration

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

func (*NodeSelectorRequirementApplyConfiguration) WithKey

WithKey sets the Key field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Key field is set to the value of the last call.

func (*NodeSelectorRequirementApplyConfiguration) WithOperator

WithOperator sets the Operator field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Operator field is set to the value of the last call.

func (*NodeSelectorRequirementApplyConfiguration) WithValues

WithValues adds the given value to the Values 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 Values field.

type NodeSelectorTermApplyConfiguration

type NodeSelectorTermApplyConfiguration struct {
	MatchExpressions []NodeSelectorRequirementApplyConfiguration `json:"matchExpressions,omitempty"`
	MatchFields      []NodeSelectorRequirementApplyConfiguration `json:"matchFields,omitempty"`
}

NodeSelectorTermApplyConfiguration represents an declarative configuration of the NodeSelectorTerm type for use with apply.

func NodeSelectorTerm

func NodeSelectorTerm() *NodeSelectorTermApplyConfiguration

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

func (*NodeSelectorTermApplyConfiguration) WithMatchExpressions

WithMatchExpressions adds the given value to the MatchExpressions 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 MatchExpressions field.

func (*NodeSelectorTermApplyConfiguration) WithMatchFields

WithMatchFields adds the given value to the MatchFields 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 MatchFields field.

type NodeSpecApplyConfiguration

type NodeSpecApplyConfiguration struct {
	PodCIDR            *string                             `json:"podCIDR,omitempty"`
	PodCIDRs           []string                            `json:"podCIDRs,omitempty"`
	ProviderID         *string                             `json:"providerID,omitempty"`
	Unschedulable      *bool                               `json:"unschedulable,omitempty"`
	Taints             []TaintApplyConfiguration           `json:"taints,omitempty"`
	ConfigSource       *NodeConfigSourceApplyConfiguration `json:"configSource,omitempty"`
	DoNotUseExternalID *string                             `json:"externalID,omitempty"`
}

NodeSpecApplyConfiguration represents an declarative configuration of the NodeSpec type for use with apply.

func NodeSpec

func NodeSpec() *NodeSpecApplyConfiguration

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

func (*NodeSpecApplyConfiguration) WithConfigSource

WithConfigSource sets the ConfigSource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfigSource field is set to the value of the last call.

func (*NodeSpecApplyConfiguration) WithDoNotUseExternalID

func (b *NodeSpecApplyConfiguration) WithDoNotUseExternalID(value string) *NodeSpecApplyConfiguration

WithDoNotUseExternalID sets the DoNotUseExternalID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DoNotUseExternalID field is set to the value of the last call.

func (*NodeSpecApplyConfiguration) WithPodCIDR

WithPodCIDR sets the PodCIDR field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodCIDR field is set to the value of the last call.

func (*NodeSpecApplyConfiguration) WithPodCIDRs

func (b *NodeSpecApplyConfiguration) WithPodCIDRs(values ...string) *NodeSpecApplyConfiguration

WithPodCIDRs adds the given value to the PodCIDRs 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 PodCIDRs field.

func (*NodeSpecApplyConfiguration) WithProviderID

WithProviderID sets the ProviderID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProviderID field is set to the value of the last call.

func (*NodeSpecApplyConfiguration) WithTaints

WithTaints adds the given value to the Taints 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 Taints field.

func (*NodeSpecApplyConfiguration) WithUnschedulable

func (b *NodeSpecApplyConfiguration) WithUnschedulable(value bool) *NodeSpecApplyConfiguration

WithUnschedulable sets the Unschedulable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Unschedulable field is set to the value of the last call.

type NodeStatusApplyConfiguration

type NodeStatusApplyConfiguration struct {
	Capacity        *v1.ResourceList                       `json:"capacity,omitempty"`
	Allocatable     *v1.ResourceList                       `json:"allocatable,omitempty"`
	Phase           *v1.NodePhase                          `json:"phase,omitempty"`
	Conditions      []NodeConditionApplyConfiguration      `json:"conditions,omitempty"`
	Addresses       []NodeAddressApplyConfiguration        `json:"addresses,omitempty"`
	DaemonEndpoints *NodeDaemonEndpointsApplyConfiguration `json:"daemonEndpoints,omitempty"`
	NodeInfo        *NodeSystemInfoApplyConfiguration      `json:"nodeInfo,omitempty"`
	Images          []ContainerImageApplyConfiguration     `json:"images,omitempty"`
	VolumesInUse    []v1.UniqueVolumeName                  `json:"volumesInUse,omitempty"`
	VolumesAttached []AttachedVolumeApplyConfiguration     `json:"volumesAttached,omitempty"`
	Config          *NodeConfigStatusApplyConfiguration    `json:"config,omitempty"`
}

NodeStatusApplyConfiguration represents an declarative configuration of the NodeStatus type for use with apply.

func NodeStatus

func NodeStatus() *NodeStatusApplyConfiguration

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

func (*NodeStatusApplyConfiguration) WithAddresses

WithAddresses adds the given value to the Addresses 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 Addresses field.

func (*NodeStatusApplyConfiguration) WithAllocatable

WithAllocatable sets the Allocatable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Allocatable field is set to the value of the last call.

func (*NodeStatusApplyConfiguration) WithCapacity

WithCapacity sets the Capacity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Capacity field is set to the value of the last call.

func (*NodeStatusApplyConfiguration) 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 (*NodeStatusApplyConfiguration) WithConfig

WithConfig sets the Config field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Config field is set to the value of the last call.

func (*NodeStatusApplyConfiguration) WithDaemonEndpoints

WithDaemonEndpoints sets the DaemonEndpoints field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DaemonEndpoints field is set to the value of the last call.

func (*NodeStatusApplyConfiguration) WithImages

WithImages adds the given value to the Images 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 Images field.

func (*NodeStatusApplyConfiguration) WithNodeInfo

WithNodeInfo sets the NodeInfo field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeInfo field is set to the value of the last call.

func (*NodeStatusApplyConfiguration) WithPhase

WithPhase sets the Phase field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Phase field is set to the value of the last call.

func (*NodeStatusApplyConfiguration) WithVolumesAttached

WithVolumesAttached adds the given value to the VolumesAttached 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 VolumesAttached field.

func (*NodeStatusApplyConfiguration) WithVolumesInUse

WithVolumesInUse adds the given value to the VolumesInUse 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 VolumesInUse field.

type NodeSystemInfoApplyConfiguration

type NodeSystemInfoApplyConfiguration struct {
	MachineID               *string `json:"machineID,omitempty"`
	SystemUUID              *string `json:"systemUUID,omitempty"`
	BootID                  *string `json:"bootID,omitempty"`
	KernelVersion           *string `json:"kernelVersion,omitempty"`
	OSImage                 *string `json:"osImage,omitempty"`
	ContainerRuntimeVersion *string `json:"containerRuntimeVersion,omitempty"`
	KubeletVersion          *string `json:"kubeletVersion,omitempty"`
	KubeProxyVersion        *string `json:"kubeProxyVersion,omitempty"`
	OperatingSystem         *string `json:"operatingSystem,omitempty"`
	Architecture            *string `json:"architecture,omitempty"`
}

NodeSystemInfoApplyConfiguration represents an declarative configuration of the NodeSystemInfo type for use with apply.

func NodeSystemInfo

func NodeSystemInfo() *NodeSystemInfoApplyConfiguration

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

func (*NodeSystemInfoApplyConfiguration) WithArchitecture

WithArchitecture sets the Architecture field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Architecture field is set to the value of the last call.

func (*NodeSystemInfoApplyConfiguration) WithBootID

WithBootID sets the BootID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BootID field is set to the value of the last call.

func (*NodeSystemInfoApplyConfiguration) WithContainerRuntimeVersion

func (b *NodeSystemInfoApplyConfiguration) WithContainerRuntimeVersion(value string) *NodeSystemInfoApplyConfiguration

WithContainerRuntimeVersion sets the ContainerRuntimeVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ContainerRuntimeVersion field is set to the value of the last call.

func (*NodeSystemInfoApplyConfiguration) WithKernelVersion

WithKernelVersion sets the KernelVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KernelVersion field is set to the value of the last call.

func (*NodeSystemInfoApplyConfiguration) WithKubeProxyVersion

WithKubeProxyVersion sets the KubeProxyVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KubeProxyVersion field is set to the value of the last call.

func (*NodeSystemInfoApplyConfiguration) WithKubeletVersion

WithKubeletVersion sets the KubeletVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KubeletVersion field is set to the value of the last call.

func (*NodeSystemInfoApplyConfiguration) WithMachineID

WithMachineID sets the MachineID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MachineID field is set to the value of the last call.

func (*NodeSystemInfoApplyConfiguration) WithOSImage

WithOSImage sets the OSImage field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OSImage field is set to the value of the last call.

func (*NodeSystemInfoApplyConfiguration) WithOperatingSystem

WithOperatingSystem sets the OperatingSystem field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatingSystem field is set to the value of the last call.

func (*NodeSystemInfoApplyConfiguration) WithSystemUUID

WithSystemUUID sets the SystemUUID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SystemUUID field is set to the value of the last call.

type ObjectFieldSelectorApplyConfiguration

type ObjectFieldSelectorApplyConfiguration struct {
	APIVersion *string `json:"apiVersion,omitempty"`
	FieldPath  *string `json:"fieldPath,omitempty"`
}

ObjectFieldSelectorApplyConfiguration represents an declarative configuration of the ObjectFieldSelector type for use with apply.

func ObjectFieldSelector

func ObjectFieldSelector() *ObjectFieldSelectorApplyConfiguration

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

func (*ObjectFieldSelectorApplyConfiguration) 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 (*ObjectFieldSelectorApplyConfiguration) WithFieldPath

WithFieldPath sets the FieldPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FieldPath field is set to the value of the last call.

type ObjectReferenceApplyConfiguration

type ObjectReferenceApplyConfiguration struct {
	Kind            *string    `json:"kind,omitempty"`
	Namespace       *string    `json:"namespace,omitempty"`
	Name            *string    `json:"name,omitempty"`
	UID             *types.UID `json:"uid,omitempty"`
	APIVersion      *string    `json:"apiVersion,omitempty"`
	ResourceVersion *string    `json:"resourceVersion,omitempty"`
	FieldPath       *string    `json:"fieldPath,omitempty"`
}

ObjectReferenceApplyConfiguration represents an declarative configuration of the ObjectReference type for use with apply.

func ObjectReference

func ObjectReference() *ObjectReferenceApplyConfiguration

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

func (*ObjectReferenceApplyConfiguration) 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 (*ObjectReferenceApplyConfiguration) WithFieldPath

WithFieldPath sets the FieldPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FieldPath field is set to the value of the last call.

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

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*ObjectReferenceApplyConfiguration) 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 PersistentVolumeApplyConfiguration

type PersistentVolumeApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PersistentVolumeSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *PersistentVolumeStatusApplyConfiguration `json:"status,omitempty"`
}

PersistentVolumeApplyConfiguration represents an declarative configuration of the PersistentVolume type for use with apply.

func ExtractPersistentVolume

func ExtractPersistentVolume(persistentVolume *apicorev1.PersistentVolume, fieldManager string) (*PersistentVolumeApplyConfiguration, error)

ExtractPersistentVolume extracts the applied configuration owned by fieldManager from persistentVolume. If no managedFields are found in persistentVolume for fieldManager, a PersistentVolumeApplyConfiguration 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. persistentVolume must be a unmodified PersistentVolume API object that was retrieved from the Kubernetes API. ExtractPersistentVolume 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 ExtractPersistentVolumeStatus

func ExtractPersistentVolumeStatus(persistentVolume *apicorev1.PersistentVolume, fieldManager string) (*PersistentVolumeApplyConfiguration, error)

ExtractPersistentVolumeStatus is the same as ExtractPersistentVolume except that it extracts the status subresource applied configuration. Experimental!

func PersistentVolume

func PersistentVolume(name string) *PersistentVolumeApplyConfiguration

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

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

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

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

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*PersistentVolumeApplyConfiguration) 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 (*PersistentVolumeApplyConfiguration) 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 (*PersistentVolumeApplyConfiguration) 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 PersistentVolumeClaimApplyConfiguration

type PersistentVolumeClaimApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PersistentVolumeClaimSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *PersistentVolumeClaimStatusApplyConfiguration `json:"status,omitempty"`
}

PersistentVolumeClaimApplyConfiguration represents an declarative configuration of the PersistentVolumeClaim type for use with apply.

func ExtractPersistentVolumeClaim

func ExtractPersistentVolumeClaim(persistentVolumeClaim *apicorev1.PersistentVolumeClaim, fieldManager string) (*PersistentVolumeClaimApplyConfiguration, error)

ExtractPersistentVolumeClaim extracts the applied configuration owned by fieldManager from persistentVolumeClaim. If no managedFields are found in persistentVolumeClaim for fieldManager, a PersistentVolumeClaimApplyConfiguration 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. persistentVolumeClaim must be a unmodified PersistentVolumeClaim API object that was retrieved from the Kubernetes API. ExtractPersistentVolumeClaim 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 ExtractPersistentVolumeClaimStatus

func ExtractPersistentVolumeClaimStatus(persistentVolumeClaim *apicorev1.PersistentVolumeClaim, fieldManager string) (*PersistentVolumeClaimApplyConfiguration, error)

ExtractPersistentVolumeClaimStatus is the same as ExtractPersistentVolumeClaim except that it extracts the status subresource applied configuration. Experimental!

func PersistentVolumeClaim

func PersistentVolumeClaim(name, namespace string) *PersistentVolumeClaimApplyConfiguration

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

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

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

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*PersistentVolumeClaimApplyConfiguration) 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 (*PersistentVolumeClaimApplyConfiguration) 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 (*PersistentVolumeClaimApplyConfiguration) 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 PersistentVolumeClaimConditionApplyConfiguration

type PersistentVolumeClaimConditionApplyConfiguration struct {
	Type               *v1.PersistentVolumeClaimConditionType `json:"type,omitempty"`
	Status             *v1.ConditionStatus                    `json:"status,omitempty"`
	LastProbeTime      *metav1.Time                           `json:"lastProbeTime,omitempty"`
	LastTransitionTime *metav1.Time                           `json:"lastTransitionTime,omitempty"`
	Reason             *string                                `json:"reason,omitempty"`
	Message            *string                                `json:"message,omitempty"`
}

PersistentVolumeClaimConditionApplyConfiguration represents an declarative configuration of the PersistentVolumeClaimCondition type for use with apply.

func PersistentVolumeClaimCondition

func PersistentVolumeClaimCondition() *PersistentVolumeClaimConditionApplyConfiguration

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

func (*PersistentVolumeClaimConditionApplyConfiguration) WithLastProbeTime

WithLastProbeTime sets the LastProbeTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastProbeTime field is set to the value of the last call.

func (*PersistentVolumeClaimConditionApplyConfiguration) 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 (*PersistentVolumeClaimConditionApplyConfiguration) 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 (*PersistentVolumeClaimConditionApplyConfiguration) 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 (*PersistentVolumeClaimConditionApplyConfiguration) 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 (*PersistentVolumeClaimConditionApplyConfiguration) 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 PersistentVolumeClaimSpecApplyConfiguration

type PersistentVolumeClaimSpecApplyConfiguration struct {
	AccessModes      []v1.PersistentVolumeAccessMode              `json:"accessModes,omitempty"`
	Selector         *metav1.LabelSelectorApplyConfiguration      `json:"selector,omitempty"`
	Resources        *ResourceRequirementsApplyConfiguration      `json:"resources,omitempty"`
	VolumeName       *string                                      `json:"volumeName,omitempty"`
	StorageClassName *string                                      `json:"storageClassName,omitempty"`
	VolumeMode       *v1.PersistentVolumeMode                     `json:"volumeMode,omitempty"`
	DataSource       *TypedLocalObjectReferenceApplyConfiguration `json:"dataSource,omitempty"`
	DataSourceRef    *TypedObjectReferenceApplyConfiguration      `json:"dataSourceRef,omitempty"`
}

PersistentVolumeClaimSpecApplyConfiguration represents an declarative configuration of the PersistentVolumeClaimSpec type for use with apply.

func PersistentVolumeClaimSpec

func PersistentVolumeClaimSpec() *PersistentVolumeClaimSpecApplyConfiguration

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

func (*PersistentVolumeClaimSpecApplyConfiguration) WithAccessModes

WithAccessModes adds the given value to the AccessModes 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 AccessModes field.

func (*PersistentVolumeClaimSpecApplyConfiguration) WithDataSource

WithDataSource sets the DataSource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DataSource field is set to the value of the last call.

func (*PersistentVolumeClaimSpecApplyConfiguration) WithDataSourceRef

WithDataSourceRef sets the DataSourceRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DataSourceRef field is set to the value of the last call.

func (*PersistentVolumeClaimSpecApplyConfiguration) WithResources

WithResources sets the Resources field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resources field is set to the value of the last call.

func (*PersistentVolumeClaimSpecApplyConfiguration) 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 (*PersistentVolumeClaimSpecApplyConfiguration) WithStorageClassName

WithStorageClassName sets the StorageClassName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StorageClassName field is set to the value of the last call.

func (*PersistentVolumeClaimSpecApplyConfiguration) WithVolumeMode

WithVolumeMode sets the VolumeMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeMode field is set to the value of the last call.

func (*PersistentVolumeClaimSpecApplyConfiguration) WithVolumeName

WithVolumeName sets the VolumeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeName field is set to the value of the last call.

type PersistentVolumeClaimStatusApplyConfiguration

type PersistentVolumeClaimStatusApplyConfiguration struct {
	Phase              *v1.PersistentVolumeClaimPhase                     `json:"phase,omitempty"`
	AccessModes        []v1.PersistentVolumeAccessMode                    `json:"accessModes,omitempty"`
	Capacity           *v1.ResourceList                                   `json:"capacity,omitempty"`
	Conditions         []PersistentVolumeClaimConditionApplyConfiguration `json:"conditions,omitempty"`
	AllocatedResources *v1.ResourceList                                   `json:"allocatedResources,omitempty"`
	ResizeStatus       *v1.PersistentVolumeClaimResizeStatus              `json:"resizeStatus,omitempty"`
}

PersistentVolumeClaimStatusApplyConfiguration represents an declarative configuration of the PersistentVolumeClaimStatus type for use with apply.

func PersistentVolumeClaimStatus

func PersistentVolumeClaimStatus() *PersistentVolumeClaimStatusApplyConfiguration

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

func (*PersistentVolumeClaimStatusApplyConfiguration) WithAccessModes

WithAccessModes adds the given value to the AccessModes 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 AccessModes field.

func (*PersistentVolumeClaimStatusApplyConfiguration) WithAllocatedResources

WithAllocatedResources sets the AllocatedResources field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AllocatedResources field is set to the value of the last call.

func (*PersistentVolumeClaimStatusApplyConfiguration) WithCapacity

WithCapacity sets the Capacity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Capacity field is set to the value of the last call.

func (*PersistentVolumeClaimStatusApplyConfiguration) 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 (*PersistentVolumeClaimStatusApplyConfiguration) WithPhase

WithPhase sets the Phase field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Phase field is set to the value of the last call.

func (*PersistentVolumeClaimStatusApplyConfiguration) WithResizeStatus

WithResizeStatus sets the ResizeStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResizeStatus field is set to the value of the last call.

type PersistentVolumeClaimTemplateApplyConfiguration

type PersistentVolumeClaimTemplateApplyConfiguration struct {
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PersistentVolumeClaimSpecApplyConfiguration `json:"spec,omitempty"`
}

PersistentVolumeClaimTemplateApplyConfiguration represents an declarative configuration of the PersistentVolumeClaimTemplate type for use with apply.

func PersistentVolumeClaimTemplate

func PersistentVolumeClaimTemplate() *PersistentVolumeClaimTemplateApplyConfiguration

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

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

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

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*PersistentVolumeClaimTemplateApplyConfiguration) 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 (*PersistentVolumeClaimTemplateApplyConfiguration) 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 PersistentVolumeClaimVolumeSourceApplyConfiguration

type PersistentVolumeClaimVolumeSourceApplyConfiguration struct {
	ClaimName *string `json:"claimName,omitempty"`
	ReadOnly  *bool   `json:"readOnly,omitempty"`
}

PersistentVolumeClaimVolumeSourceApplyConfiguration represents an declarative configuration of the PersistentVolumeClaimVolumeSource type for use with apply.

func PersistentVolumeClaimVolumeSource

func PersistentVolumeClaimVolumeSource() *PersistentVolumeClaimVolumeSourceApplyConfiguration

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

func (*PersistentVolumeClaimVolumeSourceApplyConfiguration) WithClaimName

WithClaimName sets the ClaimName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClaimName field is set to the value of the last call.

func (*PersistentVolumeClaimVolumeSourceApplyConfiguration) 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 PersistentVolumeSourceApplyConfiguration

type PersistentVolumeSourceApplyConfiguration struct {
	GCEPersistentDisk    *GCEPersistentDiskVolumeSourceApplyConfiguration    `json:"gcePersistentDisk,omitempty"`
	AWSElasticBlockStore *AWSElasticBlockStoreVolumeSourceApplyConfiguration `json:"awsElasticBlockStore,omitempty"`
	HostPath             *HostPathVolumeSourceApplyConfiguration             `json:"hostPath,omitempty"`
	Glusterfs            *GlusterfsPersistentVolumeSourceApplyConfiguration  `json:"glusterfs,omitempty"`
	NFS                  *NFSVolumeSourceApplyConfiguration                  `json:"nfs,omitempty"`
	RBD                  *RBDPersistentVolumeSourceApplyConfiguration        `json:"rbd,omitempty"`
	ISCSI                *ISCSIPersistentVolumeSourceApplyConfiguration      `json:"iscsi,omitempty"`
	Cinder               *CinderPersistentVolumeSourceApplyConfiguration     `json:"cinder,omitempty"`
	CephFS               *CephFSPersistentVolumeSourceApplyConfiguration     `json:"cephfs,omitempty"`
	FC                   *FCVolumeSourceApplyConfiguration                   `json:"fc,omitempty"`
	Flocker              *FlockerVolumeSourceApplyConfiguration              `json:"flocker,omitempty"`
	FlexVolume           *FlexPersistentVolumeSourceApplyConfiguration       `json:"flexVolume,omitempty"`
	AzureFile            *AzureFilePersistentVolumeSourceApplyConfiguration  `json:"azureFile,omitempty"`
	VsphereVolume        *VsphereVirtualDiskVolumeSourceApplyConfiguration   `json:"vsphereVolume,omitempty"`
	Quobyte              *QuobyteVolumeSourceApplyConfiguration              `json:"quobyte,omitempty"`
	AzureDisk            *AzureDiskVolumeSourceApplyConfiguration            `json:"azureDisk,omitempty"`
	PhotonPersistentDisk *PhotonPersistentDiskVolumeSourceApplyConfiguration `json:"photonPersistentDisk,omitempty"`
	PortworxVolume       *PortworxVolumeSourceApplyConfiguration             `json:"portworxVolume,omitempty"`
	ScaleIO              *ScaleIOPersistentVolumeSourceApplyConfiguration    `json:"scaleIO,omitempty"`
	Local                *LocalVolumeSourceApplyConfiguration                `json:"local,omitempty"`
	StorageOS            *StorageOSPersistentVolumeSourceApplyConfiguration  `json:"storageos,omitempty"`
	CSI                  *CSIPersistentVolumeSourceApplyConfiguration        `json:"csi,omitempty"`
}

PersistentVolumeSourceApplyConfiguration represents an declarative configuration of the PersistentVolumeSource type for use with apply.

func PersistentVolumeSource

func PersistentVolumeSource() *PersistentVolumeSourceApplyConfiguration

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

func (*PersistentVolumeSourceApplyConfiguration) WithAWSElasticBlockStore

WithAWSElasticBlockStore sets the AWSElasticBlockStore field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AWSElasticBlockStore field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithAzureDisk

WithAzureDisk sets the AzureDisk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AzureDisk field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithAzureFile

WithAzureFile sets the AzureFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AzureFile field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithCSI

WithCSI sets the CSI field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CSI field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithCephFS

WithCephFS sets the CephFS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CephFS field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithCinder

WithCinder sets the Cinder field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Cinder field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithFC

WithFC sets the FC field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FC field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithFlexVolume

WithFlexVolume sets the FlexVolume field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FlexVolume field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithFlocker

WithFlocker sets the Flocker field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Flocker field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithGCEPersistentDisk

WithGCEPersistentDisk sets the GCEPersistentDisk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GCEPersistentDisk field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithGlusterfs

WithGlusterfs sets the Glusterfs field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Glusterfs field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithHostPath

WithHostPath sets the HostPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HostPath field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithISCSI

WithISCSI sets the ISCSI field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ISCSI field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithLocal

WithLocal sets the Local field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Local field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithNFS

WithNFS sets the NFS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NFS field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithPhotonPersistentDisk

WithPhotonPersistentDisk sets the PhotonPersistentDisk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PhotonPersistentDisk field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithPortworxVolume

WithPortworxVolume sets the PortworxVolume field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortworxVolume field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithQuobyte

WithQuobyte sets the Quobyte field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Quobyte field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithRBD

WithRBD sets the RBD field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RBD field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithScaleIO

WithScaleIO sets the ScaleIO field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ScaleIO field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithStorageOS

WithStorageOS sets the StorageOS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StorageOS field is set to the value of the last call.

func (*PersistentVolumeSourceApplyConfiguration) WithVsphereVolume

WithVsphereVolume sets the VsphereVolume field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VsphereVolume field is set to the value of the last call.

type PersistentVolumeSpecApplyConfiguration

type PersistentVolumeSpecApplyConfiguration struct {
	Capacity                                 *v1.ResourceList `json:"capacity,omitempty"`
	PersistentVolumeSourceApplyConfiguration `json:",inline"`
	AccessModes                              []v1.PersistentVolumeAccessMode       `json:"accessModes,omitempty"`
	ClaimRef                                 *ObjectReferenceApplyConfiguration    `json:"claimRef,omitempty"`
	PersistentVolumeReclaimPolicy            *v1.PersistentVolumeReclaimPolicy     `json:"persistentVolumeReclaimPolicy,omitempty"`
	StorageClassName                         *string                               `json:"storageClassName,omitempty"`
	MountOptions                             []string                              `json:"mountOptions,omitempty"`
	VolumeMode                               *v1.PersistentVolumeMode              `json:"volumeMode,omitempty"`
	NodeAffinity                             *VolumeNodeAffinityApplyConfiguration `json:"nodeAffinity,omitempty"`
}

PersistentVolumeSpecApplyConfiguration represents an declarative configuration of the PersistentVolumeSpec type for use with apply.

func PersistentVolumeSpec

func PersistentVolumeSpec() *PersistentVolumeSpecApplyConfiguration

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

func (*PersistentVolumeSpecApplyConfiguration) WithAWSElasticBlockStore

WithAWSElasticBlockStore sets the AWSElasticBlockStore field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AWSElasticBlockStore field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithAccessModes

WithAccessModes adds the given value to the AccessModes 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 AccessModes field.

func (*PersistentVolumeSpecApplyConfiguration) WithAzureDisk

WithAzureDisk sets the AzureDisk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AzureDisk field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithAzureFile

WithAzureFile sets the AzureFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AzureFile field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithCSI

WithCSI sets the CSI field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CSI field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithCapacity

WithCapacity sets the Capacity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Capacity field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithCephFS

WithCephFS sets the CephFS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CephFS field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithCinder

WithCinder sets the Cinder field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Cinder field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithClaimRef

WithClaimRef sets the ClaimRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClaimRef field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithFC

WithFC sets the FC field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FC field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithFlexVolume

WithFlexVolume sets the FlexVolume field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FlexVolume field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithFlocker

WithFlocker sets the Flocker field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Flocker field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithGCEPersistentDisk

WithGCEPersistentDisk sets the GCEPersistentDisk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GCEPersistentDisk field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithGlusterfs

WithGlusterfs sets the Glusterfs field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Glusterfs field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithHostPath

WithHostPath sets the HostPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HostPath field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithISCSI

WithISCSI sets the ISCSI field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ISCSI field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithLocal

WithLocal sets the Local field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Local field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithMountOptions

WithMountOptions adds the given value to the MountOptions 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 MountOptions field.

func (*PersistentVolumeSpecApplyConfiguration) WithNFS

WithNFS sets the NFS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NFS field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithNodeAffinity

WithNodeAffinity sets the NodeAffinity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeAffinity field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithPersistentVolumeReclaimPolicy

WithPersistentVolumeReclaimPolicy sets the PersistentVolumeReclaimPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PersistentVolumeReclaimPolicy field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithPhotonPersistentDisk

WithPhotonPersistentDisk sets the PhotonPersistentDisk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PhotonPersistentDisk field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithPortworxVolume

WithPortworxVolume sets the PortworxVolume field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortworxVolume field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithQuobyte

WithQuobyte sets the Quobyte field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Quobyte field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithRBD

WithRBD sets the RBD field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RBD field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithScaleIO

WithScaleIO sets the ScaleIO field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ScaleIO field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithStorageClassName

WithStorageClassName sets the StorageClassName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StorageClassName field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithStorageOS

WithStorageOS sets the StorageOS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StorageOS field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithVolumeMode

WithVolumeMode sets the VolumeMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeMode field is set to the value of the last call.

func (*PersistentVolumeSpecApplyConfiguration) WithVsphereVolume

WithVsphereVolume sets the VsphereVolume field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VsphereVolume field is set to the value of the last call.

type PersistentVolumeStatusApplyConfiguration

type PersistentVolumeStatusApplyConfiguration struct {
	Phase   *v1.PersistentVolumePhase `json:"phase,omitempty"`
	Message *string                   `json:"message,omitempty"`
	Reason  *string                   `json:"reason,omitempty"`
}

PersistentVolumeStatusApplyConfiguration represents an declarative configuration of the PersistentVolumeStatus type for use with apply.

func PersistentVolumeStatus

func PersistentVolumeStatus() *PersistentVolumeStatusApplyConfiguration

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

func (*PersistentVolumeStatusApplyConfiguration) 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 (*PersistentVolumeStatusApplyConfiguration) WithPhase

WithPhase sets the Phase field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Phase field is set to the value of the last call.

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

type PhotonPersistentDiskVolumeSourceApplyConfiguration

type PhotonPersistentDiskVolumeSourceApplyConfiguration struct {
	PdID   *string `json:"pdID,omitempty"`
	FSType *string `json:"fsType,omitempty"`
}

PhotonPersistentDiskVolumeSourceApplyConfiguration represents an declarative configuration of the PhotonPersistentDiskVolumeSource type for use with apply.

func PhotonPersistentDiskVolumeSource

func PhotonPersistentDiskVolumeSource() *PhotonPersistentDiskVolumeSourceApplyConfiguration

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

func (*PhotonPersistentDiskVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

func (*PhotonPersistentDiskVolumeSourceApplyConfiguration) WithPdID

WithPdID sets the PdID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PdID field is set to the value of the last call.

type PodAffinityApplyConfiguration

type PodAffinityApplyConfiguration struct {
	RequiredDuringSchedulingIgnoredDuringExecution  []PodAffinityTermApplyConfiguration         `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
	PreferredDuringSchedulingIgnoredDuringExecution []WeightedPodAffinityTermApplyConfiguration `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
}

PodAffinityApplyConfiguration represents an declarative configuration of the PodAffinity type for use with apply.

func PodAffinity

func PodAffinity() *PodAffinityApplyConfiguration

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

func (*PodAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution

func (b *PodAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution(values ...*WeightedPodAffinityTermApplyConfiguration) *PodAffinityApplyConfiguration

WithPreferredDuringSchedulingIgnoredDuringExecution adds the given value to the PreferredDuringSchedulingIgnoredDuringExecution 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 PreferredDuringSchedulingIgnoredDuringExecution field.

func (*PodAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution

func (b *PodAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution(values ...*PodAffinityTermApplyConfiguration) *PodAffinityApplyConfiguration

WithRequiredDuringSchedulingIgnoredDuringExecution adds the given value to the RequiredDuringSchedulingIgnoredDuringExecution 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 RequiredDuringSchedulingIgnoredDuringExecution field.

type PodAffinityTermApplyConfiguration

type PodAffinityTermApplyConfiguration struct {
	LabelSelector     *v1.LabelSelectorApplyConfiguration `json:"labelSelector,omitempty"`
	Namespaces        []string                            `json:"namespaces,omitempty"`
	TopologyKey       *string                             `json:"topologyKey,omitempty"`
	NamespaceSelector *v1.LabelSelectorApplyConfiguration `json:"namespaceSelector,omitempty"`
}

PodAffinityTermApplyConfiguration represents an declarative configuration of the PodAffinityTerm type for use with apply.

func PodAffinityTerm

func PodAffinityTerm() *PodAffinityTermApplyConfiguration

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

func (*PodAffinityTermApplyConfiguration) WithLabelSelector

WithLabelSelector sets the LabelSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LabelSelector field is set to the value of the last call.

func (*PodAffinityTermApplyConfiguration) 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 (*PodAffinityTermApplyConfiguration) WithNamespaces

WithNamespaces adds the given value to the Namespaces 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 Namespaces field.

func (*PodAffinityTermApplyConfiguration) WithTopologyKey

WithTopologyKey sets the TopologyKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TopologyKey field is set to the value of the last call.

type PodAntiAffinityApplyConfiguration

type PodAntiAffinityApplyConfiguration struct {
	RequiredDuringSchedulingIgnoredDuringExecution  []PodAffinityTermApplyConfiguration         `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
	PreferredDuringSchedulingIgnoredDuringExecution []WeightedPodAffinityTermApplyConfiguration `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
}

PodAntiAffinityApplyConfiguration represents an declarative configuration of the PodAntiAffinity type for use with apply.

func PodAntiAffinity

func PodAntiAffinity() *PodAntiAffinityApplyConfiguration

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

func (*PodAntiAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution

func (b *PodAntiAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution(values ...*WeightedPodAffinityTermApplyConfiguration) *PodAntiAffinityApplyConfiguration

WithPreferredDuringSchedulingIgnoredDuringExecution adds the given value to the PreferredDuringSchedulingIgnoredDuringExecution 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 PreferredDuringSchedulingIgnoredDuringExecution field.

func (*PodAntiAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution

func (b *PodAntiAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution(values ...*PodAffinityTermApplyConfiguration) *PodAntiAffinityApplyConfiguration

WithRequiredDuringSchedulingIgnoredDuringExecution adds the given value to the RequiredDuringSchedulingIgnoredDuringExecution 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 RequiredDuringSchedulingIgnoredDuringExecution field.

type PodApplyConfiguration

type PodApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PodSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *PodStatusApplyConfiguration `json:"status,omitempty"`
}

PodApplyConfiguration represents an declarative configuration of the Pod type for use with apply.

func ExtractPod

func ExtractPod(pod *apicorev1.Pod, fieldManager string) (*PodApplyConfiguration, error)

ExtractPod extracts the applied configuration owned by fieldManager from pod. If no managedFields are found in pod for fieldManager, a PodApplyConfiguration 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. pod must be a unmodified Pod API object that was retrieved from the Kubernetes API. ExtractPod 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 ExtractPodStatus

func ExtractPodStatus(pod *apicorev1.Pod, fieldManager string) (*PodApplyConfiguration, error)

ExtractPodStatus is the same as ExtractPod except that it extracts the status subresource applied configuration. Experimental!

func Pod

func Pod(name, namespace string) *PodApplyConfiguration

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

func (*PodApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*PodApplyConfiguration) 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 (*PodApplyConfiguration) 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 (*PodApplyConfiguration) 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 PodConditionApplyConfiguration

type PodConditionApplyConfiguration struct {
	Type               *v1.PodConditionType `json:"type,omitempty"`
	Status             *v1.ConditionStatus  `json:"status,omitempty"`
	LastProbeTime      *metav1.Time         `json:"lastProbeTime,omitempty"`
	LastTransitionTime *metav1.Time         `json:"lastTransitionTime,omitempty"`
	Reason             *string              `json:"reason,omitempty"`
	Message            *string              `json:"message,omitempty"`
}

PodConditionApplyConfiguration represents an declarative configuration of the PodCondition type for use with apply.

func PodCondition

func PodCondition() *PodConditionApplyConfiguration

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

func (*PodConditionApplyConfiguration) WithLastProbeTime

WithLastProbeTime sets the LastProbeTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastProbeTime field is set to the value of the last call.

func (*PodConditionApplyConfiguration) 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 (*PodConditionApplyConfiguration) 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 (*PodConditionApplyConfiguration) 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 (*PodConditionApplyConfiguration) 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 (*PodConditionApplyConfiguration) 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 PodDNSConfigApplyConfiguration

type PodDNSConfigApplyConfiguration struct {
	Nameservers []string                               `json:"nameservers,omitempty"`
	Searches    []string                               `json:"searches,omitempty"`
	Options     []PodDNSConfigOptionApplyConfiguration `json:"options,omitempty"`
}

PodDNSConfigApplyConfiguration represents an declarative configuration of the PodDNSConfig type for use with apply.

func PodDNSConfig

func PodDNSConfig() *PodDNSConfigApplyConfiguration

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

func (*PodDNSConfigApplyConfiguration) WithNameservers

WithNameservers adds the given value to the Nameservers 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 Nameservers field.

func (*PodDNSConfigApplyConfiguration) WithOptions

WithOptions adds the given value to the Options 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 Options field.

func (*PodDNSConfigApplyConfiguration) WithSearches

WithSearches adds the given value to the Searches 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 Searches field.

type PodDNSConfigOptionApplyConfiguration

type PodDNSConfigOptionApplyConfiguration struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

PodDNSConfigOptionApplyConfiguration represents an declarative configuration of the PodDNSConfigOption type for use with apply.

func PodDNSConfigOption

func PodDNSConfigOption() *PodDNSConfigOptionApplyConfiguration

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

func (*PodDNSConfigOptionApplyConfiguration) 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 (*PodDNSConfigOptionApplyConfiguration) WithValue

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type PodIPApplyConfiguration

type PodIPApplyConfiguration struct {
	IP *string `json:"ip,omitempty"`
}

PodIPApplyConfiguration represents an declarative configuration of the PodIP type for use with apply.

func PodIP

func PodIP() *PodIPApplyConfiguration

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

func (*PodIPApplyConfiguration) WithIP

WithIP sets the IP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IP field is set to the value of the last call.

type PodOSApplyConfiguration

type PodOSApplyConfiguration struct {
	Name *v1.OSName `json:"name,omitempty"`
}

PodOSApplyConfiguration represents an declarative configuration of the PodOS type for use with apply.

func PodOS

func PodOS() *PodOSApplyConfiguration

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

func (*PodOSApplyConfiguration) 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 PodReadinessGateApplyConfiguration

type PodReadinessGateApplyConfiguration struct {
	ConditionType *v1.PodConditionType `json:"conditionType,omitempty"`
}

PodReadinessGateApplyConfiguration represents an declarative configuration of the PodReadinessGate type for use with apply.

func PodReadinessGate

func PodReadinessGate() *PodReadinessGateApplyConfiguration

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

func (*PodReadinessGateApplyConfiguration) WithConditionType

WithConditionType sets the ConditionType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConditionType field is set to the value of the last call.

type PodResourceClaimApplyConfiguration

type PodResourceClaimApplyConfiguration struct {
	Name   *string                        `json:"name,omitempty"`
	Source *ClaimSourceApplyConfiguration `json:"source,omitempty"`
}

PodResourceClaimApplyConfiguration represents an declarative configuration of the PodResourceClaim type for use with apply.

func PodResourceClaim

func PodResourceClaim() *PodResourceClaimApplyConfiguration

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

func (*PodResourceClaimApplyConfiguration) 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 (*PodResourceClaimApplyConfiguration) WithSource

WithSource sets the Source field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Source field is set to the value of the last call.

type PodSchedulingGateApplyConfiguration

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

PodSchedulingGateApplyConfiguration represents an declarative configuration of the PodSchedulingGate type for use with apply.

func PodSchedulingGate

func PodSchedulingGate() *PodSchedulingGateApplyConfiguration

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

func (*PodSchedulingGateApplyConfiguration) 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 PodSecurityContextApplyConfiguration

type PodSecurityContextApplyConfiguration struct {
	SELinuxOptions      *SELinuxOptionsApplyConfiguration                `json:"seLinuxOptions,omitempty"`
	WindowsOptions      *WindowsSecurityContextOptionsApplyConfiguration `json:"windowsOptions,omitempty"`
	RunAsUser           *int64                                           `json:"runAsUser,omitempty"`
	RunAsGroup          *int64                                           `json:"runAsGroup,omitempty"`
	RunAsNonRoot        *bool                                            `json:"runAsNonRoot,omitempty"`
	SupplementalGroups  []int64                                          `json:"supplementalGroups,omitempty"`
	FSGroup             *int64                                           `json:"fsGroup,omitempty"`
	Sysctls             []SysctlApplyConfiguration                       `json:"sysctls,omitempty"`
	FSGroupChangePolicy *corev1.PodFSGroupChangePolicy                   `json:"fsGroupChangePolicy,omitempty"`
	SeccompProfile      *SeccompProfileApplyConfiguration                `json:"seccompProfile,omitempty"`
}

PodSecurityContextApplyConfiguration represents an declarative configuration of the PodSecurityContext type for use with apply.

func PodSecurityContext

func PodSecurityContext() *PodSecurityContextApplyConfiguration

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

func (*PodSecurityContextApplyConfiguration) 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 (*PodSecurityContextApplyConfiguration) WithFSGroupChangePolicy

WithFSGroupChangePolicy sets the FSGroupChangePolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSGroupChangePolicy field is set to the value of the last call.

func (*PodSecurityContextApplyConfiguration) 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 (*PodSecurityContextApplyConfiguration) WithRunAsNonRoot

WithRunAsNonRoot sets the RunAsNonRoot field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RunAsNonRoot field is set to the value of the last call.

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

func (*PodSecurityContextApplyConfiguration) WithSeccompProfile

WithSeccompProfile sets the SeccompProfile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SeccompProfile field is set to the value of the last call.

func (*PodSecurityContextApplyConfiguration) WithSupplementalGroups

WithSupplementalGroups adds the given value to the SupplementalGroups 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 SupplementalGroups field.

func (*PodSecurityContextApplyConfiguration) WithSysctls

WithSysctls adds the given value to the Sysctls 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 Sysctls field.

func (*PodSecurityContextApplyConfiguration) WithWindowsOptions

WithWindowsOptions sets the WindowsOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WindowsOptions field is set to the value of the last call.

type PodSpecApplyConfiguration

type PodSpecApplyConfiguration struct {
	Volumes                       []VolumeApplyConfiguration                   `json:"volumes,omitempty"`
	InitContainers                []ContainerApplyConfiguration                `json:"initContainers,omitempty"`
	Containers                    []ContainerApplyConfiguration                `json:"containers,omitempty"`
	EphemeralContainers           []EphemeralContainerApplyConfiguration       `json:"ephemeralContainers,omitempty"`
	RestartPolicy                 *corev1.RestartPolicy                        `json:"restartPolicy,omitempty"`
	TerminationGracePeriodSeconds *int64                                       `json:"terminationGracePeriodSeconds,omitempty"`
	ActiveDeadlineSeconds         *int64                                       `json:"activeDeadlineSeconds,omitempty"`
	DNSPolicy                     *corev1.DNSPolicy                            `json:"dnsPolicy,omitempty"`
	NodeSelector                  map[string]string                            `json:"nodeSelector,omitempty"`
	ServiceAccountName            *string                                      `json:"serviceAccountName,omitempty"`
	DeprecatedServiceAccount      *string                                      `json:"serviceAccount,omitempty"`
	AutomountServiceAccountToken  *bool                                        `json:"automountServiceAccountToken,omitempty"`
	NodeName                      *string                                      `json:"nodeName,omitempty"`
	HostNetwork                   *bool                                        `json:"hostNetwork,omitempty"`
	HostPID                       *bool                                        `json:"hostPID,omitempty"`
	HostIPC                       *bool                                        `json:"hostIPC,omitempty"`
	ShareProcessNamespace         *bool                                        `json:"shareProcessNamespace,omitempty"`
	SecurityContext               *PodSecurityContextApplyConfiguration        `json:"securityContext,omitempty"`
	ImagePullSecrets              []LocalObjectReferenceApplyConfiguration     `json:"imagePullSecrets,omitempty"`
	Hostname                      *string                                      `json:"hostname,omitempty"`
	Subdomain                     *string                                      `json:"subdomain,omitempty"`
	Affinity                      *AffinityApplyConfiguration                  `json:"affinity,omitempty"`
	SchedulerName                 *string                                      `json:"schedulerName,omitempty"`
	Tolerations                   []TolerationApplyConfiguration               `json:"tolerations,omitempty"`
	HostAliases                   []HostAliasApplyConfiguration                `json:"hostAliases,omitempty"`
	PriorityClassName             *string                                      `json:"priorityClassName,omitempty"`
	Priority                      *int32                                       `json:"priority,omitempty"`
	DNSConfig                     *PodDNSConfigApplyConfiguration              `json:"dnsConfig,omitempty"`
	ReadinessGates                []PodReadinessGateApplyConfiguration         `json:"readinessGates,omitempty"`
	RuntimeClassName              *string                                      `json:"runtimeClassName,omitempty"`
	EnableServiceLinks            *bool                                        `json:"enableServiceLinks,omitempty"`
	PreemptionPolicy              *corev1.PreemptionPolicy                     `json:"preemptionPolicy,omitempty"`
	Overhead                      *corev1.ResourceList                         `json:"overhead,omitempty"`
	TopologySpreadConstraints     []TopologySpreadConstraintApplyConfiguration `json:"topologySpreadConstraints,omitempty"`
	SetHostnameAsFQDN             *bool                                        `json:"setHostnameAsFQDN,omitempty"`
	OS                            *PodOSApplyConfiguration                     `json:"os,omitempty"`
	HostUsers                     *bool                                        `json:"hostUsers,omitempty"`
	SchedulingGates               []PodSchedulingGateApplyConfiguration        `json:"schedulingGates,omitempty"`
	ResourceClaims                []PodResourceClaimApplyConfiguration         `json:"resourceClaims,omitempty"`
}

PodSpecApplyConfiguration represents an declarative configuration of the PodSpec type for use with apply.

func PodSpec

func PodSpec() *PodSpecApplyConfiguration

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

func (*PodSpecApplyConfiguration) WithActiveDeadlineSeconds

func (b *PodSpecApplyConfiguration) WithActiveDeadlineSeconds(value int64) *PodSpecApplyConfiguration

WithActiveDeadlineSeconds sets the ActiveDeadlineSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ActiveDeadlineSeconds field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithAffinity

WithAffinity sets the Affinity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Affinity field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithAutomountServiceAccountToken

func (b *PodSpecApplyConfiguration) WithAutomountServiceAccountToken(value bool) *PodSpecApplyConfiguration

WithAutomountServiceAccountToken sets the AutomountServiceAccountToken field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AutomountServiceAccountToken field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithContainers

WithContainers adds the given value to the Containers 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 Containers field.

func (*PodSpecApplyConfiguration) WithDNSConfig

WithDNSConfig sets the DNSConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DNSConfig field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithDNSPolicy

WithDNSPolicy sets the DNSPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DNSPolicy field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithDeprecatedServiceAccount

func (b *PodSpecApplyConfiguration) WithDeprecatedServiceAccount(value string) *PodSpecApplyConfiguration

WithDeprecatedServiceAccount sets the DeprecatedServiceAccount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeprecatedServiceAccount field is set to the value of the last call.

func (b *PodSpecApplyConfiguration) WithEnableServiceLinks(value bool) *PodSpecApplyConfiguration

WithEnableServiceLinks sets the EnableServiceLinks field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnableServiceLinks field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithEphemeralContainers

WithEphemeralContainers adds the given value to the EphemeralContainers 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 EphemeralContainers field.

func (*PodSpecApplyConfiguration) WithHostAliases

WithHostAliases adds the given value to the HostAliases 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 HostAliases field.

func (*PodSpecApplyConfiguration) 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 (*PodSpecApplyConfiguration) WithHostNetwork

func (b *PodSpecApplyConfiguration) WithHostNetwork(value bool) *PodSpecApplyConfiguration

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 (*PodSpecApplyConfiguration) 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 (*PodSpecApplyConfiguration) WithHostUsers

func (b *PodSpecApplyConfiguration) WithHostUsers(value bool) *PodSpecApplyConfiguration

WithHostUsers sets the HostUsers field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HostUsers field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithHostname

WithHostname sets the Hostname field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Hostname field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithImagePullSecrets

WithImagePullSecrets adds the given value to the ImagePullSecrets 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 ImagePullSecrets field.

func (*PodSpecApplyConfiguration) WithInitContainers

WithInitContainers adds the given value to the InitContainers 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 InitContainers field.

func (*PodSpecApplyConfiguration) WithNodeName

WithNodeName sets the NodeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeName field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithNodeSelector

func (b *PodSpecApplyConfiguration) WithNodeSelector(entries map[string]string) *PodSpecApplyConfiguration

WithNodeSelector puts the entries into the NodeSelector 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 NodeSelector field, overwriting an existing map entries in NodeSelector field with the same key.

func (*PodSpecApplyConfiguration) WithOS

WithOS sets the OS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OS field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithOverhead

WithOverhead sets the Overhead field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Overhead field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithPreemptionPolicy

WithPreemptionPolicy sets the PreemptionPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PreemptionPolicy field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithPriority

WithPriority sets the Priority field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Priority field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithPriorityClassName

func (b *PodSpecApplyConfiguration) WithPriorityClassName(value string) *PodSpecApplyConfiguration

WithPriorityClassName sets the PriorityClassName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PriorityClassName field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithReadinessGates

WithReadinessGates adds the given value to the ReadinessGates 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 ReadinessGates field.

func (*PodSpecApplyConfiguration) WithResourceClaims

WithResourceClaims adds the given value to the ResourceClaims 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 ResourceClaims field.

func (*PodSpecApplyConfiguration) WithRestartPolicy

WithRestartPolicy sets the RestartPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RestartPolicy field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithRuntimeClassName

func (b *PodSpecApplyConfiguration) WithRuntimeClassName(value string) *PodSpecApplyConfiguration

WithRuntimeClassName sets the RuntimeClassName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RuntimeClassName field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithSchedulerName

func (b *PodSpecApplyConfiguration) WithSchedulerName(value string) *PodSpecApplyConfiguration

WithSchedulerName sets the SchedulerName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SchedulerName field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithSchedulingGates

WithSchedulingGates adds the given value to the SchedulingGates 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 SchedulingGates field.

func (*PodSpecApplyConfiguration) WithSecurityContext

WithSecurityContext sets the SecurityContext field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecurityContext field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithServiceAccountName

func (b *PodSpecApplyConfiguration) WithServiceAccountName(value string) *PodSpecApplyConfiguration

WithServiceAccountName sets the ServiceAccountName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceAccountName field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithSetHostnameAsFQDN

func (b *PodSpecApplyConfiguration) WithSetHostnameAsFQDN(value bool) *PodSpecApplyConfiguration

WithSetHostnameAsFQDN sets the SetHostnameAsFQDN field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SetHostnameAsFQDN field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithShareProcessNamespace

func (b *PodSpecApplyConfiguration) WithShareProcessNamespace(value bool) *PodSpecApplyConfiguration

WithShareProcessNamespace sets the ShareProcessNamespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ShareProcessNamespace field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithSubdomain

WithSubdomain sets the Subdomain field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Subdomain field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithTerminationGracePeriodSeconds

func (b *PodSpecApplyConfiguration) WithTerminationGracePeriodSeconds(value int64) *PodSpecApplyConfiguration

WithTerminationGracePeriodSeconds sets the TerminationGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TerminationGracePeriodSeconds field is set to the value of the last call.

func (*PodSpecApplyConfiguration) WithTolerations

WithTolerations adds the given value to the Tolerations 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 Tolerations field.

func (*PodSpecApplyConfiguration) WithTopologySpreadConstraints

WithTopologySpreadConstraints adds the given value to the TopologySpreadConstraints 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 TopologySpreadConstraints field.

func (*PodSpecApplyConfiguration) 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 PodStatusApplyConfiguration

type PodStatusApplyConfiguration struct {
	Phase                      *v1.PodPhase                        `json:"phase,omitempty"`
	Conditions                 []PodConditionApplyConfiguration    `json:"conditions,omitempty"`
	Message                    *string                             `json:"message,omitempty"`
	Reason                     *string                             `json:"reason,omitempty"`
	NominatedNodeName          *string                             `json:"nominatedNodeName,omitempty"`
	HostIP                     *string                             `json:"hostIP,omitempty"`
	PodIP                      *string                             `json:"podIP,omitempty"`
	PodIPs                     []PodIPApplyConfiguration           `json:"podIPs,omitempty"`
	StartTime                  *metav1.Time                        `json:"startTime,omitempty"`
	InitContainerStatuses      []ContainerStatusApplyConfiguration `json:"initContainerStatuses,omitempty"`
	ContainerStatuses          []ContainerStatusApplyConfiguration `json:"containerStatuses,omitempty"`
	QOSClass                   *v1.PodQOSClass                     `json:"qosClass,omitempty"`
	EphemeralContainerStatuses []ContainerStatusApplyConfiguration `json:"ephemeralContainerStatuses,omitempty"`
}

PodStatusApplyConfiguration represents an declarative configuration of the PodStatus type for use with apply.

func PodStatus

func PodStatus() *PodStatusApplyConfiguration

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

func (*PodStatusApplyConfiguration) 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 (*PodStatusApplyConfiguration) WithContainerStatuses

WithContainerStatuses adds the given value to the ContainerStatuses 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 ContainerStatuses field.

func (*PodStatusApplyConfiguration) WithEphemeralContainerStatuses

func (b *PodStatusApplyConfiguration) WithEphemeralContainerStatuses(values ...*ContainerStatusApplyConfiguration) *PodStatusApplyConfiguration

WithEphemeralContainerStatuses adds the given value to the EphemeralContainerStatuses 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 EphemeralContainerStatuses field.

func (*PodStatusApplyConfiguration) WithHostIP

WithHostIP sets the HostIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HostIP field is set to the value of the last call.

func (*PodStatusApplyConfiguration) WithInitContainerStatuses

WithInitContainerStatuses adds the given value to the InitContainerStatuses 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 InitContainerStatuses field.

func (*PodStatusApplyConfiguration) 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 (*PodStatusApplyConfiguration) WithNominatedNodeName

func (b *PodStatusApplyConfiguration) WithNominatedNodeName(value string) *PodStatusApplyConfiguration

WithNominatedNodeName sets the NominatedNodeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NominatedNodeName field is set to the value of the last call.

func (*PodStatusApplyConfiguration) WithPhase

WithPhase sets the Phase field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Phase field is set to the value of the last call.

func (*PodStatusApplyConfiguration) WithPodIP

WithPodIP sets the PodIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodIP field is set to the value of the last call.

func (*PodStatusApplyConfiguration) WithPodIPs

WithPodIPs adds the given value to the PodIPs 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 PodIPs field.

func (*PodStatusApplyConfiguration) WithQOSClass

WithQOSClass sets the QOSClass field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the QOSClass field is set to the value of the last call.

func (*PodStatusApplyConfiguration) 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 (*PodStatusApplyConfiguration) WithStartTime

WithStartTime sets the StartTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StartTime field is set to the value of the last call.

type PodTemplateApplyConfiguration

type PodTemplateApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Template                         *PodTemplateSpecApplyConfiguration `json:"template,omitempty"`
}

PodTemplateApplyConfiguration represents an declarative configuration of the PodTemplate type for use with apply.

func ExtractPodTemplate

func ExtractPodTemplate(podTemplate *apicorev1.PodTemplate, fieldManager string) (*PodTemplateApplyConfiguration, error)

ExtractPodTemplate extracts the applied configuration owned by fieldManager from podTemplate. If no managedFields are found in podTemplate for fieldManager, a PodTemplateApplyConfiguration 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. podTemplate must be a unmodified PodTemplate API object that was retrieved from the Kubernetes API. ExtractPodTemplate 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 ExtractPodTemplateStatus

func ExtractPodTemplateStatus(podTemplate *apicorev1.PodTemplate, fieldManager string) (*PodTemplateApplyConfiguration, error)

ExtractPodTemplateStatus is the same as ExtractPodTemplate except that it extracts the status subresource applied configuration. Experimental!

func PodTemplate

func PodTemplate(name, namespace string) *PodTemplateApplyConfiguration

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

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

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

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

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*PodTemplateApplyConfiguration) 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 (*PodTemplateApplyConfiguration) 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 PodTemplateSpecApplyConfiguration

type PodTemplateSpecApplyConfiguration struct {
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PodSpecApplyConfiguration `json:"spec,omitempty"`
}

PodTemplateSpecApplyConfiguration represents an declarative configuration of the PodTemplateSpec type for use with apply.

func PodTemplateSpec

func PodTemplateSpec() *PodTemplateSpecApplyConfiguration

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

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

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

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

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*PodTemplateSpecApplyConfiguration) 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 (*PodTemplateSpecApplyConfiguration) 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 PortStatusApplyConfiguration

type PortStatusApplyConfiguration struct {
	Port     *int32       `json:"port,omitempty"`
	Protocol *v1.Protocol `json:"protocol,omitempty"`
	Error    *string      `json:"error,omitempty"`
}

PortStatusApplyConfiguration represents an declarative configuration of the PortStatus type for use with apply.

func PortStatus

func PortStatus() *PortStatusApplyConfiguration

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

func (*PortStatusApplyConfiguration) WithError

WithError sets the Error field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Error field is set to the value of the last call.

func (*PortStatusApplyConfiguration) 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 (*PortStatusApplyConfiguration) 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 PortworxVolumeSourceApplyConfiguration

type PortworxVolumeSourceApplyConfiguration struct {
	VolumeID *string `json:"volumeID,omitempty"`
	FSType   *string `json:"fsType,omitempty"`
	ReadOnly *bool   `json:"readOnly,omitempty"`
}

PortworxVolumeSourceApplyConfiguration represents an declarative configuration of the PortworxVolumeSource type for use with apply.

func PortworxVolumeSource

func PortworxVolumeSource() *PortworxVolumeSourceApplyConfiguration

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

func (*PortworxVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

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

func (*PortworxVolumeSourceApplyConfiguration) WithVolumeID

WithVolumeID sets the VolumeID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeID field is set to the value of the last call.

type PreferredSchedulingTermApplyConfiguration

type PreferredSchedulingTermApplyConfiguration struct {
	Weight     *int32                              `json:"weight,omitempty"`
	Preference *NodeSelectorTermApplyConfiguration `json:"preference,omitempty"`
}

PreferredSchedulingTermApplyConfiguration represents an declarative configuration of the PreferredSchedulingTerm type for use with apply.

func PreferredSchedulingTerm

func PreferredSchedulingTerm() *PreferredSchedulingTermApplyConfiguration

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

func (*PreferredSchedulingTermApplyConfiguration) WithPreference

WithPreference sets the Preference field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Preference field is set to the value of the last call.

func (*PreferredSchedulingTermApplyConfiguration) WithWeight

WithWeight sets the Weight field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Weight field is set to the value of the last call.

type ProbeApplyConfiguration

type ProbeApplyConfiguration struct {
	ProbeHandlerApplyConfiguration `json:",inline"`
	InitialDelaySeconds            *int32 `json:"initialDelaySeconds,omitempty"`
	TimeoutSeconds                 *int32 `json:"timeoutSeconds,omitempty"`
	PeriodSeconds                  *int32 `json:"periodSeconds,omitempty"`
	SuccessThreshold               *int32 `json:"successThreshold,omitempty"`
	FailureThreshold               *int32 `json:"failureThreshold,omitempty"`
	TerminationGracePeriodSeconds  *int64 `json:"terminationGracePeriodSeconds,omitempty"`
}

ProbeApplyConfiguration represents an declarative configuration of the Probe type for use with apply.

func Probe

func Probe() *ProbeApplyConfiguration

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

func (*ProbeApplyConfiguration) WithExec

WithExec sets the Exec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Exec field is set to the value of the last call.

func (*ProbeApplyConfiguration) WithFailureThreshold

func (b *ProbeApplyConfiguration) WithFailureThreshold(value int32) *ProbeApplyConfiguration

WithFailureThreshold sets the FailureThreshold field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FailureThreshold field is set to the value of the last call.

func (*ProbeApplyConfiguration) WithGRPC

WithGRPC sets the GRPC field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GRPC field is set to the value of the last call.

func (*ProbeApplyConfiguration) WithHTTPGet

WithHTTPGet sets the HTTPGet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPGet field is set to the value of the last call.

func (*ProbeApplyConfiguration) WithInitialDelaySeconds

func (b *ProbeApplyConfiguration) WithInitialDelaySeconds(value int32) *ProbeApplyConfiguration

WithInitialDelaySeconds sets the InitialDelaySeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InitialDelaySeconds field is set to the value of the last call.

func (*ProbeApplyConfiguration) WithPeriodSeconds

func (b *ProbeApplyConfiguration) WithPeriodSeconds(value int32) *ProbeApplyConfiguration

WithPeriodSeconds sets the PeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PeriodSeconds field is set to the value of the last call.

func (*ProbeApplyConfiguration) WithSuccessThreshold

func (b *ProbeApplyConfiguration) WithSuccessThreshold(value int32) *ProbeApplyConfiguration

WithSuccessThreshold sets the SuccessThreshold field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SuccessThreshold field is set to the value of the last call.

func (*ProbeApplyConfiguration) WithTCPSocket

WithTCPSocket sets the TCPSocket field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TCPSocket field is set to the value of the last call.

func (*ProbeApplyConfiguration) WithTerminationGracePeriodSeconds

func (b *ProbeApplyConfiguration) WithTerminationGracePeriodSeconds(value int64) *ProbeApplyConfiguration

WithTerminationGracePeriodSeconds sets the TerminationGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TerminationGracePeriodSeconds field is set to the value of the last call.

func (*ProbeApplyConfiguration) WithTimeoutSeconds

func (b *ProbeApplyConfiguration) WithTimeoutSeconds(value int32) *ProbeApplyConfiguration

WithTimeoutSeconds sets the TimeoutSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TimeoutSeconds field is set to the value of the last call.

type ProbeHandlerApplyConfiguration

type ProbeHandlerApplyConfiguration struct {
	Exec      *ExecActionApplyConfiguration      `json:"exec,omitempty"`
	HTTPGet   *HTTPGetActionApplyConfiguration   `json:"httpGet,omitempty"`
	TCPSocket *TCPSocketActionApplyConfiguration `json:"tcpSocket,omitempty"`
	GRPC      *GRPCActionApplyConfiguration      `json:"grpc,omitempty"`
}

ProbeHandlerApplyConfiguration represents an declarative configuration of the ProbeHandler type for use with apply.

func ProbeHandler

func ProbeHandler() *ProbeHandlerApplyConfiguration

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

func (*ProbeHandlerApplyConfiguration) WithExec

WithExec sets the Exec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Exec field is set to the value of the last call.

func (*ProbeHandlerApplyConfiguration) WithGRPC

WithGRPC sets the GRPC field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GRPC field is set to the value of the last call.

func (*ProbeHandlerApplyConfiguration) WithHTTPGet

WithHTTPGet sets the HTTPGet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPGet field is set to the value of the last call.

func (*ProbeHandlerApplyConfiguration) WithTCPSocket

WithTCPSocket sets the TCPSocket field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TCPSocket field is set to the value of the last call.

type ProjectedVolumeSourceApplyConfiguration

type ProjectedVolumeSourceApplyConfiguration struct {
	Sources     []VolumeProjectionApplyConfiguration `json:"sources,omitempty"`
	DefaultMode *int32                               `json:"defaultMode,omitempty"`
}

ProjectedVolumeSourceApplyConfiguration represents an declarative configuration of the ProjectedVolumeSource type for use with apply.

func ProjectedVolumeSource

func ProjectedVolumeSource() *ProjectedVolumeSourceApplyConfiguration

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

func (*ProjectedVolumeSourceApplyConfiguration) WithDefaultMode

WithDefaultMode sets the DefaultMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DefaultMode field is set to the value of the last call.

func (*ProjectedVolumeSourceApplyConfiguration) WithSources

WithSources adds the given value to the Sources 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 Sources field.

type QuobyteVolumeSourceApplyConfiguration

type QuobyteVolumeSourceApplyConfiguration struct {
	Registry *string `json:"registry,omitempty"`
	Volume   *string `json:"volume,omitempty"`
	ReadOnly *bool   `json:"readOnly,omitempty"`
	User     *string `json:"user,omitempty"`
	Group    *string `json:"group,omitempty"`
	Tenant   *string `json:"tenant,omitempty"`
}

QuobyteVolumeSourceApplyConfiguration represents an declarative configuration of the QuobyteVolumeSource type for use with apply.

func QuobyteVolumeSource

func QuobyteVolumeSource() *QuobyteVolumeSourceApplyConfiguration

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

func (*QuobyteVolumeSourceApplyConfiguration) WithGroup

WithGroup sets the Group field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Group field is set to the value of the last call.

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

func (*QuobyteVolumeSourceApplyConfiguration) WithRegistry

WithRegistry sets the Registry field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Registry field is set to the value of the last call.

func (*QuobyteVolumeSourceApplyConfiguration) WithTenant

WithTenant sets the Tenant field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Tenant field is set to the value of the last call.

func (*QuobyteVolumeSourceApplyConfiguration) WithUser

WithUser sets the User field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the User field is set to the value of the last call.

func (*QuobyteVolumeSourceApplyConfiguration) WithVolume

WithVolume sets the Volume field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Volume field is set to the value of the last call.

type RBDPersistentVolumeSourceApplyConfiguration

type RBDPersistentVolumeSourceApplyConfiguration struct {
	CephMonitors []string                           `json:"monitors,omitempty"`
	RBDImage     *string                            `json:"image,omitempty"`
	FSType       *string                            `json:"fsType,omitempty"`
	RBDPool      *string                            `json:"pool,omitempty"`
	RadosUser    *string                            `json:"user,omitempty"`
	Keyring      *string                            `json:"keyring,omitempty"`
	SecretRef    *SecretReferenceApplyConfiguration `json:"secretRef,omitempty"`
	ReadOnly     *bool                              `json:"readOnly,omitempty"`
}

RBDPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the RBDPersistentVolumeSource type for use with apply.

func RBDPersistentVolumeSource

func RBDPersistentVolumeSource() *RBDPersistentVolumeSourceApplyConfiguration

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

func (*RBDPersistentVolumeSourceApplyConfiguration) WithCephMonitors

WithCephMonitors adds the given value to the CephMonitors 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 CephMonitors field.

func (*RBDPersistentVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

func (*RBDPersistentVolumeSourceApplyConfiguration) WithKeyring

WithKeyring sets the Keyring field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Keyring field is set to the value of the last call.

func (*RBDPersistentVolumeSourceApplyConfiguration) WithRBDImage

WithRBDImage sets the RBDImage field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RBDImage field is set to the value of the last call.

func (*RBDPersistentVolumeSourceApplyConfiguration) WithRBDPool

WithRBDPool sets the RBDPool field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RBDPool field is set to the value of the last call.

func (*RBDPersistentVolumeSourceApplyConfiguration) WithRadosUser

WithRadosUser sets the RadosUser field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RadosUser field is set to the value of the last call.

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

func (*RBDPersistentVolumeSourceApplyConfiguration) WithSecretRef

WithSecretRef sets the SecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretRef field is set to the value of the last call.

type RBDVolumeSourceApplyConfiguration

type RBDVolumeSourceApplyConfiguration struct {
	CephMonitors []string                                `json:"monitors,omitempty"`
	RBDImage     *string                                 `json:"image,omitempty"`
	FSType       *string                                 `json:"fsType,omitempty"`
	RBDPool      *string                                 `json:"pool,omitempty"`
	RadosUser    *string                                 `json:"user,omitempty"`
	Keyring      *string                                 `json:"keyring,omitempty"`
	SecretRef    *LocalObjectReferenceApplyConfiguration `json:"secretRef,omitempty"`
	ReadOnly     *bool                                   `json:"readOnly,omitempty"`
}

RBDVolumeSourceApplyConfiguration represents an declarative configuration of the RBDVolumeSource type for use with apply.

func RBDVolumeSource

func RBDVolumeSource() *RBDVolumeSourceApplyConfiguration

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

func (*RBDVolumeSourceApplyConfiguration) WithCephMonitors

WithCephMonitors adds the given value to the CephMonitors 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 CephMonitors field.

func (*RBDVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

func (*RBDVolumeSourceApplyConfiguration) WithKeyring

WithKeyring sets the Keyring field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Keyring field is set to the value of the last call.

func (*RBDVolumeSourceApplyConfiguration) WithRBDImage

WithRBDImage sets the RBDImage field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RBDImage field is set to the value of the last call.

func (*RBDVolumeSourceApplyConfiguration) WithRBDPool

WithRBDPool sets the RBDPool field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RBDPool field is set to the value of the last call.

func (*RBDVolumeSourceApplyConfiguration) WithRadosUser

WithRadosUser sets the RadosUser field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RadosUser field is set to the value of the last call.

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

func (*RBDVolumeSourceApplyConfiguration) WithSecretRef

WithSecretRef sets the SecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretRef field is set to the value of the last call.

type ReplicationControllerApplyConfiguration

type ReplicationControllerApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ReplicationControllerSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ReplicationControllerStatusApplyConfiguration `json:"status,omitempty"`
}

ReplicationControllerApplyConfiguration represents an declarative configuration of the ReplicationController type for use with apply.

func ExtractReplicationController

func ExtractReplicationController(replicationController *apicorev1.ReplicationController, fieldManager string) (*ReplicationControllerApplyConfiguration, error)

ExtractReplicationController extracts the applied configuration owned by fieldManager from replicationController. If no managedFields are found in replicationController for fieldManager, a ReplicationControllerApplyConfiguration 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. replicationController must be a unmodified ReplicationController API object that was retrieved from the Kubernetes API. ExtractReplicationController 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 ExtractReplicationControllerStatus

func ExtractReplicationControllerStatus(replicationController *apicorev1.ReplicationController, fieldManager string) (*ReplicationControllerApplyConfiguration, error)

ExtractReplicationControllerStatus is the same as ExtractReplicationController except that it extracts the status subresource applied configuration. Experimental!

func ReplicationController

func ReplicationController(name, namespace string) *ReplicationControllerApplyConfiguration

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

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

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

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*ReplicationControllerApplyConfiguration) 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 (*ReplicationControllerApplyConfiguration) 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 (*ReplicationControllerApplyConfiguration) 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 ReplicationControllerConditionApplyConfiguration

type ReplicationControllerConditionApplyConfiguration struct {
	Type               *v1.ReplicationControllerConditionType `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"`
}

ReplicationControllerConditionApplyConfiguration represents an declarative configuration of the ReplicationControllerCondition type for use with apply.

func ReplicationControllerCondition

func ReplicationControllerCondition() *ReplicationControllerConditionApplyConfiguration

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

func (*ReplicationControllerConditionApplyConfiguration) 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 (*ReplicationControllerConditionApplyConfiguration) 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 (*ReplicationControllerConditionApplyConfiguration) 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 (*ReplicationControllerConditionApplyConfiguration) 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 (*ReplicationControllerConditionApplyConfiguration) 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 ReplicationControllerSpecApplyConfiguration

type ReplicationControllerSpecApplyConfiguration struct {
	Replicas        *int32                             `json:"replicas,omitempty"`
	MinReadySeconds *int32                             `json:"minReadySeconds,omitempty"`
	Selector        map[string]string                  `json:"selector,omitempty"`
	Template        *PodTemplateSpecApplyConfiguration `json:"template,omitempty"`
}

ReplicationControllerSpecApplyConfiguration represents an declarative configuration of the ReplicationControllerSpec type for use with apply.

func ReplicationControllerSpec

func ReplicationControllerSpec() *ReplicationControllerSpecApplyConfiguration

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

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

WithSelector puts the entries into the Selector 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 Selector field, overwriting an existing map entries in Selector field with the same key.

func (*ReplicationControllerSpecApplyConfiguration) 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 ReplicationControllerStatusApplyConfiguration

type ReplicationControllerStatusApplyConfiguration 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           []ReplicationControllerConditionApplyConfiguration `json:"conditions,omitempty"`
}

ReplicationControllerStatusApplyConfiguration represents an declarative configuration of the ReplicationControllerStatus type for use with apply.

func ReplicationControllerStatus

func ReplicationControllerStatus() *ReplicationControllerStatusApplyConfiguration

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

func (*ReplicationControllerStatusApplyConfiguration) 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 (*ReplicationControllerStatusApplyConfiguration) 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 (*ReplicationControllerStatusApplyConfiguration) 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 (*ReplicationControllerStatusApplyConfiguration) 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 (*ReplicationControllerStatusApplyConfiguration) 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 (*ReplicationControllerStatusApplyConfiguration) 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 ResourceClaimApplyConfiguration

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

ResourceClaimApplyConfiguration represents an declarative configuration of the ResourceClaim type for use with apply.

func ResourceClaim

func ResourceClaim() *ResourceClaimApplyConfiguration

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

func (*ResourceClaimApplyConfiguration) 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 ResourceFieldSelectorApplyConfiguration

type ResourceFieldSelectorApplyConfiguration struct {
	ContainerName *string            `json:"containerName,omitempty"`
	Resource      *string            `json:"resource,omitempty"`
	Divisor       *resource.Quantity `json:"divisor,omitempty"`
}

ResourceFieldSelectorApplyConfiguration represents an declarative configuration of the ResourceFieldSelector type for use with apply.

func ResourceFieldSelector

func ResourceFieldSelector() *ResourceFieldSelectorApplyConfiguration

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

func (*ResourceFieldSelectorApplyConfiguration) WithContainerName

WithContainerName sets the ContainerName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ContainerName field is set to the value of the last call.

func (*ResourceFieldSelectorApplyConfiguration) WithDivisor

WithDivisor sets the Divisor field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Divisor field is set to the value of the last call.

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

type ResourceQuotaApplyConfiguration

type ResourceQuotaApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ResourceQuotaSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ResourceQuotaStatusApplyConfiguration `json:"status,omitempty"`
}

ResourceQuotaApplyConfiguration represents an declarative configuration of the ResourceQuota type for use with apply.

func ExtractResourceQuota

func ExtractResourceQuota(resourceQuota *apicorev1.ResourceQuota, fieldManager string) (*ResourceQuotaApplyConfiguration, error)

ExtractResourceQuota extracts the applied configuration owned by fieldManager from resourceQuota. If no managedFields are found in resourceQuota for fieldManager, a ResourceQuotaApplyConfiguration 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. resourceQuota must be a unmodified ResourceQuota API object that was retrieved from the Kubernetes API. ExtractResourceQuota 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 ExtractResourceQuotaStatus

func ExtractResourceQuotaStatus(resourceQuota *apicorev1.ResourceQuota, fieldManager string) (*ResourceQuotaApplyConfiguration, error)

ExtractResourceQuotaStatus is the same as ExtractResourceQuota except that it extracts the status subresource applied configuration. Experimental!

func ResourceQuota

func ResourceQuota(name, namespace string) *ResourceQuotaApplyConfiguration

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

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

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

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

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*ResourceQuotaApplyConfiguration) 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 (*ResourceQuotaApplyConfiguration) 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 (*ResourceQuotaApplyConfiguration) 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 ResourceQuotaSpecApplyConfiguration

type ResourceQuotaSpecApplyConfiguration struct {
	Hard          *v1.ResourceList                 `json:"hard,omitempty"`
	Scopes        []v1.ResourceQuotaScope          `json:"scopes,omitempty"`
	ScopeSelector *ScopeSelectorApplyConfiguration `json:"scopeSelector,omitempty"`
}

ResourceQuotaSpecApplyConfiguration represents an declarative configuration of the ResourceQuotaSpec type for use with apply.

func ResourceQuotaSpec

func ResourceQuotaSpec() *ResourceQuotaSpecApplyConfiguration

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

func (*ResourceQuotaSpecApplyConfiguration) WithHard

WithHard sets the Hard field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Hard field is set to the value of the last call.

func (*ResourceQuotaSpecApplyConfiguration) WithScopeSelector

WithScopeSelector sets the ScopeSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ScopeSelector field is set to the value of the last call.

func (*ResourceQuotaSpecApplyConfiguration) WithScopes

WithScopes adds the given value to the Scopes 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 Scopes field.

type ResourceQuotaStatusApplyConfiguration

type ResourceQuotaStatusApplyConfiguration struct {
	Hard *v1.ResourceList `json:"hard,omitempty"`
	Used *v1.ResourceList `json:"used,omitempty"`
}

ResourceQuotaStatusApplyConfiguration represents an declarative configuration of the ResourceQuotaStatus type for use with apply.

func ResourceQuotaStatus

func ResourceQuotaStatus() *ResourceQuotaStatusApplyConfiguration

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

func (*ResourceQuotaStatusApplyConfiguration) WithHard

WithHard sets the Hard field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Hard field is set to the value of the last call.

func (*ResourceQuotaStatusApplyConfiguration) WithUsed

WithUsed sets the Used field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Used field is set to the value of the last call.

type ResourceRequirementsApplyConfiguration

type ResourceRequirementsApplyConfiguration struct {
	Limits   *v1.ResourceList                  `json:"limits,omitempty"`
	Requests *v1.ResourceList                  `json:"requests,omitempty"`
	Claims   []ResourceClaimApplyConfiguration `json:"claims,omitempty"`
}

ResourceRequirementsApplyConfiguration represents an declarative configuration of the ResourceRequirements type for use with apply.

func ResourceRequirements

func ResourceRequirements() *ResourceRequirementsApplyConfiguration

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

func (*ResourceRequirementsApplyConfiguration) WithClaims

WithClaims adds the given value to the Claims 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 Claims field.

func (*ResourceRequirementsApplyConfiguration) WithLimits

WithLimits sets the Limits field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Limits field is set to the value of the last call.

func (*ResourceRequirementsApplyConfiguration) WithRequests

WithRequests sets the Requests field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Requests field is set to the value of the last call.

type SELinuxOptionsApplyConfiguration

type SELinuxOptionsApplyConfiguration struct {
	User  *string `json:"user,omitempty"`
	Role  *string `json:"role,omitempty"`
	Type  *string `json:"type,omitempty"`
	Level *string `json:"level,omitempty"`
}

SELinuxOptionsApplyConfiguration represents an declarative configuration of the SELinuxOptions type for use with apply.

func SELinuxOptions

func SELinuxOptions() *SELinuxOptionsApplyConfiguration

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

func (*SELinuxOptionsApplyConfiguration) WithLevel

WithLevel sets the Level field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Level field is set to the value of the last call.

func (*SELinuxOptionsApplyConfiguration) WithRole

WithRole sets the Role field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Role field is set to the value of the last call.

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

func (*SELinuxOptionsApplyConfiguration) WithUser

WithUser sets the User field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the User field is set to the value of the last call.

type ScaleIOPersistentVolumeSourceApplyConfiguration

type ScaleIOPersistentVolumeSourceApplyConfiguration struct {
	Gateway          *string                            `json:"gateway,omitempty"`
	System           *string                            `json:"system,omitempty"`
	SecretRef        *SecretReferenceApplyConfiguration `json:"secretRef,omitempty"`
	SSLEnabled       *bool                              `json:"sslEnabled,omitempty"`
	ProtectionDomain *string                            `json:"protectionDomain,omitempty"`
	StoragePool      *string                            `json:"storagePool,omitempty"`
	StorageMode      *string                            `json:"storageMode,omitempty"`
	VolumeName       *string                            `json:"volumeName,omitempty"`
	FSType           *string                            `json:"fsType,omitempty"`
	ReadOnly         *bool                              `json:"readOnly,omitempty"`
}

ScaleIOPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the ScaleIOPersistentVolumeSource type for use with apply.

func ScaleIOPersistentVolumeSource

func ScaleIOPersistentVolumeSource() *ScaleIOPersistentVolumeSourceApplyConfiguration

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

func (*ScaleIOPersistentVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

func (*ScaleIOPersistentVolumeSourceApplyConfiguration) WithGateway

WithGateway sets the Gateway field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Gateway field is set to the value of the last call.

func (*ScaleIOPersistentVolumeSourceApplyConfiguration) WithProtectionDomain

WithProtectionDomain sets the ProtectionDomain field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProtectionDomain field is set to the value of the last call.

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

func (*ScaleIOPersistentVolumeSourceApplyConfiguration) WithSSLEnabled

WithSSLEnabled sets the SSLEnabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SSLEnabled field is set to the value of the last call.

func (*ScaleIOPersistentVolumeSourceApplyConfiguration) WithSecretRef

WithSecretRef sets the SecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretRef field is set to the value of the last call.

func (*ScaleIOPersistentVolumeSourceApplyConfiguration) WithStorageMode

WithStorageMode sets the StorageMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StorageMode field is set to the value of the last call.

func (*ScaleIOPersistentVolumeSourceApplyConfiguration) WithStoragePool

WithStoragePool sets the StoragePool field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StoragePool field is set to the value of the last call.

func (*ScaleIOPersistentVolumeSourceApplyConfiguration) WithSystem

WithSystem sets the System field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the System field is set to the value of the last call.

func (*ScaleIOPersistentVolumeSourceApplyConfiguration) WithVolumeName

WithVolumeName sets the VolumeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeName field is set to the value of the last call.

type ScaleIOVolumeSourceApplyConfiguration

type ScaleIOVolumeSourceApplyConfiguration struct {
	Gateway          *string                                 `json:"gateway,omitempty"`
	System           *string                                 `json:"system,omitempty"`
	SecretRef        *LocalObjectReferenceApplyConfiguration `json:"secretRef,omitempty"`
	SSLEnabled       *bool                                   `json:"sslEnabled,omitempty"`
	ProtectionDomain *string                                 `json:"protectionDomain,omitempty"`
	StoragePool      *string                                 `json:"storagePool,omitempty"`
	StorageMode      *string                                 `json:"storageMode,omitempty"`
	VolumeName       *string                                 `json:"volumeName,omitempty"`
	FSType           *string                                 `json:"fsType,omitempty"`
	ReadOnly         *bool                                   `json:"readOnly,omitempty"`
}

ScaleIOVolumeSourceApplyConfiguration represents an declarative configuration of the ScaleIOVolumeSource type for use with apply.

func ScaleIOVolumeSource

func ScaleIOVolumeSource() *ScaleIOVolumeSourceApplyConfiguration

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

func (*ScaleIOVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

func (*ScaleIOVolumeSourceApplyConfiguration) WithGateway

WithGateway sets the Gateway field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Gateway field is set to the value of the last call.

func (*ScaleIOVolumeSourceApplyConfiguration) WithProtectionDomain

WithProtectionDomain sets the ProtectionDomain field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProtectionDomain field is set to the value of the last call.

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

func (*ScaleIOVolumeSourceApplyConfiguration) WithSSLEnabled

WithSSLEnabled sets the SSLEnabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SSLEnabled field is set to the value of the last call.

func (*ScaleIOVolumeSourceApplyConfiguration) WithSecretRef

WithSecretRef sets the SecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretRef field is set to the value of the last call.

func (*ScaleIOVolumeSourceApplyConfiguration) WithStorageMode

WithStorageMode sets the StorageMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StorageMode field is set to the value of the last call.

func (*ScaleIOVolumeSourceApplyConfiguration) WithStoragePool

WithStoragePool sets the StoragePool field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StoragePool field is set to the value of the last call.

func (*ScaleIOVolumeSourceApplyConfiguration) WithSystem

WithSystem sets the System field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the System field is set to the value of the last call.

func (*ScaleIOVolumeSourceApplyConfiguration) WithVolumeName

WithVolumeName sets the VolumeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeName field is set to the value of the last call.

type ScopeSelectorApplyConfiguration

type ScopeSelectorApplyConfiguration struct {
	MatchExpressions []ScopedResourceSelectorRequirementApplyConfiguration `json:"matchExpressions,omitempty"`
}

ScopeSelectorApplyConfiguration represents an declarative configuration of the ScopeSelector type for use with apply.

func ScopeSelector

func ScopeSelector() *ScopeSelectorApplyConfiguration

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

func (*ScopeSelectorApplyConfiguration) WithMatchExpressions

WithMatchExpressions adds the given value to the MatchExpressions 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 MatchExpressions field.

type ScopedResourceSelectorRequirementApplyConfiguration

type ScopedResourceSelectorRequirementApplyConfiguration struct {
	ScopeName *v1.ResourceQuotaScope    `json:"scopeName,omitempty"`
	Operator  *v1.ScopeSelectorOperator `json:"operator,omitempty"`
	Values    []string                  `json:"values,omitempty"`
}

ScopedResourceSelectorRequirementApplyConfiguration represents an declarative configuration of the ScopedResourceSelectorRequirement type for use with apply.

func ScopedResourceSelectorRequirement

func ScopedResourceSelectorRequirement() *ScopedResourceSelectorRequirementApplyConfiguration

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

func (*ScopedResourceSelectorRequirementApplyConfiguration) WithOperator

WithOperator sets the Operator field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Operator field is set to the value of the last call.

func (*ScopedResourceSelectorRequirementApplyConfiguration) WithScopeName

WithScopeName sets the ScopeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ScopeName field is set to the value of the last call.

func (*ScopedResourceSelectorRequirementApplyConfiguration) WithValues

WithValues adds the given value to the Values 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 Values field.

type SeccompProfileApplyConfiguration

type SeccompProfileApplyConfiguration struct {
	Type             *v1.SeccompProfileType `json:"type,omitempty"`
	LocalhostProfile *string                `json:"localhostProfile,omitempty"`
}

SeccompProfileApplyConfiguration represents an declarative configuration of the SeccompProfile type for use with apply.

func SeccompProfile

func SeccompProfile() *SeccompProfileApplyConfiguration

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

func (*SeccompProfileApplyConfiguration) WithLocalhostProfile

WithLocalhostProfile sets the LocalhostProfile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LocalhostProfile field is set to the value of the last call.

func (*SeccompProfileApplyConfiguration) 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 SecretApplyConfiguration

type SecretApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Immutable                        *bool              `json:"immutable,omitempty"`
	Data                             map[string][]byte  `json:"data,omitempty"`
	StringData                       map[string]string  `json:"stringData,omitempty"`
	Type                             *corev1.SecretType `json:"type,omitempty"`
}

SecretApplyConfiguration represents an declarative configuration of the Secret type for use with apply.

func ExtractSecret

func ExtractSecret(secret *corev1.Secret, fieldManager string) (*SecretApplyConfiguration, error)

ExtractSecret extracts the applied configuration owned by fieldManager from secret. If no managedFields are found in secret for fieldManager, a SecretApplyConfiguration 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. secret must be a unmodified Secret API object that was retrieved from the Kubernetes API. ExtractSecret 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 ExtractSecretStatus

func ExtractSecretStatus(secret *corev1.Secret, fieldManager string) (*SecretApplyConfiguration, error)

ExtractSecretStatus is the same as ExtractSecret except that it extracts the status subresource applied configuration. Experimental!

func Secret

func Secret(name, namespace string) *SecretApplyConfiguration

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

func (*SecretApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

func (b *SecretApplyConfiguration) WithData(entries map[string][]byte) *SecretApplyConfiguration

WithData puts the entries into the Data 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 Data field, overwriting an existing map entries in Data field with the same key.

func (*SecretApplyConfiguration) WithDeletionGracePeriodSeconds

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

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

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

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

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

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

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

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

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

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 (*SecretApplyConfiguration) WithImmutable

func (b *SecretApplyConfiguration) WithImmutable(value bool) *SecretApplyConfiguration

WithImmutable sets the Immutable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Immutable field is set to the value of the last call.

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

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

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

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

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

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

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 (*SecretApplyConfiguration) WithStringData

func (b *SecretApplyConfiguration) WithStringData(entries map[string]string) *SecretApplyConfiguration

WithStringData puts the entries into the StringData 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 StringData field, overwriting an existing map entries in StringData field with the same key.

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

func (*SecretApplyConfiguration) 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 SecretEnvSourceApplyConfiguration

type SecretEnvSourceApplyConfiguration struct {
	LocalObjectReferenceApplyConfiguration `json:",inline"`
	Optional                               *bool `json:"optional,omitempty"`
}

SecretEnvSourceApplyConfiguration represents an declarative configuration of the SecretEnvSource type for use with apply.

func SecretEnvSource

func SecretEnvSource() *SecretEnvSourceApplyConfiguration

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

func (*SecretEnvSourceApplyConfiguration) 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 (*SecretEnvSourceApplyConfiguration) WithOptional

WithOptional sets the Optional field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Optional field is set to the value of the last call.

type SecretKeySelectorApplyConfiguration

type SecretKeySelectorApplyConfiguration struct {
	LocalObjectReferenceApplyConfiguration `json:",inline"`
	Key                                    *string `json:"key,omitempty"`
	Optional                               *bool   `json:"optional,omitempty"`
}

SecretKeySelectorApplyConfiguration represents an declarative configuration of the SecretKeySelector type for use with apply.

func SecretKeySelector

func SecretKeySelector() *SecretKeySelectorApplyConfiguration

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

func (*SecretKeySelectorApplyConfiguration) WithKey

WithKey sets the Key field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Key field is set to the value of the last call.

func (*SecretKeySelectorApplyConfiguration) 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 (*SecretKeySelectorApplyConfiguration) WithOptional

WithOptional sets the Optional field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Optional field is set to the value of the last call.

type SecretProjectionApplyConfiguration

type SecretProjectionApplyConfiguration struct {
	LocalObjectReferenceApplyConfiguration `json:",inline"`
	Items                                  []KeyToPathApplyConfiguration `json:"items,omitempty"`
	Optional                               *bool                         `json:"optional,omitempty"`
}

SecretProjectionApplyConfiguration represents an declarative configuration of the SecretProjection type for use with apply.

func SecretProjection

func SecretProjection() *SecretProjectionApplyConfiguration

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

func (*SecretProjectionApplyConfiguration) WithItems

WithItems adds the given value to the Items 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 Items field.

func (*SecretProjectionApplyConfiguration) 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 (*SecretProjectionApplyConfiguration) WithOptional

WithOptional sets the Optional field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Optional field is set to the value of the last call.

type SecretReferenceApplyConfiguration

type SecretReferenceApplyConfiguration struct {
	Name      *string `json:"name,omitempty"`
	Namespace *string `json:"namespace,omitempty"`
}

SecretReferenceApplyConfiguration represents an declarative configuration of the SecretReference type for use with apply.

func SecretReference

func SecretReference() *SecretReferenceApplyConfiguration

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

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

type SecretVolumeSourceApplyConfiguration

type SecretVolumeSourceApplyConfiguration struct {
	SecretName  *string                       `json:"secretName,omitempty"`
	Items       []KeyToPathApplyConfiguration `json:"items,omitempty"`
	DefaultMode *int32                        `json:"defaultMode,omitempty"`
	Optional    *bool                         `json:"optional,omitempty"`
}

SecretVolumeSourceApplyConfiguration represents an declarative configuration of the SecretVolumeSource type for use with apply.

func SecretVolumeSource

func SecretVolumeSource() *SecretVolumeSourceApplyConfiguration

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

func (*SecretVolumeSourceApplyConfiguration) WithDefaultMode

WithDefaultMode sets the DefaultMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DefaultMode field is set to the value of the last call.

func (*SecretVolumeSourceApplyConfiguration) WithItems

WithItems adds the given value to the Items 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 Items field.

func (*SecretVolumeSourceApplyConfiguration) WithOptional

WithOptional sets the Optional field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Optional field is set to the value of the last call.

func (*SecretVolumeSourceApplyConfiguration) 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 SecurityContextApplyConfiguration

type SecurityContextApplyConfiguration struct {
	Capabilities             *CapabilitiesApplyConfiguration                  `json:"capabilities,omitempty"`
	Privileged               *bool                                            `json:"privileged,omitempty"`
	SELinuxOptions           *SELinuxOptionsApplyConfiguration                `json:"seLinuxOptions,omitempty"`
	WindowsOptions           *WindowsSecurityContextOptionsApplyConfiguration `json:"windowsOptions,omitempty"`
	RunAsUser                *int64                                           `json:"runAsUser,omitempty"`
	RunAsGroup               *int64                                           `json:"runAsGroup,omitempty"`
	RunAsNonRoot             *bool                                            `json:"runAsNonRoot,omitempty"`
	ReadOnlyRootFilesystem   *bool                                            `json:"readOnlyRootFilesystem,omitempty"`
	AllowPrivilegeEscalation *bool                                            `json:"allowPrivilegeEscalation,omitempty"`
	ProcMount                *corev1.ProcMountType                            `json:"procMount,omitempty"`
	SeccompProfile           *SeccompProfileApplyConfiguration                `json:"seccompProfile,omitempty"`
}

SecurityContextApplyConfiguration represents an declarative configuration of the SecurityContext type for use with apply.

func SecurityContext

func SecurityContext() *SecurityContextApplyConfiguration

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

func (*SecurityContextApplyConfiguration) WithAllowPrivilegeEscalation

func (b *SecurityContextApplyConfiguration) WithAllowPrivilegeEscalation(value bool) *SecurityContextApplyConfiguration

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 (*SecurityContextApplyConfiguration) WithCapabilities

WithCapabilities sets the Capabilities field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Capabilities field is set to the value of the last call.

func (*SecurityContextApplyConfiguration) 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 (*SecurityContextApplyConfiguration) WithProcMount

WithProcMount sets the ProcMount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProcMount field is set to the value of the last call.

func (*SecurityContextApplyConfiguration) WithReadOnlyRootFilesystem

func (b *SecurityContextApplyConfiguration) WithReadOnlyRootFilesystem(value bool) *SecurityContextApplyConfiguration

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 (*SecurityContextApplyConfiguration) 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 (*SecurityContextApplyConfiguration) WithRunAsNonRoot

WithRunAsNonRoot sets the RunAsNonRoot field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RunAsNonRoot field is set to the value of the last call.

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

func (*SecurityContextApplyConfiguration) WithSeccompProfile

WithSeccompProfile sets the SeccompProfile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SeccompProfile field is set to the value of the last call.

func (*SecurityContextApplyConfiguration) WithWindowsOptions

WithWindowsOptions sets the WindowsOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WindowsOptions field is set to the value of the last call.

type ServiceAccountApplyConfiguration

type ServiceAccountApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Secrets                          []ObjectReferenceApplyConfiguration      `json:"secrets,omitempty"`
	ImagePullSecrets                 []LocalObjectReferenceApplyConfiguration `json:"imagePullSecrets,omitempty"`
	AutomountServiceAccountToken     *bool                                    `json:"automountServiceAccountToken,omitempty"`
}

ServiceAccountApplyConfiguration represents an declarative configuration of the ServiceAccount type for use with apply.

func ExtractServiceAccount

func ExtractServiceAccount(serviceAccount *apicorev1.ServiceAccount, fieldManager string) (*ServiceAccountApplyConfiguration, error)

ExtractServiceAccount extracts the applied configuration owned by fieldManager from serviceAccount. If no managedFields are found in serviceAccount for fieldManager, a ServiceAccountApplyConfiguration 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. serviceAccount must be a unmodified ServiceAccount API object that was retrieved from the Kubernetes API. ExtractServiceAccount 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 ExtractServiceAccountStatus

func ExtractServiceAccountStatus(serviceAccount *apicorev1.ServiceAccount, fieldManager string) (*ServiceAccountApplyConfiguration, error)

ExtractServiceAccountStatus is the same as ExtractServiceAccount except that it extracts the status subresource applied configuration. Experimental!

func ServiceAccount

func ServiceAccount(name, namespace string) *ServiceAccountApplyConfiguration

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

func (*ServiceAccountApplyConfiguration) 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 (*ServiceAccountApplyConfiguration) 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 (*ServiceAccountApplyConfiguration) WithAutomountServiceAccountToken

func (b *ServiceAccountApplyConfiguration) WithAutomountServiceAccountToken(value bool) *ServiceAccountApplyConfiguration

WithAutomountServiceAccountToken sets the AutomountServiceAccountToken field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AutomountServiceAccountToken field is set to the value of the last call.

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

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

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 (*ServiceAccountApplyConfiguration) 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 (*ServiceAccountApplyConfiguration) 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 (*ServiceAccountApplyConfiguration) 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 (*ServiceAccountApplyConfiguration) 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 (*ServiceAccountApplyConfiguration) WithImagePullSecrets

WithImagePullSecrets adds the given value to the ImagePullSecrets 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 ImagePullSecrets field.

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

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*ServiceAccountApplyConfiguration) WithSecrets

WithSecrets adds the given value to the Secrets 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 Secrets field.

func (*ServiceAccountApplyConfiguration) 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 ServiceAccountTokenProjectionApplyConfiguration

type ServiceAccountTokenProjectionApplyConfiguration struct {
	Audience          *string `json:"audience,omitempty"`
	ExpirationSeconds *int64  `json:"expirationSeconds,omitempty"`
	Path              *string `json:"path,omitempty"`
}

ServiceAccountTokenProjectionApplyConfiguration represents an declarative configuration of the ServiceAccountTokenProjection type for use with apply.

func ServiceAccountTokenProjection

func ServiceAccountTokenProjection() *ServiceAccountTokenProjectionApplyConfiguration

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

func (*ServiceAccountTokenProjectionApplyConfiguration) WithAudience

WithAudience sets the Audience field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Audience field is set to the value of the last call.

func (*ServiceAccountTokenProjectionApplyConfiguration) WithExpirationSeconds

WithExpirationSeconds sets the ExpirationSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ExpirationSeconds field is set to the value of the last call.

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

type ServiceApplyConfiguration

type ServiceApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ServiceSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ServiceStatusApplyConfiguration `json:"status,omitempty"`
}

ServiceApplyConfiguration represents an declarative configuration of the Service type for use with apply.

func ExtractService

func ExtractService(service *apicorev1.Service, fieldManager string) (*ServiceApplyConfiguration, error)

ExtractService extracts the applied configuration owned by fieldManager from service. If no managedFields are found in service for fieldManager, a ServiceApplyConfiguration 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. service must be a unmodified Service API object that was retrieved from the Kubernetes API. ExtractService 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 ExtractServiceStatus

func ExtractServiceStatus(service *apicorev1.Service, fieldManager string) (*ServiceApplyConfiguration, error)

ExtractServiceStatus is the same as ExtractService except that it extracts the status subresource applied configuration. Experimental!

func Service

func Service(name, namespace string) *ServiceApplyConfiguration

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*ServiceApplyConfiguration) 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 (*ServiceApplyConfiguration) 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 (*ServiceApplyConfiguration) 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 ServicePortApplyConfiguration

type ServicePortApplyConfiguration struct {
	Name        *string             `json:"name,omitempty"`
	Protocol    *v1.Protocol        `json:"protocol,omitempty"`
	AppProtocol *string             `json:"appProtocol,omitempty"`
	Port        *int32              `json:"port,omitempty"`
	TargetPort  *intstr.IntOrString `json:"targetPort,omitempty"`
	NodePort    *int32              `json:"nodePort,omitempty"`
}

ServicePortApplyConfiguration represents an declarative configuration of the ServicePort type for use with apply.

func ServicePort

func ServicePort() *ServicePortApplyConfiguration

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

func (*ServicePortApplyConfiguration) WithAppProtocol

WithAppProtocol sets the AppProtocol field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AppProtocol field is set to the value of the last call.

func (*ServicePortApplyConfiguration) 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 (*ServicePortApplyConfiguration) WithNodePort

WithNodePort sets the NodePort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodePort field is set to the value of the last call.

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

func (*ServicePortApplyConfiguration) WithTargetPort

WithTargetPort sets the TargetPort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TargetPort field is set to the value of the last call.

type ServiceSpecApplyConfiguration

type ServiceSpecApplyConfiguration struct {
	Ports                         []ServicePortApplyConfiguration          `json:"ports,omitempty"`
	Selector                      map[string]string                        `json:"selector,omitempty"`
	ClusterIP                     *string                                  `json:"clusterIP,omitempty"`
	ClusterIPs                    []string                                 `json:"clusterIPs,omitempty"`
	Type                          *corev1.ServiceType                      `json:"type,omitempty"`
	ExternalIPs                   []string                                 `json:"externalIPs,omitempty"`
	SessionAffinity               *corev1.ServiceAffinity                  `json:"sessionAffinity,omitempty"`
	LoadBalancerIP                *string                                  `json:"loadBalancerIP,omitempty"`
	LoadBalancerSourceRanges      []string                                 `json:"loadBalancerSourceRanges,omitempty"`
	ExternalName                  *string                                  `json:"externalName,omitempty"`
	ExternalTrafficPolicy         *corev1.ServiceExternalTrafficPolicyType `json:"externalTrafficPolicy,omitempty"`
	HealthCheckNodePort           *int32                                   `json:"healthCheckNodePort,omitempty"`
	PublishNotReadyAddresses      *bool                                    `json:"publishNotReadyAddresses,omitempty"`
	SessionAffinityConfig         *SessionAffinityConfigApplyConfiguration `json:"sessionAffinityConfig,omitempty"`
	IPFamilies                    []corev1.IPFamily                        `json:"ipFamilies,omitempty"`
	IPFamilyPolicy                *corev1.IPFamilyPolicy                   `json:"ipFamilyPolicy,omitempty"`
	AllocateLoadBalancerNodePorts *bool                                    `json:"allocateLoadBalancerNodePorts,omitempty"`
	LoadBalancerClass             *string                                  `json:"loadBalancerClass,omitempty"`
	InternalTrafficPolicy         *corev1.ServiceInternalTrafficPolicyType `json:"internalTrafficPolicy,omitempty"`
}

ServiceSpecApplyConfiguration represents an declarative configuration of the ServiceSpec type for use with apply.

func ServiceSpec

func ServiceSpec() *ServiceSpecApplyConfiguration

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

func (*ServiceSpecApplyConfiguration) WithAllocateLoadBalancerNodePorts

func (b *ServiceSpecApplyConfiguration) WithAllocateLoadBalancerNodePorts(value bool) *ServiceSpecApplyConfiguration

WithAllocateLoadBalancerNodePorts sets the AllocateLoadBalancerNodePorts field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AllocateLoadBalancerNodePorts field is set to the value of the last call.

func (*ServiceSpecApplyConfiguration) WithClusterIP

WithClusterIP sets the ClusterIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClusterIP field is set to the value of the last call.

func (*ServiceSpecApplyConfiguration) WithClusterIPs

WithClusterIPs adds the given value to the ClusterIPs 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 ClusterIPs field.

func (*ServiceSpecApplyConfiguration) WithExternalIPs

WithExternalIPs adds the given value to the ExternalIPs 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 ExternalIPs field.

func (*ServiceSpecApplyConfiguration) WithExternalName

WithExternalName sets the ExternalName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ExternalName field is set to the value of the last call.

func (*ServiceSpecApplyConfiguration) WithExternalTrafficPolicy

WithExternalTrafficPolicy sets the ExternalTrafficPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ExternalTrafficPolicy field is set to the value of the last call.

func (*ServiceSpecApplyConfiguration) WithHealthCheckNodePort

func (b *ServiceSpecApplyConfiguration) WithHealthCheckNodePort(value int32) *ServiceSpecApplyConfiguration

WithHealthCheckNodePort sets the HealthCheckNodePort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HealthCheckNodePort field is set to the value of the last call.

func (*ServiceSpecApplyConfiguration) WithIPFamilies

WithIPFamilies adds the given value to the IPFamilies 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 IPFamilies field.

func (*ServiceSpecApplyConfiguration) WithIPFamilyPolicy

WithIPFamilyPolicy sets the IPFamilyPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPFamilyPolicy field is set to the value of the last call.

func (*ServiceSpecApplyConfiguration) WithInternalTrafficPolicy

WithInternalTrafficPolicy sets the InternalTrafficPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InternalTrafficPolicy field is set to the value of the last call.

func (*ServiceSpecApplyConfiguration) WithLoadBalancerClass

func (b *ServiceSpecApplyConfiguration) WithLoadBalancerClass(value string) *ServiceSpecApplyConfiguration

WithLoadBalancerClass sets the LoadBalancerClass field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LoadBalancerClass field is set to the value of the last call.

func (*ServiceSpecApplyConfiguration) WithLoadBalancerIP

WithLoadBalancerIP sets the LoadBalancerIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LoadBalancerIP field is set to the value of the last call.

func (*ServiceSpecApplyConfiguration) WithLoadBalancerSourceRanges

func (b *ServiceSpecApplyConfiguration) WithLoadBalancerSourceRanges(values ...string) *ServiceSpecApplyConfiguration

WithLoadBalancerSourceRanges adds the given value to the LoadBalancerSourceRanges 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 LoadBalancerSourceRanges field.

func (*ServiceSpecApplyConfiguration) 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 (*ServiceSpecApplyConfiguration) WithPublishNotReadyAddresses

func (b *ServiceSpecApplyConfiguration) WithPublishNotReadyAddresses(value bool) *ServiceSpecApplyConfiguration

WithPublishNotReadyAddresses sets the PublishNotReadyAddresses field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PublishNotReadyAddresses field is set to the value of the last call.

func (*ServiceSpecApplyConfiguration) WithSelector

WithSelector puts the entries into the Selector 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 Selector field, overwriting an existing map entries in Selector field with the same key.

func (*ServiceSpecApplyConfiguration) WithSessionAffinity

WithSessionAffinity sets the SessionAffinity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SessionAffinity field is set to the value of the last call.

func (*ServiceSpecApplyConfiguration) WithSessionAffinityConfig

WithSessionAffinityConfig sets the SessionAffinityConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SessionAffinityConfig field is set to the value of the last call.

func (*ServiceSpecApplyConfiguration) 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 ServiceStatusApplyConfiguration

type ServiceStatusApplyConfiguration struct {
	LoadBalancer *LoadBalancerStatusApplyConfiguration `json:"loadBalancer,omitempty"`
	Conditions   []metav1.ConditionApplyConfiguration  `json:"conditions,omitempty"`
}

ServiceStatusApplyConfiguration represents an declarative configuration of the ServiceStatus type for use with apply.

func ServiceStatus

func ServiceStatus() *ServiceStatusApplyConfiguration

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

func (*ServiceStatusApplyConfiguration) 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 (*ServiceStatusApplyConfiguration) 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 SessionAffinityConfigApplyConfiguration

type SessionAffinityConfigApplyConfiguration struct {
	ClientIP *ClientIPConfigApplyConfiguration `json:"clientIP,omitempty"`
}

SessionAffinityConfigApplyConfiguration represents an declarative configuration of the SessionAffinityConfig type for use with apply.

func SessionAffinityConfig

func SessionAffinityConfig() *SessionAffinityConfigApplyConfiguration

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

func (*SessionAffinityConfigApplyConfiguration) WithClientIP

WithClientIP sets the ClientIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClientIP field is set to the value of the last call.

type StorageOSPersistentVolumeSourceApplyConfiguration

type StorageOSPersistentVolumeSourceApplyConfiguration struct {
	VolumeName      *string                            `json:"volumeName,omitempty"`
	VolumeNamespace *string                            `json:"volumeNamespace,omitempty"`
	FSType          *string                            `json:"fsType,omitempty"`
	ReadOnly        *bool                              `json:"readOnly,omitempty"`
	SecretRef       *ObjectReferenceApplyConfiguration `json:"secretRef,omitempty"`
}

StorageOSPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the StorageOSPersistentVolumeSource type for use with apply.

func StorageOSPersistentVolumeSource

func StorageOSPersistentVolumeSource() *StorageOSPersistentVolumeSourceApplyConfiguration

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

func (*StorageOSPersistentVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

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

func (*StorageOSPersistentVolumeSourceApplyConfiguration) WithSecretRef

WithSecretRef sets the SecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretRef field is set to the value of the last call.

func (*StorageOSPersistentVolumeSourceApplyConfiguration) WithVolumeName

WithVolumeName sets the VolumeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeName field is set to the value of the last call.

func (*StorageOSPersistentVolumeSourceApplyConfiguration) WithVolumeNamespace

WithVolumeNamespace sets the VolumeNamespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeNamespace field is set to the value of the last call.

type StorageOSVolumeSourceApplyConfiguration

type StorageOSVolumeSourceApplyConfiguration struct {
	VolumeName      *string                                 `json:"volumeName,omitempty"`
	VolumeNamespace *string                                 `json:"volumeNamespace,omitempty"`
	FSType          *string                                 `json:"fsType,omitempty"`
	ReadOnly        *bool                                   `json:"readOnly,omitempty"`
	SecretRef       *LocalObjectReferenceApplyConfiguration `json:"secretRef,omitempty"`
}

StorageOSVolumeSourceApplyConfiguration represents an declarative configuration of the StorageOSVolumeSource type for use with apply.

func StorageOSVolumeSource

func StorageOSVolumeSource() *StorageOSVolumeSourceApplyConfiguration

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

func (*StorageOSVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

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

func (*StorageOSVolumeSourceApplyConfiguration) WithSecretRef

WithSecretRef sets the SecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretRef field is set to the value of the last call.

func (*StorageOSVolumeSourceApplyConfiguration) WithVolumeName

WithVolumeName sets the VolumeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeName field is set to the value of the last call.

func (*StorageOSVolumeSourceApplyConfiguration) WithVolumeNamespace

WithVolumeNamespace sets the VolumeNamespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeNamespace field is set to the value of the last call.

type SysctlApplyConfiguration

type SysctlApplyConfiguration struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

SysctlApplyConfiguration represents an declarative configuration of the Sysctl type for use with apply.

func Sysctl

func Sysctl() *SysctlApplyConfiguration

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

func (*SysctlApplyConfiguration) 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 (*SysctlApplyConfiguration) WithValue

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type TCPSocketActionApplyConfiguration

type TCPSocketActionApplyConfiguration struct {
	Port *intstr.IntOrString `json:"port,omitempty"`
	Host *string             `json:"host,omitempty"`
}

TCPSocketActionApplyConfiguration represents an declarative configuration of the TCPSocketAction type for use with apply.

func TCPSocketAction

func TCPSocketAction() *TCPSocketActionApplyConfiguration

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

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

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

type TaintApplyConfiguration

type TaintApplyConfiguration struct {
	Key       *string         `json:"key,omitempty"`
	Value     *string         `json:"value,omitempty"`
	Effect    *v1.TaintEffect `json:"effect,omitempty"`
	TimeAdded *metav1.Time    `json:"timeAdded,omitempty"`
}

TaintApplyConfiguration represents an declarative configuration of the Taint type for use with apply.

func Taint

func Taint() *TaintApplyConfiguration

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

func (*TaintApplyConfiguration) WithEffect

WithEffect sets the Effect field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Effect field is set to the value of the last call.

func (*TaintApplyConfiguration) WithKey

WithKey sets the Key field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Key field is set to the value of the last call.

func (*TaintApplyConfiguration) WithTimeAdded

WithTimeAdded sets the TimeAdded field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TimeAdded field is set to the value of the last call.

func (*TaintApplyConfiguration) WithValue

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type TolerationApplyConfiguration

type TolerationApplyConfiguration struct {
	Key               *string                `json:"key,omitempty"`
	Operator          *v1.TolerationOperator `json:"operator,omitempty"`
	Value             *string                `json:"value,omitempty"`
	Effect            *v1.TaintEffect        `json:"effect,omitempty"`
	TolerationSeconds *int64                 `json:"tolerationSeconds,omitempty"`
}

TolerationApplyConfiguration represents an declarative configuration of the Toleration type for use with apply.

func Toleration

func Toleration() *TolerationApplyConfiguration

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

func (*TolerationApplyConfiguration) WithEffect

WithEffect sets the Effect field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Effect field is set to the value of the last call.

func (*TolerationApplyConfiguration) WithKey

WithKey sets the Key field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Key field is set to the value of the last call.

func (*TolerationApplyConfiguration) WithOperator

WithOperator sets the Operator field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Operator field is set to the value of the last call.

func (*TolerationApplyConfiguration) WithTolerationSeconds

func (b *TolerationApplyConfiguration) WithTolerationSeconds(value int64) *TolerationApplyConfiguration

WithTolerationSeconds sets the TolerationSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TolerationSeconds field is set to the value of the last call.

func (*TolerationApplyConfiguration) WithValue

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type TopologySelectorLabelRequirementApplyConfiguration

type TopologySelectorLabelRequirementApplyConfiguration struct {
	Key    *string  `json:"key,omitempty"`
	Values []string `json:"values,omitempty"`
}

TopologySelectorLabelRequirementApplyConfiguration represents an declarative configuration of the TopologySelectorLabelRequirement type for use with apply.

func TopologySelectorLabelRequirement

func TopologySelectorLabelRequirement() *TopologySelectorLabelRequirementApplyConfiguration

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

func (*TopologySelectorLabelRequirementApplyConfiguration) WithKey

WithKey sets the Key field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Key field is set to the value of the last call.

func (*TopologySelectorLabelRequirementApplyConfiguration) WithValues

WithValues adds the given value to the Values 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 Values field.

type TopologySelectorTermApplyConfiguration

type TopologySelectorTermApplyConfiguration struct {
	MatchLabelExpressions []TopologySelectorLabelRequirementApplyConfiguration `json:"matchLabelExpressions,omitempty"`
}

TopologySelectorTermApplyConfiguration represents an declarative configuration of the TopologySelectorTerm type for use with apply.

func TopologySelectorTerm

func TopologySelectorTerm() *TopologySelectorTermApplyConfiguration

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

func (*TopologySelectorTermApplyConfiguration) WithMatchLabelExpressions

WithMatchLabelExpressions adds the given value to the MatchLabelExpressions 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 MatchLabelExpressions field.

type TopologySpreadConstraintApplyConfiguration

type TopologySpreadConstraintApplyConfiguration struct {
	MaxSkew            *int32                                  `json:"maxSkew,omitempty"`
	TopologyKey        *string                                 `json:"topologyKey,omitempty"`
	WhenUnsatisfiable  *v1.UnsatisfiableConstraintAction       `json:"whenUnsatisfiable,omitempty"`
	LabelSelector      *metav1.LabelSelectorApplyConfiguration `json:"labelSelector,omitempty"`
	MinDomains         *int32                                  `json:"minDomains,omitempty"`
	NodeAffinityPolicy *v1.NodeInclusionPolicy                 `json:"nodeAffinityPolicy,omitempty"`
	NodeTaintsPolicy   *v1.NodeInclusionPolicy                 `json:"nodeTaintsPolicy,omitempty"`
	MatchLabelKeys     []string                                `json:"matchLabelKeys,omitempty"`
}

TopologySpreadConstraintApplyConfiguration represents an declarative configuration of the TopologySpreadConstraint type for use with apply.

func TopologySpreadConstraint

func TopologySpreadConstraint() *TopologySpreadConstraintApplyConfiguration

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

func (*TopologySpreadConstraintApplyConfiguration) WithLabelSelector

WithLabelSelector sets the LabelSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LabelSelector field is set to the value of the last call.

func (*TopologySpreadConstraintApplyConfiguration) WithMatchLabelKeys

WithMatchLabelKeys adds the given value to the MatchLabelKeys 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 MatchLabelKeys field.

func (*TopologySpreadConstraintApplyConfiguration) WithMaxSkew

WithMaxSkew sets the MaxSkew field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxSkew field is set to the value of the last call.

func (*TopologySpreadConstraintApplyConfiguration) WithMinDomains

WithMinDomains sets the MinDomains field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinDomains field is set to the value of the last call.

func (*TopologySpreadConstraintApplyConfiguration) WithNodeAffinityPolicy

WithNodeAffinityPolicy sets the NodeAffinityPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeAffinityPolicy field is set to the value of the last call.

func (*TopologySpreadConstraintApplyConfiguration) WithNodeTaintsPolicy

WithNodeTaintsPolicy sets the NodeTaintsPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeTaintsPolicy field is set to the value of the last call.

func (*TopologySpreadConstraintApplyConfiguration) WithTopologyKey

WithTopologyKey sets the TopologyKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TopologyKey field is set to the value of the last call.

func (*TopologySpreadConstraintApplyConfiguration) WithWhenUnsatisfiable

WithWhenUnsatisfiable sets the WhenUnsatisfiable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WhenUnsatisfiable field is set to the value of the last call.

type TypedLocalObjectReferenceApplyConfiguration

type TypedLocalObjectReferenceApplyConfiguration struct {
	APIGroup *string `json:"apiGroup,omitempty"`
	Kind     *string `json:"kind,omitempty"`
	Name     *string `json:"name,omitempty"`
}

TypedLocalObjectReferenceApplyConfiguration represents an declarative configuration of the TypedLocalObjectReference type for use with apply.

func TypedLocalObjectReference

func TypedLocalObjectReference() *TypedLocalObjectReferenceApplyConfiguration

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

func (*TypedLocalObjectReferenceApplyConfiguration) WithAPIGroup

WithAPIGroup sets the APIGroup field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIGroup field is set to the value of the last call.

func (*TypedLocalObjectReferenceApplyConfiguration) 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 (*TypedLocalObjectReferenceApplyConfiguration) 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 TypedObjectReferenceApplyConfiguration

type TypedObjectReferenceApplyConfiguration struct {
	APIGroup  *string `json:"apiGroup,omitempty"`
	Kind      *string `json:"kind,omitempty"`
	Name      *string `json:"name,omitempty"`
	Namespace *string `json:"namespace,omitempty"`
}

TypedObjectReferenceApplyConfiguration represents an declarative configuration of the TypedObjectReference type for use with apply.

func TypedObjectReference

func TypedObjectReference() *TypedObjectReferenceApplyConfiguration

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

func (*TypedObjectReferenceApplyConfiguration) WithAPIGroup

WithAPIGroup sets the APIGroup field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIGroup field is set to the value of the last call.

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

type VolumeApplyConfiguration

type VolumeApplyConfiguration struct {
	Name                           *string `json:"name,omitempty"`
	VolumeSourceApplyConfiguration `json:",inline"`
}

VolumeApplyConfiguration represents an declarative configuration of the Volume type for use with apply.

func Volume

func Volume() *VolumeApplyConfiguration

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

func (*VolumeApplyConfiguration) WithAWSElasticBlockStore

WithAWSElasticBlockStore sets the AWSElasticBlockStore field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AWSElasticBlockStore field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithAzureDisk

WithAzureDisk sets the AzureDisk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AzureDisk field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithAzureFile

WithAzureFile sets the AzureFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AzureFile field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithCSI

WithCSI sets the CSI field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CSI field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithCephFS

WithCephFS sets the CephFS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CephFS field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithCinder

WithCinder sets the Cinder field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Cinder field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithConfigMap

WithConfigMap sets the ConfigMap field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfigMap field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithDownwardAPI

WithDownwardAPI sets the DownwardAPI field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DownwardAPI field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithEmptyDir

WithEmptyDir sets the EmptyDir field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EmptyDir field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithEphemeral

WithEphemeral sets the Ephemeral field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ephemeral field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithFC

WithFC sets the FC field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FC field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithFlexVolume

WithFlexVolume sets the FlexVolume field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FlexVolume field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithFlocker

WithFlocker sets the Flocker field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Flocker field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithGCEPersistentDisk

WithGCEPersistentDisk sets the GCEPersistentDisk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GCEPersistentDisk field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithGitRepo

WithGitRepo sets the GitRepo field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GitRepo field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithGlusterfs

WithGlusterfs sets the Glusterfs field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Glusterfs field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithHostPath

WithHostPath sets the HostPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HostPath field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithISCSI

WithISCSI sets the ISCSI field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ISCSI field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithNFS

WithNFS sets the NFS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NFS field is set to the value of the last call.

func (*VolumeApplyConfiguration) 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 (*VolumeApplyConfiguration) WithPersistentVolumeClaim

WithPersistentVolumeClaim sets the PersistentVolumeClaim field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PersistentVolumeClaim field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithPhotonPersistentDisk

WithPhotonPersistentDisk sets the PhotonPersistentDisk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PhotonPersistentDisk field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithPortworxVolume

WithPortworxVolume sets the PortworxVolume field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortworxVolume field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithProjected

WithProjected sets the Projected field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Projected field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithQuobyte

WithQuobyte sets the Quobyte field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Quobyte field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithRBD

WithRBD sets the RBD field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RBD field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithScaleIO

WithScaleIO sets the ScaleIO field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ScaleIO field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithSecret

WithSecret sets the Secret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Secret field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithStorageOS

WithStorageOS sets the StorageOS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StorageOS field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithVsphereVolume

WithVsphereVolume sets the VsphereVolume field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VsphereVolume field is set to the value of the last call.

type VolumeDeviceApplyConfiguration

type VolumeDeviceApplyConfiguration struct {
	Name       *string `json:"name,omitempty"`
	DevicePath *string `json:"devicePath,omitempty"`
}

VolumeDeviceApplyConfiguration represents an declarative configuration of the VolumeDevice type for use with apply.

func VolumeDevice

func VolumeDevice() *VolumeDeviceApplyConfiguration

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

func (*VolumeDeviceApplyConfiguration) WithDevicePath

WithDevicePath sets the DevicePath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DevicePath field is set to the value of the last call.

func (*VolumeDeviceApplyConfiguration) 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 VolumeMountApplyConfiguration

type VolumeMountApplyConfiguration struct {
	Name             *string                  `json:"name,omitempty"`
	ReadOnly         *bool                    `json:"readOnly,omitempty"`
	MountPath        *string                  `json:"mountPath,omitempty"`
	SubPath          *string                  `json:"subPath,omitempty"`
	MountPropagation *v1.MountPropagationMode `json:"mountPropagation,omitempty"`
	SubPathExpr      *string                  `json:"subPathExpr,omitempty"`
}

VolumeMountApplyConfiguration represents an declarative configuration of the VolumeMount type for use with apply.

func VolumeMount

func VolumeMount() *VolumeMountApplyConfiguration

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

func (*VolumeMountApplyConfiguration) WithMountPath

WithMountPath sets the MountPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MountPath field is set to the value of the last call.

func (*VolumeMountApplyConfiguration) WithMountPropagation

WithMountPropagation sets the MountPropagation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MountPropagation field is set to the value of the last call.

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

func (*VolumeMountApplyConfiguration) WithSubPath

WithSubPath sets the SubPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SubPath field is set to the value of the last call.

func (*VolumeMountApplyConfiguration) WithSubPathExpr

WithSubPathExpr sets the SubPathExpr field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SubPathExpr field is set to the value of the last call.

type VolumeNodeAffinityApplyConfiguration

type VolumeNodeAffinityApplyConfiguration struct {
	Required *NodeSelectorApplyConfiguration `json:"required,omitempty"`
}

VolumeNodeAffinityApplyConfiguration represents an declarative configuration of the VolumeNodeAffinity type for use with apply.

func VolumeNodeAffinity

func VolumeNodeAffinity() *VolumeNodeAffinityApplyConfiguration

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

func (*VolumeNodeAffinityApplyConfiguration) WithRequired

WithRequired sets the Required field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Required field is set to the value of the last call.

type VolumeProjectionApplyConfiguration

type VolumeProjectionApplyConfiguration struct {
	Secret              *SecretProjectionApplyConfiguration              `json:"secret,omitempty"`
	DownwardAPI         *DownwardAPIProjectionApplyConfiguration         `json:"downwardAPI,omitempty"`
	ConfigMap           *ConfigMapProjectionApplyConfiguration           `json:"configMap,omitempty"`
	ServiceAccountToken *ServiceAccountTokenProjectionApplyConfiguration `json:"serviceAccountToken,omitempty"`
}

VolumeProjectionApplyConfiguration represents an declarative configuration of the VolumeProjection type for use with apply.

func VolumeProjection

func VolumeProjection() *VolumeProjectionApplyConfiguration

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

func (*VolumeProjectionApplyConfiguration) WithConfigMap

WithConfigMap sets the ConfigMap field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfigMap field is set to the value of the last call.

func (*VolumeProjectionApplyConfiguration) WithDownwardAPI

WithDownwardAPI sets the DownwardAPI field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DownwardAPI field is set to the value of the last call.

func (*VolumeProjectionApplyConfiguration) WithSecret

WithSecret sets the Secret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Secret field is set to the value of the last call.

func (*VolumeProjectionApplyConfiguration) WithServiceAccountToken

WithServiceAccountToken sets the ServiceAccountToken field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceAccountToken field is set to the value of the last call.

type VolumeSourceApplyConfiguration

type VolumeSourceApplyConfiguration struct {
	HostPath              *HostPathVolumeSourceApplyConfiguration              `json:"hostPath,omitempty"`
	EmptyDir              *EmptyDirVolumeSourceApplyConfiguration              `json:"emptyDir,omitempty"`
	GCEPersistentDisk     *GCEPersistentDiskVolumeSourceApplyConfiguration     `json:"gcePersistentDisk,omitempty"`
	AWSElasticBlockStore  *AWSElasticBlockStoreVolumeSourceApplyConfiguration  `json:"awsElasticBlockStore,omitempty"`
	GitRepo               *GitRepoVolumeSourceApplyConfiguration               `json:"gitRepo,omitempty"`
	Secret                *SecretVolumeSourceApplyConfiguration                `json:"secret,omitempty"`
	NFS                   *NFSVolumeSourceApplyConfiguration                   `json:"nfs,omitempty"`
	ISCSI                 *ISCSIVolumeSourceApplyConfiguration                 `json:"iscsi,omitempty"`
	Glusterfs             *GlusterfsVolumeSourceApplyConfiguration             `json:"glusterfs,omitempty"`
	PersistentVolumeClaim *PersistentVolumeClaimVolumeSourceApplyConfiguration `json:"persistentVolumeClaim,omitempty"`
	RBD                   *RBDVolumeSourceApplyConfiguration                   `json:"rbd,omitempty"`
	FlexVolume            *FlexVolumeSourceApplyConfiguration                  `json:"flexVolume,omitempty"`
	Cinder                *CinderVolumeSourceApplyConfiguration                `json:"cinder,omitempty"`
	CephFS                *CephFSVolumeSourceApplyConfiguration                `json:"cephfs,omitempty"`
	Flocker               *FlockerVolumeSourceApplyConfiguration               `json:"flocker,omitempty"`
	DownwardAPI           *DownwardAPIVolumeSourceApplyConfiguration           `json:"downwardAPI,omitempty"`
	FC                    *FCVolumeSourceApplyConfiguration                    `json:"fc,omitempty"`
	AzureFile             *AzureFileVolumeSourceApplyConfiguration             `json:"azureFile,omitempty"`
	ConfigMap             *ConfigMapVolumeSourceApplyConfiguration             `json:"configMap,omitempty"`
	VsphereVolume         *VsphereVirtualDiskVolumeSourceApplyConfiguration    `json:"vsphereVolume,omitempty"`
	Quobyte               *QuobyteVolumeSourceApplyConfiguration               `json:"quobyte,omitempty"`
	AzureDisk             *AzureDiskVolumeSourceApplyConfiguration             `json:"azureDisk,omitempty"`
	PhotonPersistentDisk  *PhotonPersistentDiskVolumeSourceApplyConfiguration  `json:"photonPersistentDisk,omitempty"`
	Projected             *ProjectedVolumeSourceApplyConfiguration             `json:"projected,omitempty"`
	PortworxVolume        *PortworxVolumeSourceApplyConfiguration              `json:"portworxVolume,omitempty"`
	ScaleIO               *ScaleIOVolumeSourceApplyConfiguration               `json:"scaleIO,omitempty"`
	StorageOS             *StorageOSVolumeSourceApplyConfiguration             `json:"storageos,omitempty"`
	CSI                   *CSIVolumeSourceApplyConfiguration                   `json:"csi,omitempty"`
	Ephemeral             *EphemeralVolumeSourceApplyConfiguration             `json:"ephemeral,omitempty"`
}

VolumeSourceApplyConfiguration represents an declarative configuration of the VolumeSource type for use with apply.

func VolumeSource

func VolumeSource() *VolumeSourceApplyConfiguration

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

func (*VolumeSourceApplyConfiguration) WithAWSElasticBlockStore

WithAWSElasticBlockStore sets the AWSElasticBlockStore field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AWSElasticBlockStore field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithAzureDisk

WithAzureDisk sets the AzureDisk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AzureDisk field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithAzureFile

WithAzureFile sets the AzureFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AzureFile field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithCSI

WithCSI sets the CSI field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CSI field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithCephFS

WithCephFS sets the CephFS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CephFS field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithCinder

WithCinder sets the Cinder field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Cinder field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithConfigMap

WithConfigMap sets the ConfigMap field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfigMap field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithDownwardAPI

WithDownwardAPI sets the DownwardAPI field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DownwardAPI field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithEmptyDir

WithEmptyDir sets the EmptyDir field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EmptyDir field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithEphemeral

WithEphemeral sets the Ephemeral field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ephemeral field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithFC

WithFC sets the FC field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FC field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithFlexVolume

WithFlexVolume sets the FlexVolume field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FlexVolume field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithFlocker

WithFlocker sets the Flocker field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Flocker field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithGCEPersistentDisk

WithGCEPersistentDisk sets the GCEPersistentDisk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GCEPersistentDisk field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithGitRepo

WithGitRepo sets the GitRepo field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GitRepo field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithGlusterfs

WithGlusterfs sets the Glusterfs field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Glusterfs field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithHostPath

WithHostPath sets the HostPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HostPath field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithISCSI

WithISCSI sets the ISCSI field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ISCSI field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithNFS

WithNFS sets the NFS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NFS field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithPersistentVolumeClaim

WithPersistentVolumeClaim sets the PersistentVolumeClaim field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PersistentVolumeClaim field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithPhotonPersistentDisk

WithPhotonPersistentDisk sets the PhotonPersistentDisk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PhotonPersistentDisk field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithPortworxVolume

WithPortworxVolume sets the PortworxVolume field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortworxVolume field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithProjected

WithProjected sets the Projected field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Projected field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithQuobyte

WithQuobyte sets the Quobyte field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Quobyte field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithRBD

WithRBD sets the RBD field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RBD field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithScaleIO

WithScaleIO sets the ScaleIO field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ScaleIO field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithSecret

WithSecret sets the Secret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Secret field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithStorageOS

WithStorageOS sets the StorageOS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StorageOS field is set to the value of the last call.

func (*VolumeSourceApplyConfiguration) WithVsphereVolume

WithVsphereVolume sets the VsphereVolume field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VsphereVolume field is set to the value of the last call.

type VsphereVirtualDiskVolumeSourceApplyConfiguration

type VsphereVirtualDiskVolumeSourceApplyConfiguration struct {
	VolumePath        *string `json:"volumePath,omitempty"`
	FSType            *string `json:"fsType,omitempty"`
	StoragePolicyName *string `json:"storagePolicyName,omitempty"`
	StoragePolicyID   *string `json:"storagePolicyID,omitempty"`
}

VsphereVirtualDiskVolumeSourceApplyConfiguration represents an declarative configuration of the VsphereVirtualDiskVolumeSource type for use with apply.

func VsphereVirtualDiskVolumeSource

func VsphereVirtualDiskVolumeSource() *VsphereVirtualDiskVolumeSourceApplyConfiguration

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

func (*VsphereVirtualDiskVolumeSourceApplyConfiguration) WithFSType

WithFSType sets the FSType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSType field is set to the value of the last call.

func (*VsphereVirtualDiskVolumeSourceApplyConfiguration) WithStoragePolicyID

WithStoragePolicyID sets the StoragePolicyID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StoragePolicyID field is set to the value of the last call.

func (*VsphereVirtualDiskVolumeSourceApplyConfiguration) WithStoragePolicyName

WithStoragePolicyName sets the StoragePolicyName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StoragePolicyName field is set to the value of the last call.

func (*VsphereVirtualDiskVolumeSourceApplyConfiguration) WithVolumePath

WithVolumePath sets the VolumePath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumePath field is set to the value of the last call.

type WeightedPodAffinityTermApplyConfiguration

type WeightedPodAffinityTermApplyConfiguration struct {
	Weight          *int32                             `json:"weight,omitempty"`
	PodAffinityTerm *PodAffinityTermApplyConfiguration `json:"podAffinityTerm,omitempty"`
}

WeightedPodAffinityTermApplyConfiguration represents an declarative configuration of the WeightedPodAffinityTerm type for use with apply.

func WeightedPodAffinityTerm

func WeightedPodAffinityTerm() *WeightedPodAffinityTermApplyConfiguration

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

func (*WeightedPodAffinityTermApplyConfiguration) WithPodAffinityTerm

WithPodAffinityTerm sets the PodAffinityTerm field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodAffinityTerm field is set to the value of the last call.

func (*WeightedPodAffinityTermApplyConfiguration) WithWeight

WithWeight sets the Weight field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Weight field is set to the value of the last call.

type WindowsSecurityContextOptionsApplyConfiguration

type WindowsSecurityContextOptionsApplyConfiguration struct {
	GMSACredentialSpecName *string `json:"gmsaCredentialSpecName,omitempty"`
	GMSACredentialSpec     *string `json:"gmsaCredentialSpec,omitempty"`
	RunAsUserName          *string `json:"runAsUserName,omitempty"`
	HostProcess            *bool   `json:"hostProcess,omitempty"`
}

WindowsSecurityContextOptionsApplyConfiguration represents an declarative configuration of the WindowsSecurityContextOptions type for use with apply.

func WindowsSecurityContextOptions

func WindowsSecurityContextOptions() *WindowsSecurityContextOptionsApplyConfiguration

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

func (*WindowsSecurityContextOptionsApplyConfiguration) WithGMSACredentialSpec

WithGMSACredentialSpec sets the GMSACredentialSpec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GMSACredentialSpec field is set to the value of the last call.

func (*WindowsSecurityContextOptionsApplyConfiguration) WithGMSACredentialSpecName

WithGMSACredentialSpecName sets the GMSACredentialSpecName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GMSACredentialSpecName field is set to the value of the last call.

func (*WindowsSecurityContextOptionsApplyConfiguration) WithHostProcess

WithHostProcess sets the HostProcess field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HostProcess field is set to the value of the last call.

func (*WindowsSecurityContextOptionsApplyConfiguration) WithRunAsUserName

WithRunAsUserName sets the RunAsUserName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RunAsUserName field is set to the value of the last call.

Source Files

Jump to

Keyboard shortcuts

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