v1

package
Version: v0.24.0 Latest Latest
Warning

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

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

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"`
}

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) 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 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 added in v0.22.0

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

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" fu