Documentation ¶
Index ¶
- type AWSElasticBlockStoreVolumeSourceApplyConfiguration
- func (b *AWSElasticBlockStoreVolumeSourceApplyConfiguration) WithFSType(value string) *AWSElasticBlockStoreVolumeSourceApplyConfiguration
- func (b *AWSElasticBlockStoreVolumeSourceApplyConfiguration) WithPartition(value int32) *AWSElasticBlockStoreVolumeSourceApplyConfiguration
- func (b *AWSElasticBlockStoreVolumeSourceApplyConfiguration) WithReadOnly(value bool) *AWSElasticBlockStoreVolumeSourceApplyConfiguration
- func (b *AWSElasticBlockStoreVolumeSourceApplyConfiguration) WithVolumeID(value string) *AWSElasticBlockStoreVolumeSourceApplyConfiguration
- type AffinityApplyConfiguration
- func (b *AffinityApplyConfiguration) WithNodeAffinity(value *NodeAffinityApplyConfiguration) *AffinityApplyConfiguration
- func (b *AffinityApplyConfiguration) WithPodAffinity(value *PodAffinityApplyConfiguration) *AffinityApplyConfiguration
- func (b *AffinityApplyConfiguration) WithPodAntiAffinity(value *PodAntiAffinityApplyConfiguration) *AffinityApplyConfiguration
- type AppArmorProfileApplyConfiguration
- type AttachedVolumeApplyConfiguration
- type AzureDiskVolumeSourceApplyConfiguration
- func (b *AzureDiskVolumeSourceApplyConfiguration) WithCachingMode(value v1.AzureDataDiskCachingMode) *AzureDiskVolumeSourceApplyConfiguration
- func (b *AzureDiskVolumeSourceApplyConfiguration) WithDataDiskURI(value string) *AzureDiskVolumeSourceApplyConfiguration
- func (b *AzureDiskVolumeSourceApplyConfiguration) WithDiskName(value string) *AzureDiskVolumeSourceApplyConfiguration
- func (b *AzureDiskVolumeSourceApplyConfiguration) WithFSType(value string) *AzureDiskVolumeSourceApplyConfiguration
- func (b *AzureDiskVolumeSourceApplyConfiguration) WithKind(value v1.AzureDataDiskKind) *AzureDiskVolumeSourceApplyConfiguration
- func (b *AzureDiskVolumeSourceApplyConfiguration) WithReadOnly(value bool) *AzureDiskVolumeSourceApplyConfiguration
- type AzureFilePersistentVolumeSourceApplyConfiguration
- func (b *AzureFilePersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *AzureFilePersistentVolumeSourceApplyConfiguration
- func (b *AzureFilePersistentVolumeSourceApplyConfiguration) WithSecretName(value string) *AzureFilePersistentVolumeSourceApplyConfiguration
- func (b *AzureFilePersistentVolumeSourceApplyConfiguration) WithSecretNamespace(value string) *AzureFilePersistentVolumeSourceApplyConfiguration
- func (b *AzureFilePersistentVolumeSourceApplyConfiguration) WithShareName(value string) *AzureFilePersistentVolumeSourceApplyConfiguration
- type AzureFileVolumeSourceApplyConfiguration
- func (b *AzureFileVolumeSourceApplyConfiguration) WithReadOnly(value bool) *AzureFileVolumeSourceApplyConfiguration
- func (b *AzureFileVolumeSourceApplyConfiguration) WithSecretName(value string) *AzureFileVolumeSourceApplyConfiguration
- func (b *AzureFileVolumeSourceApplyConfiguration) WithShareName(value string) *AzureFileVolumeSourceApplyConfiguration
- type CSIPersistentVolumeSourceApplyConfiguration
- func (b *CSIPersistentVolumeSourceApplyConfiguration) WithControllerExpandSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration
- func (b *CSIPersistentVolumeSourceApplyConfiguration) WithControllerPublishSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration
- func (b *CSIPersistentVolumeSourceApplyConfiguration) WithDriver(value string) *CSIPersistentVolumeSourceApplyConfiguration
- func (b *CSIPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *CSIPersistentVolumeSourceApplyConfiguration
- func (b *CSIPersistentVolumeSourceApplyConfiguration) WithNodeExpandSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration
- func (b *CSIPersistentVolumeSourceApplyConfiguration) WithNodePublishSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration
- func (b *CSIPersistentVolumeSourceApplyConfiguration) WithNodeStageSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration
- func (b *CSIPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CSIPersistentVolumeSourceApplyConfiguration
- func (b *CSIPersistentVolumeSourceApplyConfiguration) WithVolumeAttributes(entries map[string]string) *CSIPersistentVolumeSourceApplyConfiguration
- func (b *CSIPersistentVolumeSourceApplyConfiguration) WithVolumeHandle(value string) *CSIPersistentVolumeSourceApplyConfiguration
- type CSIVolumeSourceApplyConfiguration
- func (b *CSIVolumeSourceApplyConfiguration) WithDriver(value string) *CSIVolumeSourceApplyConfiguration
- func (b *CSIVolumeSourceApplyConfiguration) WithFSType(value string) *CSIVolumeSourceApplyConfiguration
- func (b *CSIVolumeSourceApplyConfiguration) WithNodePublishSecretRef(value *LocalObjectReferenceApplyConfiguration) *CSIVolumeSourceApplyConfiguration
- func (b *CSIVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CSIVolumeSourceApplyConfiguration
- func (b *CSIVolumeSourceApplyConfiguration) WithVolumeAttributes(entries map[string]string) *CSIVolumeSourceApplyConfiguration
- type CapabilitiesApplyConfiguration
- type CephFSPersistentVolumeSourceApplyConfiguration
- func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithMonitors(values ...string) *CephFSPersistentVolumeSourceApplyConfiguration
- func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithPath(value string) *CephFSPersistentVolumeSourceApplyConfiguration
- func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CephFSPersistentVolumeSourceApplyConfiguration
- func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithSecretFile(value string) *CephFSPersistentVolumeSourceApplyConfiguration
- func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *CephFSPersistentVolumeSourceApplyConfiguration
- func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithUser(value string) *CephFSPersistentVolumeSourceApplyConfiguration
- type CephFSVolumeSourceApplyConfiguration
- func (b *CephFSVolumeSourceApplyConfiguration) WithMonitors(values ...string) *CephFSVolumeSourceApplyConfiguration
- func (b *CephFSVolumeSourceApplyConfiguration) WithPath(value string) *CephFSVolumeSourceApplyConfiguration
- func (b *CephFSVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CephFSVolumeSourceApplyConfiguration
- func (b *CephFSVolumeSourceApplyConfiguration) WithSecretFile(value string) *CephFSVolumeSourceApplyConfiguration
- func (b *CephFSVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *CephFSVolumeSourceApplyConfiguration
- func (b *CephFSVolumeSourceApplyConfiguration) WithUser(value string) *CephFSVolumeSourceApplyConfiguration
- type CinderPersistentVolumeSourceApplyConfiguration
- func (b *CinderPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *CinderPersistentVolumeSourceApplyConfiguration
- func (b *CinderPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CinderPersistentVolumeSourceApplyConfiguration
- func (b *CinderPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *CinderPersistentVolumeSourceApplyConfiguration
- func (b *CinderPersistentVolumeSourceApplyConfiguration) WithVolumeID(value string) *CinderPersistentVolumeSourceApplyConfiguration
- type CinderVolumeSourceApplyConfiguration
- func (b *CinderVolumeSourceApplyConfiguration) WithFSType(value string) *CinderVolumeSourceApplyConfiguration
- func (b *CinderVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CinderVolumeSourceApplyConfiguration
- func (b *CinderVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *CinderVolumeSourceApplyConfiguration
- func (b *CinderVolumeSourceApplyConfiguration) WithVolumeID(value string) *CinderVolumeSourceApplyConfiguration
- type ClaimSourceApplyConfiguration
- type ClientIPConfigApplyConfiguration
- type ClusterTrustBundleProjectionApplyConfiguration
- func (b *ClusterTrustBundleProjectionApplyConfiguration) WithLabelSelector(value *v1.LabelSelectorApplyConfiguration) *ClusterTrustBundleProjectionApplyConfiguration
- func (b *ClusterTrustBundleProjectionApplyConfiguration) WithName(value string) *ClusterTrustBundleProjectionApplyConfiguration
- func (b *ClusterTrustBundleProjectionApplyConfiguration) WithOptional(value bool) *ClusterTrustBundleProjectionApplyConfiguration
- func (b *ClusterTrustBundleProjectionApplyConfiguration) WithPath(value string) *ClusterTrustBundleProjectionApplyConfiguration
- func (b *ClusterTrustBundleProjectionApplyConfiguration) WithSignerName(value string) *ClusterTrustBundleProjectionApplyConfiguration
- type ComponentConditionApplyConfiguration
- func (b *ComponentConditionApplyConfiguration) WithError(value string) *ComponentConditionApplyConfiguration
- func (b *ComponentConditionApplyConfiguration) WithMessage(value string) *ComponentConditionApplyConfiguration
- func (b *ComponentConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *ComponentConditionApplyConfiguration
- func (b *ComponentConditionApplyConfiguration) WithType(value v1.ComponentConditionType) *ComponentConditionApplyConfiguration
- type ComponentStatusApplyConfiguration
- func ComponentStatus(name string) *ComponentStatusApplyConfiguration
- func ExtractComponentStatus(componentStatus *apicorev1.ComponentStatus, fieldManager string) (*ComponentStatusApplyConfiguration, error)
- func ExtractComponentStatusStatus(componentStatus *apicorev1.ComponentStatus, fieldManager string) (*ComponentStatusApplyConfiguration, error)
- func (b *ComponentStatusApplyConfiguration) WithAPIVersion(value string) *ComponentStatusApplyConfiguration
- func (b *ComponentStatusApplyConfiguration) WithAnnotations(entries map[string]string) *ComponentStatusApplyConfiguration
- func (b *ComponentStatusApplyConfiguration) WithConditions(values ...*ComponentConditionApplyConfiguration) *ComponentStatusApplyConfiguration
- func (b *ComponentStatusApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ComponentStatusApplyConfiguration
- func (b *ComponentStatusApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ComponentStatusApplyConfiguration
- func (b *ComponentStatusApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ComponentStatusApplyConfiguration
- func (b *ComponentStatusApplyConfiguration) WithFinalizers(values ...string) *ComponentStatusApplyConfiguration
- func (b *ComponentStatusApplyConfiguration) WithGenerateName(value string) *ComponentStatusApplyConfiguration
- func (b *ComponentStatusApplyConfiguration) WithGeneration(value int64) *ComponentStatusApplyConfiguration
- func (b *ComponentStatusApplyConfiguration) WithKind(value string) *ComponentStatusApplyConfiguration
- func (b *ComponentStatusApplyConfiguration) WithLabels(entries map[string]string) *ComponentStatusApplyConfiguration
- func (b *ComponentStatusApplyConfiguration) WithName(value string) *ComponentStatusApplyConfiguration
- func (b *ComponentStatusApplyConfiguration) WithNamespace(value string) *ComponentStatusApplyConfiguration
- func (b *ComponentStatusApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ComponentStatusApplyConfiguration
- func (b *ComponentStatusApplyConfiguration) WithResourceVersion(value string) *ComponentStatusApplyConfiguration
- func (b *ComponentStatusApplyConfiguration) WithUID(value types.UID) *ComponentStatusApplyConfiguration
- type ConfigMapApplyConfiguration
- func (b *ConfigMapApplyConfiguration) WithAPIVersion(value string) *ConfigMapApplyConfiguration
- func (b *ConfigMapApplyConfiguration) WithAnnotations(entries map[string]string) *ConfigMapApplyConfiguration
- func (b *ConfigMapApplyConfiguration) WithBinaryData(entries map[string][]byte) *ConfigMapApplyConfiguration
- func (b *ConfigMapApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ConfigMapApplyConfiguration
- func (b *ConfigMapApplyConfiguration) WithData(entries map[string]string) *ConfigMapApplyConfiguration
- func (b *ConfigMapApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ConfigMapApplyConfiguration
- func (b *ConfigMapApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ConfigMapApplyConfiguration
- func (b *ConfigMapApplyConfiguration) WithFinalizers(values ...string) *ConfigMapApplyConfiguration
- func (b *ConfigMapApplyConfiguration) WithGenerateName(value string) *ConfigMapApplyConfiguration
- func (b *ConfigMapApplyConfiguration) WithGeneration(value int64) *ConfigMapApplyConfiguration
- func (b *ConfigMapApplyConfiguration) WithImmutable(value bool) *ConfigMapApplyConfiguration
- func (b *ConfigMapApplyConfiguration) WithKind(value string) *ConfigMapApplyConfiguration
- func (b *ConfigMapApplyConfiguration) WithLabels(entries map[string]string) *ConfigMapApplyConfiguration
- func (b *ConfigMapApplyConfiguration) WithName(value string) *ConfigMapApplyConfiguration
- func (b *ConfigMapApplyConfiguration) WithNamespace(value string) *ConfigMapApplyConfiguration
- func (b *ConfigMapApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ConfigMapApplyConfiguration
- func (b *ConfigMapApplyConfiguration) WithResourceVersion(value string) *ConfigMapApplyConfiguration
- func (b *ConfigMapApplyConfiguration) WithUID(value types.UID) *ConfigMapApplyConfiguration
- type ConfigMapEnvSourceApplyConfiguration
- type ConfigMapKeySelectorApplyConfiguration
- func (b *ConfigMapKeySelectorApplyConfiguration) WithKey(value string) *ConfigMapKeySelectorApplyConfiguration
- func (b *ConfigMapKeySelectorApplyConfiguration) WithName(value string) *ConfigMapKeySelectorApplyConfiguration
- func (b *ConfigMapKeySelectorApplyConfiguration) WithOptional(value bool) *ConfigMapKeySelectorApplyConfiguration
- type ConfigMapNodeConfigSourceApplyConfiguration
- func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithKubeletConfigKey(value string) *ConfigMapNodeConfigSourceApplyConfiguration
- func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithName(value string) *ConfigMapNodeConfigSourceApplyConfiguration
- func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithNamespace(value string) *ConfigMapNodeConfigSourceApplyConfiguration
- func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithResourceVersion(value string) *ConfigMapNodeConfigSourceApplyConfiguration
- func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithUID(value types.UID) *ConfigMapNodeConfigSourceApplyConfiguration
- type ConfigMapProjectionApplyConfiguration
- func (b *ConfigMapProjectionApplyConfiguration) WithItems(values ...*KeyToPathApplyConfiguration) *ConfigMapProjectionApplyConfiguration
- func (b *ConfigMapProjectionApplyConfiguration) WithName(value string) *ConfigMapProjectionApplyConfiguration
- func (b *ConfigMapProjectionApplyConfiguration) WithOptional(value bool) *ConfigMapProjectionApplyConfiguration
- type ConfigMapVolumeSourceApplyConfiguration
- func (b *ConfigMapVolumeSourceApplyConfiguration) WithDefaultMode(value int32) *ConfigMapVolumeSourceApplyConfiguration
- func (b *ConfigMapVolumeSourceApplyConfiguration) WithItems(values ...*KeyToPathApplyConfiguration) *ConfigMapVolumeSourceApplyConfiguration
- func (b *ConfigMapVolumeSourceApplyConfiguration) WithName(value string) *ConfigMapVolumeSourceApplyConfiguration
- func (b *ConfigMapVolumeSourceApplyConfiguration) WithOptional(value bool) *ConfigMapVolumeSourceApplyConfiguration
- type ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithArgs(values ...string) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithCommand(values ...string) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithEnv(values ...*EnvVarApplyConfiguration) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithEnvFrom(values ...*EnvFromSourceApplyConfiguration) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithImage(value string) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithLifecycle(value *LifecycleApplyConfiguration) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithLivenessProbe(value *ProbeApplyConfiguration) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithName(value string) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithPorts(values ...*ContainerPortApplyConfiguration) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithReadinessProbe(value *ProbeApplyConfiguration) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithResizePolicy(values ...*ContainerResizePolicyApplyConfiguration) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithResources(value *ResourceRequirementsApplyConfiguration) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithRestartPolicy(value corev1.ContainerRestartPolicy) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithSecurityContext(value *SecurityContextApplyConfiguration) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithStartupProbe(value *ProbeApplyConfiguration) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithStdin(value bool) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithStdinOnce(value bool) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithTTY(value bool) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithTerminationMessagePath(value string) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithTerminationMessagePolicy(value corev1.TerminationMessagePolicy) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithVolumeDevices(values ...*VolumeDeviceApplyConfiguration) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithVolumeMounts(values ...*VolumeMountApplyConfiguration) *ContainerApplyConfiguration
- func (b *ContainerApplyConfiguration) WithWorkingDir(value string) *ContainerApplyConfiguration
- type ContainerImageApplyConfiguration
- type ContainerPortApplyConfiguration
- func (b *ContainerPortApplyConfiguration) WithContainerPort(value int32) *ContainerPortApplyConfiguration
- func (b *ContainerPortApplyConfiguration) WithHostIP(value string) *ContainerPortApplyConfiguration
- func (b *ContainerPortApplyConfiguration) WithHostPort(value int32) *ContainerPortApplyConfiguration
- func (b *ContainerPortApplyConfiguration) WithName(value string) *ContainerPortApplyConfiguration
- func (b *ContainerPortApplyConfiguration) WithProtocol(value v1.Protocol) *ContainerPortApplyConfiguration
- type ContainerResizePolicyApplyConfiguration
- type ContainerStateApplyConfiguration
- func (b *ContainerStateApplyConfiguration) WithRunning(value *ContainerStateRunningApplyConfiguration) *ContainerStateApplyConfiguration
- func (b *ContainerStateApplyConfiguration) WithTerminated(value *ContainerStateTerminatedApplyConfiguration) *ContainerStateApplyConfiguration
- func (b *ContainerStateApplyConfiguration) WithWaiting(value *ContainerStateWaitingApplyConfiguration) *ContainerStateApplyConfiguration
- type ContainerStateRunningApplyConfiguration
- type ContainerStateTerminatedApplyConfiguration
- func (b *ContainerStateTerminatedApplyConfiguration) WithContainerID(value string) *ContainerStateTerminatedApplyConfiguration
- func (b *ContainerStateTerminatedApplyConfiguration) WithExitCode(value int32) *ContainerStateTerminatedApplyConfiguration
- func (b *ContainerStateTerminatedApplyConfiguration) WithFinishedAt(value v1.Time) *ContainerStateTerminatedApplyConfiguration
- func (b *ContainerStateTerminatedApplyConfiguration) WithMessage(value string) *ContainerStateTerminatedApplyConfiguration
- func (b *ContainerStateTerminatedApplyConfiguration) WithReason(value string) *ContainerStateTerminatedApplyConfiguration
- func (b *ContainerStateTerminatedApplyConfiguration) WithSignal(value int32) *ContainerStateTerminatedApplyConfiguration
- func (b *ContainerStateTerminatedApplyConfiguration) WithStartedAt(value v1.Time) *ContainerStateTerminatedApplyConfiguration
- type ContainerStateWaitingApplyConfiguration
- type ContainerStatusApplyConfiguration
- func (b *ContainerStatusApplyConfiguration) WithAllocatedResources(value corev1.ResourceList) *ContainerStatusApplyConfiguration
- func (b *ContainerStatusApplyConfiguration) WithContainerID(value string) *ContainerStatusApplyConfiguration
- func (b *ContainerStatusApplyConfiguration) WithImage(value string) *ContainerStatusApplyConfiguration
- func (b *ContainerStatusApplyConfiguration) WithImageID(value string) *ContainerStatusApplyConfiguration
- func (b *ContainerStatusApplyConfiguration) WithLastTerminationState(value *ContainerStateApplyConfiguration) *ContainerStatusApplyConfiguration
- func (b *ContainerStatusApplyConfiguration) WithName(value string) *ContainerStatusApplyConfiguration
- func (b *ContainerStatusApplyConfiguration) WithReady(value bool) *ContainerStatusApplyConfiguration
- func (b *ContainerStatusApplyConfiguration) WithResources(value *ResourceRequirementsApplyConfiguration) *ContainerStatusApplyConfiguration
- func (b *ContainerStatusApplyConfiguration) WithRestartCount(value int32) *ContainerStatusApplyConfiguration
- func (b *ContainerStatusApplyConfiguration) WithStarted(value bool) *ContainerStatusApplyConfiguration
- func (b *ContainerStatusApplyConfiguration) WithState(value *ContainerStateApplyConfiguration) *ContainerStatusApplyConfiguration
- func (b *ContainerStatusApplyConfiguration) WithVolumeMounts(values ...*VolumeMountStatusApplyConfiguration) *ContainerStatusApplyConfiguration
- type DaemonEndpointApplyConfiguration
- type DownwardAPIProjectionApplyConfiguration
- type DownwardAPIVolumeFileApplyConfiguration
- func (b *DownwardAPIVolumeFileApplyConfiguration) WithFieldRef(value *ObjectFieldSelectorApplyConfiguration) *DownwardAPIVolumeFileApplyConfiguration
- func (b *DownwardAPIVolumeFileApplyConfiguration) WithMode(value int32) *DownwardAPIVolumeFileApplyConfiguration
- func (b *DownwardAPIVolumeFileApplyConfiguration) WithPath(value string) *DownwardAPIVolumeFileApplyConfiguration
- func (b *DownwardAPIVolumeFileApplyConfiguration) WithResourceFieldRef(value *ResourceFieldSelectorApplyConfiguration) *DownwardAPIVolumeFileApplyConfiguration
- type DownwardAPIVolumeSourceApplyConfiguration
- type EmptyDirVolumeSourceApplyConfiguration
- type EndpointAddressApplyConfiguration
- func (b *EndpointAddressApplyConfiguration) WithHostname(value string) *EndpointAddressApplyConfiguration
- func (b *EndpointAddressApplyConfiguration) WithIP(value string) *EndpointAddressApplyConfiguration
- func (b *EndpointAddressApplyConfiguration) WithNodeName(value string) *EndpointAddressApplyConfiguration
- func (b *EndpointAddressApplyConfiguration) WithTargetRef(value *ObjectReferenceApplyConfiguration) *EndpointAddressApplyConfiguration
- type EndpointPortApplyConfiguration
- func (b *EndpointPortApplyConfiguration) WithAppProtocol(value string) *EndpointPortApplyConfiguration
- func (b *EndpointPortApplyConfiguration) WithName(value string) *EndpointPortApplyConfiguration
- func (b *EndpointPortApplyConfiguration) WithPort(value int32) *EndpointPortApplyConfiguration
- func (b *EndpointPortApplyConfiguration) WithProtocol(value v1.Protocol) *EndpointPortApplyConfiguration
- type EndpointSubsetApplyConfiguration
- func (b *EndpointSubsetApplyConfiguration) WithAddresses(values ...*EndpointAddressApplyConfiguration) *EndpointSubsetApplyConfiguration
- func (b *EndpointSubsetApplyConfiguration) WithNotReadyAddresses(values ...*EndpointAddressApplyConfiguration) *EndpointSubsetApplyConfiguration
- func (b *EndpointSubsetApplyConfiguration) WithPorts(values ...*EndpointPortApplyConfiguration) *EndpointSubsetApplyConfiguration
- type EndpointsApplyConfiguration
- func (b *EndpointsApplyConfiguration) WithAPIVersion(value string) *EndpointsApplyConfiguration
- func (b *EndpointsApplyConfiguration) WithAnnotations(entries map[string]string) *EndpointsApplyConfiguration
- func (b *EndpointsApplyConfiguration) WithCreationTimestamp(value metav1.Time) *EndpointsApplyConfiguration
- func (b *EndpointsApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *EndpointsApplyConfiguration
- func (b *EndpointsApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *EndpointsApplyConfiguration
- func (b *EndpointsApplyConfiguration) WithFinalizers(values ...string) *EndpointsApplyConfiguration
- func (b *EndpointsApplyConfiguration) WithGenerateName(value string) *EndpointsApplyConfiguration
- func (b *EndpointsApplyConfiguration) WithGeneration(value int64) *EndpointsApplyConfiguration
- func (b *EndpointsApplyConfiguration) WithKind(value string) *EndpointsApplyConfiguration
- func (b *EndpointsApplyConfiguration) WithLabels(entries map[string]string) *EndpointsApplyConfiguration
- func (b *EndpointsApplyConfiguration) WithName(value string) *EndpointsApplyConfiguration
- func (b *EndpointsApplyConfiguration) WithNamespace(value string) *EndpointsApplyConfiguration
- func (b *EndpointsApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *EndpointsApplyConfiguration
- func (b *EndpointsApplyConfiguration) WithResourceVersion(value string) *EndpointsApplyConfiguration
- func (b *EndpointsApplyConfiguration) WithSubsets(values ...*EndpointSubsetApplyConfiguration) *EndpointsApplyConfiguration
- func (b *EndpointsApplyConfiguration) WithUID(value types.UID) *EndpointsApplyConfiguration
- type EnvFromSourceApplyConfiguration
- func (b *EnvFromSourceApplyConfiguration) WithConfigMapRef(value *ConfigMapEnvSourceApplyConfiguration) *EnvFromSourceApplyConfiguration
- func (b *EnvFromSourceApplyConfiguration) WithPrefix(value string) *EnvFromSourceApplyConfiguration
- func (b *EnvFromSourceApplyConfiguration) WithSecretRef(value *SecretEnvSourceApplyConfiguration) *EnvFromSourceApplyConfiguration
- type EnvVarApplyConfiguration
- type EnvVarSourceApplyConfiguration
- func (b *EnvVarSourceApplyConfiguration) WithConfigMapKeyRef(value *ConfigMapKeySelectorApplyConfiguration) *EnvVarSourceApplyConfiguration
- func (b *EnvVarSourceApplyConfiguration) WithFieldRef(value *ObjectFieldSelectorApplyConfiguration) *EnvVarSourceApplyConfiguration
- func (b *EnvVarSourceApplyConfiguration) WithResourceFieldRef(value *ResourceFieldSelectorApplyConfiguration) *EnvVarSourceApplyConfiguration
- func (b *EnvVarSourceApplyConfiguration) WithSecretKeyRef(value *SecretKeySelectorApplyConfiguration) *EnvVarSourceApplyConfiguration
- type EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithArgs(values ...string) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithCommand(values ...string) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithEnv(values ...*EnvVarApplyConfiguration) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithEnvFrom(values ...*EnvFromSourceApplyConfiguration) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithImage(value string) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithLifecycle(value *LifecycleApplyConfiguration) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithLivenessProbe(value *ProbeApplyConfiguration) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithName(value string) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithPorts(values ...*ContainerPortApplyConfiguration) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithReadinessProbe(value *ProbeApplyConfiguration) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithResizePolicy(values ...*ContainerResizePolicyApplyConfiguration) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithResources(value *ResourceRequirementsApplyConfiguration) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithRestartPolicy(value corev1.ContainerRestartPolicy) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithSecurityContext(value *SecurityContextApplyConfiguration) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithStartupProbe(value *ProbeApplyConfiguration) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithStdin(value bool) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithStdinOnce(value bool) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithTTY(value bool) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithTargetContainerName(value string) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithTerminationMessagePath(value string) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithTerminationMessagePolicy(value corev1.TerminationMessagePolicy) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithVolumeDevices(values ...*VolumeDeviceApplyConfiguration) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithVolumeMounts(values ...*VolumeMountApplyConfiguration) *EphemeralContainerApplyConfiguration
- func (b *EphemeralContainerApplyConfiguration) WithWorkingDir(value string) *EphemeralContainerApplyConfiguration
- type EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithArgs(values ...string) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithCommand(values ...string) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithEnv(values ...*EnvVarApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithEnvFrom(values ...*EnvFromSourceApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithImage(value string) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithLifecycle(value *LifecycleApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithLivenessProbe(value *ProbeApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithName(value string) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithPorts(values ...*ContainerPortApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithReadinessProbe(value *ProbeApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithResizePolicy(values ...*ContainerResizePolicyApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithResources(value *ResourceRequirementsApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithRestartPolicy(value corev1.ContainerRestartPolicy) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithSecurityContext(value *SecurityContextApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithStartupProbe(value *ProbeApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithStdin(value bool) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithStdinOnce(value bool) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithTTY(value bool) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithTerminationMessagePath(value string) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithTerminationMessagePolicy(value corev1.TerminationMessagePolicy) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithVolumeDevices(values ...*VolumeDeviceApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithVolumeMounts(values ...*VolumeMountApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
- func (b *EphemeralContainerCommonApplyConfiguration) WithWorkingDir(value string) *EphemeralContainerCommonApplyConfiguration
- type EphemeralVolumeSourceApplyConfiguration
- type EventApplyConfiguration
- func (b *EventApplyConfiguration) WithAPIVersion(value string) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithAction(value string) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithAnnotations(entries map[string]string) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithCount(value int32) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithCreationTimestamp(value metav1.Time) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithEventTime(value metav1.MicroTime) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithFinalizers(values ...string) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithFirstTimestamp(value metav1.Time) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithGenerateName(value string) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithGeneration(value int64) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithInvolvedObject(value *ObjectReferenceApplyConfiguration) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithKind(value string) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithLabels(entries map[string]string) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithLastTimestamp(value metav1.Time) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithMessage(value string) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithName(value string) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithNamespace(value string) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithReason(value string) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithRelated(value *ObjectReferenceApplyConfiguration) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithReportingController(value string) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithReportingInstance(value string) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithResourceVersion(value string) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithSeries(value *EventSeriesApplyConfiguration) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithSource(value *EventSourceApplyConfiguration) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithType(value string) *EventApplyConfiguration
- func (b *EventApplyConfiguration) WithUID(value types.UID) *EventApplyConfiguration
- type EventSeriesApplyConfiguration
- type EventSourceApplyConfiguration
- type ExecActionApplyConfiguration
- type FCVolumeSourceApplyConfiguration
- func (b *FCVolumeSourceApplyConfiguration) WithFSType(value string) *FCVolumeSourceApplyConfiguration
- func (b *FCVolumeSourceApplyConfiguration) WithLun(value int32) *FCVolumeSourceApplyConfiguration
- func (b *FCVolumeSourceApplyConfiguration) WithReadOnly(value bool) *FCVolumeSourceApplyConfiguration
- func (b *FCVolumeSourceApplyConfiguration) WithTargetWWNs(values ...string) *FCVolumeSourceApplyConfiguration
- func (b *FCVolumeSourceApplyConfiguration) WithWWIDs(values ...string) *FCVolumeSourceApplyConfiguration
- type FlexPersistentVolumeSourceApplyConfiguration
- func (b *FlexPersistentVolumeSourceApplyConfiguration) WithDriver(value string) *FlexPersistentVolumeSourceApplyConfiguration
- func (b *FlexPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *FlexPersistentVolumeSourceApplyConfiguration
- func (b *FlexPersistentVolumeSourceApplyConfiguration) WithOptions(entries map[string]string) *FlexPersistentVolumeSourceApplyConfiguration
- func (b *FlexPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *FlexPersistentVolumeSourceApplyConfiguration
- func (b *FlexPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *FlexPersistentVolumeSourceApplyConfiguration
- type FlexVolumeSourceApplyConfiguration
- func (b *FlexVolumeSourceApplyConfiguration) WithDriver(value string) *FlexVolumeSourceApplyConfiguration
- func (b *FlexVolumeSourceApplyConfiguration) WithFSType(value string) *FlexVolumeSourceApplyConfiguration
- func (b *FlexVolumeSourceApplyConfiguration) WithOptions(entries map[string]string) *FlexVolumeSourceApplyConfiguration
- func (b *FlexVolumeSourceApplyConfiguration) WithReadOnly(value bool) *FlexVolumeSourceApplyConfiguration
- func (b *FlexVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *FlexVolumeSourceApplyConfiguration
- type FlockerVolumeSourceApplyConfiguration
- type GCEPersistentDiskVolumeSourceApplyConfiguration
- func (b *GCEPersistentDiskVolumeSourceApplyConfiguration) WithFSType(value string) *GCEPersistentDiskVolumeSourceApplyConfiguration
- func (b *GCEPersistentDiskVolumeSourceApplyConfiguration) WithPDName(value string) *GCEPersistentDiskVolumeSourceApplyConfiguration
- func (b *GCEPersistentDiskVolumeSourceApplyConfiguration) WithPartition(value int32) *GCEPersistentDiskVolumeSourceApplyConfiguration
- func (b *GCEPersistentDiskVolumeSourceApplyConfiguration) WithReadOnly(value bool) *GCEPersistentDiskVolumeSourceApplyConfiguration
- type GRPCActionApplyConfiguration
- type GitRepoVolumeSourceApplyConfiguration
- func (b *GitRepoVolumeSourceApplyConfiguration) WithDirectory(value string) *GitRepoVolumeSourceApplyConfiguration
- func (b *GitRepoVolumeSourceApplyConfiguration) WithRepository(value string) *GitRepoVolumeSourceApplyConfiguration
- func (b *GitRepoVolumeSourceApplyConfiguration) WithRevision(value string) *GitRepoVolumeSourceApplyConfiguration
- type GlusterfsPersistentVolumeSourceApplyConfiguration
- func (b *GlusterfsPersistentVolumeSourceApplyConfiguration) WithEndpointsName(value string) *GlusterfsPersistentVolumeSourceApplyConfiguration
- func (b *GlusterfsPersistentVolumeSourceApplyConfiguration) WithEndpointsNamespace(value string) *GlusterfsPersistentVolumeSourceApplyConfiguration
- func (b *GlusterfsPersistentVolumeSourceApplyConfiguration) WithPath(value string) *GlusterfsPersistentVolumeSourceApplyConfiguration
- func (b *GlusterfsPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *GlusterfsPersistentVolumeSourceApplyConfiguration
- type GlusterfsVolumeSourceApplyConfiguration
- func (b *GlusterfsVolumeSourceApplyConfiguration) WithEndpointsName(value string) *GlusterfsVolumeSourceApplyConfiguration
- func (b *GlusterfsVolumeSourceApplyConfiguration) WithPath(value string) *GlusterfsVolumeSourceApplyConfiguration
- func (b *GlusterfsVolumeSourceApplyConfiguration) WithReadOnly(value bool) *GlusterfsVolumeSourceApplyConfiguration
- type HTTPGetActionApplyConfiguration
- func (b *HTTPGetActionApplyConfiguration) WithHTTPHeaders(values ...*HTTPHeaderApplyConfiguration) *HTTPGetActionApplyConfiguration
- func (b *HTTPGetActionApplyConfiguration) WithHost(value string) *HTTPGetActionApplyConfiguration
- func (b *HTTPGetActionApplyConfiguration) WithPath(value string) *HTTPGetActionApplyConfiguration
- func (b *HTTPGetActionApplyConfiguration) WithPort(value intstr.IntOrString) *HTTPGetActionApplyConfiguration
- func (b *HTTPGetActionApplyConfiguration) WithScheme(value v1.URIScheme) *HTTPGetActionApplyConfiguration
- type HTTPHeaderApplyConfiguration
- type HostAliasApplyConfiguration
- type HostIPApplyConfiguration
- type HostPathVolumeSourceApplyConfiguration
- type ISCSIPersistentVolumeSourceApplyConfiguration
- func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithDiscoveryCHAPAuth(value bool) *ISCSIPersistentVolumeSourceApplyConfiguration
- func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *ISCSIPersistentVolumeSourceApplyConfiguration
- func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithIQN(value string) *ISCSIPersistentVolumeSourceApplyConfiguration
- func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithISCSIInterface(value string) *ISCSIPersistentVolumeSourceApplyConfiguration
- func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithInitiatorName(value string) *ISCSIPersistentVolumeSourceApplyConfiguration
- func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithLun(value int32) *ISCSIPersistentVolumeSourceApplyConfiguration
- func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithPortals(values ...string) *ISCSIPersistentVolumeSourceApplyConfiguration
- func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *ISCSIPersistentVolumeSourceApplyConfiguration
- func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *ISCSIPersistentVolumeSourceApplyConfiguration
- func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithSessionCHAPAuth(value bool) *ISCSIPersistentVolumeSourceApplyConfiguration
- func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithTargetPortal(value string) *ISCSIPersistentVolumeSourceApplyConfiguration
- type ISCSIVolumeSourceApplyConfiguration
- func (b *ISCSIVolumeSourceApplyConfiguration) WithDiscoveryCHAPAuth(value bool) *ISCSIVolumeSourceApplyConfiguration
- func (b *ISCSIVolumeSourceApplyConfiguration) WithFSType(value string) *ISCSIVolumeSourceApplyConfiguration
- func (b *ISCSIVolumeSourceApplyConfiguration) WithIQN(value string) *ISCSIVolumeSourceApplyConfiguration
- func (b *ISCSIVolumeSourceApplyConfiguration) WithISCSIInterface(value string) *ISCSIVolumeSourceApplyConfiguration
- func (b *ISCSIVolumeSourceApplyConfiguration) WithInitiatorName(value string) *ISCSIVolumeSourceApplyConfiguration
- func (b *ISCSIVolumeSourceApplyConfiguration) WithLun(value int32) *ISCSIVolumeSourceApplyConfiguration
- func (b *ISCSIVolumeSourceApplyConfiguration) WithPortals(values ...string) *ISCSIVolumeSourceApplyConfiguration
- func (b *ISCSIVolumeSourceApplyConfiguration) WithReadOnly(value bool) *ISCSIVolumeSourceApplyConfiguration
- func (b *ISCSIVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *ISCSIVolumeSourceApplyConfiguration
- func (b *ISCSIVolumeSourceApplyConfiguration) WithSessionCHAPAuth(value bool) *ISCSIVolumeSourceApplyConfiguration
- func (b *ISCSIVolumeSourceApplyConfiguration) WithTargetPortal(value string) *ISCSIVolumeSourceApplyConfiguration
- type KeyToPathApplyConfiguration
- type LifecycleApplyConfiguration
- type LifecycleHandlerApplyConfiguration
- func (b *LifecycleHandlerApplyConfiguration) WithExec(value *ExecActionApplyConfiguration) *LifecycleHandlerApplyConfiguration
- func (b *LifecycleHandlerApplyConfiguration) WithHTTPGet(value *HTTPGetActionApplyConfiguration) *LifecycleHandlerApplyConfiguration
- func (b *LifecycleHandlerApplyConfiguration) WithSleep(value *SleepActionApplyConfiguration) *LifecycleHandlerApplyConfiguration
- func (b *LifecycleHandlerApplyConfiguration) WithTCPSocket(value *TCPSocketActionApplyConfiguration) *LifecycleHandlerApplyConfiguration
- type LimitRangeApplyConfiguration
- func ExtractLimitRange(limitRange *apicorev1.LimitRange, fieldManager string) (*LimitRangeApplyConfiguration, error)
- func ExtractLimitRangeStatus(limitRange *apicorev1.LimitRange, fieldManager string) (*LimitRangeApplyConfiguration, error)
- func LimitRange(name, namespace string) *LimitRangeApplyConfiguration
- func (b *LimitRangeApplyConfiguration) WithAPIVersion(value string) *LimitRangeApplyConfiguration
- func (b *LimitRangeApplyConfiguration) WithAnnotations(entries map[string]string) *LimitRangeApplyConfiguration
- func (b *LimitRangeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *LimitRangeApplyConfiguration
- func (b *LimitRangeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *LimitRangeApplyConfiguration
- func (b *LimitRangeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *LimitRangeApplyConfiguration
- func (b *LimitRangeApplyConfiguration) WithFinalizers(values ...string) *LimitRangeApplyConfiguration
- func (b *LimitRangeApplyConfiguration) WithGenerateName(value string) *LimitRangeApplyConfiguration
- func (b *LimitRangeApplyConfiguration) WithGeneration(value int64) *LimitRangeApplyConfiguration
- func (b *LimitRangeApplyConfiguration) WithKind(value string) *LimitRangeApplyConfiguration
- func (b *LimitRangeApplyConfiguration) WithLabels(entries map[string]string) *LimitRangeApplyConfiguration
- func (b *LimitRangeApplyConfiguration) WithName(value string) *LimitRangeApplyConfiguration
- func (b *LimitRangeApplyConfiguration) WithNamespace(value string) *LimitRangeApplyConfiguration
- func (b *LimitRangeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *LimitRangeApplyConfiguration
- func (b *LimitRangeApplyConfiguration) WithResourceVersion(value string) *LimitRangeApplyConfiguration
- func (b *LimitRangeApplyConfiguration) WithSpec(value *LimitRangeSpecApplyConfiguration) *LimitRangeApplyConfiguration
- func (b *LimitRangeApplyConfiguration) WithUID(value types.UID) *LimitRangeApplyConfiguration
- type LimitRangeItemApplyConfiguration
- func (b *LimitRangeItemApplyConfiguration) WithDefault(value v1.ResourceList) *LimitRangeItemApplyConfiguration
- func (b *LimitRangeItemApplyConfiguration) WithDefaultRequest(value v1.ResourceList) *LimitRangeItemApplyConfiguration
- func (b *LimitRangeItemApplyConfiguration) WithMax(value v1.ResourceList) *LimitRangeItemApplyConfiguration
- func (b *LimitRangeItemApplyConfiguration) WithMaxLimitRequestRatio(value v1.ResourceList) *LimitRangeItemApplyConfiguration
- func (b *LimitRangeItemApplyConfiguration) WithMin(value v1.ResourceList) *LimitRangeItemApplyConfiguration
- func (b *LimitRangeItemApplyConfiguration) WithType(value v1.LimitType) *LimitRangeItemApplyConfiguration
- type LimitRangeSpecApplyConfiguration
- type LoadBalancerIngressApplyConfiguration
- func (b *LoadBalancerIngressApplyConfiguration) WithHostname(value string) *LoadBalancerIngressApplyConfiguration
- func (b *LoadBalancerIngressApplyConfiguration) WithIP(value string) *LoadBalancerIngressApplyConfiguration
- func (b *LoadBalancerIngressApplyConfiguration) WithIPMode(value v1.LoadBalancerIPMode) *LoadBalancerIngressApplyConfiguration
- func (b *LoadBalancerIngressApplyConfiguration) WithPorts(values ...*PortStatusApplyConfiguration) *LoadBalancerIngressApplyConfiguration
- type LoadBalancerStatusApplyConfiguration
- type LocalObjectReferenceApplyConfiguration
- type LocalVolumeSourceApplyConfiguration
- type ModifyVolumeStatusApplyConfiguration
- type NFSVolumeSourceApplyConfiguration
- func (b *NFSVolumeSourceApplyConfiguration) WithPath(value string) *NFSVolumeSourceApplyConfiguration
- func (b *NFSVolumeSourceApplyConfiguration) WithReadOnly(value bool) *NFSVolumeSourceApplyConfiguration
- func (b *NFSVolumeSourceApplyConfiguration) WithServer(value string) *NFSVolumeSourceApplyConfiguration
- type NamespaceApplyConfiguration
- func (b *NamespaceApplyConfiguration) WithAPIVersion(value string) *NamespaceApplyConfiguration
- func (b *NamespaceApplyConfiguration) WithAnnotations(entries map[string]string) *NamespaceApplyConfiguration
- func (b *NamespaceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NamespaceApplyConfiguration
- func (b *NamespaceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NamespaceApplyConfiguration
- func (b *NamespaceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NamespaceApplyConfiguration
- func (b *NamespaceApplyConfiguration) WithFinalizers(values ...string) *NamespaceApplyConfiguration
- func (b *NamespaceApplyConfiguration) WithGenerateName(value string) *NamespaceApplyConfiguration
- func (b *NamespaceApplyConfiguration) WithGeneration(value int64) *NamespaceApplyConfiguration
- func (b *NamespaceApplyConfiguration) WithKind(value string) *NamespaceApplyConfiguration
- func (b *NamespaceApplyConfiguration) WithLabels(entries map[string]string) *NamespaceApplyConfiguration
- func (b *NamespaceApplyConfiguration) WithName(value string) *NamespaceApplyConfiguration
- func (b *NamespaceApplyConfiguration) WithNamespace(value string) *NamespaceApplyConfiguration
- func (b *NamespaceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NamespaceApplyConfiguration
- func (b *NamespaceApplyConfiguration) WithResourceVersion(value string) *NamespaceApplyConfiguration
- func (b *NamespaceApplyConfiguration) WithSpec(value *NamespaceSpecApplyConfiguration) *NamespaceApplyConfiguration
- func (b *NamespaceApplyConfiguration) WithStatus(value *NamespaceStatusApplyConfiguration) *NamespaceApplyConfiguration
- func (b *NamespaceApplyConfiguration) WithUID(value types.UID) *NamespaceApplyConfiguration
- type NamespaceConditionApplyConfiguration
- func (b *NamespaceConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *NamespaceConditionApplyConfiguration
- func (b *NamespaceConditionApplyConfiguration) WithMessage(value string) *NamespaceConditionApplyConfiguration
- func (b *NamespaceConditionApplyConfiguration) WithReason(value string) *NamespaceConditionApplyConfiguration
- func (b *NamespaceConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *NamespaceConditionApplyConfiguration
- func (b *NamespaceConditionApplyConfiguration) WithType(value v1.NamespaceConditionType) *NamespaceConditionApplyConfiguration
- type NamespaceSpecApplyConfiguration
- type NamespaceStatusApplyConfiguration
- type NodeAddressApplyConfiguration
- type NodeAffinityApplyConfiguration
- func (b *NodeAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution(values ...*PreferredSchedulingTermApplyConfiguration) *NodeAffinityApplyConfiguration
- func (b *NodeAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution(value *NodeSelectorApplyConfiguration) *NodeAffinityApplyConfiguration
- type NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithAPIVersion(value string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithAnnotations(entries map[string]string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithFinalizers(values ...string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithGenerateName(value string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithGeneration(value int64) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithKind(value string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithLabels(entries map[string]string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithName(value string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithNamespace(value string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithResourceVersion(value string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithSpec(value *NodeSpecApplyConfiguration) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithStatus(value *NodeStatusApplyConfiguration) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithUID(value types.UID) *NodeApplyConfiguration
- type NodeConditionApplyConfiguration
- func (b *NodeConditionApplyConfiguration) WithLastHeartbeatTime(value metav1.Time) *NodeConditionApplyConfiguration
- func (b *NodeConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *NodeConditionApplyConfiguration
- func (b *NodeConditionApplyConfiguration) WithMessage(value string) *NodeConditionApplyConfiguration
- func (b *NodeConditionApplyConfiguration) WithReason(value string) *NodeConditionApplyConfiguration
- func (b *NodeConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *NodeConditionApplyConfiguration
- func (b *NodeConditionApplyConfiguration) WithType(value v1.NodeConditionType) *NodeConditionApplyConfiguration
- type NodeConfigSourceApplyConfiguration
- type NodeConfigStatusApplyConfiguration
- func (b *NodeConfigStatusApplyConfiguration) WithActive(value *NodeConfigSourceApplyConfiguration) *NodeConfigStatusApplyConfiguration
- func (b *NodeConfigStatusApplyConfiguration) WithAssigned(value *NodeConfigSourceApplyConfiguration) *NodeConfigStatusApplyConfiguration
- func (b *NodeConfigStatusApplyConfiguration) WithError(value string) *NodeConfigStatusApplyConfiguration
- func (b *NodeConfigStatusApplyConfiguration) WithLastKnownGood(value *NodeConfigSourceApplyConfiguration) *NodeConfigStatusApplyConfiguration
- type NodeDaemonEndpointsApplyConfiguration
- type NodeRuntimeHandlerApplyConfiguration
- type NodeRuntimeHandlerFeaturesApplyConfiguration
- type NodeSelectorApplyConfiguration
- type NodeSelectorRequirementApplyConfiguration
- func (b *NodeSelectorRequirementApplyConfiguration) WithKey(value string) *NodeSelectorRequirementApplyConfiguration
- func (b *NodeSelectorRequirementApplyConfiguration) WithOperator(value v1.NodeSelectorOperator) *NodeSelectorRequirementApplyConfiguration
- func (b *NodeSelectorRequirementApplyConfiguration) WithValues(values ...string) *NodeSelectorRequirementApplyConfiguration
- type NodeSelectorTermApplyConfiguration
- func (b *NodeSelectorTermApplyConfiguration) WithMatchExpressions(values ...*NodeSelectorRequirementApplyConfiguration) *NodeSelectorTermApplyConfiguration
- func (b *NodeSelectorTermApplyConfiguration) WithMatchFields(values ...*NodeSelectorRequirementApplyConfiguration) *NodeSelectorTermApplyConfiguration
- type NodeSpecApplyConfiguration
- func (b *NodeSpecApplyConfiguration) WithConfigSource(value *NodeConfigSourceApplyConfiguration) *NodeSpecApplyConfiguration
- func (b *NodeSpecApplyConfiguration) WithDoNotUseExternalID(value string) *NodeSpecApplyConfiguration
- func (b *NodeSpecApplyConfiguration) WithPodCIDR(value string) *NodeSpecApplyConfiguration
- func (b *NodeSpecApplyConfiguration) WithPodCIDRs(values ...string) *NodeSpecApplyConfiguration
- func (b *NodeSpecApplyConfiguration) WithProviderID(value string) *NodeSpecApplyConfiguration
- func (b *NodeSpecApplyConfiguration) WithTaints(values ...*TaintApplyConfiguration) *NodeSpecApplyConfiguration
- func (b *NodeSpecApplyConfiguration) WithUnschedulable(value bool) *NodeSpecApplyConfiguration
- type NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithAddresses(values ...*NodeAddressApplyConfiguration) *NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithAllocatable(value v1.ResourceList) *NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithCapacity(value v1.ResourceList) *NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithConditions(values ...*NodeConditionApplyConfiguration) *NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithConfig(value *NodeConfigStatusApplyConfiguration) *NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithDaemonEndpoints(value *NodeDaemonEndpointsApplyConfiguration) *NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithImages(values ...*ContainerImageApplyConfiguration) *NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithNodeInfo(value *NodeSystemInfoApplyConfiguration) *NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithPhase(value v1.NodePhase) *NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithRuntimeHandlers(values ...*NodeRuntimeHandlerApplyConfiguration) *NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithVolumesAttached(values ...*AttachedVolumeApplyConfiguration) *NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithVolumesInUse(values ...v1.UniqueVolumeName) *NodeStatusApplyConfiguration
- type NodeSystemInfoApplyConfiguration
- func (b *NodeSystemInfoApplyConfiguration) WithArchitecture(value string) *NodeSystemInfoApplyConfiguration
- func (b *NodeSystemInfoApplyConfiguration) WithBootID(value string) *NodeSystemInfoApplyConfiguration
- func (b *NodeSystemInfoApplyConfiguration) WithContainerRuntimeVersion(value string) *NodeSystemInfoApplyConfiguration
- func (b *NodeSystemInfoApplyConfiguration) WithKernelVersion(value string) *NodeSystemInfoApplyConfiguration
- func (b *NodeSystemInfoApplyConfiguration) WithKubeProxyVersion(value string) *NodeSystemInfoApplyConfiguration
- func (b *NodeSystemInfoApplyConfiguration) WithKubeletVersion(value string) *NodeSystemInfoApplyConfiguration
- func (b *NodeSystemInfoApplyConfiguration) WithMachineID(value string) *NodeSystemInfoApplyConfiguration
- func (b *NodeSystemInfoApplyConfiguration) WithOSImage(value string) *NodeSystemInfoApplyConfiguration
- func (b *NodeSystemInfoApplyConfiguration) WithOperatingSystem(value string) *NodeSystemInfoApplyConfiguration
- func (b *NodeSystemInfoApplyConfiguration) WithSystemUUID(value string) *NodeSystemInfoApplyConfiguration
- type ObjectFieldSelectorApplyConfiguration
- type ObjectReferenceApplyConfiguration
- func (b *ObjectReferenceApplyConfiguration) WithAPIVersion(value string) *ObjectReferenceApplyConfiguration
- func (b *ObjectReferenceApplyConfiguration) WithFieldPath(value string) *ObjectReferenceApplyConfiguration
- func (b *ObjectReferenceApplyConfiguration) WithKind(value string) *ObjectReferenceApplyConfiguration
- func (b *ObjectReferenceApplyConfiguration) WithName(value string) *ObjectReferenceApplyConfiguration
- func (b *ObjectReferenceApplyConfiguration) WithNamespace(value string) *ObjectReferenceApplyConfiguration
- func (b *ObjectReferenceApplyConfiguration) WithResourceVersion(value string) *ObjectReferenceApplyConfiguration
- func (b *ObjectReferenceApplyConfiguration) WithUID(value types.UID) *ObjectReferenceApplyConfiguration
- type PersistentVolumeApplyConfiguration
- func ExtractPersistentVolume(persistentVolume *apicorev1.PersistentVolume, fieldManager string) (*PersistentVolumeApplyConfiguration, error)
- func ExtractPersistentVolumeStatus(persistentVolume *apicorev1.PersistentVolume, fieldManager string) (*PersistentVolumeApplyConfiguration, error)
- func PersistentVolume(name string) *PersistentVolumeApplyConfiguration
- func (b *PersistentVolumeApplyConfiguration) WithAPIVersion(value string) *PersistentVolumeApplyConfiguration
- func (b *PersistentVolumeApplyConfiguration) WithAnnotations(entries map[string]string) *PersistentVolumeApplyConfiguration
- func (b *PersistentVolumeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PersistentVolumeApplyConfiguration
- func (b *PersistentVolumeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PersistentVolumeApplyConfiguration
- func (b *PersistentVolumeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PersistentVolumeApplyConfiguration
- func (b *PersistentVolumeApplyConfiguration) WithFinalizers(values ...string) *PersistentVolumeApplyConfiguration
- func (b *PersistentVolumeApplyConfiguration) WithGenerateName(value string) *PersistentVolumeApplyConfiguration
- func (b *PersistentVolumeApplyConfiguration) WithGeneration(value int64) *PersistentVolumeApplyConfiguration
- func (b *PersistentVolumeApplyConfiguration) WithKind(value string) *PersistentVolumeApplyConfiguration
- func (b *PersistentVolumeApplyConfiguration) WithLabels(entries map[string]string) *PersistentVolumeApplyConfiguration
- func (b *PersistentVolumeApplyConfiguration) WithName(value string) *PersistentVolumeApplyConfiguration
- func (b *PersistentVolumeApplyConfiguration) WithNamespace(value string) *PersistentVolumeApplyConfiguration
- func (b *PersistentVolumeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PersistentVolumeApplyConfiguration
- func (b *PersistentVolumeApplyConfiguration) WithResourceVersion(value string) *PersistentVolumeApplyConfiguration
- func (b *PersistentVolumeApplyConfiguration) WithSpec(value *PersistentVolumeSpecApplyConfiguration) *PersistentVolumeApplyConfiguration
- func (b *PersistentVolumeApplyConfiguration) WithStatus(value *PersistentVolumeStatusApplyConfiguration) *PersistentVolumeApplyConfiguration
- func (b *PersistentVolumeApplyConfiguration) WithUID(value types.UID) *PersistentVolumeApplyConfiguration
- type PersistentVolumeClaimApplyConfiguration
- func ExtractPersistentVolumeClaim(persistentVolumeClaim *apicorev1.PersistentVolumeClaim, fieldManager string) (*PersistentVolumeClaimApplyConfiguration, error)
- func ExtractPersistentVolumeClaimStatus(persistentVolumeClaim *apicorev1.PersistentVolumeClaim, fieldManager string) (*PersistentVolumeClaimApplyConfiguration, error)
- func PersistentVolumeClaim(name, namespace string) *PersistentVolumeClaimApplyConfiguration
- func (b *PersistentVolumeClaimApplyConfiguration) WithAPIVersion(value string) *PersistentVolumeClaimApplyConfiguration
- func (b *PersistentVolumeClaimApplyConfiguration) WithAnnotations(entries map[string]string) *PersistentVolumeClaimApplyConfiguration
- func (b *PersistentVolumeClaimApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PersistentVolumeClaimApplyConfiguration
- func (b *PersistentVolumeClaimApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PersistentVolumeClaimApplyConfiguration
- func (b *PersistentVolumeClaimApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PersistentVolumeClaimApplyConfiguration
- func (b *PersistentVolumeClaimApplyConfiguration) WithFinalizers(values ...string) *PersistentVolumeClaimApplyConfiguration
- func (b *PersistentVolumeClaimApplyConfiguration) WithGenerateName(value string) *PersistentVolumeClaimApplyConfiguration
- func (b *PersistentVolumeClaimApplyConfiguration) WithGeneration(value int64) *PersistentVolumeClaimApplyConfiguration
- func (b *PersistentVolumeClaimApplyConfiguration) WithKind(value string) *PersistentVolumeClaimApplyConfiguration
- func (b *PersistentVolumeClaimApplyConfiguration) WithLabels(entries map[string]string) *PersistentVolumeClaimApplyConfiguration
- func (b *PersistentVolumeClaimApplyConfiguration) WithName(value string) *PersistentVolumeClaimApplyConfiguration
- func (b *PersistentVolumeClaimApplyConfiguration) WithNamespace(value string) *PersistentVolumeClaimApplyConfiguration
- func (b *PersistentVolumeClaimApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PersistentVolumeClaimApplyConfiguration
- func (b *PersistentVolumeClaimApplyConfiguration) WithResourceVersion(value string) *PersistentVolumeClaimApplyConfiguration
- func (b *PersistentVolumeClaimApplyConfiguration) WithSpec(value *PersistentVolumeClaimSpecApplyConfiguration) *PersistentVolumeClaimApplyConfiguration
- func (b *PersistentVolumeClaimApplyConfiguration) WithStatus(value *PersistentVolumeClaimStatusApplyConfiguration) *PersistentVolumeClaimApplyConfiguration
- func (b *PersistentVolumeClaimApplyConfiguration) WithUID(value types.UID) *PersistentVolumeClaimApplyConfiguration
- type PersistentVolumeClaimConditionApplyConfiguration
- func (b *PersistentVolumeClaimConditionApplyConfiguration) WithLastProbeTime(value metav1.Time) *PersistentVolumeClaimConditionApplyConfiguration
- func (b *PersistentVolumeClaimConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *PersistentVolumeClaimConditionApplyConfiguration
- func (b *PersistentVolumeClaimConditionApplyConfiguration) WithMessage(value string) *PersistentVolumeClaimConditionApplyConfiguration
- func (b *PersistentVolumeClaimConditionApplyConfiguration) WithReason(value string) *PersistentVolumeClaimConditionApplyConfiguration
- func (b *PersistentVolumeClaimConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *PersistentVolumeClaimConditionApplyConfiguration
- func (b *PersistentVolumeClaimConditionApplyConfiguration) WithType(value v1.PersistentVolumeClaimConditionType) *PersistentVolumeClaimConditionApplyConfiguration
- type PersistentVolumeClaimSpecApplyConfiguration
- func (b *PersistentVolumeClaimSpecApplyConfiguration) WithAccessModes(values ...v1.PersistentVolumeAccessMode) *PersistentVolumeClaimSpecApplyConfiguration
- func (b *PersistentVolumeClaimSpecApplyConfiguration) WithDataSource(value *TypedLocalObjectReferenceApplyConfiguration) *PersistentVolumeClaimSpecApplyConfiguration
- func (b *PersistentVolumeClaimSpecApplyConfiguration) WithDataSourceRef(value *TypedObjectReferenceApplyConfiguration) *PersistentVolumeClaimSpecApplyConfiguration
- func (b *PersistentVolumeClaimSpecApplyConfiguration) WithResources(value *VolumeResourceRequirementsApplyConfiguration) *PersistentVolumeClaimSpecApplyConfiguration
- func (b *PersistentVolumeClaimSpecApplyConfiguration) WithSelector(value *metav1.LabelSelectorApplyConfiguration) *PersistentVolumeClaimSpecApplyConfiguration
- func (b *PersistentVolumeClaimSpecApplyConfiguration) WithStorageClassName(value string) *PersistentVolumeClaimSpecApplyConfiguration
- func (b *PersistentVolumeClaimSpecApplyConfiguration) WithVolumeAttributesClassName(value string) *PersistentVolumeClaimSpecApplyConfiguration
- func (b *PersistentVolumeClaimSpecApplyConfiguration) WithVolumeMode(value v1.PersistentVolumeMode) *PersistentVolumeClaimSpecApplyConfiguration
- func (b *PersistentVolumeClaimSpecApplyConfiguration) WithVolumeName(value string) *PersistentVolumeClaimSpecApplyConfiguration
- type PersistentVolumeClaimStatusApplyConfiguration
- func (b *PersistentVolumeClaimStatusApplyConfiguration) WithAccessModes(values ...v1.PersistentVolumeAccessMode) *PersistentVolumeClaimStatusApplyConfiguration
- func (b *PersistentVolumeClaimStatusApplyConfiguration) WithAllocatedResourceStatuses(entries map[v1.ResourceName]v1.ClaimResourceStatus) *PersistentVolumeClaimStatusApplyConfiguration
- func (b *PersistentVolumeClaimStatusApplyConfiguration) WithAllocatedResources(value v1.ResourceList) *PersistentVolumeClaimStatusApplyConfiguration
- func (b *PersistentVolumeClaimStatusApplyConfiguration) WithCapacity(value v1.ResourceList) *PersistentVolumeClaimStatusApplyConfiguration
- func (b *PersistentVolumeClaimStatusApplyConfiguration) WithConditions(values ...*PersistentVolumeClaimConditionApplyConfiguration) *PersistentVolumeClaimStatusApplyConfiguration
- func (b *PersistentVolumeClaimStatusApplyConfiguration) WithCurrentVolumeAttributesClassName(value string) *PersistentVolumeClaimStatusApplyConfiguration
- func (b *PersistentVolumeClaimStatusApplyConfiguration) WithModifyVolumeStatus(value *ModifyVolumeStatusApplyConfiguration) *PersistentVolumeClaimStatusApplyConfiguration
- func (b *PersistentVolumeClaimStatusApplyConfiguration) WithPhase(value v1.PersistentVolumeClaimPhase) *PersistentVolumeClaimStatusApplyConfiguration
- type PersistentVolumeClaimTemplateApplyConfiguration
- func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithAnnotations(entries map[string]string) *PersistentVolumeClaimTemplateApplyConfiguration
- func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PersistentVolumeClaimTemplateApplyConfiguration
- func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PersistentVolumeClaimTemplateApplyConfiguration
- func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PersistentVolumeClaimTemplateApplyConfiguration
- func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithFinalizers(values ...string) *PersistentVolumeClaimTemplateApplyConfiguration
- func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithGenerateName(value string) *PersistentVolumeClaimTemplateApplyConfiguration
- func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithGeneration(value int64) *PersistentVolumeClaimTemplateApplyConfiguration
- func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithLabels(entries map[string]string) *PersistentVolumeClaimTemplateApplyConfiguration
- func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithName(value string) *PersistentVolumeClaimTemplateApplyConfiguration
- func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithNamespace(value string) *PersistentVolumeClaimTemplateApplyConfiguration
- func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PersistentVolumeClaimTemplateApplyConfiguration
- func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithResourceVersion(value string) *PersistentVolumeClaimTemplateApplyConfiguration
- func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithSpec(value *PersistentVolumeClaimSpecApplyConfiguration) *PersistentVolumeClaimTemplateApplyConfiguration
- func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithUID(value types.UID) *PersistentVolumeClaimTemplateApplyConfiguration
- type PersistentVolumeClaimVolumeSourceApplyConfiguration
- type PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithAWSElasticBlockStore(value *AWSElasticBlockStoreVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithAzureDisk(value *AzureDiskVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithAzureFile(value *AzureFilePersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithCSI(value *CSIPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithCephFS(value *CephFSPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithCinder(value *CinderPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithFC(value *FCVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithFlexVolume(value *FlexPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithFlocker(value *FlockerVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithGCEPersistentDisk(value *GCEPersistentDiskVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithGlusterfs(value *GlusterfsPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithHostPath(value *HostPathVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithISCSI(value *ISCSIPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithLocal(value *LocalVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithNFS(value *NFSVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithPhotonPersistentDisk(value *PhotonPersistentDiskVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithPortworxVolume(value *PortworxVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithQuobyte(value *QuobyteVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithRBD(value *RBDPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithScaleIO(value *ScaleIOPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithStorageOS(value *StorageOSPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- func (b *PersistentVolumeSourceApplyConfiguration) WithVsphereVolume(value *VsphereVirtualDiskVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
- type PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithAWSElasticBlockStore(value *AWSElasticBlockStoreVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithAccessModes(values ...v1.PersistentVolumeAccessMode) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithAzureDisk(value *AzureDiskVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithAzureFile(value *AzureFilePersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithCSI(value *CSIPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithCapacity(value v1.ResourceList) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithCephFS(value *CephFSPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithCinder(value *CinderPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithClaimRef(value *ObjectReferenceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithFC(value *FCVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithFlexVolume(value *FlexPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithFlocker(value *FlockerVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithGCEPersistentDisk(value *GCEPersistentDiskVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithGlusterfs(value *GlusterfsPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithHostPath(value *HostPathVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithISCSI(value *ISCSIPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithLocal(value *LocalVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithMountOptions(values ...string) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithNFS(value *NFSVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithNodeAffinity(value *VolumeNodeAffinityApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithPersistentVolumeReclaimPolicy(value v1.PersistentVolumeReclaimPolicy) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithPhotonPersistentDisk(value *PhotonPersistentDiskVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithPortworxVolume(value *PortworxVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithQuobyte(value *QuobyteVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithRBD(value *RBDPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithScaleIO(value *ScaleIOPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithStorageClassName(value string) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithStorageOS(value *StorageOSPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithVolumeAttributesClassName(value string) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithVolumeMode(value v1.PersistentVolumeMode) *PersistentVolumeSpecApplyConfiguration
- func (b *PersistentVolumeSpecApplyConfiguration) WithVsphereVolume(value *VsphereVirtualDiskVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
- type PersistentVolumeStatusApplyConfiguration
- func (b *PersistentVolumeStatusApplyConfiguration) WithLastPhaseTransitionTime(value metav1.Time) *PersistentVolumeStatusApplyConfiguration
- func (b *PersistentVolumeStatusApplyConfiguration) WithMessage(value string) *PersistentVolumeStatusApplyConfiguration
- func (b *PersistentVolumeStatusApplyConfiguration) WithPhase(value v1.PersistentVolumePhase) *PersistentVolumeStatusApplyConfiguration
- func (b *PersistentVolumeStatusApplyConfiguration) WithReason(value string) *PersistentVolumeStatusApplyConfiguration
- type PhotonPersistentDiskVolumeSourceApplyConfiguration
- type PodAffinityApplyConfiguration
- func (b *PodAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution(values ...*WeightedPodAffinityTermApplyConfiguration) *PodAffinityApplyConfiguration
- func (b *PodAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution(values ...*PodAffinityTermApplyConfiguration) *PodAffinityApplyConfiguration
- type PodAffinityTermApplyConfiguration
- func (b *PodAffinityTermApplyConfiguration) WithLabelSelector(value *v1.LabelSelectorApplyConfiguration) *PodAffinityTermApplyConfiguration
- func (b *PodAffinityTermApplyConfiguration) WithMatchLabelKeys(values ...string) *PodAffinityTermApplyConfiguration
- func (b *PodAffinityTermApplyConfiguration) WithMismatchLabelKeys(values ...string) *PodAffinityTermApplyConfiguration
- func (b *PodAffinityTermApplyConfiguration) WithNamespaceSelector(value *v1.LabelSelectorApplyConfiguration) *PodAffinityTermApplyConfiguration
- func (b *PodAffinityTermApplyConfiguration) WithNamespaces(values ...string) *PodAffinityTermApplyConfiguration
- func (b *PodAffinityTermApplyConfiguration) WithTopologyKey(value string) *PodAffinityTermApplyConfiguration
- type PodAntiAffinityApplyConfiguration
- func (b *PodAntiAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution(values ...*WeightedPodAffinityTermApplyConfiguration) *PodAntiAffinityApplyConfiguration
- func (b *PodAntiAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution(values ...*PodAffinityTermApplyConfiguration) *PodAntiAffinityApplyConfiguration
- type PodApplyConfiguration
- func (b *PodApplyConfiguration) WithAPIVersion(value string) *PodApplyConfiguration
- func (b *PodApplyConfiguration) WithAnnotations(entries map[string]string) *PodApplyConfiguration
- func (b *PodApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PodApplyConfiguration
- func (b *PodApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PodApplyConfiguration
- func (b *PodApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PodApplyConfiguration
- func (b *PodApplyConfiguration) WithFinalizers(values ...string) *PodApplyConfiguration
- func (b *PodApplyConfiguration) WithGenerateName(value string) *PodApplyConfiguration
- func (b *PodApplyConfiguration) WithGeneration(value int64) *PodApplyConfiguration
- func (b *PodApplyConfiguration) WithKind(value string) *PodApplyConfiguration
- func (b *PodApplyConfiguration) WithLabels(entries map[string]string) *PodApplyConfiguration
- func (b *PodApplyConfiguration) WithName(value string) *PodApplyConfiguration
- func (b *PodApplyConfiguration) WithNamespace(value string) *PodApplyConfiguration
- func (b *PodApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PodApplyConfiguration
- func (b *PodApplyConfiguration) WithResourceVersion(value string) *PodApplyConfiguration
- func (b *PodApplyConfiguration) WithSpec(value *PodSpecApplyConfiguration) *PodApplyConfiguration
- func (b *PodApplyConfiguration) WithStatus(value *PodStatusApplyConfiguration) *PodApplyConfiguration
- func (b *PodApplyConfiguration) WithUID(value types.UID) *PodApplyConfiguration
- type PodConditionApplyConfiguration
- func (b *PodConditionApplyConfiguration) WithLastProbeTime(value metav1.Time) *PodConditionApplyConfiguration
- func (b *PodConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *PodConditionApplyConfiguration
- func (b *PodConditionApplyConfiguration) WithMessage(value string) *PodConditionApplyConfiguration
- func (b *PodConditionApplyConfiguration) WithReason(value string) *PodConditionApplyConfiguration
- func (b *PodConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *PodConditionApplyConfiguration
- func (b *PodConditionApplyConfiguration) WithType(value v1.PodConditionType) *PodConditionApplyConfiguration
- type PodDNSConfigApplyConfiguration
- func (b *PodDNSConfigApplyConfiguration) WithNameservers(values ...string) *PodDNSConfigApplyConfiguration
- func (b *PodDNSConfigApplyConfiguration) WithOptions(values ...*PodDNSConfigOptionApplyConfiguration) *PodDNSConfigApplyConfiguration
- func (b *PodDNSConfigApplyConfiguration) WithSearches(values ...string) *PodDNSConfigApplyConfiguration
- type PodDNSConfigOptionApplyConfiguration
- type PodIPApplyConfiguration
- type PodOSApplyConfiguration
- type PodReadinessGateApplyConfiguration
- type PodResourceClaimApplyConfiguration
- type PodResourceClaimStatusApplyConfiguration
- type PodSchedulingGateApplyConfiguration
- type PodSecurityContextApplyConfiguration
- func (b *PodSecurityContextApplyConfiguration) WithAppArmorProfile(value *AppArmorProfileApplyConfiguration) *PodSecurityContextApplyConfiguration
- func (b *PodSecurityContextApplyConfiguration) WithFSGroup(value int64) *PodSecurityContextApplyConfiguration
- func (b *PodSecurityContextApplyConfiguration) WithFSGroupChangePolicy(value corev1.PodFSGroupChangePolicy) *PodSecurityContextApplyConfiguration
- func (b *PodSecurityContextApplyConfiguration) WithRunAsGroup(value int64) *PodSecurityContextApplyConfiguration
- func (b *PodSecurityContextApplyConfiguration) WithRunAsNonRoot(value bool) *PodSecurityContextApplyConfiguration
- func (b *PodSecurityContextApplyConfiguration) WithRunAsUser(value int64) *PodSecurityContextApplyConfiguration
- func (b *PodSecurityContextApplyConfiguration) WithSELinuxOptions(value *SELinuxOptionsApplyConfiguration) *PodSecurityContextApplyConfiguration
- func (b *PodSecurityContextApplyConfiguration) WithSeccompProfile(value *SeccompProfileApplyConfiguration) *PodSecurityContextApplyConfiguration
- func (b *PodSecurityContextApplyConfiguration) WithSupplementalGroups(values ...int64) *PodSecurityContextApplyConfiguration
- func (b *PodSecurityContextApplyConfiguration) WithSysctls(values ...*SysctlApplyConfiguration) *PodSecurityContextApplyConfiguration
- func (b *PodSecurityContextApplyConfiguration) WithWindowsOptions(value *WindowsSecurityContextOptionsApplyConfiguration) *PodSecurityContextApplyConfiguration
- type PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithActiveDeadlineSeconds(value int64) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithAffinity(value *AffinityApplyConfiguration) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithAutomountServiceAccountToken(value bool) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithContainers(values ...*ContainerApplyConfiguration) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithDNSConfig(value *PodDNSConfigApplyConfiguration) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithDNSPolicy(value corev1.DNSPolicy) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithDeprecatedServiceAccount(value string) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithEnableServiceLinks(value bool) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithEphemeralContainers(values ...*EphemeralContainerApplyConfiguration) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithHostAliases(values ...*HostAliasApplyConfiguration) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithHostIPC(value bool) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithHostNetwork(value bool) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithHostPID(value bool) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithHostUsers(value bool) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithHostname(value string) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithImagePullSecrets(values ...*LocalObjectReferenceApplyConfiguration) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithInitContainers(values ...*ContainerApplyConfiguration) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithNodeName(value string) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithNodeSelector(entries map[string]string) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithOS(value *PodOSApplyConfiguration) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithOverhead(value corev1.ResourceList) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithPreemptionPolicy(value corev1.PreemptionPolicy) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithPriority(value int32) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithPriorityClassName(value string) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithReadinessGates(values ...*PodReadinessGateApplyConfiguration) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithResourceClaims(values ...*PodResourceClaimApplyConfiguration) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithRestartPolicy(value corev1.RestartPolicy) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithRuntimeClassName(value string) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithSchedulerName(value string) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithSchedulingGates(values ...*PodSchedulingGateApplyConfiguration) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithSecurityContext(value *PodSecurityContextApplyConfiguration) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithServiceAccountName(value string) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithSetHostnameAsFQDN(value bool) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithShareProcessNamespace(value bool) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithSubdomain(value string) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithTerminationGracePeriodSeconds(value int64) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithTolerations(values ...*TolerationApplyConfiguration) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithTopologySpreadConstraints(values ...*TopologySpreadConstraintApplyConfiguration) *PodSpecApplyConfiguration
- func (b *PodSpecApplyConfiguration) WithVolumes(values ...*VolumeApplyConfiguration) *PodSpecApplyConfiguration
- type PodStatusApplyConfiguration
- func (b *PodStatusApplyConfiguration) WithConditions(values ...*PodConditionApplyConfiguration) *PodStatusApplyConfiguration
- func (b *PodStatusApplyConfiguration) WithContainerStatuses(values ...*ContainerStatusApplyConfiguration) *PodStatusApplyConfiguration
- func (b *PodStatusApplyConfiguration) WithEphemeralContainerStatuses(values ...*ContainerStatusApplyConfiguration) *PodStatusApplyConfiguration
- func (b *PodStatusApplyConfiguration) WithHostIP(value string) *PodStatusApplyConfiguration
- func (b *PodStatusApplyConfiguration) WithHostIPs(values ...*HostIPApplyConfiguration) *PodStatusApplyConfiguration
- func (b *PodStatusApplyConfiguration) WithInitContainerStatuses(values ...*ContainerStatusApplyConfiguration) *PodStatusApplyConfiguration
- func (b *PodStatusApplyConfiguration) WithMessage(value string) *PodStatusApplyConfiguration
- func (b *PodStatusApplyConfiguration) WithNominatedNodeName(value string) *PodStatusApplyConfiguration
- func (b *PodStatusApplyConfiguration) WithPhase(value v1.PodPhase) *PodStatusApplyConfiguration
- func (b *PodStatusApplyConfiguration) WithPodIP(value string) *PodStatusApplyConfiguration
- func (b *PodStatusApplyConfiguration) WithPodIPs(values ...*PodIPApplyConfiguration) *PodStatusApplyConfiguration
- func (b *PodStatusApplyConfiguration) WithQOSClass(value v1.PodQOSClass) *PodStatusApplyConfiguration
- func (b *PodStatusApplyConfiguration) WithReason(value string) *PodStatusApplyConfiguration
- func (b *PodStatusApplyConfiguration) WithResize(value v1.PodResizeStatus) *PodStatusApplyConfiguration
- func (b *PodStatusApplyConfiguration) WithResourceClaimStatuses(values ...*PodResourceClaimStatusApplyConfiguration) *PodStatusApplyConfiguration
- func (b *PodStatusApplyConfiguration) WithStartTime(value metav1.Time) *PodStatusApplyConfiguration
- type PodTemplateApplyConfiguration
- func ExtractPodTemplate(podTemplate *apicorev1.PodTemplate, fieldManager string) (*PodTemplateApplyConfiguration, error)
- func ExtractPodTemplateStatus(podTemplate *apicorev1.PodTemplate, fieldManager string) (*PodTemplateApplyConfiguration, error)
- func PodTemplate(name, namespace string) *PodTemplateApplyConfiguration
- func (b *PodTemplateApplyConfiguration) WithAPIVersion(value string) *PodTemplateApplyConfiguration
- func (b *PodTemplateApplyConfiguration) WithAnnotations(entries map[string]string) *PodTemplateApplyConfiguration
- func (b *PodTemplateApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PodTemplateApplyConfiguration
- func (b *PodTemplateApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PodTemplateApplyConfiguration
- func (b *PodTemplateApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PodTemplateApplyConfiguration
- func (b *PodTemplateApplyConfiguration) WithFinalizers(values ...string) *PodTemplateApplyConfiguration
- func (b *PodTemplateApplyConfiguration) WithGenerateName(value string) *PodTemplateApplyConfiguration
- func (b *PodTemplateApplyConfiguration) WithGeneration(value int64) *PodTemplateApplyConfiguration
- func (b *PodTemplateApplyConfiguration) WithKind(value string) *PodTemplateApplyConfiguration
- func (b *PodTemplateApplyConfiguration) WithLabels(entries map[string]string) *PodTemplateApplyConfiguration
- func (b *PodTemplateApplyConfiguration) WithName(value string) *PodTemplateApplyConfiguration
- func (b *PodTemplateApplyConfiguration) WithNamespace(value string) *PodTemplateApplyConfiguration
- func (b *PodTemplateApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PodTemplateApplyConfiguration
- func (b *PodTemplateApplyConfiguration) WithResourceVersion(value string) *PodTemplateApplyConfiguration
- func (b *PodTemplateApplyConfiguration) WithTemplate(value *PodTemplateSpecApplyConfiguration) *PodTemplateApplyConfiguration
- func (b *PodTemplateApplyConfiguration) WithUID(value types.UID) *PodTemplateApplyConfiguration
- type PodTemplateSpecApplyConfiguration
- func (b *PodTemplateSpecApplyConfiguration) WithAnnotations(entries map[string]string) *PodTemplateSpecApplyConfiguration
- func (b *PodTemplateSpecApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PodTemplateSpecApplyConfiguration
- func (b *PodTemplateSpecApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PodTemplateSpecApplyConfiguration
- func (b *PodTemplateSpecApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PodTemplateSpecApplyConfiguration
- func (b *PodTemplateSpecApplyConfiguration) WithFinalizers(values ...string) *PodTemplateSpecApplyConfiguration
- func (b *PodTemplateSpecApplyConfiguration) WithGenerateName(value string) *PodTemplateSpecApplyConfiguration
- func (b *PodTemplateSpecApplyConfiguration) WithGeneration(value int64) *PodTemplateSpecApplyConfiguration
- func (b *PodTemplateSpecApplyConfiguration) WithLabels(entries map[string]string) *PodTemplateSpecApplyConfiguration
- func (b *PodTemplateSpecApplyConfiguration) WithName(value string) *PodTemplateSpecApplyConfiguration
- func (b *PodTemplateSpecApplyConfiguration) WithNamespace(value string) *PodTemplateSpecApplyConfiguration
- func (b *PodTemplateSpecApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PodTemplateSpecApplyConfiguration
- func (b *PodTemplateSpecApplyConfiguration) WithResourceVersion(value string) *PodTemplateSpecApplyConfiguration
- func (b *PodTemplateSpecApplyConfiguration) WithSpec(value *PodSpecApplyConfiguration) *PodTemplateSpecApplyConfiguration
- func (b *PodTemplateSpecApplyConfiguration) WithUID(value types.UID) *PodTemplateSpecApplyConfiguration
- type PortStatusApplyConfiguration
- type PortworxVolumeSourceApplyConfiguration
- func (b *PortworxVolumeSourceApplyConfiguration) WithFSType(value string) *PortworxVolumeSourceApplyConfiguration
- func (b *PortworxVolumeSourceApplyConfiguration) WithReadOnly(value bool) *PortworxVolumeSourceApplyConfiguration
- func (b *PortworxVolumeSourceApplyConfiguration) WithVolumeID(value string) *PortworxVolumeSourceApplyConfiguration
- type PreferredSchedulingTermApplyConfiguration
- type ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithExec(value *ExecActionApplyConfiguration) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithFailureThreshold(value int32) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithGRPC(value *GRPCActionApplyConfiguration) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithHTTPGet(value *HTTPGetActionApplyConfiguration) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithInitialDelaySeconds(value int32) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithPeriodSeconds(value int32) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithSuccessThreshold(value int32) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithTCPSocket(value *TCPSocketActionApplyConfiguration) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithTerminationGracePeriodSeconds(value int64) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithTimeoutSeconds(value int32) *ProbeApplyConfiguration
- type ProbeHandlerApplyConfiguration
- func (b *ProbeHandlerApplyConfiguration) WithExec(value *ExecActionApplyConfiguration) *ProbeHandlerApplyConfiguration
- func (b *ProbeHandlerApplyConfiguration) WithGRPC(value *GRPCActionApplyConfiguration) *ProbeHandlerApplyConfiguration
- func (b *ProbeHandlerApplyConfiguration) WithHTTPGet(value *HTTPGetActionApplyConfiguration) *ProbeHandlerApplyConfiguration
- func (b *ProbeHandlerApplyConfiguration) WithTCPSocket(value *TCPSocketActionApplyConfiguration) *ProbeHandlerApplyConfiguration
- type ProjectedVolumeSourceApplyConfiguration
- type QuobyteVolumeSourceApplyConfiguration
- func (b *QuobyteVolumeSourceApplyConfiguration) WithGroup(value string) *QuobyteVolumeSourceApplyConfiguration
- func (b *QuobyteVolumeSourceApplyConfiguration) WithReadOnly(value bool) *QuobyteVolumeSourceApplyConfiguration
- func (b *QuobyteVolumeSourceApplyConfiguration) WithRegistry(value string) *QuobyteVolumeSourceApplyConfiguration
- func (b *QuobyteVolumeSourceApplyConfiguration) WithTenant(value string) *QuobyteVolumeSourceApplyConfiguration
- func (b *QuobyteVolumeSourceApplyConfiguration) WithUser(value string) *QuobyteVolumeSourceApplyConfiguration
- func (b *QuobyteVolumeSourceApplyConfiguration) WithVolume(value string) *QuobyteVolumeSourceApplyConfiguration
- type RBDPersistentVolumeSourceApplyConfiguration
- func (b *RBDPersistentVolumeSourceApplyConfiguration) WithCephMonitors(values ...string) *RBDPersistentVolumeSourceApplyConfiguration
- func (b *RBDPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *RBDPersistentVolumeSourceApplyConfiguration
- func (b *RBDPersistentVolumeSourceApplyConfiguration) WithKeyring(value string) *RBDPersistentVolumeSourceApplyConfiguration
- func (b *RBDPersistentVolumeSourceApplyConfiguration) WithRBDImage(value string) *RBDPersistentVolumeSourceApplyConfiguration
- func (b *RBDPersistentVolumeSourceApplyConfiguration) WithRBDPool(value string) *RBDPersistentVolumeSourceApplyConfiguration
- func (b *RBDPersistentVolumeSourceApplyConfiguration) WithRadosUser(value string) *RBDPersistentVolumeSourceApplyConfiguration
- func (b *RBDPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *RBDPersistentVolumeSourceApplyConfiguration
- func (b *RBDPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *RBDPersistentVolumeSourceApplyConfiguration
- type RBDVolumeSourceApplyConfiguration
- func (b *RBDVolumeSourceApplyConfiguration) WithCephMonitors(values ...string) *RBDVolumeSourceApplyConfiguration
- func (b *RBDVolumeSourceApplyConfiguration) WithFSType(value string) *RBDVolumeSourceApplyConfiguration
- func (b *RBDVolumeSourceApplyConfiguration) WithKeyring(value string) *RBDVolumeSourceApplyConfiguration
- func (b *RBDVolumeSourceApplyConfiguration) WithRBDImage(value string) *RBDVolumeSourceApplyConfiguration
- func (b *RBDVolumeSourceApplyConfiguration) WithRBDPool(value string) *RBDVolumeSourceApplyConfiguration
- func (b *RBDVolumeSourceApplyConfiguration) WithRadosUser(value string) *RBDVolumeSourceApplyConfiguration
- func (b *RBDVolumeSourceApplyConfiguration) WithReadOnly(value bool) *RBDVolumeSourceApplyConfiguration
- func (b *RBDVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *RBDVolumeSourceApplyConfiguration
- type ReplicationControllerApplyConfiguration
- func ExtractReplicationController(replicationController *apicorev1.ReplicationController, fieldManager string) (*ReplicationControllerApplyConfiguration, error)
- func ExtractReplicationControllerStatus(replicationController *apicorev1.ReplicationController, fieldManager string) (*ReplicationControllerApplyConfiguration, error)
- func ReplicationController(name, namespace string) *ReplicationControllerApplyConfiguration
- func (b *ReplicationControllerApplyConfiguration) WithAPIVersion(value string) *ReplicationControllerApplyConfiguration
- func (b *ReplicationControllerApplyConfiguration) WithAnnotations(entries map[string]string) *ReplicationControllerApplyConfiguration
- func (b *ReplicationControllerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ReplicationControllerApplyConfiguration
- func (b *ReplicationControllerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ReplicationControllerApplyConfiguration
- func (b *ReplicationControllerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ReplicationControllerApplyConfiguration
- func (b *ReplicationControllerApplyConfiguration) WithFinalizers(values ...string) *ReplicationControllerApplyConfiguration
- func (b *ReplicationControllerApplyConfiguration) WithGenerateName(value string) *ReplicationControllerApplyConfiguration
- func (b *ReplicationControllerApplyConfiguration) WithGeneration(value int64) *ReplicationControllerApplyConfiguration
- func (b *ReplicationControllerApplyConfiguration) WithKind(value string) *ReplicationControllerApplyConfiguration
- func (b *ReplicationControllerApplyConfiguration) WithLabels(entries map[string]string) *ReplicationControllerApplyConfiguration
- func (b *ReplicationControllerApplyConfiguration) WithName(value string) *ReplicationControllerApplyConfiguration
- func (b *ReplicationControllerApplyConfiguration) WithNamespace(value string) *ReplicationControllerApplyConfiguration
- func (b *ReplicationControllerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ReplicationControllerApplyConfiguration
- func (b *ReplicationControllerApplyConfiguration) WithResourceVersion(value string) *ReplicationControllerApplyConfiguration
- func (b *ReplicationControllerApplyConfiguration) WithSpec(value *ReplicationControllerSpecApplyConfiguration) *ReplicationControllerApplyConfiguration
- func (b *ReplicationControllerApplyConfiguration) WithStatus(value *ReplicationControllerStatusApplyConfiguration) *ReplicationControllerApplyConfiguration
- func (b *ReplicationControllerApplyConfiguration) WithUID(value types.UID) *ReplicationControllerApplyConfiguration
- type ReplicationControllerConditionApplyConfiguration
- func (b *ReplicationControllerConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *ReplicationControllerConditionApplyConfiguration
- func (b *ReplicationControllerConditionApplyConfiguration) WithMessage(value string) *ReplicationControllerConditionApplyConfiguration
- func (b *ReplicationControllerConditionApplyConfiguration) WithReason(value string) *ReplicationControllerConditionApplyConfiguration
- func (b *ReplicationControllerConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *ReplicationControllerConditionApplyConfiguration
- func (b *ReplicationControllerConditionApplyConfiguration) WithType(value v1.ReplicationControllerConditionType) *ReplicationControllerConditionApplyConfiguration
- type ReplicationControllerSpecApplyConfiguration
- func (b *ReplicationControllerSpecApplyConfiguration) WithMinReadySeconds(value int32) *ReplicationControllerSpecApplyConfiguration
- func (b *ReplicationControllerSpecApplyConfiguration) WithReplicas(value int32) *ReplicationControllerSpecApplyConfiguration
- func (b *ReplicationControllerSpecApplyConfiguration) WithSelector(entries map[string]string) *ReplicationControllerSpecApplyConfiguration
- func (b *ReplicationControllerSpecApplyConfiguration) WithTemplate(value *PodTemplateSpecApplyConfiguration) *ReplicationControllerSpecApplyConfiguration
- type ReplicationControllerStatusApplyConfiguration
- func (b *ReplicationControllerStatusApplyConfiguration) WithAvailableReplicas(value int32) *ReplicationControllerStatusApplyConfiguration
- func (b *ReplicationControllerStatusApplyConfiguration) WithConditions(values ...*ReplicationControllerConditionApplyConfiguration) *ReplicationControllerStatusApplyConfiguration
- func (b *ReplicationControllerStatusApplyConfiguration) WithFullyLabeledReplicas(value int32) *ReplicationControllerStatusApplyConfiguration
- func (b *ReplicationControllerStatusApplyConfiguration) WithObservedGeneration(value int64) *ReplicationControllerStatusApplyConfiguration
- func (b *ReplicationControllerStatusApplyConfiguration) WithReadyReplicas(value int32) *ReplicationControllerStatusApplyConfiguration
- func (b *ReplicationControllerStatusApplyConfiguration) WithReplicas(value int32) *ReplicationControllerStatusApplyConfiguration
- type ResourceClaimApplyConfiguration
- type ResourceFieldSelectorApplyConfiguration
- func (b *ResourceFieldSelectorApplyConfiguration) WithContainerName(value string) *ResourceFieldSelectorApplyConfiguration
- func (b *ResourceFieldSelectorApplyConfiguration) WithDivisor(value resource.Quantity) *ResourceFieldSelectorApplyConfiguration
- func (b *ResourceFieldSelectorApplyConfiguration) WithResource(value string) *ResourceFieldSelectorApplyConfiguration
- type ResourceQuotaApplyConfiguration
- func ExtractResourceQuota(resourceQuota *apicorev1.ResourceQuota, fieldManager string) (*ResourceQuotaApplyConfiguration, error)
- func ExtractResourceQuotaStatus(resourceQuota *apicorev1.ResourceQuota, fieldManager string) (*ResourceQuotaApplyConfiguration, error)
- func ResourceQuota(name, namespace string) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithAPIVersion(value string) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithAnnotations(entries map[string]string) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithFinalizers(values ...string) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithGenerateName(value string) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithGeneration(value int64) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithKind(value string) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithLabels(entries map[string]string) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithName(value string) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithNamespace(value string) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithResourceVersion(value string) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithSpec(value *ResourceQuotaSpecApplyConfiguration) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithStatus(value *ResourceQuotaStatusApplyConfiguration) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithUID(value types.UID) *ResourceQuotaApplyConfiguration
- type ResourceQuotaSpecApplyConfiguration
- func (b *ResourceQuotaSpecApplyConfiguration) WithHard(value v1.ResourceList) *ResourceQuotaSpecApplyConfiguration
- func (b *ResourceQuotaSpecApplyConfiguration) WithScopeSelector(value *ScopeSelectorApplyConfiguration) *ResourceQuotaSpecApplyConfiguration
- func (b *ResourceQuotaSpecApplyConfiguration) WithScopes(values ...v1.ResourceQuotaScope) *ResourceQuotaSpecApplyConfiguration
- type ResourceQuotaStatusApplyConfiguration
- type ResourceRequirementsApplyConfiguration
- func (b *ResourceRequirementsApplyConfiguration) WithClaims(values ...*ResourceClaimApplyConfiguration) *ResourceRequirementsApplyConfiguration
- func (b *ResourceRequirementsApplyConfiguration) WithLimits(value v1.ResourceList) *ResourceRequirementsApplyConfiguration
- func (b *ResourceRequirementsApplyConfiguration) WithRequests(value v1.ResourceList) *ResourceRequirementsApplyConfiguration
- type SELinuxOptionsApplyConfiguration
- func (b *SELinuxOptionsApplyConfiguration) WithLevel(value string) *SELinuxOptionsApplyConfiguration
- func (b *SELinuxOptionsApplyConfiguration) WithRole(value string) *SELinuxOptionsApplyConfiguration
- func (b *SELinuxOptionsApplyConfiguration) WithType(value string) *SELinuxOptionsApplyConfiguration
- func (b *SELinuxOptionsApplyConfiguration) WithUser(value string) *SELinuxOptionsApplyConfiguration
- type ScaleIOPersistentVolumeSourceApplyConfiguration
- func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *ScaleIOPersistentVolumeSourceApplyConfiguration
- func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithGateway(value string) *ScaleIOPersistentVolumeSourceApplyConfiguration
- func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithProtectionDomain(value string) *ScaleIOPersistentVolumeSourceApplyConfiguration
- func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *ScaleIOPersistentVolumeSourceApplyConfiguration
- func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithSSLEnabled(value bool) *ScaleIOPersistentVolumeSourceApplyConfiguration
- func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *ScaleIOPersistentVolumeSourceApplyConfiguration
- func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithStorageMode(value string) *ScaleIOPersistentVolumeSourceApplyConfiguration
- func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithStoragePool(value string) *ScaleIOPersistentVolumeSourceApplyConfiguration
- func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithSystem(value string) *ScaleIOPersistentVolumeSourceApplyConfiguration
- func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithVolumeName(value string) *ScaleIOPersistentVolumeSourceApplyConfiguration
- type ScaleIOVolumeSourceApplyConfiguration
- func (b *ScaleIOVolumeSourceApplyConfiguration) WithFSType(value string) *ScaleIOVolumeSourceApplyConfiguration
- func (b *ScaleIOVolumeSourceApplyConfiguration) WithGateway(value string) *ScaleIOVolumeSourceApplyConfiguration
- func (b *ScaleIOVolumeSourceApplyConfiguration) WithProtectionDomain(value string) *ScaleIOVolumeSourceApplyConfiguration
- func (b *ScaleIOVolumeSourceApplyConfiguration) WithReadOnly(value bool) *ScaleIOVolumeSourceApplyConfiguration
- func (b *ScaleIOVolumeSourceApplyConfiguration) WithSSLEnabled(value bool) *ScaleIOVolumeSourceApplyConfiguration
- func (b *ScaleIOVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *ScaleIOVolumeSourceApplyConfiguration
- func (b *ScaleIOVolumeSourceApplyConfiguration) WithStorageMode(value string) *ScaleIOVolumeSourceApplyConfiguration
- func (b *ScaleIOVolumeSourceApplyConfiguration) WithStoragePool(value string) *ScaleIOVolumeSourceApplyConfiguration
- func (b *ScaleIOVolumeSourceApplyConfiguration) WithSystem(value string) *ScaleIOVolumeSourceApplyConfiguration
- func (b *ScaleIOVolumeSourceApplyConfiguration) WithVolumeName(value string) *ScaleIOVolumeSourceApplyConfiguration
- type ScopeSelectorApplyConfiguration
- type ScopedResourceSelectorRequirementApplyConfiguration
- func (b *ScopedResourceSelectorRequirementApplyConfiguration) WithOperator(value v1.ScopeSelectorOperator) *ScopedResourceSelectorRequirementApplyConfiguration
- func (b *ScopedResourceSelectorRequirementApplyConfiguration) WithScopeName(value v1.ResourceQuotaScope) *ScopedResourceSelectorRequirementApplyConfiguration
- func (b *ScopedResourceSelectorRequirementApplyConfiguration) WithValues(values ...string) *ScopedResourceSelectorRequirementApplyConfiguration
- type SeccompProfileApplyConfiguration
- type SecretApplyConfiguration
- func (b *SecretApplyConfiguration) WithAPIVersion(value string) *SecretApplyConfiguration
- func (b *SecretApplyConfiguration) WithAnnotations(entries map[string]string) *SecretApplyConfiguration
- func (b *SecretApplyConfiguration) WithCreationTimestamp(value metav1.Time) *SecretApplyConfiguration
- func (b *SecretApplyConfiguration) WithData(entries map[string][]byte) *SecretApplyConfiguration
- func (b *SecretApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *SecretApplyConfiguration
- func (b *SecretApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *SecretApplyConfiguration
- func (b *SecretApplyConfiguration) WithFinalizers(values ...string) *SecretApplyConfiguration
- func (b *SecretApplyConfiguration) WithGenerateName(value string) *SecretApplyConfiguration
- func (b *SecretApplyConfiguration) WithGeneration(value int64) *SecretApplyConfiguration
- func (b *SecretApplyConfiguration) WithImmutable(value bool) *SecretApplyConfiguration
- func (b *SecretApplyConfiguration) WithKind(value string) *SecretApplyConfiguration
- func (b *SecretApplyConfiguration) WithLabels(entries map[string]string) *SecretApplyConfiguration
- func (b *SecretApplyConfiguration) WithName(value string) *SecretApplyConfiguration
- func (b *SecretApplyConfiguration) WithNamespace(value string) *SecretApplyConfiguration
- func (b *SecretApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *SecretApplyConfiguration
- func (b *SecretApplyConfiguration) WithResourceVersion(value string) *SecretApplyConfiguration
- func (b *SecretApplyConfiguration) WithStringData(entries map[string]string) *SecretApplyConfiguration
- func (b *SecretApplyConfiguration) WithType(value corev1.SecretType) *SecretApplyConfiguration
- func (b *SecretApplyConfiguration) WithUID(value types.UID) *SecretApplyConfiguration
- type SecretEnvSourceApplyConfiguration
- type SecretKeySelectorApplyConfiguration
- func (b *SecretKeySelectorApplyConfiguration) WithKey(value string) *SecretKeySelectorApplyConfiguration
- func (b *SecretKeySelectorApplyConfiguration) WithName(value string) *SecretKeySelectorApplyConfiguration
- func (b *SecretKeySelectorApplyConfiguration) WithOptional(value bool) *SecretKeySelectorApplyConfiguration
- type SecretProjectionApplyConfiguration
- func (b *SecretProjectionApplyConfiguration) WithItems(values ...*KeyToPathApplyConfiguration) *SecretProjectionApplyConfiguration
- func (b *SecretProjectionApplyConfiguration) WithName(value string) *SecretProjectionApplyConfiguration
- func (b *SecretProjectionApplyConfiguration) WithOptional(value bool) *SecretProjectionApplyConfiguration
- type SecretReferenceApplyConfiguration
- type SecretVolumeSourceApplyConfiguration
- func (b *SecretVolumeSourceApplyConfiguration) WithDefaultMode(value int32) *SecretVolumeSourceApplyConfiguration
- func (b *SecretVolumeSourceApplyConfiguration) WithItems(values ...*KeyToPathApplyConfiguration) *SecretVolumeSourceApplyConfiguration
- func (b *SecretVolumeSourceApplyConfiguration) WithOptional(value bool) *SecretVolumeSourceApplyConfiguration
- func (b *SecretVolumeSourceApplyConfiguration) WithSecretName(value string) *SecretVolumeSourceApplyConfiguration
- type SecurityContextApplyConfiguration
- func (b *SecurityContextApplyConfiguration) WithAllowPrivilegeEscalation(value bool) *SecurityContextApplyConfiguration
- func (b *SecurityContextApplyConfiguration) WithAppArmorProfile(value *AppArmorProfileApplyConfiguration) *SecurityContextApplyConfiguration
- func (b *SecurityContextApplyConfiguration) WithCapabilities(value *CapabilitiesApplyConfiguration) *SecurityContextApplyConfiguration
- func (b *SecurityContextApplyConfiguration) WithPrivileged(value bool) *SecurityContextApplyConfiguration
- func (b *SecurityContextApplyConfiguration) WithProcMount(value corev1.ProcMountType) *SecurityContextApplyConfiguration
- func (b *SecurityContextApplyConfiguration) WithReadOnlyRootFilesystem(value bool) *SecurityContextApplyConfiguration
- func (b *SecurityContextApplyConfiguration) WithRunAsGroup(value int64) *SecurityContextApplyConfiguration
- func (b *SecurityContextApplyConfiguration) WithRunAsNonRoot(value bool) *SecurityContextApplyConfiguration
- func (b *SecurityContextApplyConfiguration) WithRunAsUser(value int64) *SecurityContextApplyConfiguration
- func (b *SecurityContextApplyConfiguration) WithSELinuxOptions(value *SELinuxOptionsApplyConfiguration) *SecurityContextApplyConfiguration
- func (b *SecurityContextApplyConfiguration) WithSeccompProfile(value *SeccompProfileApplyConfiguration) *SecurityContextApplyConfiguration
- func (b *SecurityContextApplyConfiguration) WithWindowsOptions(value *WindowsSecurityContextOptionsApplyConfiguration) *SecurityContextApplyConfiguration
- type ServiceAccountApplyConfiguration
- func ExtractServiceAccount(serviceAccount *apicorev1.ServiceAccount, fieldManager string) (*ServiceAccountApplyConfiguration, error)
- func ExtractServiceAccountStatus(serviceAccount *apicorev1.ServiceAccount, fieldManager string) (*ServiceAccountApplyConfiguration, error)
- func ServiceAccount(name, namespace string) *ServiceAccountApplyConfiguration
- func (b *ServiceAccountApplyConfiguration) WithAPIVersion(value string) *ServiceAccountApplyConfiguration
- func (b *ServiceAccountApplyConfiguration) WithAnnotations(entries map[string]string) *ServiceAccountApplyConfiguration
- func (b *ServiceAccountApplyConfiguration) WithAutomountServiceAccountToken(value bool) *ServiceAccountApplyConfiguration
- func (b *ServiceAccountApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ServiceAccountApplyConfiguration
- func (b *ServiceAccountApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ServiceAccountApplyConfiguration
- func (b *ServiceAccountApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ServiceAccountApplyConfiguration
- func (b *ServiceAccountApplyConfiguration) WithFinalizers(values ...string) *ServiceAccountApplyConfiguration
- func (b *ServiceAccountApplyConfiguration) WithGenerateName(value string) *ServiceAccountApplyConfiguration
- func (b *ServiceAccountApplyConfiguration) WithGeneration(value int64) *ServiceAccountApplyConfiguration
- func (b *ServiceAccountApplyConfiguration) WithImagePullSecrets(values ...*LocalObjectReferenceApplyConfiguration) *ServiceAccountApplyConfiguration
- func (b *ServiceAccountApplyConfiguration) WithKind(value string) *ServiceAccountApplyConfiguration
- func (b *ServiceAccountApplyConfiguration) WithLabels(entries map[string]string) *ServiceAccountApplyConfiguration
- func (b *ServiceAccountApplyConfiguration) WithName(value string) *ServiceAccountApplyConfiguration
- func (b *ServiceAccountApplyConfiguration) WithNamespace(value string) *ServiceAccountApplyConfiguration
- func (b *ServiceAccountApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ServiceAccountApplyConfiguration
- func (b *ServiceAccountApplyConfiguration) WithResourceVersion(value string) *ServiceAccountApplyConfiguration
- func (b *ServiceAccountApplyConfiguration) WithSecrets(values ...*ObjectReferenceApplyConfiguration) *ServiceAccountApplyConfiguration
- func (b *ServiceAccountApplyConfiguration) WithUID(value types.UID) *ServiceAccountApplyConfiguration
- type ServiceAccountTokenProjectionApplyConfiguration
- func (b *ServiceAccountTokenProjectionApplyConfiguration) WithAudience(value string) *ServiceAccountTokenProjectionApplyConfiguration
- func (b *ServiceAccountTokenProjectionApplyConfiguration) WithExpirationSeconds(value int64) *ServiceAccountTokenProjectionApplyConfiguration
- func (b *ServiceAccountTokenProjectionApplyConfiguration) WithPath(value string) *ServiceAccountTokenProjectionApplyConfiguration
- type ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithAPIVersion(value string) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithAnnotations(entries map[string]string) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithFinalizers(values ...string) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithGenerateName(value string) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithGeneration(value int64) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithKind(value string) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithLabels(entries map[string]string) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithName(value string) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithNamespace(value string) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithResourceVersion(value string) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithSpec(value *ServiceSpecApplyConfiguration) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithStatus(value *ServiceStatusApplyConfiguration) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithUID(value types.UID) *ServiceApplyConfiguration
- type ServicePortApplyConfiguration
- func (b *ServicePortApplyConfiguration) WithAppProtocol(value string) *ServicePortApplyConfiguration
- func (b *ServicePortApplyConfiguration) WithName(value string) *ServicePortApplyConfiguration
- func (b *ServicePortApplyConfiguration) WithNodePort(value int32) *ServicePortApplyConfiguration
- func (b *ServicePortApplyConfiguration) WithPort(value int32) *ServicePortApplyConfiguration
- func (b *ServicePortApplyConfiguration) WithProtocol(value v1.Protocol) *ServicePortApplyConfiguration
- func (b *ServicePortApplyConfiguration) WithTargetPort(value intstr.IntOrString) *ServicePortApplyConfiguration
- type ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithAllocateLoadBalancerNodePorts(value bool) *ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithClusterIP(value string) *ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithClusterIPs(values ...string) *ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithExternalIPs(values ...string) *ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithExternalName(value string) *ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithExternalTrafficPolicy(value corev1.ServiceExternalTrafficPolicy) *ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithHealthCheckNodePort(value int32) *ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithIPFamilies(values ...corev1.IPFamily) *ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithIPFamilyPolicy(value corev1.IPFamilyPolicy) *ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithInternalTrafficPolicy(value corev1.ServiceInternalTrafficPolicy) *ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithLoadBalancerClass(value string) *ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithLoadBalancerIP(value string) *ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithLoadBalancerSourceRanges(values ...string) *ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithPorts(values ...*ServicePortApplyConfiguration) *ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithPublishNotReadyAddresses(value bool) *ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithSelector(entries map[string]string) *ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithSessionAffinity(value corev1.ServiceAffinity) *ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithSessionAffinityConfig(value *SessionAffinityConfigApplyConfiguration) *ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithTrafficDistribution(value string) *ServiceSpecApplyConfiguration
- func (b *ServiceSpecApplyConfiguration) WithType(value corev1.ServiceType) *ServiceSpecApplyConfiguration
- type ServiceStatusApplyConfiguration
- type SessionAffinityConfigApplyConfiguration
- type SleepActionApplyConfiguration
- type StorageOSPersistentVolumeSourceApplyConfiguration
- func (b *StorageOSPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *StorageOSPersistentVolumeSourceApplyConfiguration
- func (b *StorageOSPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *StorageOSPersistentVolumeSourceApplyConfiguration
- func (b *StorageOSPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *ObjectReferenceApplyConfiguration) *StorageOSPersistentVolumeSourceApplyConfiguration
- func (b *StorageOSPersistentVolumeSourceApplyConfiguration) WithVolumeName(value string) *StorageOSPersistentVolumeSourceApplyConfiguration
- func (b *StorageOSPersistentVolumeSourceApplyConfiguration) WithVolumeNamespace(value string) *StorageOSPersistentVolumeSourceApplyConfiguration
- type StorageOSVolumeSourceApplyConfiguration
- func (b *StorageOSVolumeSourceApplyConfiguration) WithFSType(value string) *StorageOSVolumeSourceApplyConfiguration
- func (b *StorageOSVolumeSourceApplyConfiguration) WithReadOnly(value bool) *StorageOSVolumeSourceApplyConfiguration
- func (b *StorageOSVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *StorageOSVolumeSourceApplyConfiguration
- func (b *StorageOSVolumeSourceApplyConfiguration) WithVolumeName(value string) *StorageOSVolumeSourceApplyConfiguration
- func (b *StorageOSVolumeSourceApplyConfiguration) WithVolumeNamespace(value string) *StorageOSVolumeSourceApplyConfiguration
- type SysctlApplyConfiguration
- type TCPSocketActionApplyConfiguration
- type TaintApplyConfiguration
- func (b *TaintApplyConfiguration) WithEffect(value v1.TaintEffect) *TaintApplyConfiguration
- func (b *TaintApplyConfiguration) WithKey(value string) *TaintApplyConfiguration
- func (b *TaintApplyConfiguration) WithTimeAdded(value metav1.Time) *TaintApplyConfiguration
- func (b *TaintApplyConfiguration) WithValue(value string) *TaintApplyConfiguration
- type TolerationApplyConfiguration
- func (b *TolerationApplyConfiguration) WithEffect(value v1.TaintEffect) *TolerationApplyConfiguration
- func (b *TolerationApplyConfiguration) WithKey(value string) *TolerationApplyConfiguration
- func (b *TolerationApplyConfiguration) WithOperator(value v1.TolerationOperator) *TolerationApplyConfiguration
- func (b *TolerationApplyConfiguration) WithTolerationSeconds(value int64) *TolerationApplyConfiguration
- func (b *TolerationApplyConfiguration) WithValue(value string) *TolerationApplyConfiguration
- type TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithLabelSelector(value *metav1.LabelSelectorApplyConfiguration) *TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithMatchLabelKeys(values ...string) *TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithMaxSkew(value int32) *TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithMinDomains(value int32) *TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithNodeAffinityPolicy(value v1.NodeInclusionPolicy) *TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithNodeTaintsPolicy(value v1.NodeInclusionPolicy) *TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithTopologyKey(value string) *TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithWhenUnsatisfiable(value v1.UnsatisfiableConstraintAction) *TopologySpreadConstraintApplyConfiguration
- type TypedLocalObjectReferenceApplyConfiguration
- func (b *TypedLocalObjectReferenceApplyConfiguration) WithAPIGroup(value string) *TypedLocalObjectReferenceApplyConfiguration
- func (b *TypedLocalObjectReferenceApplyConfiguration) WithKind(value string) *TypedLocalObjectReferenceApplyConfiguration
- func (b *TypedLocalObjectReferenceApplyConfiguration) WithName(value string) *TypedLocalObjectReferenceApplyConfiguration
- type TypedObjectReferenceApplyConfiguration
- func (b *TypedObjectReferenceApplyConfiguration) WithAPIGroup(value string) *TypedObjectReferenceApplyConfiguration
- func (b *TypedObjectReferenceApplyConfiguration) WithKind(value string) *TypedObjectReferenceApplyConfiguration
- func (b *TypedObjectReferenceApplyConfiguration) WithName(value string) *TypedObjectReferenceApplyConfiguration
- func (b *TypedObjectReferenceApplyConfiguration) WithNamespace(value string) *TypedObjectReferenceApplyConfiguration
- type VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithAWSElasticBlockStore(value *AWSElasticBlockStoreVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithAzureDisk(value *AzureDiskVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithAzureFile(value *AzureFileVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithCSI(value *CSIVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithCephFS(value *CephFSVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithCinder(value *CinderVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithConfigMap(value *ConfigMapVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithDownwardAPI(value *DownwardAPIVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithEmptyDir(value *EmptyDirVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithEphemeral(value *EphemeralVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithFC(value *FCVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithFlexVolume(value *FlexVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithFlocker(value *FlockerVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithGCEPersistentDisk(value *GCEPersistentDiskVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithGitRepo(value *GitRepoVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithGlusterfs(value *GlusterfsVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithHostPath(value *HostPathVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithISCSI(value *ISCSIVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithNFS(value *NFSVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithName(value string) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithPersistentVolumeClaim(value *PersistentVolumeClaimVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithPhotonPersistentDisk(value *PhotonPersistentDiskVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithPortworxVolume(value *PortworxVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithProjected(value *ProjectedVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithQuobyte(value *QuobyteVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithRBD(value *RBDVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithScaleIO(value *ScaleIOVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithSecret(value *SecretVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithStorageOS(value *StorageOSVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithVsphereVolume(value *VsphereVirtualDiskVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- type VolumeDeviceApplyConfiguration
- type VolumeMountApplyConfiguration
- func (b *VolumeMountApplyConfiguration) WithMountPath(value string) *VolumeMountApplyConfiguration
- func (b *VolumeMountApplyConfiguration) WithMountPropagation(value v1.MountPropagationMode) *VolumeMountApplyConfiguration
- func (b *VolumeMountApplyConfiguration) WithName(value string) *VolumeMountApplyConfiguration
- func (b *VolumeMountApplyConfiguration) WithReadOnly(value bool) *VolumeMountApplyConfiguration
- func (b *VolumeMountApplyConfiguration) WithRecursiveReadOnly(value v1.RecursiveReadOnlyMode) *VolumeMountApplyConfiguration
- func (b *VolumeMountApplyConfiguration) WithSubPath(value string) *VolumeMountApplyConfiguration
- func (b *VolumeMountApplyConfiguration) WithSubPathExpr(value string) *VolumeMountApplyConfiguration
- type VolumeMountStatusApplyConfiguration
- func (b *VolumeMountStatusApplyConfiguration) WithMountPath(value string) *VolumeMountStatusApplyConfiguration
- func (b *VolumeMountStatusApplyConfiguration) WithName(value string) *VolumeMountStatusApplyConfiguration
- func (b *VolumeMountStatusApplyConfiguration) WithReadOnly(value bool) *VolumeMountStatusApplyConfiguration
- func (b *VolumeMountStatusApplyConfiguration) WithRecursiveReadOnly(value v1.RecursiveReadOnlyMode) *VolumeMountStatusApplyConfiguration
- type VolumeNodeAffinityApplyConfiguration
- type VolumeProjectionApplyConfiguration
- func (b *VolumeProjectionApplyConfiguration) WithClusterTrustBundle(value *ClusterTrustBundleProjectionApplyConfiguration) *VolumeProjectionApplyConfiguration
- func (b *VolumeProjectionApplyConfiguration) WithConfigMap(value *ConfigMapProjectionApplyConfiguration) *VolumeProjectionApplyConfiguration
- func (b *VolumeProjectionApplyConfiguration) WithDownwardAPI(value *DownwardAPIProjectionApplyConfiguration) *VolumeProjectionApplyConfiguration
- func (b *VolumeProjectionApplyConfiguration) WithSecret(value *SecretProjectionApplyConfiguration) *VolumeProjectionApplyConfiguration
- func (b *VolumeProjectionApplyConfiguration) WithServiceAccountToken(value *ServiceAccountTokenProjectionApplyConfiguration) *VolumeProjectionApplyConfiguration
- type VolumeResourceRequirementsApplyConfiguration
- type VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithAWSElasticBlockStore(value *AWSElasticBlockStoreVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithAzureDisk(value *AzureDiskVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithAzureFile(value *AzureFileVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithCSI(value *CSIVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithCephFS(value *CephFSVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithCinder(value *CinderVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithConfigMap(value *ConfigMapVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithDownwardAPI(value *DownwardAPIVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithEmptyDir(value *EmptyDirVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithEphemeral(value *EphemeralVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithFC(value *FCVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithFlexVolume(value *FlexVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithFlocker(value *FlockerVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithGCEPersistentDisk(value *GCEPersistentDiskVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithGitRepo(value *GitRepoVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithGlusterfs(value *GlusterfsVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithHostPath(value *HostPathVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithISCSI(value *ISCSIVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithNFS(value *NFSVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithPersistentVolumeClaim(value *PersistentVolumeClaimVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithPhotonPersistentDisk(value *PhotonPersistentDiskVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithPortworxVolume(value *PortworxVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithProjected(value *ProjectedVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithQuobyte(value *QuobyteVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithRBD(value *RBDVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithScaleIO(value *ScaleIOVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithSecret(value *SecretVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithStorageOS(value *StorageOSVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithVsphereVolume(value *VsphereVirtualDiskVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- type VsphereVirtualDiskVolumeSourceApplyConfiguration
- func (b *VsphereVirtualDiskVolumeSourceApplyConfiguration) WithFSType(value string) *VsphereVirtualDiskVolumeSourceApplyConfiguration
- func (b *VsphereVirtualDiskVolumeSourceApplyConfiguration) WithStoragePolicyID(value string) *VsphereVirtualDiskVolumeSourceApplyConfiguration
- func (b *VsphereVirtualDiskVolumeSourceApplyConfiguration) WithStoragePolicyName(value string) *VsphereVirtualDiskVolumeSourceApplyConfiguration
- func (b *VsphereVirtualDiskVolumeSourceApplyConfiguration) WithVolumePath(value string) *VsphereVirtualDiskVolumeSourceApplyConfiguration
- type WeightedPodAffinityTermApplyConfiguration
- type WindowsSecurityContextOptionsApplyConfiguration
- func (b *WindowsSecurityContextOptionsApplyConfiguration) WithGMSACredentialSpec(value string) *WindowsSecurityContextOptionsApplyConfiguration
- func (b *WindowsSecurityContextOptionsApplyConfiguration) WithGMSACredentialSpecName(value string) *WindowsSecurityContextOptionsApplyConfiguration
- func (b *WindowsSecurityContextOptionsApplyConfiguration) WithHostProcess(value bool) *WindowsSecurityContextOptionsApplyConfiguration
- func (b *WindowsSecurityContextOptionsApplyConfiguration) WithRunAsUserName(value string) *WindowsSecurityContextOptionsApplyConfiguration
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 ¶
func (b *AWSElasticBlockStoreVolumeSourceApplyConfiguration) WithFSType(value string) *AWSElasticBlockStoreVolumeSourceApplyConfiguration
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 ¶
func (b *AWSElasticBlockStoreVolumeSourceApplyConfiguration) WithPartition(value int32) *AWSElasticBlockStoreVolumeSourceApplyConfiguration
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 ¶
func (b *AWSElasticBlockStoreVolumeSourceApplyConfiguration) WithReadOnly(value bool) *AWSElasticBlockStoreVolumeSourceApplyConfiguration
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 ¶
func (b *AWSElasticBlockStoreVolumeSourceApplyConfiguration) WithVolumeID(value string) *AWSElasticBlockStoreVolumeSourceApplyConfiguration
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 ¶
func (b *AffinityApplyConfiguration) WithNodeAffinity(value *NodeAffinityApplyConfiguration) *AffinityApplyConfiguration
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 ¶
func (b *AffinityApplyConfiguration) WithPodAffinity(value *PodAffinityApplyConfiguration) *AffinityApplyConfiguration
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 ¶
func (b *AffinityApplyConfiguration) WithPodAntiAffinity(value *PodAntiAffinityApplyConfiguration) *AffinityApplyConfiguration
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 AppArmorProfileApplyConfiguration ¶
type AppArmorProfileApplyConfiguration struct { Type *v1.AppArmorProfileType `json:"type,omitempty"` LocalhostProfile *string `json:"localhostProfile,omitempty"` }
AppArmorProfileApplyConfiguration represents an declarative configuration of the AppArmorProfile type for use with apply.
func AppArmorProfile ¶
func AppArmorProfile() *AppArmorProfileApplyConfiguration
AppArmorProfileApplyConfiguration constructs an declarative configuration of the AppArmorProfile type for use with apply.
func (*AppArmorProfileApplyConfiguration) WithLocalhostProfile ¶
func (b *AppArmorProfileApplyConfiguration) WithLocalhostProfile(value string) *AppArmorProfileApplyConfiguration
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 (*AppArmorProfileApplyConfiguration) WithType ¶
func (b *AppArmorProfileApplyConfiguration) WithType(value v1.AppArmorProfileType) *AppArmorProfileApplyConfiguration
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 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 ¶
func (b *AttachedVolumeApplyConfiguration) WithDevicePath(value string) *AttachedVolumeApplyConfiguration
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 ¶
func (b *AttachedVolumeApplyConfiguration) WithName(value v1.UniqueVolumeName) *AttachedVolumeApplyConfiguration
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 ¶
func (b *AzureDiskVolumeSourceApplyConfiguration) WithCachingMode(value v1.AzureDataDiskCachingMode) *AzureDiskVolumeSourceApplyConfiguration
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 ¶
func (b *AzureDiskVolumeSourceApplyConfiguration) WithDataDiskURI(value string) *AzureDiskVolumeSourceApplyConfiguration
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 ¶
func (b *AzureDiskVolumeSourceApplyConfiguration) WithDiskName(value string) *AzureDiskVolumeSourceApplyConfiguration
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 ¶
func (b *AzureDiskVolumeSourceApplyConfiguration) WithFSType(value string) *AzureDiskVolumeSourceApplyConfiguration
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 ¶
func (b *AzureDiskVolumeSourceApplyConfiguration) WithKind(value v1.AzureDataDiskKind) *AzureDiskVolumeSourceApplyConfiguration
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 ¶
func (b *AzureDiskVolumeSourceApplyConfiguration) WithReadOnly(value bool) *AzureDiskVolumeSourceApplyConfiguration
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"` 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 ¶
func (b *AzureFilePersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *AzureFilePersistentVolumeSourceApplyConfiguration
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 ¶
func (b *AzureFilePersistentVolumeSourceApplyConfiguration) WithSecretName(value string) *AzureFilePersistentVolumeSourceApplyConfiguration
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 ¶
func (b *AzureFilePersistentVolumeSourceApplyConfiguration) WithSecretNamespace(value string) *AzureFilePersistentVolumeSourceApplyConfiguration
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 ¶
func (b *AzureFilePersistentVolumeSourceApplyConfiguration) WithShareName(value string) *AzureFilePersistentVolumeSourceApplyConfiguration
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"` 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 ¶
func (b *AzureFileVolumeSourceApplyConfiguration) WithReadOnly(value bool) *AzureFileVolumeSourceApplyConfiguration
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 ¶
func (b *AzureFileVolumeSourceApplyConfiguration) WithSecretName(value string) *AzureFileVolumeSourceApplyConfiguration
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 ¶
func (b *AzureFileVolumeSourceApplyConfiguration) WithShareName(value string) *AzureFileVolumeSourceApplyConfiguration
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 ¶
func (b *CSIPersistentVolumeSourceApplyConfiguration) WithControllerExpandSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CSIPersistentVolumeSourceApplyConfiguration) WithControllerPublishSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CSIPersistentVolumeSourceApplyConfiguration) WithDriver(value string) *CSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CSIPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *CSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CSIPersistentVolumeSourceApplyConfiguration) WithNodeExpandSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CSIPersistentVolumeSourceApplyConfiguration) WithNodePublishSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CSIPersistentVolumeSourceApplyConfiguration) WithNodeStageSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CSIPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CSIPersistentVolumeSourceApplyConfiguration) WithVolumeAttributes(entries map[string]string) *CSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CSIPersistentVolumeSourceApplyConfiguration) WithVolumeHandle(value string) *CSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CSIVolumeSourceApplyConfiguration) WithDriver(value string) *CSIVolumeSourceApplyConfiguration
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 ¶
func (b *CSIVolumeSourceApplyConfiguration) WithFSType(value string) *CSIVolumeSourceApplyConfiguration
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 ¶
func (b *CSIVolumeSourceApplyConfiguration) WithNodePublishSecretRef(value *LocalObjectReferenceApplyConfiguration) *CSIVolumeSourceApplyConfiguration
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 ¶
func (b *CSIVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CSIVolumeSourceApplyConfiguration
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 ¶
func (b *CSIVolumeSourceApplyConfiguration) WithVolumeAttributes(entries map[string]string) *CSIVolumeSourceApplyConfiguration
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 ¶
func (b *CapabilitiesApplyConfiguration) WithAdd(values ...v1.Capability) *CapabilitiesApplyConfiguration
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 ¶
func (b *CapabilitiesApplyConfiguration) WithDrop(values ...v1.Capability) *CapabilitiesApplyConfiguration
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 ¶
func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithMonitors(values ...string) *CephFSPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithPath(value string) *CephFSPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CephFSPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithSecretFile(value string) *CephFSPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *CephFSPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithUser(value string) *CephFSPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CephFSVolumeSourceApplyConfiguration) WithMonitors(values ...string) *CephFSVolumeSourceApplyConfiguration
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 ¶
func (b *CephFSVolumeSourceApplyConfiguration) WithPath(value string) *CephFSVolumeSourceApplyConfiguration
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 ¶
func (b *CephFSVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CephFSVolumeSourceApplyConfiguration
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 ¶
func (b *CephFSVolumeSourceApplyConfiguration) WithSecretFile(value string) *CephFSVolumeSourceApplyConfiguration
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 ¶
func (b *CephFSVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *CephFSVolumeSourceApplyConfiguration
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 ¶
func (b *CephFSVolumeSourceApplyConfiguration) WithUser(value string) *CephFSVolumeSourceApplyConfiguration
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 ¶
func (b *CinderPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *CinderPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CinderPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CinderPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CinderPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *CinderPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CinderPersistentVolumeSourceApplyConfiguration) WithVolumeID(value string) *CinderPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *CinderVolumeSourceApplyConfiguration) WithFSType(value string) *CinderVolumeSourceApplyConfiguration
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 ¶
func (b *CinderVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CinderVolumeSourceApplyConfiguration
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 ¶
func (b *CinderVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *CinderVolumeSourceApplyConfiguration
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 ¶
func (b *CinderVolumeSourceApplyConfiguration) WithVolumeID(value string) *CinderVolumeSourceApplyConfiguration
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 ¶
func (b *ClientIPConfigApplyConfiguration) WithTimeoutSeconds(value int32) *ClientIPConfigApplyConfiguration
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 ClusterTrustBundleProjectionApplyConfiguration ¶
type ClusterTrustBundleProjectionApplyConfiguration struct { Name *string `json:"name,omitempty"` SignerName *string `json:"signerName,omitempty"` LabelSelector *v1.LabelSelectorApplyConfiguration `json:"labelSelector,omitempty"` Optional *bool `json:"optional,omitempty"` Path *string `json:"path,omitempty"` }
ClusterTrustBundleProjectionApplyConfiguration represents an declarative configuration of the ClusterTrustBundleProjection type for use with apply.
func ClusterTrustBundleProjection ¶
func ClusterTrustBundleProjection() *ClusterTrustBundleProjectionApplyConfiguration
ClusterTrustBundleProjectionApplyConfiguration constructs an declarative configuration of the ClusterTrustBundleProjection type for use with apply.
func (*ClusterTrustBundleProjectionApplyConfiguration) WithLabelSelector ¶
func (b *ClusterTrustBundleProjectionApplyConfiguration) WithLabelSelector(value *v1.LabelSelectorApplyConfiguration) *ClusterTrustBundleProjectionApplyConfiguration
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 (*ClusterTrustBundleProjectionApplyConfiguration) WithName ¶
func (b *ClusterTrustBundleProjectionApplyConfiguration) WithName(value string) *ClusterTrustBundleProjectionApplyConfiguration
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 (*ClusterTrustBundleProjectionApplyConfiguration) WithOptional ¶
func (b *ClusterTrustBundleProjectionApplyConfiguration) WithOptional(value bool) *ClusterTrustBundleProjectionApplyConfiguration
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 (*ClusterTrustBundleProjectionApplyConfiguration) WithPath ¶
func (b *ClusterTrustBundleProjectionApplyConfiguration) WithPath(value string) *ClusterTrustBundleProjectionApplyConfiguration
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 (*ClusterTrustBundleProjectionApplyConfiguration) WithSignerName ¶
func (b *ClusterTrustBundleProjectionApplyConfiguration) WithSignerName(value string) *ClusterTrustBundleProjectionApplyConfiguration
WithSignerName sets the SignerName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SignerName 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 ¶
func (b *ComponentConditionApplyConfiguration) WithError(value string) *ComponentConditionApplyConfiguration
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 ¶
func (b *ComponentConditionApplyConfiguration) WithMessage(value string) *ComponentConditionApplyConfiguration
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 ¶
func (b *ComponentConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *ComponentConditionApplyConfiguration
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 ¶
func (b *ComponentConditionApplyConfiguration) WithType(value v1.ComponentConditionType) *ComponentConditionApplyConfiguration
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 ¶
func (b *ComponentStatusApplyConfiguration) WithAPIVersion(value string) *ComponentStatusApplyConfiguration
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 ¶
func (b *ComponentStatusApplyConfiguration) WithAnnotations(entries map[string]string) *ComponentStatusApplyConfiguration
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 ¶
func (b *ComponentStatusApplyConfiguration) WithConditions(values ...*ComponentConditionApplyConfiguration) *ComponentStatusApplyConfiguration
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 ¶
func (b *ComponentStatusApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ComponentStatusApplyConfiguration
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 ¶
func (b *ComponentStatusApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ComponentStatusApplyConfiguration
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 ¶
func (b *ComponentStatusApplyConfiguration) WithFinalizers(values ...string) *ComponentStatusApplyConfiguration
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 ¶
func (b *ComponentStatusApplyConfiguration) WithGenerateName(value string) *ComponentStatusApplyConfiguration
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 ¶
func (b *ComponentStatusApplyConfiguration) WithGeneration(value int64) *ComponentStatusApplyConfiguration
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 ¶
func (b *ComponentStatusApplyConfiguration) WithKind(value string) *ComponentStatusApplyConfiguration
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 ¶
func (b *ComponentStatusApplyConfiguration) WithLabels(entries map[string]string) *ComponentStatusApplyConfiguration
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 ¶
func (b *ComponentStatusApplyConfiguration) WithName(value string) *ComponentStatusApplyConfiguration
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 ¶
func (b *ComponentStatusApplyConfiguration) WithNamespace(value string) *ComponentStatusApplyConfiguration
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 ¶
func (b *ComponentStatusApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ComponentStatusApplyConfiguration
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 ¶
func (b *ComponentStatusApplyConfiguration) WithResourceVersion(value string) *ComponentStatusApplyConfiguration
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 ¶
func (b *ComponentStatusApplyConfiguration) WithUID(value types.UID) *ComponentStatusApplyConfiguration
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 ¶
func (b *ConfigMapApplyConfiguration) WithAPIVersion(value string) *ConfigMapApplyConfiguration
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 ¶
func (b *ConfigMapApplyConfiguration) WithData(entries map[string]string) *ConfigMapApplyConfiguration
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 ¶
func (b *ConfigMapApplyConfiguration) WithGenerateName(value string) *ConfigMapApplyConfiguration
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 ¶
func (b *ConfigMapApplyConfiguration) WithGeneration(value int64) *ConfigMapApplyConfiguration
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 ¶
func (b *ConfigMapApplyConfiguration) WithImmutable(value bool) *ConfigMapApplyConfiguration
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 ¶
func (b *ConfigMapApplyConfiguration) WithKind(value string) *ConfigMapApplyConfiguration
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 ¶
func (b *ConfigMapApplyConfiguration) WithLabels(entries map[string]string) *ConfigMapApplyConfiguration
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 ¶
func (b *ConfigMapApplyConfiguration) WithName(value string) *ConfigMapApplyConfiguration
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 ¶
func (b *ConfigMapApplyConfiguration) WithNamespace(value string) *ConfigMapApplyConfiguration
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 ¶
func (b *ConfigMapApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ConfigMapApplyConfiguration
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 ¶
func (b *ConfigMapApplyConfiguration) WithUID(value types.UID) *ConfigMapApplyConfiguration
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 ¶
func (b *ConfigMapEnvSourceApplyConfiguration) WithName(value string) *ConfigMapEnvSourceApplyConfiguration
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 ¶
func (b *ConfigMapEnvSourceApplyConfiguration) WithOptional(value bool) *ConfigMapEnvSourceApplyConfiguration
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 ¶
func (b *ConfigMapKeySelectorApplyConfiguration) WithKey(value string) *ConfigMapKeySelectorApplyConfiguration
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 ¶
func (b *ConfigMapKeySelectorApplyConfiguration) WithName(value string) *ConfigMapKeySelectorApplyConfiguration
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 ¶
func (b *ConfigMapKeySelectorApplyConfiguration) WithOptional(value bool) *ConfigMapKeySelectorApplyConfiguration
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 ¶
func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithKubeletConfigKey(value string) *ConfigMapNodeConfigSourceApplyConfiguration
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 ¶
func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithName(value string) *ConfigMapNodeConfigSourceApplyConfiguration
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 ¶
func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithNamespace(value string) *ConfigMapNodeConfigSourceApplyConfiguration
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 ¶
func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithResourceVersion(value string) *ConfigMapNodeConfigSourceApplyConfiguration
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 ¶
func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithUID(value types.UID) *ConfigMapNodeConfigSourceApplyConfiguration
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 ¶
func (b *ConfigMapProjectionApplyConfiguration) WithItems(values ...*KeyToPathApplyConfiguration) *ConfigMapProjectionApplyConfiguration
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 ¶
func (b *ConfigMapProjectionApplyConfiguration) WithName(value string) *ConfigMapProjectionApplyConfiguration
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 ¶
func (b *ConfigMapProjectionApplyConfiguration) WithOptional(value bool) *ConfigMapProjectionApplyConfiguration
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 ¶
func (b *ConfigMapVolumeSourceApplyConfiguration) WithDefaultMode(value int32) *ConfigMapVolumeSourceApplyConfiguration
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 ¶
func (b *ConfigMapVolumeSourceApplyConfiguration) WithItems(values ...*KeyToPathApplyConfiguration) *ConfigMapVolumeSourceApplyConfiguration
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 ¶
func (b *ConfigMapVolumeSourceApplyConfiguration) WithName(value string) *ConfigMapVolumeSourceApplyConfiguration
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 ¶
func (b *ConfigMapVolumeSourceApplyConfiguration) WithOptional(value bool) *ConfigMapVolumeSourceApplyConfiguration
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"` ResizePolicy []ContainerResizePolicyApplyConfiguration `json:"resizePolicy,omitempty"` RestartPolicy *corev1.ContainerRestartPolicy `json:"restartPolicy,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 ¶
func (b *ContainerApplyConfiguration) WithArgs(values ...string) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithCommand(values ...string) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithEnv(values ...*EnvVarApplyConfiguration) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithEnvFrom(values ...*EnvFromSourceApplyConfiguration) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithImage(value string) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithLifecycle(value *LifecycleApplyConfiguration) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithLivenessProbe(value *ProbeApplyConfiguration) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithName(value string) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithPorts(values ...*ContainerPortApplyConfiguration) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithReadinessProbe(value *ProbeApplyConfiguration) *ContainerApplyConfiguration
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) WithResizePolicy ¶
func (b *ContainerApplyConfiguration) WithResizePolicy(values ...*ContainerResizePolicyApplyConfiguration) *ContainerApplyConfiguration
WithResizePolicy adds the given value to the ResizePolicy 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 ResizePolicy field.
func (*ContainerApplyConfiguration) WithResources ¶
func (b *ContainerApplyConfiguration) WithResources(value *ResourceRequirementsApplyConfiguration) *ContainerApplyConfiguration
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) WithRestartPolicy ¶
func (b *ContainerApplyConfiguration) WithRestartPolicy(value corev1.ContainerRestartPolicy) *ContainerApplyConfiguration
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 (*ContainerApplyConfiguration) WithSecurityContext ¶
func (b *ContainerApplyConfiguration) WithSecurityContext(value *SecurityContextApplyConfiguration) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithStartupProbe(value *ProbeApplyConfiguration) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithStdin(value bool) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithStdinOnce(value bool) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithTTY(value bool) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithTerminationMessagePolicy(value corev1.TerminationMessagePolicy) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithVolumeDevices(values ...*VolumeDeviceApplyConfiguration) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithVolumeMounts(values ...*VolumeMountApplyConfiguration) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithWorkingDir(value string) *ContainerApplyConfiguration
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 ¶
func (b *ContainerImageApplyConfiguration) WithNames(values ...string) *ContainerImageApplyConfiguration
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 ¶
func (b *ContainerImageApplyConfiguration) WithSizeBytes(value int64) *ContainerImageApplyConfiguration
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 ¶
func (b *ContainerPortApplyConfiguration) WithContainerPort(value int32) *ContainerPortApplyConfiguration
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 ¶
func (b *ContainerPortApplyConfiguration) WithHostIP(value string) *ContainerPortApplyConfiguration
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 ¶
func (b *ContainerPortApplyConfiguration) WithHostPort(value int32) *ContainerPortApplyConfiguration
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 ¶
func (b *ContainerPortApplyConfiguration) WithName(value string) *ContainerPortApplyConfiguration
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 ¶
func (b *ContainerPortApplyConfiguration) WithProtocol(value v1.Protocol) *ContainerPortApplyConfiguration
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 ContainerResizePolicyApplyConfiguration ¶
type ContainerResizePolicyApplyConfiguration struct { ResourceName *v1.ResourceName `json:"resourceName,omitempty"` RestartPolicy *v1.ResourceResizeRestartPolicy `json:"restartPolicy,omitempty"` }
ContainerResizePolicyApplyConfiguration represents an declarative configuration of the ContainerResizePolicy type for use with apply.
func ContainerResizePolicy ¶
func ContainerResizePolicy() *ContainerResizePolicyApplyConfiguration
ContainerResizePolicyApplyConfiguration constructs an declarative configuration of the ContainerResizePolicy type for use with apply.
func (*ContainerResizePolicyApplyConfiguration) WithResourceName ¶
func (b *ContainerResizePolicyApplyConfiguration) WithResourceName(value v1.ResourceName) *ContainerResizePolicyApplyConfiguration
WithResourceName sets the ResourceName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceName field is set to the value of the last call.
func (*ContainerResizePolicyApplyConfiguration) WithRestartPolicy ¶
func (b *ContainerResizePolicyApplyConfiguration) WithRestartPolicy(value v1.ResourceResizeRestartPolicy) *ContainerResizePolicyApplyConfiguration
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.
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 ¶
func (b *ContainerStateApplyConfiguration) WithRunning(value *ContainerStateRunningApplyConfiguration) *ContainerStateApplyConfiguration
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 ¶
func (b *ContainerStateApplyConfiguration) WithTerminated(value *ContainerStateTerminatedApplyConfiguration) *ContainerStateApplyConfiguration
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 ¶
func (b *ContainerStateApplyConfiguration) WithWaiting(value *ContainerStateWaitingApplyConfiguration) *ContainerStateApplyConfiguration
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 ¶
func (b *ContainerStateRunningApplyConfiguration) WithStartedAt(value v1.Time) *ContainerStateRunningApplyConfiguration
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 ¶
func (b *ContainerStateTerminatedApplyConfiguration) WithContainerID(value string) *ContainerStateTerminatedApplyConfiguration
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 ¶
func (b *ContainerStateTerminatedApplyConfiguration) WithExitCode(value int32) *ContainerStateTerminatedApplyConfiguration
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 ¶
func (b *ContainerStateTerminatedApplyConfiguration) WithFinishedAt(value v1.Time) *ContainerStateTerminatedApplyConfiguration
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 ¶
func (b *ContainerStateTerminatedApplyConfiguration) WithMessage(value string) *ContainerStateTerminatedApplyConfiguration
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 ¶
func (b *ContainerStateTerminatedApplyConfiguration) WithReason(value string) *ContainerStateTerminatedApplyConfiguration
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 ¶
func (b *ContainerStateTerminatedApplyConfiguration) WithSignal(value int32) *ContainerStateTerminatedApplyConfiguration
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 ¶
func (b *ContainerStateTerminatedApplyConfiguration) WithStartedAt(value v1.Time) *ContainerStateTerminatedApplyConfiguration
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 ¶
func (b *ContainerStateWaitingApplyConfiguration) WithMessage(value string) *ContainerStateWaitingApplyConfiguration
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 ¶
func (b *ContainerStateWaitingApplyConfiguration) WithReason(value string) *ContainerStateWaitingApplyConfiguration
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"` AllocatedResources *corev1.ResourceList `json:"allocatedResources,omitempty"` Resources *ResourceRequirementsApplyConfiguration `json:"resources,omitempty"` VolumeMounts []VolumeMountStatusApplyConfiguration `json:"volumeMounts,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) WithAllocatedResources ¶
func (b *ContainerStatusApplyConfiguration) WithAllocatedResources(value corev1.ResourceList) *ContainerStatusApplyConfiguration
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 (*ContainerStatusApplyConfiguration) WithContainerID ¶
func (b *ContainerStatusApplyConfiguration) WithContainerID(value string) *ContainerStatusApplyConfiguration
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 ¶
func (b *ContainerStatusApplyConfiguration) WithImage(value string) *ContainerStatusApplyConfiguration
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 ¶
func (b *ContainerStatusApplyConfiguration) WithImageID(value string) *ContainerStatusApplyConfiguration
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 ¶
func (b *ContainerStatusApplyConfiguration) WithLastTerminationState(value *ContainerStateApplyConfiguration) *ContainerStatusApplyConfiguration
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 ¶
func (b *ContainerStatusApplyConfiguration) WithName(value string) *ContainerStatusApplyConfiguration
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 ¶
func (b *ContainerStatusApplyConfiguration) WithReady(value bool) *ContainerStatusApplyConfiguration
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) WithResources ¶
func (b *ContainerStatusApplyConfiguration) WithResources(value *ResourceRequirementsApplyConfiguration) *ContainerStatusApplyConfiguration
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 (*ContainerStatusApplyConfiguration) WithRestartCount ¶
func (b *ContainerStatusApplyConfiguration) WithRestartCount(value int32) *ContainerStatusApplyConfiguration
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 ¶
func (b *ContainerStatusApplyConfiguration) WithStarted(value bool) *ContainerStatusApplyConfiguration
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 ¶
func (b *ContainerStatusApplyConfiguration) WithState(value *ContainerStateApplyConfiguration) *ContainerStatusApplyConfiguration
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.
func (*ContainerStatusApplyConfiguration) WithVolumeMounts ¶
func (b *ContainerStatusApplyConfiguration) WithVolumeMounts(values ...*VolumeMountStatusApplyConfiguration) *ContainerStatusApplyConfiguration
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.
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 ¶
func (b *DaemonEndpointApplyConfiguration) WithPort(value int32) *DaemonEndpointApplyConfiguration
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 ¶
func (b *DownwardAPIProjectionApplyConfiguration) WithItems(values ...*DownwardAPIVolumeFileApplyConfiguration) *DownwardAPIProjectionApplyConfiguration
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 ¶
func (b *DownwardAPIVolumeFileApplyConfiguration) WithFieldRef(value *ObjectFieldSelectorApplyConfiguration) *DownwardAPIVolumeFileApplyConfiguration
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 ¶
func (b *DownwardAPIVolumeFileApplyConfiguration) WithMode(value int32) *DownwardAPIVolumeFileApplyConfiguration
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 ¶
func (b *DownwardAPIVolumeFileApplyConfiguration) WithPath(value string) *DownwardAPIVolumeFileApplyConfiguration
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 ¶
func (b *DownwardAPIVolumeFileApplyConfiguration) WithResourceFieldRef(value *ResourceFieldSelectorApplyConfiguration) *DownwardAPIVolumeFileApplyConfiguration
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 ¶
func (b *DownwardAPIVolumeSourceApplyConfiguration) WithDefaultMode(value int32) *DownwardAPIVolumeSourceApplyConfiguration
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 ¶
func (b *DownwardAPIVolumeSourceApplyConfiguration) WithItems(values ...*DownwardAPIVolumeFileApplyConfiguration) *DownwardAPIVolumeSourceApplyConfiguration
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 ¶
func (b *EmptyDirVolumeSourceApplyConfiguration) WithMedium(value v1.StorageMedium) *EmptyDirVolumeSourceApplyConfiguration
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 ¶
func (b *EmptyDirVolumeSourceApplyConfiguration) WithSizeLimit(value resource.Quantity) *EmptyDirVolumeSourceApplyConfiguration
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 ¶
func (b *EndpointAddressApplyConfiguration) WithHostname(value string) *EndpointAddressApplyConfiguration
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 ¶
func (b *EndpointAddressApplyConfiguration) WithIP(value string) *EndpointAddressApplyConfiguration
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 ¶
func (b *EndpointAddressApplyConfiguration) WithNodeName(value string) *EndpointAddressApplyConfiguration
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 ¶
func (b *EndpointAddressApplyConfiguration) WithTargetRef(value *ObjectReferenceApplyConfiguration) *EndpointAddressApplyConfiguration
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 ¶
func (b *EndpointPortApplyConfiguration) WithAppProtocol(value string) *EndpointPortApplyConfiguration
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 ¶
func (b *EndpointPortApplyConfiguration) WithName(value string) *EndpointPortApplyConfiguration
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 ¶
func (b *EndpointPortApplyConfiguration) WithPort(value int32) *EndpointPortApplyConfiguration
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 ¶
func (b *EndpointPortApplyConfiguration) WithProtocol(value v1.Protocol) *EndpointPortApplyConfiguration
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 ¶
func (b *EndpointSubsetApplyConfiguration) WithAddresses(values ...*EndpointAddressApplyConfiguration) *EndpointSubsetApplyConfiguration
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 ¶
func (b *EndpointSubsetApplyConfiguration) WithNotReadyAddresses(values ...*EndpointAddressApplyConfiguration) *EndpointSubsetApplyConfiguration
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 ¶
func (b *EndpointSubsetApplyConfiguration) WithPorts(values ...*EndpointPortApplyConfiguration) *EndpointSubsetApplyConfiguration
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 ¶
func (b *EndpointsApplyConfiguration) WithAPIVersion(value string) *EndpointsApplyConfiguration
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 ¶
func (b *EndpointsApplyConfiguration) WithGenerateName(value string) *EndpointsApplyConfiguration
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 ¶
func (b *EndpointsApplyConfiguration) WithGeneration(value int64) *EndpointsApplyConfiguration
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 ¶
func (b *EndpointsApplyConfiguration) WithKind(value string) *EndpointsApplyConfiguration
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 ¶
func (b *EndpointsApplyConfiguration) WithLabels(entries map[string]string) *EndpointsApplyConfiguration
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 ¶
func (b *EndpointsApplyConfiguration) WithName(value string) *EndpointsApplyConfiguration
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 ¶
func (b *EndpointsApplyConfiguration) WithNamespace(value string) *EndpointsApplyConfiguration
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 ¶
func (b *EndpointsApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *EndpointsApplyConfiguration
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 ¶
func (b *EndpointsApplyConfiguration) WithSubsets(values ...*EndpointSubsetApplyConfiguration) *EndpointsApplyConfiguration
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 ¶
func (b *EndpointsApplyConfiguration) WithUID(value types.UID) *EndpointsApplyConfiguration
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 ¶
func (b *EnvFromSourceApplyConfiguration) WithConfigMapRef(value *ConfigMapEnvSourceApplyConfiguration) *EnvFromSourceApplyConfiguration
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 ¶
func (b *EnvFromSourceApplyConfiguration) WithPrefix(value string) *EnvFromSourceApplyConfiguration
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 ¶
func (b *EnvFromSourceApplyConfiguration) WithSecretRef(value *SecretEnvSourceApplyConfiguration) *EnvFromSourceApplyConfiguration
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 ¶
func (b *EnvVarApplyConfiguration) WithName(value string) *EnvVarApplyConfiguration
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 ¶
func (b *EnvVarApplyConfiguration) WithValue(value string) *EnvVarApplyConfiguration
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 ¶
func (b *EnvVarApplyConfiguration) WithValueFrom(value *EnvVarSourceApplyConfiguration) *EnvVarApplyConfiguration
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 ¶
func (b *EnvVarSourceApplyConfiguration) WithConfigMapKeyRef(value *ConfigMapKeySelectorApplyConfiguration) *EnvVarSourceApplyConfiguration
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 ¶
func (b *EnvVarSourceApplyConfiguration) WithFieldRef(value *ObjectFieldSelectorApplyConfiguration) *EnvVarSourceApplyConfiguration
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 ¶
func (b *EnvVarSourceApplyConfiguration) WithResourceFieldRef(value *ResourceFieldSelectorApplyConfiguration) *EnvVarSourceApplyConfiguration
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 ¶
func (b *EnvVarSourceApplyConfiguration) WithSecretKeyRef(value *SecretKeySelectorApplyConfiguration) *EnvVarSourceApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithArgs(values ...string) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithCommand(values ...string) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithEnv(values ...*EnvVarApplyConfiguration) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithEnvFrom(values ...*EnvFromSourceApplyConfiguration) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithImage(value string) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithLifecycle(value *LifecycleApplyConfiguration) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithLivenessProbe(value *ProbeApplyConfiguration) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithName(value string) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithPorts(values ...*ContainerPortApplyConfiguration) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithReadinessProbe(value *ProbeApplyConfiguration) *EphemeralContainerApplyConfiguration
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) WithResizePolicy ¶
func (b *EphemeralContainerApplyConfiguration) WithResizePolicy(values ...*ContainerResizePolicyApplyConfiguration) *EphemeralContainerApplyConfiguration
WithResizePolicy adds the given value to the ResizePolicy 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 ResizePolicy field.
func (*EphemeralContainerApplyConfiguration) WithResources ¶
func (b *EphemeralContainerApplyConfiguration) WithResources(value *ResourceRequirementsApplyConfiguration) *EphemeralContainerApplyConfiguration
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) WithRestartPolicy ¶
func (b *EphemeralContainerApplyConfiguration) WithRestartPolicy(value corev1.ContainerRestartPolicy) *EphemeralContainerApplyConfiguration
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 (*EphemeralContainerApplyConfiguration) WithSecurityContext ¶
func (b *EphemeralContainerApplyConfiguration) WithSecurityContext(value *SecurityContextApplyConfiguration) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithStartupProbe(value *ProbeApplyConfiguration) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithStdin(value bool) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithStdinOnce(value bool) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithTTY(value bool) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithTargetContainerName(value string) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithTerminationMessagePath(value string) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithTerminationMessagePolicy(value corev1.TerminationMessagePolicy) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithVolumeDevices(values ...*VolumeDeviceApplyConfiguration) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithVolumeMounts(values ...*VolumeMountApplyConfiguration) *EphemeralContainerApplyConfiguration
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 ¶
func (b *EphemeralContainerApplyConfiguration) WithWorkingDir(value string) *EphemeralContainerApplyConfiguration
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"` ResizePolicy []ContainerResizePolicyApplyConfiguration `json:"resizePolicy,omitempty"` RestartPolicy *corev1.ContainerRestartPolicy `json:"restartPolicy,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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithArgs(values ...string) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithCommand(values ...string) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithEnv(values ...*EnvVarApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithEnvFrom(values ...*EnvFromSourceApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithImage(value string) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithLifecycle(value *LifecycleApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithLivenessProbe(value *ProbeApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithName(value string) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithPorts(values ...*ContainerPortApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithReadinessProbe(value *ProbeApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
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) WithResizePolicy ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithResizePolicy(values ...*ContainerResizePolicyApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
WithResizePolicy adds the given value to the ResizePolicy 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 ResizePolicy field.
func (*EphemeralContainerCommonApplyConfiguration) WithResources ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithResources(value *ResourceRequirementsApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
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) WithRestartPolicy ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithRestartPolicy(value corev1.ContainerRestartPolicy) *EphemeralContainerCommonApplyConfiguration
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 (*EphemeralContainerCommonApplyConfiguration) WithSecurityContext ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithSecurityContext(value *SecurityContextApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithStartupProbe(value *ProbeApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithStdin(value bool) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithStdinOnce(value bool) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithTTY(value bool) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithTerminationMessagePath(value string) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithTerminationMessagePolicy(value corev1.TerminationMessagePolicy) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithVolumeDevices(values ...*VolumeDeviceApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithVolumeMounts(values ...*VolumeMountApplyConfiguration) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralContainerCommonApplyConfiguration) WithWorkingDir(value string) *EphemeralContainerCommonApplyConfiguration
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 ¶
func (b *EphemeralVolumeSourceApplyConfiguration) WithVolumeClaimTemplate(value *PersistentVolumeClaimTemplateApplyConfiguration) *EphemeralVolumeSourceApplyConfiguration
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 ¶
func (b *EventApplyConfiguration) WithAction(value string) *EventApplyConfiguration
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 ¶
func (b *EventApplyConfiguration) WithCount(value int32) *EventApplyConfiguration
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 ¶
func (b *EventApplyConfiguration) WithEventTime(value metav1.MicroTime) *EventApplyConfiguration
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 ¶
func (b *EventApplyConfiguration) WithInvolvedObject(value *ObjectReferenceApplyConfiguration) *EventApplyConfiguration
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 ¶
func (b *EventApplyConfiguration) WithKind(value string) *EventApplyConfiguration
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 ¶
func (b *EventApplyConfiguration) WithMessage(value string) *EventApplyConfiguration
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 ¶
func (b *EventApplyConfiguration) WithName(value string) *EventApplyConfiguration
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 ¶
func (b *EventApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *EventApplyConfiguration
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 ¶
func (b *EventApplyConfiguration) WithReason(value string) *EventApplyConfiguration
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 ¶
func (b *EventApplyConfiguration) WithRelated(value *ObjectReferenceApplyConfiguration) *EventApplyConfiguration
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 ¶
func (b *EventApplyConfiguration) WithSeries(value *EventSeriesApplyConfiguration) *EventApplyConfiguration
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 ¶
func (b *EventApplyConfiguration) WithSource(value *EventSourceApplyConfiguration) *EventApplyConfiguration
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 ¶
func (b *EventApplyConfiguration) WithType(value string) *EventApplyConfiguration
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 ¶
func (b *EventApplyConfiguration) WithUID(value types.UID) *EventApplyConfiguration
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 ¶
func (b *EventSeriesApplyConfiguration) WithCount(value int32) *EventSeriesApplyConfiguration
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 ¶
func (b *EventSeriesApplyConfiguration) WithLastObservedTime(value v1.MicroTime) *EventSeriesApplyConfiguration
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 ¶
func (b *EventSourceApplyConfiguration) WithComponent(value string) *EventSourceApplyConfiguration
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 ¶
func (b *EventSourceApplyConfiguration) WithHost(value string) *EventSourceApplyConfiguration
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 ¶
func (b *ExecActionApplyConfiguration) WithCommand(values ...string) *ExecActionApplyConfiguration
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 ¶
func (b *FCVolumeSourceApplyConfiguration) WithFSType(value string) *FCVolumeSourceApplyConfiguration
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 ¶
func (b *FCVolumeSourceApplyConfiguration) WithLun(value int32) *FCVolumeSourceApplyConfiguration
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 ¶
func (b *FCVolumeSourceApplyConfiguration) WithReadOnly(value bool) *FCVolumeSourceApplyConfiguration
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 ¶
func (b *FCVolumeSourceApplyConfiguration) WithTargetWWNs(values ...string) *FCVolumeSourceApplyConfiguration
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 ¶
func (b *FCVolumeSourceApplyConfiguration) WithWWIDs(values ...string) *FCVolumeSourceApplyConfiguration
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 ¶
func (b *FlexPersistentVolumeSourceApplyConfiguration) WithDriver(value string) *FlexPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *FlexPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *FlexPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *FlexPersistentVolumeSourceApplyConfiguration) WithOptions(entries map[string]string) *FlexPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *FlexPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *FlexPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *FlexPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *FlexPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *FlexVolumeSourceApplyConfiguration) WithDriver(value string) *FlexVolumeSourceApplyConfiguration
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 ¶
func (b *FlexVolumeSourceApplyConfiguration) WithFSType(value string) *FlexVolumeSourceApplyConfiguration
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 ¶
func (b *FlexVolumeSourceApplyConfiguration) WithOptions(entries map[string]string) *FlexVolumeSourceApplyConfiguration
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 ¶
func (b *FlexVolumeSourceApplyConfiguration) WithReadOnly(value bool) *FlexVolumeSourceApplyConfiguration
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 ¶
func (b *FlexVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *FlexVolumeSourceApplyConfiguration
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 ¶
func (b *FlockerVolumeSourceApplyConfiguration) WithDatasetName(value string) *FlockerVolumeSourceApplyConfiguration
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 ¶
func (b *FlockerVolumeSourceApplyConfiguration) WithDatasetUUID(value string) *FlockerVolumeSourceApplyConfiguration
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 ¶
func (b *GCEPersistentDiskVolumeSourceApplyConfiguration) WithFSType(value string) *GCEPersistentDiskVolumeSourceApplyConfiguration
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 ¶
func (b *GCEPersistentDiskVolumeSourceApplyConfiguration) WithPDName(value string) *GCEPersistentDiskVolumeSourceApplyConfiguration
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 ¶
func (b *GCEPersistentDiskVolumeSourceApplyConfiguration) WithPartition(value int32) *GCEPersistentDiskVolumeSourceApplyConfiguration
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 ¶
func (b *GCEPersistentDiskVolumeSourceApplyConfiguration) WithReadOnly(value bool) *GCEPersistentDiskVolumeSourceApplyConfiguration
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 ¶
func (b *GRPCActionApplyConfiguration) WithPort(value int32) *GRPCActionApplyConfiguration
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 ¶
func (b *GRPCActionApplyConfiguration) WithService(value string) *GRPCActionApplyConfiguration
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 ¶
func (b *GitRepoVolumeSourceApplyConfiguration) WithDirectory(value string) *GitRepoVolumeSourceApplyConfiguration
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 ¶
func (b *GitRepoVolumeSourceApplyConfiguration) WithRepository(value string) *GitRepoVolumeSourceApplyConfiguration
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 ¶
func (b *GitRepoVolumeSourceApplyConfiguration) WithRevision(value string) *GitRepoVolumeSourceApplyConfiguration
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 ¶
func (b *GlusterfsPersistentVolumeSourceApplyConfiguration) WithEndpointsName(value string) *GlusterfsPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *GlusterfsPersistentVolumeSourceApplyConfiguration) WithEndpointsNamespace(value string) *GlusterfsPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *GlusterfsPersistentVolumeSourceApplyConfiguration) WithPath(value string) *GlusterfsPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *GlusterfsPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *GlusterfsPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *GlusterfsVolumeSourceApplyConfiguration) WithEndpointsName(value string) *GlusterfsVolumeSourceApplyConfiguration
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 ¶
func (b *GlusterfsVolumeSourceApplyConfiguration) WithPath(value string) *GlusterfsVolumeSourceApplyConfiguration
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 ¶
func (b *GlusterfsVolumeSourceApplyConfiguration) WithReadOnly(value bool) *GlusterfsVolumeSourceApplyConfiguration
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 ¶
func (b *HTTPGetActionApplyConfiguration) WithHTTPHeaders(values ...*HTTPHeaderApplyConfiguration) *HTTPGetActionApplyConfiguration
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 ¶
func (b *HTTPGetActionApplyConfiguration) WithHost(value string) *HTTPGetActionApplyConfiguration
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 ¶
func (b *HTTPGetActionApplyConfiguration) WithPath(value string) *HTTPGetActionApplyConfiguration
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 ¶
func (b *HTTPGetActionApplyConfiguration) WithPort(value intstr.IntOrString) *HTTPGetActionApplyConfiguration
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 ¶
func (b *HTTPGetActionApplyConfiguration) WithScheme(value v1.URIScheme) *HTTPGetActionApplyConfiguration
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 ¶
func (b *HTTPHeaderApplyConfiguration) WithName(value string) *HTTPHeaderApplyConfiguration
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 ¶
func (b *HTTPHeaderApplyConfiguration) WithValue(value string) *HTTPHeaderApplyConfiguration
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 ¶
func (b *HostAliasApplyConfiguration) WithIP(value string) *HostAliasApplyConfiguration
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 HostIPApplyConfiguration ¶
type HostIPApplyConfiguration struct {
IP *string `json:"ip,omitempty"`
}
HostIPApplyConfiguration represents an declarative configuration of the HostIP type for use with apply.
func HostIP ¶
func HostIP() *HostIPApplyConfiguration
HostIPApplyConfiguration constructs an declarative configuration of the HostIP type for use with apply.
func (*HostIPApplyConfiguration) WithIP ¶
func (b *HostIPApplyConfiguration) WithIP(value string) *HostIPApplyConfiguration
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 ¶
func (b *HostPathVolumeSourceApplyConfiguration) WithPath(value string) *HostPathVolumeSourceApplyConfiguration
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 ¶
func (b *HostPathVolumeSourceApplyConfiguration) WithType(value v1.HostPathType) *HostPathVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithDiscoveryCHAPAuth(value bool) *ISCSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *ISCSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithIQN(value string) *ISCSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithISCSIInterface(value string) *ISCSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithInitiatorName(value string) *ISCSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithLun(value int32) *ISCSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithPortals(values ...string) *ISCSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *ISCSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *ISCSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithSessionCHAPAuth(value bool) *ISCSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithTargetPortal(value string) *ISCSIPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIVolumeSourceApplyConfiguration) WithDiscoveryCHAPAuth(value bool) *ISCSIVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIVolumeSourceApplyConfiguration) WithFSType(value string) *ISCSIVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIVolumeSourceApplyConfiguration) WithIQN(value string) *ISCSIVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIVolumeSourceApplyConfiguration) WithISCSIInterface(value string) *ISCSIVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIVolumeSourceApplyConfiguration) WithInitiatorName(value string) *ISCSIVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIVolumeSourceApplyConfiguration) WithLun(value int32) *ISCSIVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIVolumeSourceApplyConfiguration) WithPortals(values ...string) *ISCSIVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIVolumeSourceApplyConfiguration) WithReadOnly(value bool) *ISCSIVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *ISCSIVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIVolumeSourceApplyConfiguration) WithSessionCHAPAuth(value bool) *ISCSIVolumeSourceApplyConfiguration
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 ¶
func (b *ISCSIVolumeSourceApplyConfiguration) WithTargetPortal(value string) *ISCSIVolumeSourceApplyConfiguration
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 ¶
func (b *KeyToPathApplyConfiguration) WithKey(value string) *KeyToPathApplyConfiguration
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 ¶
func (b *KeyToPathApplyConfiguration) WithMode(value int32) *KeyToPathApplyConfiguration
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 ¶
func (b *KeyToPathApplyConfiguration) WithPath(value string) *KeyToPathApplyConfiguration
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 ¶
func (b *LifecycleApplyConfiguration) WithPostStart(value *LifecycleHandlerApplyConfiguration) *LifecycleApplyConfiguration
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 ¶
func (b *LifecycleApplyConfiguration) WithPreStop(value *LifecycleHandlerApplyConfiguration) *LifecycleApplyConfiguration
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"` Sleep *SleepActionApplyConfiguration `json:"sleep,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 ¶
func (b *LifecycleHandlerApplyConfiguration) WithExec(value *ExecActionApplyConfiguration) *LifecycleHandlerApplyConfiguration
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 ¶
func (b *LifecycleHandlerApplyConfiguration) WithHTTPGet(value *HTTPGetActionApplyConfiguration) *LifecycleHandlerApplyConfiguration
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) WithSleep ¶
func (b *LifecycleHandlerApplyConfiguration) WithSleep(value *SleepActionApplyConfiguration) *LifecycleHandlerApplyConfiguration
WithSleep sets the Sleep field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Sleep field is set to the value of the last call.
func (*LifecycleHandlerApplyConfiguration) WithTCPSocket ¶
func (b *LifecycleHandlerApplyConfiguration) WithTCPSocket(value *TCPSocketActionApplyConfiguration) *LifecycleHandlerApplyConfiguration
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 ¶
func (b *LimitRangeApplyConfiguration) WithAPIVersion(value string) *LimitRangeApplyConfiguration
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 ¶
func (b *LimitRangeApplyConfiguration) WithAnnotations(entries map[string]string) *LimitRangeApplyConfiguration
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 ¶
func (b *LimitRangeApplyConfiguration) WithFinalizers(values ...string) *LimitRangeApplyConfiguration
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 ¶
func (b *LimitRangeApplyConfiguration) WithGenerateName(value string) *LimitRangeApplyConfiguration
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 ¶
func (b *LimitRangeApplyConfiguration) WithGeneration(value int64) *LimitRangeApplyConfiguration
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 ¶
func (b *LimitRangeApplyConfiguration) WithKind(value string) *LimitRangeApplyConfiguration
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 ¶
func (b *LimitRangeApplyConfiguration) WithLabels(entries map[string]string) *LimitRangeApplyConfiguration
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 ¶
func (b *LimitRangeApplyConfiguration) WithName(value string) *LimitRangeApplyConfiguration
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 ¶
func (b *LimitRangeApplyConfiguration) WithNamespace(value string) *LimitRangeApplyConfiguration
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 ¶
func (b *LimitRangeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *LimitRangeApplyConfiguration
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 ¶
func (b *LimitRangeApplyConfiguration) WithSpec(value *LimitRangeSpecApplyConfiguration) *LimitRangeApplyConfiguration
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 ¶
func (b *LimitRangeApplyConfiguration) WithUID(value types.UID) *LimitRangeApplyConfiguration
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 ¶
func (b *LimitRangeItemApplyConfiguration) WithDefault(value v1.ResourceList) *LimitRangeItemApplyConfiguration
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 ¶
func (b *LimitRangeItemApplyConfiguration) WithDefaultRequest(value v1.ResourceList) *LimitRangeItemApplyConfiguration
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 ¶
func (b *LimitRangeItemApplyConfiguration) WithMax(value v1.ResourceList) *LimitRangeItemApplyConfiguration
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 ¶
func (b *LimitRangeItemApplyConfiguration) WithMaxLimitRequestRatio(value v1.ResourceList) *LimitRangeItemApplyConfiguration
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 ¶
func (b *LimitRangeItemApplyConfiguration) WithMin(value v1.ResourceList) *LimitRangeItemApplyConfiguration
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 ¶
func (b *LimitRangeItemApplyConfiguration) WithType(value v1.LimitType) *LimitRangeItemApplyConfiguration
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 ¶
func (b *LimitRangeSpecApplyConfiguration) WithLimits(values ...*LimitRangeItemApplyConfiguration) *LimitRangeSpecApplyConfiguration
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"` IPMode *v1.LoadBalancerIPMode `json:"ipMode,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 ¶
func (b *LoadBalancerIngressApplyConfiguration) WithHostname(value string) *LoadBalancerIngressApplyConfiguration
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 ¶
func (b *LoadBalancerIngressApplyConfiguration) WithIP(value string) *LoadBalancerIngressApplyConfiguration
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) WithIPMode ¶
func (b *LoadBalancerIngressApplyConfiguration) WithIPMode(value v1.LoadBalancerIPMode) *LoadBalancerIngressApplyConfiguration
WithIPMode sets the IPMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPMode field is set to the value of the last call.
func (*LoadBalancerIngressApplyConfiguration) WithPorts ¶
func (b *LoadBalancerIngressApplyConfiguration) WithPorts(values ...*PortStatusApplyConfiguration) *LoadBalancerIngressApplyConfiguration
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 ¶
func (b *LoadBalancerStatusApplyConfiguration) WithIngress(values ...*LoadBalancerIngressApplyConfiguration) *LoadBalancerStatusApplyConfiguration
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 ¶
func (b *LocalObjectReferenceApplyConfiguration) WithName(value string) *LocalObjectReferenceApplyConfiguration
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 ¶
func (b *LocalVolumeSourceApplyConfiguration) WithFSType(value string) *LocalVolumeSourceApplyConfiguration
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 ¶
func (b *LocalVolumeSourceApplyConfiguration) WithPath(value string) *LocalVolumeSourceApplyConfiguration
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 ModifyVolumeStatusApplyConfiguration ¶
type ModifyVolumeStatusApplyConfiguration struct { TargetVolumeAttributesClassName *string `json:"targetVolumeAttributesClassName,omitempty"` Status *v1.PersistentVolumeClaimModifyVolumeStatus `json:"status,omitempty"` }
ModifyVolumeStatusApplyConfiguration represents an declarative configuration of the ModifyVolumeStatus type for use with apply.
func ModifyVolumeStatus ¶
func ModifyVolumeStatus() *ModifyVolumeStatusApplyConfiguration
ModifyVolumeStatusApplyConfiguration constructs an declarative configuration of the ModifyVolumeStatus type for use with apply.
func (*ModifyVolumeStatusApplyConfiguration) WithStatus ¶
func (b *ModifyVolumeStatusApplyConfiguration) WithStatus(value v1.PersistentVolumeClaimModifyVolumeStatus) *ModifyVolumeStatusApplyConfiguration
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 (*ModifyVolumeStatusApplyConfiguration) WithTargetVolumeAttributesClassName ¶
func (b *ModifyVolumeStatusApplyConfiguration) WithTargetVolumeAttributesClassName(value string) *ModifyVolumeStatusApplyConfiguration
WithTargetVolumeAttributesClassName sets the TargetVolumeAttributesClassName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TargetVolumeAttributesClassName 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 ¶
func (b *NFSVolumeSourceApplyConfiguration) WithPath(value string) *NFSVolumeSourceApplyConfiguration
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 ¶
func (b *NFSVolumeSourceApplyConfiguration) WithReadOnly(value bool) *NFSVolumeSourceApplyConfiguration
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 ¶
func (b *NFSVolumeSourceApplyConfiguration) WithServer(value string) *NFSVolumeSourceApplyConfiguration
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 ¶
func (b *NamespaceApplyConfiguration) WithAPIVersion(value string) *NamespaceApplyConfiguration
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 ¶
func (b *NamespaceApplyConfiguration) WithGenerateName(value string) *NamespaceApplyConfiguration
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 ¶
func (b *NamespaceApplyConfiguration) WithGeneration(value int64) *NamespaceApplyConfiguration
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 ¶
func (b *NamespaceApplyConfiguration) WithKind(value string) *NamespaceApplyConfiguration
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 ¶
func (b *NamespaceApplyConfiguration) WithLabels(entries map[string]string) *NamespaceApplyConfiguration
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 ¶
func (b *NamespaceApplyConfiguration) WithName(value string) *NamespaceApplyConfiguration
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 ¶
func (b *NamespaceApplyConfiguration) WithNamespace(value string) *NamespaceApplyConfiguration
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 ¶
func (b *NamespaceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NamespaceApplyConfiguration
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 ¶
func (b *NamespaceApplyConfiguration) WithSpec(value *NamespaceSpecApplyConfiguration) *NamespaceApplyConfiguration
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 ¶
func (b *NamespaceApplyConfiguration) WithStatus(value *NamespaceStatusApplyConfiguration) *NamespaceApplyConfiguration
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 ¶
func (b *NamespaceApplyConfiguration) WithUID(value types.UID) *NamespaceApplyConfiguration
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 ¶
func (b *NamespaceConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *NamespaceConditionApplyConfiguration
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 ¶
func (b *NamespaceConditionApplyConfiguration) WithMessage(value string) *NamespaceConditionApplyConfiguration
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 ¶
func (b *NamespaceConditionApplyConfiguration) WithReason(value string) *NamespaceConditionApplyConfiguration
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 ¶
func (b *NamespaceConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *NamespaceConditionApplyConfiguration
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 ¶
func (b *NamespaceConditionApplyConfiguration) WithType(value v1.NamespaceConditionType) *NamespaceConditionApplyConfiguration
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 ¶
func (b *NamespaceSpecApplyConfiguration) WithFinalizers(values ...v1.FinalizerName) *NamespaceSpecApplyConfiguration
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 ¶
func (b *NamespaceStatusApplyConfiguration) WithConditions(values ...*NamespaceConditionApplyConfiguration) *NamespaceStatusApplyConfiguration
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 ¶
func (b *NamespaceStatusApplyConfiguration) WithPhase(value v1.NamespacePhase) *NamespaceStatusApplyConfiguration
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 ¶
func (b *NodeAddressApplyConfiguration) WithAddress(value string) *NodeAddressApplyConfiguration
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 ¶
func (b *NodeAddressApplyConfiguration) WithType(value v1.NodeAddressType) *NodeAddressApplyConfiguration
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 ¶
func (b *NodeApplyConfiguration) WithKind(value string) *NodeApplyConfiguration
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 ¶
func (b *NodeApplyConfiguration) WithName(value string) *NodeApplyConfiguration
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 ¶
func (b *NodeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NodeApplyConfiguration
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 ¶
func (b *NodeApplyConfiguration) WithSpec(value *NodeSpecApplyConfiguration) *NodeApplyConfiguration
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 ¶
func (b *NodeApplyConfiguration) WithStatus(value *NodeStatusApplyConfiguration) *NodeApplyConfiguration
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 ¶
func (b *NodeApplyConfiguration) WithUID(value types.UID) *NodeApplyConfiguration
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 ¶
func (b *NodeConditionApplyConfiguration) WithLastHeartbeatTime(value metav1.Time) *NodeConditionApplyConfiguration
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 ¶
func (b *NodeConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *NodeConditionApplyConfiguration
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 ¶
func (b *NodeConditionApplyConfiguration) WithMessage(value string) *NodeConditionApplyConfiguration
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 ¶
func (b *NodeConditionApplyConfiguration) WithReason(value string) *NodeConditionApplyConfiguration
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 ¶
func (b *NodeConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *NodeConditionApplyConfiguration
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 ¶
func (b *NodeConditionApplyConfiguration) WithType(value v1.NodeConditionType) *NodeConditionApplyConfiguration
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 ¶
func (b *NodeConfigSourceApplyConfiguration) WithConfigMap(value *ConfigMapNodeConfigSourceApplyConfiguration) *NodeConfigSourceApplyConfiguration
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 ¶
func (b *NodeConfigStatusApplyConfiguration) WithActive(value *NodeConfigSourceApplyConfiguration) *NodeConfigStatusApplyConfiguration
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 ¶
func (b *NodeConfigStatusApplyConfiguration) WithAssigned(value *NodeConfigSourceApplyConfiguration) *NodeConfigStatusApplyConfiguration
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 ¶
func (b *NodeConfigStatusApplyConfiguration) WithError(value string) *NodeConfigStatusApplyConfiguration
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 ¶
func (b *NodeConfigStatusApplyConfiguration) WithLastKnownGood(value *NodeConfigSourceApplyConfiguration) *NodeConfigStatusApplyConfiguration
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 ¶
func (b *NodeDaemonEndpointsApplyConfiguration) WithKubeletEndpoint(value *DaemonEndpointApplyConfiguration) *NodeDaemonEndpointsApplyConfiguration
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 NodeRuntimeHandlerApplyConfiguration ¶
type NodeRuntimeHandlerApplyConfiguration struct { Name *string `json:"name,omitempty"` Features *NodeRuntimeHandlerFeaturesApplyConfiguration `json:"features,omitempty"` }
NodeRuntimeHandlerApplyConfiguration represents an declarative configuration of the NodeRuntimeHandler type for use with apply.
func NodeRuntimeHandler ¶
func NodeRuntimeHandler() *NodeRuntimeHandlerApplyConfiguration
NodeRuntimeHandlerApplyConfiguration constructs an declarative configuration of the NodeRuntimeHandler type for use with apply.
func (*NodeRuntimeHandlerApplyConfiguration) WithFeatures ¶
func (b *NodeRuntimeHandlerApplyConfiguration) WithFeatures(value *NodeRuntimeHandlerFeaturesApplyConfiguration) *NodeRuntimeHandlerApplyConfiguration
WithFeatures sets the Features field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Features field is set to the value of the last call.
func (*NodeRuntimeHandlerApplyConfiguration) WithName ¶
func (b *NodeRuntimeHandlerApplyConfiguration) WithName(value string) *NodeRuntimeHandlerApplyConfiguration
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 NodeRuntimeHandlerFeaturesApplyConfiguration ¶
type NodeRuntimeHandlerFeaturesApplyConfiguration struct {
RecursiveReadOnlyMounts *bool `json:"recursiveReadOnlyMounts,omitempty"`
}
NodeRuntimeHandlerFeaturesApplyConfiguration represents an declarative configuration of the NodeRuntimeHandlerFeatures type for use with apply.
func NodeRuntimeHandlerFeatures ¶
func NodeRuntimeHandlerFeatures() *NodeRuntimeHandlerFeaturesApplyConfiguration
NodeRuntimeHandlerFeaturesApplyConfiguration constructs an declarative configuration of the NodeRuntimeHandlerFeatures type for use with apply.
func (*NodeRuntimeHandlerFeaturesApplyConfiguration) WithRecursiveReadOnlyMounts ¶
func (b *NodeRuntimeHandlerFeaturesApplyConfiguration) WithRecursiveReadOnlyMounts(value bool) *NodeRuntimeHandlerFeaturesApplyConfiguration
WithRecursiveReadOnlyMounts sets the RecursiveReadOnlyMounts field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RecursiveReadOnlyMounts 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 ¶
func (b *NodeSelectorApplyConfiguration) WithNodeSelectorTerms(values ...*NodeSelectorTermApplyConfiguration) *NodeSelectorApplyConfiguration
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 ¶
func (b *NodeSelectorRequirementApplyConfiguration) WithKey(value string) *NodeSelectorRequirementApplyConfiguration
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 ¶
func (b *NodeSelectorRequirementApplyConfiguration) WithOperator(value v1.NodeSelectorOperator) *NodeSelectorRequirementApplyConfiguration
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 ¶
func (b *NodeSelectorRequirementApplyConfiguration) WithValues(values ...string) *NodeSelectorRequirementApplyConfiguration
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 ¶
func (b *NodeSelectorTermApplyConfiguration) WithMatchExpressions(values ...*NodeSelectorRequirementApplyConfiguration) *NodeSelectorTermApplyConfiguration
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 ¶
func (b *NodeSelectorTermApplyConfiguration) WithMatchFields(values ...*NodeSelectorRequirementApplyConfiguration) *NodeSelectorTermApplyConfiguration
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 ¶
func (b *NodeSpecApplyConfiguration) WithConfigSource(value *NodeConfigSourceApplyConfiguration) *NodeSpecApplyConfiguration
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 ¶
func (b *NodeSpecApplyConfiguration) WithPodCIDR(value string) *NodeSpecApplyConfiguration
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 ¶
func (b *NodeSpecApplyConfiguration) WithProviderID(value string) *NodeSpecApplyConfiguration
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 ¶
func (b *NodeSpecApplyConfiguration) WithTaints(values ...*TaintApplyConfiguration) *NodeSpecApplyConfiguration
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"` RuntimeHandlers []NodeRuntimeHandlerApplyConfiguration `json:"runtimeHandlers,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 ¶
func (b *NodeStatusApplyConfiguration) WithAddresses(values ...*NodeAddressApplyConfiguration) *NodeStatusApplyConfiguration
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 ¶
func (b *NodeStatusApplyConfiguration) WithAllocatable(value v1.ResourceList) *NodeStatusApplyConfiguration
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 ¶
func (b *NodeStatusApplyConfiguration) WithCapacity(value v1.ResourceList) *NodeStatusApplyConfiguration
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 ¶
func (b *NodeStatusApplyConfiguration) WithConditions(values ...*NodeConditionApplyConfiguration) *NodeStatusApplyConfiguration
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 ¶
func (b *NodeStatusApplyConfiguration) WithConfig(value *NodeConfigStatusApplyConfiguration) *NodeStatusApplyConfiguration
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 ¶
func (b *NodeStatusApplyConfiguration) WithDaemonEndpoints(value *NodeDaemonEndpointsApplyConfiguration) *NodeStatusApplyConfiguration
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 ¶
func (b *NodeStatusApplyConfiguration) WithImages(values ...*ContainerImageApplyConfiguration) *NodeStatusApplyConfiguration
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 ¶
func (b *NodeStatusApplyConfiguration) WithNodeInfo(value *NodeSystemInfoApplyConfiguration) *NodeStatusApplyConfiguration
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 ¶
func (b *NodeStatusApplyConfiguration) WithPhase(value v1.NodePhase) *NodeStatusApplyConfiguration
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) WithRuntimeHandlers ¶
func (b *NodeStatusApplyConfiguration) WithRuntimeHandlers(values ...*NodeRuntimeHandlerApplyConfiguration) *NodeStatusApplyConfiguration
WithRuntimeHandlers adds the given value to the RuntimeHandlers 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 RuntimeHandlers field.
func (*NodeStatusApplyConfiguration) WithVolumesAttached ¶
func (b *NodeStatusApplyConfiguration) WithVolumesAttached(values ...*AttachedVolumeApplyConfiguration) *NodeStatusApplyConfiguration
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 ¶
func (b *NodeStatusApplyConfiguration) WithVolumesInUse(values ...v1.UniqueVolumeName) *NodeStatusApplyConfiguration
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 ¶
func (b *NodeSystemInfoApplyConfiguration) WithArchitecture(value string) *NodeSystemInfoApplyConfiguration
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 ¶
func (b *NodeSystemInfoApplyConfiguration) WithBootID(value string) *NodeSystemInfoApplyConfiguration
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 ¶
func (b *NodeSystemInfoApplyConfiguration) WithKernelVersion(value string) *NodeSystemInfoApplyConfiguration
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 ¶
func (b *NodeSystemInfoApplyConfiguration) WithKubeProxyVersion(value string) *NodeSystemInfoApplyConfiguration
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 ¶
func (b *NodeSystemInfoApplyConfiguration) WithKubeletVersion(value string) *NodeSystemInfoApplyConfiguration
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 ¶
func (b *NodeSystemInfoApplyConfiguration) WithMachineID(value string) *NodeSystemInfoApplyConfiguration
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 ¶
func (b *NodeSystemInfoApplyConfiguration) WithOSImage(value string) *NodeSystemInfoApplyConfiguration
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 ¶
func (b *NodeSystemInfoApplyConfiguration) WithOperatingSystem(value string) *NodeSystemInfoApplyConfiguration
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 ¶
func (b *NodeSystemInfoApplyConfiguration) WithSystemUUID(value string) *NodeSystemInfoApplyConfiguration
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 ¶
func (b *ObjectFieldSelectorApplyConfiguration) WithAPIVersion(value string) *ObjectFieldSelectorApplyConfiguration
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 ¶
func (b *ObjectFieldSelectorApplyConfiguration) WithFieldPath(value string) *ObjectFieldSelectorApplyConfiguration
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 ¶
func (b *ObjectReferenceApplyConfiguration) WithAPIVersion(value string) *ObjectReferenceApplyConfiguration
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 ¶
func (b *ObjectReferenceApplyConfiguration) WithFieldPath(value string) *ObjectReferenceApplyConfiguration
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 ¶
func (b *ObjectReferenceApplyConfiguration) WithKind(value string) *ObjectReferenceApplyConfiguration
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 ¶
func (b *ObjectReferenceApplyConfiguration) WithName(value string) *ObjectReferenceApplyConfiguration
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 ¶
func (b *ObjectReferenceApplyConfiguration) WithNamespace(value string) *ObjectReferenceApplyConfiguration
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 ¶
func (b *ObjectReferenceApplyConfiguration) WithResourceVersion(value string) *ObjectReferenceApplyConfiguration
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 ¶
func (b *ObjectReferenceApplyConfiguration) WithUID(value types.UID) *ObjectReferenceApplyConfiguration
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 ¶
func (b *PersistentVolumeApplyConfiguration) WithAPIVersion(value string) *PersistentVolumeApplyConfiguration
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 ¶
func (b *PersistentVolumeApplyConfiguration) WithAnnotations(entries map[string]string) *PersistentVolumeApplyConfiguration
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 ¶
func (b *PersistentVolumeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PersistentVolumeApplyConfiguration
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 ¶
func (b *PersistentVolumeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PersistentVolumeApplyConfiguration
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 ¶
func (b *PersistentVolumeApplyConfiguration) WithFinalizers(values ...string) *PersistentVolumeApplyConfiguration
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 ¶
func (b *PersistentVolumeApplyConfiguration) WithGenerateName(value string) *PersistentVolumeApplyConfiguration
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 ¶
func (b *PersistentVolumeApplyConfiguration) WithGeneration(value int64) *PersistentVolumeApplyConfiguration
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 ¶
func (b *PersistentVolumeApplyConfiguration) WithKind(value string) *PersistentVolumeApplyConfiguration
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 ¶
func (b *PersistentVolumeApplyConfiguration) WithLabels(entries map[string]string) *PersistentVolumeApplyConfiguration
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 ¶
func (b *PersistentVolumeApplyConfiguration) WithName(value string) *PersistentVolumeApplyConfiguration
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 ¶
func (b *PersistentVolumeApplyConfiguration) WithNamespace(value string) *PersistentVolumeApplyConfiguration
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 ¶
func (b *PersistentVolumeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PersistentVolumeApplyConfiguration
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 ¶
func (b *PersistentVolumeApplyConfiguration) WithResourceVersion(value string) *PersistentVolumeApplyConfiguration
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 ¶
func (b *PersistentVolumeApplyConfiguration) WithSpec(value *PersistentVolumeSpecApplyConfiguration) *PersistentVolumeApplyConfiguration
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 ¶
func (b *PersistentVolumeApplyConfiguration) WithStatus(value *PersistentVolumeStatusApplyConfiguration) *PersistentVolumeApplyConfiguration
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 ¶
func (b *PersistentVolumeApplyConfiguration) WithUID(value types.UID) *PersistentVolumeApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimApplyConfiguration) WithAPIVersion(value string) *PersistentVolumeClaimApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimApplyConfiguration) WithAnnotations(entries map[string]string) *PersistentVolumeClaimApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PersistentVolumeClaimApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PersistentVolumeClaimApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PersistentVolumeClaimApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimApplyConfiguration) WithFinalizers(values ...string) *PersistentVolumeClaimApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimApplyConfiguration) WithGenerateName(value string) *PersistentVolumeClaimApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimApplyConfiguration) WithGeneration(value int64) *PersistentVolumeClaimApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimApplyConfiguration) WithKind(value string) *PersistentVolumeClaimApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimApplyConfiguration) WithLabels(entries map[string]string) *PersistentVolumeClaimApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimApplyConfiguration) WithName(value string) *PersistentVolumeClaimApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimApplyConfiguration) WithNamespace(value string) *PersistentVolumeClaimApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PersistentVolumeClaimApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimApplyConfiguration) WithResourceVersion(value string) *PersistentVolumeClaimApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimApplyConfiguration) WithSpec(value *PersistentVolumeClaimSpecApplyConfiguration) *PersistentVolumeClaimApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimApplyConfiguration) WithStatus(value *PersistentVolumeClaimStatusApplyConfiguration) *PersistentVolumeClaimApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimApplyConfiguration) WithUID(value types.UID) *PersistentVolumeClaimApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimConditionApplyConfiguration) WithLastProbeTime(value metav1.Time) *PersistentVolumeClaimConditionApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *PersistentVolumeClaimConditionApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimConditionApplyConfiguration) WithMessage(value string) *PersistentVolumeClaimConditionApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimConditionApplyConfiguration) WithReason(value string) *PersistentVolumeClaimConditionApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *PersistentVolumeClaimConditionApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimConditionApplyConfiguration) WithType(value v1.PersistentVolumeClaimConditionType) *PersistentVolumeClaimConditionApplyConfiguration
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 *VolumeResourceRequirementsApplyConfiguration `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"` VolumeAttributesClassName *string `json:"volumeAttributesClassName,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 ¶
func (b *PersistentVolumeClaimSpecApplyConfiguration) WithAccessModes(values ...v1.PersistentVolumeAccessMode) *PersistentVolumeClaimSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimSpecApplyConfiguration) WithDataSource(value *TypedLocalObjectReferenceApplyConfiguration) *PersistentVolumeClaimSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimSpecApplyConfiguration) WithDataSourceRef(value *TypedObjectReferenceApplyConfiguration) *PersistentVolumeClaimSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimSpecApplyConfiguration) WithResources(value *VolumeResourceRequirementsApplyConfiguration) *PersistentVolumeClaimSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimSpecApplyConfiguration) WithSelector(value *metav1.LabelSelectorApplyConfiguration) *PersistentVolumeClaimSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimSpecApplyConfiguration) WithStorageClassName(value string) *PersistentVolumeClaimSpecApplyConfiguration
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) WithVolumeAttributesClassName ¶
func (b *PersistentVolumeClaimSpecApplyConfiguration) WithVolumeAttributesClassName(value string) *PersistentVolumeClaimSpecApplyConfiguration
WithVolumeAttributesClassName sets the VolumeAttributesClassName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeAttributesClassName field is set to the value of the last call.
func (*PersistentVolumeClaimSpecApplyConfiguration) WithVolumeMode ¶
func (b *PersistentVolumeClaimSpecApplyConfiguration) WithVolumeMode(value v1.PersistentVolumeMode) *PersistentVolumeClaimSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimSpecApplyConfiguration) WithVolumeName(value string) *PersistentVolumeClaimSpecApplyConfiguration
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"` AllocatedResourceStatuses map[v1.ResourceName]v1.ClaimResourceStatus `json:"allocatedResourceStatuses,omitempty"` CurrentVolumeAttributesClassName *string `json:"currentVolumeAttributesClassName,omitempty"` ModifyVolumeStatus *ModifyVolumeStatusApplyConfiguration `json:"modifyVolumeStatus,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 ¶
func (b *PersistentVolumeClaimStatusApplyConfiguration) WithAccessModes(values ...v1.PersistentVolumeAccessMode) *PersistentVolumeClaimStatusApplyConfiguration
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) WithAllocatedResourceStatuses ¶
func (b *PersistentVolumeClaimStatusApplyConfiguration) WithAllocatedResourceStatuses(entries map[v1.ResourceName]v1.ClaimResourceStatus) *PersistentVolumeClaimStatusApplyConfiguration
WithAllocatedResourceStatuses puts the entries into the AllocatedResourceStatuses 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 AllocatedResourceStatuses field, overwriting an existing map entries in AllocatedResourceStatuses field with the same key.
func (*PersistentVolumeClaimStatusApplyConfiguration) WithAllocatedResources ¶
func (b *PersistentVolumeClaimStatusApplyConfiguration) WithAllocatedResources(value v1.ResourceList) *PersistentVolumeClaimStatusApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimStatusApplyConfiguration) WithCapacity(value v1.ResourceList) *PersistentVolumeClaimStatusApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimStatusApplyConfiguration) WithConditions(values ...*PersistentVolumeClaimConditionApplyConfiguration) *PersistentVolumeClaimStatusApplyConfiguration
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) WithCurrentVolumeAttributesClassName ¶
func (b *PersistentVolumeClaimStatusApplyConfiguration) WithCurrentVolumeAttributesClassName(value string) *PersistentVolumeClaimStatusApplyConfiguration
WithCurrentVolumeAttributesClassName sets the CurrentVolumeAttributesClassName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CurrentVolumeAttributesClassName field is set to the value of the last call.
func (*PersistentVolumeClaimStatusApplyConfiguration) WithModifyVolumeStatus ¶
func (b *PersistentVolumeClaimStatusApplyConfiguration) WithModifyVolumeStatus(value *ModifyVolumeStatusApplyConfiguration) *PersistentVolumeClaimStatusApplyConfiguration
WithModifyVolumeStatus sets the ModifyVolumeStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ModifyVolumeStatus field is set to the value of the last call.
func (*PersistentVolumeClaimStatusApplyConfiguration) WithPhase ¶
func (b *PersistentVolumeClaimStatusApplyConfiguration) WithPhase(value v1.PersistentVolumeClaimPhase) *PersistentVolumeClaimStatusApplyConfiguration
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 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 ¶
func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithAnnotations(entries map[string]string) *PersistentVolumeClaimTemplateApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PersistentVolumeClaimTemplateApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PersistentVolumeClaimTemplateApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PersistentVolumeClaimTemplateApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithFinalizers(values ...string) *PersistentVolumeClaimTemplateApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithGenerateName(value string) *PersistentVolumeClaimTemplateApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithGeneration(value int64) *PersistentVolumeClaimTemplateApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithLabels(entries map[string]string) *PersistentVolumeClaimTemplateApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithName(value string) *PersistentVolumeClaimTemplateApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithNamespace(value string) *PersistentVolumeClaimTemplateApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PersistentVolumeClaimTemplateApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithResourceVersion(value string) *PersistentVolumeClaimTemplateApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithSpec(value *PersistentVolumeClaimSpecApplyConfiguration) *PersistentVolumeClaimTemplateApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimTemplateApplyConfiguration) WithUID(value types.UID) *PersistentVolumeClaimTemplateApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimVolumeSourceApplyConfiguration) WithClaimName(value string) *PersistentVolumeClaimVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeClaimVolumeSourceApplyConfiguration) WithReadOnly(value bool) *PersistentVolumeClaimVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithAWSElasticBlockStore(value *AWSElasticBlockStoreVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithAzureDisk(value *AzureDiskVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithAzureFile(value *AzureFilePersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithCSI(value *CSIPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithCephFS(value *CephFSPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithCinder(value *CinderPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithFC(value *FCVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithFlexVolume(value *FlexPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithFlocker(value *FlockerVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithGCEPersistentDisk(value *GCEPersistentDiskVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithGlusterfs(value *GlusterfsPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithHostPath(value *HostPathVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithISCSI(value *ISCSIPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithLocal(value *LocalVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithNFS(value *NFSVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithPhotonPersistentDisk(value *PhotonPersistentDiskVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithPortworxVolume(value *PortworxVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithQuobyte(value *QuobyteVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithRBD(value *RBDPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithScaleIO(value *ScaleIOPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithStorageOS(value *StorageOSPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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 ¶
func (b *PersistentVolumeSourceApplyConfiguration) WithVsphereVolume(value *VsphereVirtualDiskVolumeSourceApplyConfiguration) *PersistentVolumeSourceApplyConfiguration
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"` VolumeAttributesClassName *string `json:"volumeAttributesClassName,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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithAWSElasticBlockStore(value *AWSElasticBlockStoreVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithAccessModes(values ...v1.PersistentVolumeAccessMode) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithAzureDisk(value *AzureDiskVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithAzureFile(value *AzureFilePersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithCSI(value *CSIPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithCapacity(value v1.ResourceList) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithCephFS(value *CephFSPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithCinder(value *CinderPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithClaimRef(value *ObjectReferenceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithFC(value *FCVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithFlexVolume(value *FlexPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithFlocker(value *FlockerVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithGCEPersistentDisk(value *GCEPersistentDiskVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithGlusterfs(value *GlusterfsPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithHostPath(value *HostPathVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithISCSI(value *ISCSIPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithLocal(value *LocalVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithMountOptions(values ...string) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithNFS(value *NFSVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithNodeAffinity(value *VolumeNodeAffinityApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithPersistentVolumeReclaimPolicy(value v1.PersistentVolumeReclaimPolicy) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithPhotonPersistentDisk(value *PhotonPersistentDiskVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithPortworxVolume(value *PortworxVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithQuobyte(value *QuobyteVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithRBD(value *RBDPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithScaleIO(value *ScaleIOPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithStorageClassName(value string) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithStorageOS(value *StorageOSPersistentVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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) WithVolumeAttributesClassName ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithVolumeAttributesClassName(value string) *PersistentVolumeSpecApplyConfiguration
WithVolumeAttributesClassName sets the VolumeAttributesClassName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeAttributesClassName field is set to the value of the last call.
func (*PersistentVolumeSpecApplyConfiguration) WithVolumeMode ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithVolumeMode(value v1.PersistentVolumeMode) *PersistentVolumeSpecApplyConfiguration
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 ¶
func (b *PersistentVolumeSpecApplyConfiguration) WithVsphereVolume(value *VsphereVirtualDiskVolumeSourceApplyConfiguration) *PersistentVolumeSpecApplyConfiguration
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"` LastPhaseTransitionTime *metav1.Time `json:"lastPhaseTransitionTime,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) WithLastPhaseTransitionTime ¶
func (b *PersistentVolumeStatusApplyConfiguration) WithLastPhaseTransitionTime(value metav1.Time) *PersistentVolumeStatusApplyConfiguration
WithLastPhaseTransitionTime sets the LastPhaseTransitionTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastPhaseTransitionTime field is set to the value of the last call.
func (*PersistentVolumeStatusApplyConfiguration) WithMessage ¶
func (b *PersistentVolumeStatusApplyConfiguration) WithMessage(value string) *PersistentVolumeStatusApplyConfiguration
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 ¶
func (b *PersistentVolumeStatusApplyConfiguration) WithPhase(value v1.PersistentVolumePhase) *PersistentVolumeStatusApplyConfiguration
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 ¶
func (b *PersistentVolumeStatusApplyConfiguration) WithReason(value string) *PersistentVolumeStatusApplyConfiguration
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 ¶
func (b *PhotonPersistentDiskVolumeSourceApplyConfiguration) WithFSType(value string) *PhotonPersistentDiskVolumeSourceApplyConfiguration
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 ¶
func (b *PhotonPersistentDiskVolumeSourceApplyConfiguration) WithPdID(value string) *PhotonPersistentDiskVolumeSourceApplyConfiguration
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"` MatchLabelKeys []string `json:"matchLabelKeys,omitempty"` MismatchLabelKeys []string `json:"mismatchLabelKeys,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 ¶
func (b *PodAffinityTermApplyConfiguration) WithLabelSelector(value *v1.LabelSelectorApplyConfiguration) *PodAffinityTermApplyConfiguration
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) WithMatchLabelKeys ¶
func (b *PodAffinityTermApplyConfiguration) WithMatchLabelKeys(values ...string) *PodAffinityTermApplyConfiguration
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 (*PodAffinityTermApplyConfiguration) WithMismatchLabelKeys ¶
func (b *PodAffinityTermApplyConfiguration) WithMismatchLabelKeys(values ...string) *PodAffinityTermApplyConfiguration
WithMismatchLabelKeys adds the given value to the MismatchLabelKeys 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 MismatchLabelKeys field.
func (*PodAffinityTermApplyConfiguration) WithNamespaceSelector ¶
func (b *PodAffinityTermApplyConfiguration) WithNamespaceSelector(value *v1.LabelSelectorApplyConfiguration) *PodAffinityTermApplyConfiguration
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 ¶
func (b *PodAffinityTermApplyConfiguration) WithNamespaces(values ...string) *PodAffinityTermApplyConfiguration
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 ¶
func (b *PodAffinityTermApplyConfiguration) WithTopologyKey(value string) *PodAffinityTermApplyConfiguration
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 ¶
func (b *PodApplyConfiguration) WithKind(value string) *PodApplyConfiguration
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 ¶
func (b *PodApplyConfiguration) WithName(value string) *PodApplyConfiguration
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 ¶
func (b *PodApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PodApplyConfiguration
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 ¶
func (b *PodApplyConfiguration) WithSpec(value *PodSpecApplyConfiguration) *PodApplyConfiguration
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 ¶
func (b *PodApplyConfiguration) WithStatus(value *PodStatusApplyConfiguration) *PodApplyConfiguration
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 ¶
func (b *PodApplyConfiguration) WithUID(value types.UID) *PodApplyConfiguration
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 ¶
func (b *PodConditionApplyConfiguration) WithLastProbeTime(value metav1.Time) *PodConditionApplyConfiguration
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 ¶
func (b *PodConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *PodConditionApplyConfiguration
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 ¶
func (b *PodConditionApplyConfiguration) WithMessage(value string) *PodConditionApplyConfiguration
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 ¶
func (b *PodConditionApplyConfiguration) WithReason(value string) *PodConditionApplyConfiguration
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 ¶
func (b *PodConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *PodConditionApplyConfiguration
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 ¶
func (b *PodConditionApplyConfiguration) WithType(value v1.PodConditionType) *PodConditionApplyConfiguration
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 ¶
func (b *PodDNSConfigApplyConfiguration) WithNameservers(values ...string) *PodDNSConfigApplyConfiguration
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 ¶
func (b *PodDNSConfigApplyConfiguration) WithOptions(values ...*PodDNSConfigOptionApplyConfiguration) *PodDNSConfigApplyConfiguration
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 ¶
func (b *PodDNSConfigApplyConfiguration) WithSearches(values ...string) *PodDNSConfigApplyConfiguration
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 ¶
func (b *PodDNSConfigOptionApplyConfiguration) WithName(value string) *PodDNSConfigOptionApplyConfiguration
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 ¶
func (b *PodDNSConfigOptionApplyConfiguration) WithValue(value string) *PodDNSConfigOptionApplyConfiguration
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 ¶
func (b *PodIPApplyConfiguration) WithIP(value string) *PodIPApplyConfiguration
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 ¶
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 ¶
func (b *PodOSApplyConfiguration) WithName(value v1.OSName) *PodOSApplyConfiguration
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 ¶
func (b *PodReadinessGateApplyConfiguration) WithConditionType(value v1.PodConditionType) *PodReadinessGateApplyConfiguration
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 ¶
func (b *PodResourceClaimApplyConfiguration) WithName(value string) *PodResourceClaimApplyConfiguration
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 ¶
func (b *PodResourceClaimApplyConfiguration) WithSource(value *ClaimSourceApplyConfiguration) *PodResourceClaimApplyConfiguration
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 PodResourceClaimStatusApplyConfiguration ¶
type PodResourceClaimStatusApplyConfiguration struct { Name *string `json:"name,omitempty"` ResourceClaimName *string `json:"resourceClaimName,omitempty"` }
PodResourceClaimStatusApplyConfiguration represents an declarative configuration of the PodResourceClaimStatus type for use with apply.
func PodResourceClaimStatus ¶
func PodResourceClaimStatus() *PodResourceClaimStatusApplyConfiguration
PodResourceClaimStatusApplyConfiguration constructs an declarative configuration of the PodResourceClaimStatus type for use with apply.
func (*PodResourceClaimStatusApplyConfiguration) WithName ¶
func (b *PodResourceClaimStatusApplyConfiguration) WithName(value string) *PodResourceClaimStatusApplyConfiguration
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 (*PodResourceClaimStatusApplyConfiguration) WithResourceClaimName ¶
func (b *PodResourceClaimStatusApplyConfiguration) WithResourceClaimName(value string) *PodResourceClaimStatusApplyConfiguration
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.
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 ¶
func (b *PodSchedulingGateApplyConfiguration) WithName(value string) *PodSchedulingGateApplyConfiguration
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"` AppArmorProfile *AppArmorProfileApplyConfiguration `json:"appArmorProfile,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) WithAppArmorProfile ¶
func (b *PodSecurityContextApplyConfiguration) WithAppArmorProfile(value *AppArmorProfileApplyConfiguration) *PodSecurityContextApplyConfiguration
WithAppArmorProfile sets the AppArmorProfile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AppArmorProfile field is set to the value of the last call.
func (*PodSecurityContextApplyConfiguration) WithFSGroup ¶
func (b *PodSecurityContextApplyConfiguration) WithFSGroup(value int64) *PodSecurityContextApplyConfiguration
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 ¶
func (b *PodSecurityContextApplyConfiguration) WithFSGroupChangePolicy(value corev1.PodFSGroupChangePolicy) *PodSecurityContextApplyConfiguration
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 ¶
func (b *PodSecurityContextApplyConfiguration) WithRunAsGroup(value int64) *PodSecurityContextApplyConfiguration
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 ¶
func (b *PodSecurityContextApplyConfiguration) WithRunAsNonRoot(value bool) *PodSecurityContextApplyConfiguration
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 ¶
func (b *PodSecurityContextApplyConfiguration) WithRunAsUser(value int64) *PodSecurityContextApplyConfiguration
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 ¶
func (b *PodSecurityContextApplyConfiguration) WithSELinuxOptions(value *SELinuxOptionsApplyConfiguration) *PodSecurityContextApplyConfiguration
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 ¶
func (b *PodSecurityContextApplyConfiguration) WithSeccompProfile(value *SeccompProfileApplyConfiguration) *PodSecurityContextApplyConfiguration
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 ¶
func (b *PodSecurityContextApplyConfiguration) WithSupplementalGroups(values ...int64) *PodSecurityContextApplyConfiguration
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 ¶
func (b *PodSecurityContextApplyConfiguration) WithSysctls(values ...*SysctlApplyConfiguration) *PodSecurityContextApplyConfiguration
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 ¶
func (b *PodSecurityContextApplyConfiguration) WithWindowsOptions(value *WindowsSecurityContextOptionsApplyConfiguration) *PodSecurityContextApplyConfiguration
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"` 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 ¶
func (b *PodSpecApplyConfiguration) WithAffinity(value *AffinityApplyConfiguration) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithContainers(values ...*ContainerApplyConfiguration) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithDNSConfig(value *PodDNSConfigApplyConfiguration) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithDNSPolicy(value corev1.DNSPolicy) *PodSpecApplyConfiguration
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 (*PodSpecApplyConfiguration) WithEnableServiceLinks ¶
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 ¶
func (b *PodSpecApplyConfiguration) WithEphemeralContainers(values ...*EphemeralContainerApplyConfiguration) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithHostAliases(values ...*HostAliasApplyConfiguration) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithHostIPC(value bool) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithHostPID(value bool) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithHostname(value string) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithImagePullSecrets(values ...*LocalObjectReferenceApplyConfiguration) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithInitContainers(values ...*ContainerApplyConfiguration) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithNodeName(value string) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithOS(value *PodOSApplyConfiguration) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithOverhead(value corev1.ResourceList) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithPreemptionPolicy(value corev1.PreemptionPolicy) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithPriority(value int32) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithReadinessGates(values ...*PodReadinessGateApplyConfiguration) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithResourceClaims(values ...*PodResourceClaimApplyConfiguration) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithRestartPolicy(value corev1.RestartPolicy) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithSchedulingGates(values ...*PodSchedulingGateApplyConfiguration) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithSecurityContext(value *PodSecurityContextApplyConfiguration) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithSubdomain(value string) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithTolerations(values ...*TolerationApplyConfiguration) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithTopologySpreadConstraints(values ...*TopologySpreadConstraintApplyConfiguration) *PodSpecApplyConfiguration
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 ¶
func (b *PodSpecApplyConfiguration) WithVolumes(values ...*VolumeApplyConfiguration) *PodSpecApplyConfiguration
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"` HostIPs []HostIPApplyConfiguration `json:"hostIPs,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"` Resize *v1.PodResizeStatus `json:"resize,omitempty"` ResourceClaimStatuses []PodResourceClaimStatusApplyConfiguration `json:"resourceClaimStatuses,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 ¶
func (b *PodStatusApplyConfiguration) WithConditions(values ...*PodConditionApplyConfiguration) *PodStatusApplyConfiguration
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 ¶
func (b *PodStatusApplyConfiguration) WithContainerStatuses(values ...*ContainerStatusApplyConfiguration) *PodStatusApplyConfiguration
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 ¶
func (b *PodStatusApplyConfiguration) WithHostIP(value string) *PodStatusApplyConfiguration
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) WithHostIPs ¶
func (b *PodStatusApplyConfiguration) WithHostIPs(values ...*HostIPApplyConfiguration) *PodStatusApplyConfiguration
WithHostIPs adds the given value to the HostIPs 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 HostIPs field.
func (*PodStatusApplyConfiguration) WithInitContainerStatuses ¶
func (b *PodStatusApplyConfiguration) WithInitContainerStatuses(values ...*ContainerStatusApplyConfiguration) *PodStatusApplyConfiguration
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 ¶
func (b *PodStatusApplyConfiguration) WithMessage(value string) *PodStatusApplyConfiguration
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 ¶
func (b *PodStatusApplyConfiguration) WithPhase(value v1.PodPhase) *PodStatusApplyConfiguration
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 ¶
func (b *PodStatusApplyConfiguration) WithPodIP(value string) *PodStatusApplyConfiguration
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 ¶
func (b *PodStatusApplyConfiguration) WithPodIPs(values ...*PodIPApplyConfiguration) *PodStatusApplyConfiguration
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 ¶
func (b *PodStatusApplyConfiguration) WithQOSClass(value v1.PodQOSClass) *PodStatusApplyConfiguration
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 ¶
func (b *PodStatusApplyConfiguration) WithReason(value string) *PodStatusApplyConfiguration
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) WithResize ¶
func (b *PodStatusApplyConfiguration) WithResize(value v1.PodResizeStatus) *PodStatusApplyConfiguration
WithResize sets the Resize field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resize field is set to the value of the last call.
func (*PodStatusApplyConfiguration) WithResourceClaimStatuses ¶
func (b *PodStatusApplyConfiguration) WithResourceClaimStatuses(values ...*PodResourceClaimStatusApplyConfiguration) *PodStatusApplyConfiguration
WithResourceClaimStatuses adds the given value to the ResourceClaimStatuses 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 ResourceClaimStatuses field.
func (*PodStatusApplyConfiguration) WithStartTime ¶
func (b *PodStatusApplyConfiguration) WithStartTime(value metav1.Time) *PodStatusApplyConfiguration
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 ¶
func (b *PodTemplateApplyConfiguration) WithAPIVersion(value string) *PodTemplateApplyConfiguration
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 ¶
func (b *PodTemplateApplyConfiguration) WithAnnotations(entries map[string]string) *PodTemplateApplyConfiguration
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 ¶
func (b *PodTemplateApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PodTemplateApplyConfiguration
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 ¶
func (b *PodTemplateApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PodTemplateApplyConfiguration
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 ¶
func (b *PodTemplateApplyConfiguration) WithFinalizers(values ...string) *PodTemplateApplyConfiguration
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 ¶
func (b *PodTemplateApplyConfiguration) WithGenerateName(value string) *PodTemplateApplyConfiguration
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 ¶
func (b *PodTemplateApplyConfiguration) WithGeneration(value int64) *PodTemplateApplyConfiguration
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 ¶
func (b *PodTemplateApplyConfiguration) WithKind(value string) *PodTemplateApplyConfiguration
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 ¶
func (b *PodTemplateApplyConfiguration) WithLabels(entries map[string]string) *PodTemplateApplyConfiguration
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 ¶
func (b *PodTemplateApplyConfiguration) WithName(value string) *PodTemplateApplyConfiguration
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 ¶
func (b *PodTemplateApplyConfiguration) WithNamespace(value string) *PodTemplateApplyConfiguration
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 ¶
func (b *PodTemplateApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PodTemplateApplyConfiguration
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 ¶
func (b *PodTemplateApplyConfiguration) WithResourceVersion(value string) *PodTemplateApplyConfiguration
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 ¶
func (b *PodTemplateApplyConfiguration) WithTemplate(value *PodTemplateSpecApplyConfiguration) *PodTemplateApplyConfiguration
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 ¶
func (b *PodTemplateApplyConfiguration) WithUID(value types.UID) *PodTemplateApplyConfiguration
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 ¶
func (b *PodTemplateSpecApplyConfiguration) WithAnnotations(entries map[string]string) *PodTemplateSpecApplyConfiguration
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 ¶
func (b *PodTemplateSpecApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PodTemplateSpecApplyConfiguration
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 ¶
func (b *PodTemplateSpecApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PodTemplateSpecApplyConfiguration
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 ¶
func (b *PodTemplateSpecApplyConfiguration) WithFinalizers(values ...string) *PodTemplateSpecApplyConfiguration
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 ¶
func (b *PodTemplateSpecApplyConfiguration) WithGenerateName(value string) *PodTemplateSpecApplyConfiguration
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 ¶
func (b *PodTemplateSpecApplyConfiguration) WithGeneration(value int64) *PodTemplateSpecApplyConfiguration
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 ¶
func (b *PodTemplateSpecApplyConfiguration) WithLabels(entries map[string]string) *PodTemplateSpecApplyConfiguration
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 ¶
func (b *PodTemplateSpecApplyConfiguration) WithName(value string) *PodTemplateSpecApplyConfiguration
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 ¶
func (b *PodTemplateSpecApplyConfiguration) WithNamespace(value string) *PodTemplateSpecApplyConfiguration
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 ¶
func (b *PodTemplateSpecApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PodTemplateSpecApplyConfiguration
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 ¶
func (b *PodTemplateSpecApplyConfiguration) WithResourceVersion(value string) *PodTemplateSpecApplyConfiguration
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 ¶
func (b *PodTemplateSpecApplyConfiguration) WithSpec(value *PodSpecApplyConfiguration) *PodTemplateSpecApplyConfiguration
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 ¶
func (b *PodTemplateSpecApplyConfiguration) WithUID(value types.UID) *PodTemplateSpecApplyConfiguration
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 ¶
func (b *PortStatusApplyConfiguration) WithError(value string) *PortStatusApplyConfiguration
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 ¶
func (b *PortStatusApplyConfiguration) WithPort(value int32) *PortStatusApplyConfiguration
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 ¶
func (b *PortStatusApplyConfiguration) WithProtocol(value v1.Protocol) *PortStatusApplyConfiguration
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 ¶
func (b *PortworxVolumeSourceApplyConfiguration) WithFSType(value string) *PortworxVolumeSourceApplyConfiguration
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 ¶
func (b *PortworxVolumeSourceApplyConfiguration) WithReadOnly(value bool) *PortworxVolumeSourceApplyConfiguration
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 ¶
func (b *PortworxVolumeSourceApplyConfiguration) WithVolumeID(value string) *PortworxVolumeSourceApplyConfiguration
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 ¶
func (b *PreferredSchedulingTermApplyConfiguration) WithPreference(value *NodeSelectorTermApplyConfiguration) *PreferredSchedulingTermApplyConfiguration
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 ¶
func (b *PreferredSchedulingTermApplyConfiguration) WithWeight(value int32) *PreferredSchedulingTermApplyConfiguration
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 ¶
func (b *ProbeApplyConfiguration) WithExec(value *ExecActionApplyConfiguration) *ProbeApplyConfiguration
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 ¶
func (b *ProbeApplyConfiguration) WithGRPC(value *GRPCActionApplyConfiguration) *ProbeApplyConfiguration
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 ¶
func (b *ProbeApplyConfiguration) WithHTTPGet(value *HTTPGetActionApplyConfiguration) *ProbeApplyConfiguration
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 ¶
func (b *ProbeApplyConfiguration) WithTCPSocket(value *TCPSocketActionApplyConfiguration) *ProbeApplyConfiguration
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 ¶
func (b *ProbeHandlerApplyConfiguration) WithExec(value *ExecActionApplyConfiguration) *ProbeHandlerApplyConfiguration
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 ¶
func (b *ProbeHandlerApplyConfiguration) WithGRPC(value *GRPCActionApplyConfiguration) *ProbeHandlerApplyConfiguration
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 ¶
func (b *ProbeHandlerApplyConfiguration) WithHTTPGet(value *HTTPGetActionApplyConfiguration) *ProbeHandlerApplyConfiguration
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 ¶
func (b *ProbeHandlerApplyConfiguration) WithTCPSocket(value *TCPSocketActionApplyConfiguration) *ProbeHandlerApplyConfiguration
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 ¶
func (b *ProjectedVolumeSourceApplyConfiguration) WithDefaultMode(value int32) *ProjectedVolumeSourceApplyConfiguration
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 ¶
func (b *ProjectedVolumeSourceApplyConfiguration) WithSources(values ...*VolumeProjectionApplyConfiguration) *ProjectedVolumeSourceApplyConfiguration
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 ¶
func (b *QuobyteVolumeSourceApplyConfiguration) WithGroup(value string) *QuobyteVolumeSourceApplyConfiguration
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 ¶
func (b *QuobyteVolumeSourceApplyConfiguration) WithReadOnly(value bool) *QuobyteVolumeSourceApplyConfiguration
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 ¶
func (b *QuobyteVolumeSourceApplyConfiguration) WithRegistry(value string) *QuobyteVolumeSourceApplyConfiguration
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 ¶
func (b *QuobyteVolumeSourceApplyConfiguration) WithTenant(value string) *QuobyteVolumeSourceApplyConfiguration
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 ¶
func (b *QuobyteVolumeSourceApplyConfiguration) WithUser(value string) *QuobyteVolumeSourceApplyConfiguration
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 ¶
func (b *QuobyteVolumeSourceApplyConfiguration) WithVolume(value string) *QuobyteVolumeSourceApplyConfiguration
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 ¶
func (b *RBDPersistentVolumeSourceApplyConfiguration) WithCephMonitors(values ...string) *RBDPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *RBDPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *RBDPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *RBDPersistentVolumeSourceApplyConfiguration) WithKeyring(value string) *RBDPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *RBDPersistentVolumeSourceApplyConfiguration) WithRBDImage(value string) *RBDPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *RBDPersistentVolumeSourceApplyConfiguration) WithRBDPool(value string) *RBDPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *RBDPersistentVolumeSourceApplyConfiguration) WithRadosUser(value string) *RBDPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *RBDPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *RBDPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *RBDPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *RBDPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *RBDVolumeSourceApplyConfiguration) WithCephMonitors(values ...string) *RBDVolumeSourceApplyConfiguration
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 ¶
func (b *RBDVolumeSourceApplyConfiguration) WithFSType(value string) *RBDVolumeSourceApplyConfiguration
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 ¶
func (b *RBDVolumeSourceApplyConfiguration) WithKeyring(value string) *RBDVolumeSourceApplyConfiguration
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 ¶
func (b *RBDVolumeSourceApplyConfiguration) WithRBDImage(value string) *RBDVolumeSourceApplyConfiguration
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 ¶
func (b *RBDVolumeSourceApplyConfiguration) WithRBDPool(value string) *RBDVolumeSourceApplyConfiguration
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 ¶
func (b *RBDVolumeSourceApplyConfiguration) WithRadosUser(value string) *RBDVolumeSourceApplyConfiguration
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 ¶
func (b *RBDVolumeSourceApplyConfiguration) WithReadOnly(value bool) *RBDVolumeSourceApplyConfiguration
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 ¶
func (b *RBDVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *RBDVolumeSourceApplyConfiguration
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 ¶
func (b *ReplicationControllerApplyConfiguration) WithAPIVersion(value string) *ReplicationControllerApplyConfiguration
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 ¶
func (b *ReplicationControllerApplyConfiguration) WithAnnotations(entries map[string]string) *ReplicationControllerApplyConfiguration
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 ¶
func (b *ReplicationControllerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ReplicationControllerApplyConfiguration
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 ¶
func (b *ReplicationControllerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ReplicationControllerApplyConfiguration
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 ¶
func (b *ReplicationControllerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ReplicationControllerApplyConfiguration
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 ¶
func (b *ReplicationControllerApplyConfiguration) WithFinalizers(values ...string) *ReplicationControllerApplyConfiguration
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 ¶
func (b *ReplicationControllerApplyConfiguration) WithGenerateName(value string) *ReplicationControllerApplyConfiguration
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 ¶
func (b *ReplicationControllerApplyConfiguration) WithGeneration(value int64) *ReplicationControllerApplyConfiguration
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 ¶
func (b *ReplicationControllerApplyConfiguration) WithKind(value string) *ReplicationControllerApplyConfiguration
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 ¶
func (b *ReplicationControllerApplyConfiguration) WithLabels(entries map[string]string) *ReplicationControllerApplyConfiguration
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 ¶
func (b *ReplicationControllerApplyConfiguration) WithName(value string) *ReplicationControllerApplyConfiguration
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 ¶
func (b *ReplicationControllerApplyConfiguration) WithNamespace(value string) *ReplicationControllerApplyConfiguration
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 ¶
func (b *ReplicationControllerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ReplicationControllerApplyConfiguration
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 ¶
func (b *ReplicationControllerApplyConfiguration) WithResourceVersion(value string) *ReplicationControllerApplyConfiguration
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 ¶
func (b *ReplicationControllerApplyConfiguration) WithSpec(value *ReplicationControllerSpecApplyConfiguration) *ReplicationControllerApplyConfiguration
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 ¶
func (b *ReplicationControllerApplyConfiguration) WithStatus(value *ReplicationControllerStatusApplyConfiguration) *ReplicationControllerApplyConfiguration
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 ¶
func (b *ReplicationControllerApplyConfiguration) WithUID(value types.UID) *ReplicationControllerApplyConfiguration
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 ¶
func (b *ReplicationControllerConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *ReplicationControllerConditionApplyConfiguration
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 ¶
func (b *ReplicationControllerConditionApplyConfiguration) WithMessage(value string) *ReplicationControllerConditionApplyConfiguration
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 ¶
func (b *ReplicationControllerConditionApplyConfiguration) WithReason(value string) *ReplicationControllerConditionApplyConfiguration
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 ¶
func (b *ReplicationControllerConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *ReplicationControllerConditionApplyConfiguration
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 ¶
func (b *ReplicationControllerConditionApplyConfiguration) WithType(value v1.ReplicationControllerConditionType) *ReplicationControllerConditionApplyConfiguration
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 ¶
func (b *ReplicationControllerSpecApplyConfiguration) WithMinReadySeconds(value int32) *ReplicationControllerSpecApplyConfiguration
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 ¶
func (b *ReplicationControllerSpecApplyConfiguration) WithReplicas(value int32) *ReplicationControllerSpecApplyConfiguration
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 ¶
func (b *ReplicationControllerSpecApplyConfiguration) WithSelector(entries map[string]string) *ReplicationControllerSpecApplyConfiguration
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 ¶
func (b *ReplicationControllerSpecApplyConfiguration) WithTemplate(value *PodTemplateSpecApplyConfiguration) *ReplicationControllerSpecApplyConfiguration
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 ¶
func (b *ReplicationControllerStatusApplyConfiguration) WithAvailableReplicas(value int32) *ReplicationControllerStatusApplyConfiguration
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 ¶
func (b *ReplicationControllerStatusApplyConfiguration) WithConditions(values ...*ReplicationControllerConditionApplyConfiguration) *ReplicationControllerStatusApplyConfiguration
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 ¶
func (b *ReplicationControllerStatusApplyConfiguration) WithFullyLabeledReplicas(value int32) *ReplicationControllerStatusApplyConfiguration
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 ¶
func (b *ReplicationControllerStatusApplyConfiguration) WithObservedGeneration(value int64) *ReplicationControllerStatusApplyConfiguration
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 ¶
func (b *ReplicationControllerStatusApplyConfiguration) WithReadyReplicas(value int32) *ReplicationControllerStatusApplyConfiguration
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 ¶
func (b *ReplicationControllerStatusApplyConfiguration) WithReplicas(value int32) *ReplicationControllerStatusApplyConfiguration
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 ¶
func (b *ResourceClaimApplyConfiguration) WithName(value string) *ResourceClaimApplyConfiguration
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 ¶
func (b *ResourceFieldSelectorApplyConfiguration) WithContainerName(value string) *ResourceFieldSelectorApplyConfiguration
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 ¶
func (b *ResourceFieldSelectorApplyConfiguration) WithDivisor(value resource.Quantity) *ResourceFieldSelectorApplyConfiguration
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 ¶
func (b *ResourceFieldSelectorApplyConfiguration) WithResource(value string) *ResourceFieldSelectorApplyConfiguration
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 ¶
func (b *ResourceQuotaApplyConfiguration) WithAPIVersion(value string) *ResourceQuotaApplyConfiguration
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 ¶
func (b *ResourceQuotaApplyConfiguration) WithAnnotations(entries map[string]string) *ResourceQuotaApplyConfiguration
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 ¶
func (b *ResourceQuotaApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ResourceQuotaApplyConfiguration
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 ¶
func (b *ResourceQuotaApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ResourceQuotaApplyConfiguration
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 ¶
func (b *ResourceQuotaApplyConfiguration) WithFinalizers(values ...string) *ResourceQuotaApplyConfiguration
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 ¶
func (b *ResourceQuotaApplyConfiguration) WithGenerateName(value string) *ResourceQuotaApplyConfiguration
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 ¶
func (b *ResourceQuotaApplyConfiguration) WithGeneration(value int64) *ResourceQuotaApplyConfiguration
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 ¶
func (b *ResourceQuotaApplyConfiguration) WithKind(value string) *ResourceQuotaApplyConfiguration
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 ¶
func (b *ResourceQuotaApplyConfiguration) WithLabels(entries map[string]string) *ResourceQuotaApplyConfiguration
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 ¶
func (b *ResourceQuotaApplyConfiguration) WithName(value string) *ResourceQuotaApplyConfiguration
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 ¶
func (b *ResourceQuotaApplyConfiguration) WithNamespace(value string) *ResourceQuotaApplyConfiguration
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 ¶
func (b *ResourceQuotaApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ResourceQuotaApplyConfiguration
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 ¶
func (b *ResourceQuotaApplyConfiguration) WithResourceVersion(value string) *ResourceQuotaApplyConfiguration
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 ¶
func (b *ResourceQuotaApplyConfiguration) WithSpec(value *ResourceQuotaSpecApplyConfiguration) *ResourceQuotaApplyConfiguration
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 ¶
func (b *ResourceQuotaApplyConfiguration) WithStatus(value *ResourceQuotaStatusApplyConfiguration) *ResourceQuotaApplyConfiguration
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 ¶
func (b *ResourceQuotaApplyConfiguration) WithUID(value types.UID) *ResourceQuotaApplyConfiguration
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 ¶
func (b *ResourceQuotaSpecApplyConfiguration) WithHard(value v1.ResourceList) *ResourceQuotaSpecApplyConfiguration
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 ¶
func (b *ResourceQuotaSpecApplyConfiguration) WithScopeSelector(value *ScopeSelectorApplyConfiguration) *ResourceQuotaSpecApplyConfiguration
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 ¶
func (b *ResourceQuotaSpecApplyConfiguration) WithScopes(values ...v1.ResourceQuotaScope) *ResourceQuotaSpecApplyConfiguration
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 ¶
func (b *ResourceQuotaStatusApplyConfiguration) WithHard(value v1.ResourceList) *ResourceQuotaStatusApplyConfiguration
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 ¶
func (b *ResourceQuotaStatusApplyConfiguration) WithUsed(value v1.ResourceList) *ResourceQuotaStatusApplyConfiguration
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 ¶
func (b *ResourceRequirementsApplyConfiguration) WithClaims(values ...*ResourceClaimApplyConfiguration) *ResourceRequirementsApplyConfiguration
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 ¶
func (b *ResourceRequirementsApplyConfiguration) WithLimits(value v1.ResourceList) *ResourceRequirementsApplyConfiguration
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 ¶
func (b *ResourceRequirementsApplyConfiguration) WithRequests(value v1.ResourceList) *ResourceRequirementsApplyConfiguration
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 ¶
func (b *SELinuxOptionsApplyConfiguration) WithLevel(value string) *SELinuxOptionsApplyConfiguration
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 ¶
func (b *SELinuxOptionsApplyConfiguration) WithRole(value string) *SELinuxOptionsApplyConfiguration
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 ¶
func (b *SELinuxOptionsApplyConfiguration) WithType(value string) *SELinuxOptionsApplyConfiguration
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 ¶
func (b *SELinuxOptionsApplyConfiguration) WithUser(value string) *SELinuxOptionsApplyConfiguration
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 ¶
func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *ScaleIOPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithGateway(value string) *ScaleIOPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithProtectionDomain(value string) *ScaleIOPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *ScaleIOPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithSSLEnabled(value bool) *ScaleIOPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *ScaleIOPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithStorageMode(value string) *ScaleIOPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithStoragePool(value string) *ScaleIOPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithSystem(value string) *ScaleIOPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ScaleIOPersistentVolumeSourceApplyConfiguration) WithVolumeName(value string) *ScaleIOPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *ScaleIOVolumeSourceApplyConfiguration) WithFSType(value string) *ScaleIOVolumeSourceApplyConfiguration
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 ¶
func (b *ScaleIOVolumeSourceApplyConfiguration) WithGateway(value string) *ScaleIOVolumeSourceApplyConfiguration
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 ¶
func (b *ScaleIOVolumeSourceApplyConfiguration) WithProtectionDomain(value string) *ScaleIOVolumeSourceApplyConfiguration
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 ¶
func (b *ScaleIOVolumeSourceApplyConfiguration) WithReadOnly(value bool) *ScaleIOVolumeSourceApplyConfiguration
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 ¶
func (b *ScaleIOVolumeSourceApplyConfiguration) WithSSLEnabled(value bool) *ScaleIOVolumeSourceApplyConfiguration
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 ¶
func (b *ScaleIOVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *ScaleIOVolumeSourceApplyConfiguration
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 ¶
func (b *ScaleIOVolumeSourceApplyConfiguration) WithStorageMode(value string) *ScaleIOVolumeSourceApplyConfiguration
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 ¶
func (b *ScaleIOVolumeSourceApplyConfiguration) WithStoragePool(value string) *ScaleIOVolumeSourceApplyConfiguration
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 ¶
func (b *ScaleIOVolumeSourceApplyConfiguration) WithSystem(value string) *ScaleIOVolumeSourceApplyConfiguration
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 ¶
func (b *ScaleIOVolumeSourceApplyConfiguration) WithVolumeName(value string) *ScaleIOVolumeSourceApplyConfiguration
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 ¶
func (b *ScopeSelectorApplyConfiguration) WithMatchExpressions(values ...*ScopedResourceSelectorRequirementApplyConfiguration) *ScopeSelectorApplyConfiguration
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 ¶
func (b *ScopedResourceSelectorRequirementApplyConfiguration) WithOperator(value v1.ScopeSelectorOperator) *ScopedResourceSelectorRequirementApplyConfiguration
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 ¶
func (b *ScopedResourceSelectorRequirementApplyConfiguration) WithScopeName(value v1.ResourceQuotaScope) *ScopedResourceSelectorRequirementApplyConfiguration
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 ¶
func (b *ScopedResourceSelectorRequirementApplyConfiguration) WithValues(values ...string) *ScopedResourceSelectorRequirementApplyConfiguration
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 ¶
func (b *SeccompProfileApplyConfiguration) WithLocalhostProfile(value string) *SeccompProfileApplyConfiguration
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 ¶
func (b *SeccompProfileApplyConfiguration) WithType(value v1.SeccompProfileType) *SeccompProfileApplyConfiguration
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 ¶
func (b *SecretApplyConfiguration) WithKind(value string) *SecretApplyConfiguration
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 ¶
func (b *SecretApplyConfiguration) WithName(value string) *SecretApplyConfiguration
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 ¶
func (b *SecretApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *SecretApplyConfiguration
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 ¶
func (b *SecretApplyConfiguration) WithType(value corev1.SecretType) *SecretApplyConfiguration
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 ¶
func (b *SecretApplyConfiguration) WithUID(value types.UID) *SecretApplyConfiguration
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 ¶
func (b *SecretEnvSourceApplyConfiguration) WithName(value string) *SecretEnvSourceApplyConfiguration
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 ¶
func (b *SecretEnvSourceApplyConfiguration) WithOptional(value bool) *SecretEnvSourceApplyConfiguration
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 ¶
func (b *SecretKeySelectorApplyConfiguration) WithKey(value string) *SecretKeySelectorApplyConfiguration
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 ¶
func (b *SecretKeySelectorApplyConfiguration) WithName(value string) *SecretKeySelectorApplyConfiguration
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 ¶
func (b *SecretKeySelectorApplyConfiguration) WithOptional(value bool) *SecretKeySelectorApplyConfiguration
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 ¶
func (b *SecretProjectionApplyConfiguration) WithItems(values ...*KeyToPathApplyConfiguration) *SecretProjectionApplyConfiguration
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 ¶
func (b *SecretProjectionApplyConfiguration) WithName(value string) *SecretProjectionApplyConfiguration
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 ¶
func (b *SecretProjectionApplyConfiguration) WithOptional(value bool) *SecretProjectionApplyConfiguration
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 ¶
func (b *SecretReferenceApplyConfiguration) WithName(value string) *SecretReferenceApplyConfiguration
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 ¶
func (b *SecretReferenceApplyConfiguration) WithNamespace(value string) *SecretReferenceApplyConfiguration
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 ¶
func (b *SecretVolumeSourceApplyConfiguration) WithDefaultMode(value int32) *SecretVolumeSourceApplyConfiguration
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 ¶
func (b *SecretVolumeSourceApplyConfiguration) WithItems(values ...*KeyToPathApplyConfiguration) *SecretVolumeSourceApplyConfiguration
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 ¶
func (b *SecretVolumeSourceApplyConfiguration) WithOptional(value bool) *SecretVolumeSourceApplyConfiguration
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 ¶
func (b *SecretVolumeSourceApplyConfiguration) WithSecretName(value string) *SecretVolumeSourceApplyConfiguration
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"` AppArmorProfile *AppArmorProfileApplyConfiguration `json:"appArmorProfile,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) WithAppArmorProfile ¶
func (b *SecurityContextApplyConfiguration) WithAppArmorProfile(value *AppArmorProfileApplyConfiguration) *SecurityContextApplyConfiguration
WithAppArmorProfile sets the AppArmorProfile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AppArmorProfile field is set to the value of the last call.
func (*SecurityContextApplyConfiguration) WithCapabilities ¶
func (b *SecurityContextApplyConfiguration) WithCapabilities(value *CapabilitiesApplyConfiguration) *SecurityContextApplyConfiguration
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 ¶
func (b *SecurityContextApplyConfiguration) WithPrivileged(value bool) *SecurityContextApplyConfiguration
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 ¶
func (b *SecurityContextApplyConfiguration) WithProcMount(value corev1.ProcMountType) *SecurityContextApplyConfiguration
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 ¶
func (b *SecurityContextApplyConfiguration) WithRunAsGroup(value int64) *SecurityContextApplyConfiguration
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 ¶
func (b *SecurityContextApplyConfiguration) WithRunAsNonRoot(value bool) *SecurityContextApplyConfiguration
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 ¶
func (b *SecurityContextApplyConfiguration) WithRunAsUser(value int64) *SecurityContextApplyConfiguration
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 ¶
func (b *SecurityContextApplyConfiguration) WithSELinuxOptions(value *SELinuxOptionsApplyConfiguration) *SecurityContextApplyConfiguration
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 ¶
func (b *SecurityContextApplyConfiguration) WithSeccompProfile(value *SeccompProfileApplyConfiguration) *SecurityContextApplyConfiguration
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 ¶
func (b *SecurityContextApplyConfiguration) WithWindowsOptions(value *WindowsSecurityContextOptionsApplyConfiguration) *SecurityContextApplyConfiguration
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 ¶
func (b *ServiceAccountApplyConfiguration) WithAPIVersion(value string) *ServiceAccountApplyConfiguration
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 ¶
func (b *ServiceAccountApplyConfiguration) WithAnnotations(entries map[string]string) *ServiceAccountApplyConfiguration
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 ¶
func (b *ServiceAccountApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ServiceAccountApplyConfiguration
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 ¶
func (b *ServiceAccountApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ServiceAccountApplyConfiguration
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 ¶
func (b *ServiceAccountApplyConfiguration) WithFinalizers(values ...string) *ServiceAccountApplyConfiguration
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 ¶
func (b *ServiceAccountApplyConfiguration) WithGenerateName(value string) *ServiceAccountApplyConfiguration
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 ¶
func (b *ServiceAccountApplyConfiguration) WithGeneration(value int64) *ServiceAccountApplyConfiguration
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 ¶
func (b *ServiceAccountApplyConfiguration) WithImagePullSecrets(values ...*LocalObjectReferenceApplyConfiguration) *ServiceAccountApplyConfiguration
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 ¶
func (b *ServiceAccountApplyConfiguration) WithKind(value string) *ServiceAccountApplyConfiguration
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 ¶
func (b *ServiceAccountApplyConfiguration) WithLabels(entries map[string]string) *ServiceAccountApplyConfiguration
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 ¶
func (b *ServiceAccountApplyConfiguration) WithName(value string) *ServiceAccountApplyConfiguration
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 ¶
func (b *ServiceAccountApplyConfiguration) WithNamespace(value string) *ServiceAccountApplyConfiguration
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 ¶
func (b *ServiceAccountApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ServiceAccountApplyConfiguration
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 ¶
func (b *ServiceAccountApplyConfiguration) WithResourceVersion(value string) *ServiceAccountApplyConfiguration
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 ¶
func (b *ServiceAccountApplyConfiguration) WithSecrets(values ...*ObjectReferenceApplyConfiguration) *ServiceAccountApplyConfiguration
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 ¶
func (b *ServiceAccountApplyConfiguration) WithUID(value types.UID) *ServiceAccountApplyConfiguration
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 ¶
func (b *ServiceAccountTokenProjectionApplyConfiguration) WithAudience(value string) *ServiceAccountTokenProjectionApplyConfiguration
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 ¶
func (b *ServiceAccountTokenProjectionApplyConfiguration) WithExpirationSeconds(value int64) *ServiceAccountTokenProjectionApplyConfiguration
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 ¶
func (b *ServiceAccountTokenProjectionApplyConfiguration) WithPath(value string) *ServiceAccountTokenProjectionApplyConfiguration
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 ¶
func (b *ServiceApplyConfiguration) WithAPIVersion(value string) *ServiceApplyConfiguration
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 ¶
func (b *ServiceApplyConfiguration) WithKind(value string) *ServiceApplyConfiguration
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 ¶
func (b *ServiceApplyConfiguration) WithLabels(entries map[string]string) *ServiceApplyConfiguration
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 ¶
func (b *ServiceApplyConfiguration) WithName(value string) *ServiceApplyConfiguration
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 ¶
func (b *ServiceApplyConfiguration) WithNamespace(value string) *ServiceApplyConfiguration
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 ¶
func (b *ServiceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ServiceApplyConfiguration
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 ¶
func (b *ServiceApplyConfiguration) WithSpec(value *ServiceSpecApplyConfiguration) *ServiceApplyConfiguration
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 ¶
func (b *ServiceApplyConfiguration) WithStatus(value *ServiceStatusApplyConfiguration) *ServiceApplyConfiguration
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 ¶
func (b *ServiceApplyConfiguration) WithUID(value types.UID) *ServiceApplyConfiguration
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 ¶
func (b *ServicePortApplyConfiguration) WithAppProtocol(value string) *ServicePortApplyConfiguration
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 ¶
func (b *ServicePortApplyConfiguration) WithName(value string) *ServicePortApplyConfiguration
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 ¶
func (b *ServicePortApplyConfiguration) WithNodePort(value int32) *ServicePortApplyConfiguration
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 ¶
func (b *ServicePortApplyConfiguration) WithPort(value int32) *ServicePortApplyConfiguration
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 ¶
func (b *ServicePortApplyConfiguration) WithProtocol(value v1.Protocol) *ServicePortApplyConfiguration
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 ¶
func (b *ServicePortApplyConfiguration) WithTargetPort(value intstr.IntOrString) *ServicePortApplyConfiguration
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.ServiceExternalTrafficPolicy `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.ServiceInternalTrafficPolicy `json:"internalTrafficPolicy,omitempty"` TrafficDistribution *string `json:"trafficDistribution,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 ¶
func (b *ServiceSpecApplyConfiguration) WithClusterIP(value string) *ServiceSpecApplyConfiguration
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 ¶
func (b *ServiceSpecApplyConfiguration) WithClusterIPs(values ...string) *ServiceSpecApplyConfiguration
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 ¶
func (b *ServiceSpecApplyConfiguration) WithExternalIPs(values ...string) *ServiceSpecApplyConfiguration
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 ¶
func (b *ServiceSpecApplyConfiguration) WithExternalName(value string) *ServiceSpecApplyConfiguration
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 ¶
func (b *ServiceSpecApplyConfiguration) WithExternalTrafficPolicy(value corev1.ServiceExternalTrafficPolicy) *ServiceSpecApplyConfiguration
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 ¶
func (b *ServiceSpecApplyConfiguration) WithIPFamilies(values ...corev1.IPFamily) *ServiceSpecApplyConfiguration
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 ¶
func (b *ServiceSpecApplyConfiguration) WithIPFamilyPolicy(value corev1.IPFamilyPolicy) *ServiceSpecApplyConfiguration
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 ¶
func (b *ServiceSpecApplyConfiguration) WithInternalTrafficPolicy(value corev1.ServiceInternalTrafficPolicy) *ServiceSpecApplyConfiguration
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 ¶
func (b *ServiceSpecApplyConfiguration) WithLoadBalancerIP(value string) *ServiceSpecApplyConfiguration
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 ¶
func (b *ServiceSpecApplyConfiguration) WithPorts(values ...*ServicePortApplyConfiguration) *ServiceSpecApplyConfiguration
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 ¶
func (b *ServiceSpecApplyConfiguration) WithSelector(entries map[string]string) *ServiceSpecApplyConfiguration
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 ¶
func (b *ServiceSpecApplyConfiguration) WithSessionAffinity(value corev1.ServiceAffinity) *ServiceSpecApplyConfiguration
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 ¶
func (b *ServiceSpecApplyConfiguration) WithSessionAffinityConfig(value *SessionAffinityConfigApplyConfiguration) *ServiceSpecApplyConfiguration
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) WithTrafficDistribution ¶
func (b *ServiceSpecApplyConfiguration) WithTrafficDistribution(value string) *ServiceSpecApplyConfiguration
WithTrafficDistribution sets the TrafficDistribution field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TrafficDistribution field is set to the value of the last call.
func (*ServiceSpecApplyConfiguration) WithType ¶
func (b *ServiceSpecApplyConfiguration) WithType(value corev1.ServiceType) *ServiceSpecApplyConfiguration
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 ¶
func (b *ServiceStatusApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *ServiceStatusApplyConfiguration
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 ¶
func (b *ServiceStatusApplyConfiguration) WithLoadBalancer(value *LoadBalancerStatusApplyConfiguration) *ServiceStatusApplyConfiguration
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 ¶
func (b *SessionAffinityConfigApplyConfiguration) WithClientIP(value *ClientIPConfigApplyConfiguration) *SessionAffinityConfigApplyConfiguration
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 SleepActionApplyConfiguration ¶
type SleepActionApplyConfiguration struct {
Seconds *int64 `json:"seconds,omitempty"`
}
SleepActionApplyConfiguration represents an declarative configuration of the SleepAction type for use with apply.
func SleepAction ¶
func SleepAction() *SleepActionApplyConfiguration
SleepActionApplyConfiguration constructs an declarative configuration of the SleepAction type for use with apply.
func (*SleepActionApplyConfiguration) WithSeconds ¶
func (b *SleepActionApplyConfiguration) WithSeconds(value int64) *SleepActionApplyConfiguration
WithSeconds sets the Seconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Seconds 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 ¶
func (b *StorageOSPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *StorageOSPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *StorageOSPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *StorageOSPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *StorageOSPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *ObjectReferenceApplyConfiguration) *StorageOSPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *StorageOSPersistentVolumeSourceApplyConfiguration) WithVolumeName(value string) *StorageOSPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *StorageOSPersistentVolumeSourceApplyConfiguration) WithVolumeNamespace(value string) *StorageOSPersistentVolumeSourceApplyConfiguration
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 ¶
func (b *StorageOSVolumeSourceApplyConfiguration) WithFSType(value string) *StorageOSVolumeSourceApplyConfiguration
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 ¶
func (b *StorageOSVolumeSourceApplyConfiguration) WithReadOnly(value bool) *StorageOSVolumeSourceApplyConfiguration
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 ¶
func (b *StorageOSVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *StorageOSVolumeSourceApplyConfiguration
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 ¶
func (b *StorageOSVolumeSourceApplyConfiguration) WithVolumeName(value string) *StorageOSVolumeSourceApplyConfiguration
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 ¶
func (b *StorageOSVolumeSourceApplyConfiguration) WithVolumeNamespace(value string) *StorageOSVolumeSourceApplyConfiguration
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 ¶
func (b *SysctlApplyConfiguration) WithName(value string) *SysctlApplyConfiguration
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 ¶
func (b *SysctlApplyConfiguration) WithValue(value string) *SysctlApplyConfiguration
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 ¶
func (b *TCPSocketActionApplyConfiguration) WithHost(value string) *TCPSocketActionApplyConfiguration
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 ¶
func (b *TCPSocketActionApplyConfiguration) WithPort(value intstr.IntOrString) *TCPSocketActionApplyConfiguration
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 ¶
func (b *TaintApplyConfiguration) WithEffect(value v1.TaintEffect) *TaintApplyConfiguration
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 ¶
func (b *TaintApplyConfiguration) WithKey(value string) *TaintApplyConfiguration
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 ¶
func (b *TaintApplyConfiguration) WithTimeAdded(value metav1.Time) *TaintApplyConfiguration
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 ¶
func (b *TaintApplyConfiguration) WithValue(value string) *TaintApplyConfiguration
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 ¶
func (b *TolerationApplyConfiguration) WithEffect(value v1.TaintEffect) *TolerationApplyConfiguration
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 ¶
func (b *TolerationApplyConfiguration) WithKey(value string) *TolerationApplyConfiguration
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 ¶
func (b *TolerationApplyConfiguration) WithOperator(value v1.TolerationOperator) *TolerationApplyConfiguration
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 ¶
func (b *TolerationApplyConfiguration) WithValue(value string) *TolerationApplyConfiguration
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 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 ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithLabelSelector(value *metav1.LabelSelectorApplyConfiguration) *TopologySpreadConstraintApplyConfiguration
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 ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithMatchLabelKeys(values ...string) *TopologySpreadConstraintApplyConfiguration
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 ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithMaxSkew(value int32) *TopologySpreadConstraintApplyConfiguration
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 ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithMinDomains(value int32) *TopologySpreadConstraintApplyConfiguration
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 ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithNodeAffinityPolicy(value v1.NodeInclusionPolicy) *TopologySpreadConstraintApplyConfiguration
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 ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithNodeTaintsPolicy(value v1.NodeInclusionPolicy) *TopologySpreadConstraintApplyConfiguration
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 ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithTopologyKey(value string) *TopologySpreadConstraintApplyConfiguration
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 ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithWhenUnsatisfiable(value v1.UnsatisfiableConstraintAction) *TopologySpreadConstraintApplyConfiguration
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 ¶
func (b *TypedLocalObjectReferenceApplyConfiguration) WithAPIGroup(value string) *TypedLocalObjectReferenceApplyConfiguration
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 ¶
func (b *TypedLocalObjectReferenceApplyConfiguration) WithKind(value string) *TypedLocalObjectReferenceApplyConfiguration
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 ¶
func (b *TypedLocalObjectReferenceApplyConfiguration) WithName(value string) *TypedLocalObjectReferenceApplyConfiguration
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 ¶
func (b *TypedObjectReferenceApplyConfiguration) WithAPIGroup(value string) *TypedObjectReferenceApplyConfiguration
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 ¶
func (b *TypedObjectReferenceApplyConfiguration) WithKind(value string) *TypedObjectReferenceApplyConfiguration
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 ¶
func (b *TypedObjectReferenceApplyConfiguration) WithName(value string) *TypedObjectReferenceApplyConfiguration
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 ¶
func (b *TypedObjectReferenceApplyConfiguration) WithNamespace(value string) *TypedObjectReferenceApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithAWSElasticBlockStore(value *AWSElasticBlockStoreVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithAzureDisk(value *AzureDiskVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithAzureFile(value *AzureFileVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithCSI(value *CSIVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithCephFS(value *CephFSVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithCinder(value *CinderVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithConfigMap(value *ConfigMapVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithDownwardAPI(value *DownwardAPIVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithEmptyDir(value *EmptyDirVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithEphemeral(value *EphemeralVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithFC(value *FCVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithFlexVolume(value *FlexVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithFlocker(value *FlockerVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithGCEPersistentDisk(value *GCEPersistentDiskVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithGitRepo(value *GitRepoVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithGlusterfs(value *GlusterfsVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithHostPath(value *HostPathVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithISCSI(value *ISCSIVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithNFS(value *NFSVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithName(value string) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithPersistentVolumeClaim(value *PersistentVolumeClaimVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithPhotonPersistentDisk(value *PhotonPersistentDiskVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithPortworxVolume(value *PortworxVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithProjected(value *ProjectedVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithQuobyte(value *QuobyteVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithRBD(value *RBDVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithScaleIO(value *ScaleIOVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithSecret(value *SecretVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithStorageOS(value *StorageOSVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithVsphereVolume(value *VsphereVirtualDiskVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeDeviceApplyConfiguration) WithDevicePath(value string) *VolumeDeviceApplyConfiguration
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 ¶
func (b *VolumeDeviceApplyConfiguration) WithName(value string) *VolumeDeviceApplyConfiguration
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"` RecursiveReadOnly *v1.RecursiveReadOnlyMode `json:"recursiveReadOnly,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 ¶
func (b *VolumeMountApplyConfiguration) WithMountPath(value string) *VolumeMountApplyConfiguration
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 ¶
func (b *VolumeMountApplyConfiguration) WithMountPropagation(value v1.MountPropagationMode) *VolumeMountApplyConfiguration
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 ¶
func (b *VolumeMountApplyConfiguration) WithName(value string) *VolumeMountApplyConfiguration
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 ¶
func (b *VolumeMountApplyConfiguration) WithReadOnly(value bool) *VolumeMountApplyConfiguration
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) WithRecursiveReadOnly ¶
func (b *VolumeMountApplyConfiguration) WithRecursiveReadOnly(value v1.RecursiveReadOnlyMode) *VolumeMountApplyConfiguration
WithRecursiveReadOnly sets the RecursiveReadOnly field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RecursiveReadOnly field is set to the value of the last call.
func (*VolumeMountApplyConfiguration) WithSubPath ¶
func (b *VolumeMountApplyConfiguration) WithSubPath(value string) *VolumeMountApplyConfiguration
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 ¶
func (b *VolumeMountApplyConfiguration) WithSubPathExpr(value string) *VolumeMountApplyConfiguration
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 VolumeMountStatusApplyConfiguration ¶
type VolumeMountStatusApplyConfiguration struct { Name *string `json:"name,omitempty"` MountPath *string `json:"mountPath,omitempty"` ReadOnly *bool `json:"readOnly,omitempty"` RecursiveReadOnly *v1.RecursiveReadOnlyMode `json:"recursiveReadOnly,omitempty"` }
VolumeMountStatusApplyConfiguration represents an declarative configuration of the VolumeMountStatus type for use with apply.
func VolumeMountStatus ¶
func VolumeMountStatus() *VolumeMountStatusApplyConfiguration
VolumeMountStatusApplyConfiguration constructs an declarative configuration of the VolumeMountStatus type for use with apply.
func (*VolumeMountStatusApplyConfiguration) WithMountPath ¶
func (b *VolumeMountStatusApplyConfiguration) WithMountPath(value string) *VolumeMountStatusApplyConfiguration
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 (*VolumeMountStatusApplyConfiguration) WithName ¶
func (b *VolumeMountStatusApplyConfiguration) WithName(value string) *VolumeMountStatusApplyConfiguration
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 (*VolumeMountStatusApplyConfiguration) WithReadOnly ¶
func (b *VolumeMountStatusApplyConfiguration) WithReadOnly(value bool) *VolumeMountStatusApplyConfiguration
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 (*VolumeMountStatusApplyConfiguration) WithRecursiveReadOnly ¶
func (b *VolumeMountStatusApplyConfiguration) WithRecursiveReadOnly(value v1.RecursiveReadOnlyMode) *VolumeMountStatusApplyConfiguration
WithRecursiveReadOnly sets the RecursiveReadOnly field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RecursiveReadOnly 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 ¶
func (b *VolumeNodeAffinityApplyConfiguration) WithRequired(value *NodeSelectorApplyConfiguration) *VolumeNodeAffinityApplyConfiguration
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"` ClusterTrustBundle *ClusterTrustBundleProjectionApplyConfiguration `json:"clusterTrustBundle,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) WithClusterTrustBundle ¶
func (b *VolumeProjectionApplyConfiguration) WithClusterTrustBundle(value *ClusterTrustBundleProjectionApplyConfiguration) *VolumeProjectionApplyConfiguration
WithClusterTrustBundle sets the ClusterTrustBundle field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClusterTrustBundle field is set to the value of the last call.
func (*VolumeProjectionApplyConfiguration) WithConfigMap ¶
func (b *VolumeProjectionApplyConfiguration) WithConfigMap(value *ConfigMapProjectionApplyConfiguration) *VolumeProjectionApplyConfiguration
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 ¶
func (b *VolumeProjectionApplyConfiguration) WithDownwardAPI(value *DownwardAPIProjectionApplyConfiguration) *VolumeProjectionApplyConfiguration
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 ¶
func (b *VolumeProjectionApplyConfiguration) WithSecret(value *SecretProjectionApplyConfiguration) *VolumeProjectionApplyConfiguration
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 ¶
func (b *VolumeProjectionApplyConfiguration) WithServiceAccountToken(value *ServiceAccountTokenProjectionApplyConfiguration) *VolumeProjectionApplyConfiguration
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 VolumeResourceRequirementsApplyConfiguration ¶
type VolumeResourceRequirementsApplyConfiguration struct { Limits *v1.ResourceList `json:"limits,omitempty"` Requests *v1.ResourceList `json:"requests,omitempty"` }
VolumeResourceRequirementsApplyConfiguration represents an declarative configuration of the VolumeResourceRequirements type for use with apply.
func VolumeResourceRequirements ¶
func VolumeResourceRequirements() *VolumeResourceRequirementsApplyConfiguration
VolumeResourceRequirementsApplyConfiguration constructs an declarative configuration of the VolumeResourceRequirements type for use with apply.
func (*VolumeResourceRequirementsApplyConfiguration) WithLimits ¶
func (b *VolumeResourceRequirementsApplyConfiguration) WithLimits(value v1.ResourceList) *VolumeResourceRequirementsApplyConfiguration
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 (*VolumeResourceRequirementsApplyConfiguration) WithRequests ¶
func (b *VolumeResourceRequirementsApplyConfiguration) WithRequests(value v1.ResourceList) *VolumeResourceRequirementsApplyConfiguration
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 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 ¶
func (b *VolumeSourceApplyConfiguration) WithAWSElasticBlockStore(value *AWSElasticBlockStoreVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithAzureDisk(value *AzureDiskVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithAzureFile(value *AzureFileVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithCSI(value *CSIVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithCephFS(value *CephFSVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithCinder(value *CinderVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithConfigMap(value *ConfigMapVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithDownwardAPI(value *DownwardAPIVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithEmptyDir(value *EmptyDirVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithEphemeral(value *EphemeralVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithFC(value *FCVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithFlexVolume(value *FlexVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithFlocker(value *FlockerVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithGCEPersistentDisk(value *GCEPersistentDiskVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithGitRepo(value *GitRepoVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithGlusterfs(value *GlusterfsVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithHostPath(value *HostPathVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithISCSI(value *ISCSIVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithNFS(value *NFSVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithPersistentVolumeClaim(value *PersistentVolumeClaimVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithPhotonPersistentDisk(value *PhotonPersistentDiskVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithPortworxVolume(value *PortworxVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithProjected(value *ProjectedVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithQuobyte(value *QuobyteVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithRBD(value *RBDVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithScaleIO(value *ScaleIOVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithSecret(value *SecretVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithStorageOS(value *StorageOSVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VolumeSourceApplyConfiguration) WithVsphereVolume(value *VsphereVirtualDiskVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 ¶
func (b *VsphereVirtualDiskVolumeSourceApplyConfiguration) WithFSType(value string) *VsphereVirtualDiskVolumeSourceApplyConfiguration
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 ¶
func (b *VsphereVirtualDiskVolumeSourceApplyConfiguration) WithStoragePolicyID(value string) *VsphereVirtualDiskVolumeSourceApplyConfiguration
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 ¶
func (b *VsphereVirtualDiskVolumeSourceApplyConfiguration) WithStoragePolicyName(value string) *VsphereVirtualDiskVolumeSourceApplyConfiguration
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 ¶
func (b *VsphereVirtualDiskVolumeSourceApplyConfiguration) WithVolumePath(value string) *VsphereVirtualDiskVolumeSourceApplyConfiguration
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 ¶
func (b *WeightedPodAffinityTermApplyConfiguration) WithPodAffinityTerm(value *PodAffinityTermApplyConfiguration) *WeightedPodAffinityTermApplyConfiguration
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 ¶
func (b *WeightedPodAffinityTermApplyConfiguration) WithWeight(value int32) *WeightedPodAffinityTermApplyConfiguration
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 ¶
func (b *WindowsSecurityContextOptionsApplyConfiguration) WithGMSACredentialSpec(value string) *WindowsSecurityContextOptionsApplyConfiguration
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 ¶
func (b *WindowsSecurityContextOptionsApplyConfiguration) WithGMSACredentialSpecName(value string) *WindowsSecurityContextOptionsApplyConfiguration
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 ¶
func (b *WindowsSecurityContextOptionsApplyConfiguration) WithHostProcess(value bool) *WindowsSecurityContextOptionsApplyConfiguration
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 ¶
func (b *WindowsSecurityContextOptionsApplyConfiguration) WithRunAsUserName(value string) *WindowsSecurityContextOptionsApplyConfiguration
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 ¶
- affinity.go
- apparmorprofile.go
- attachedvolume.go
- awselasticblockstorevolumesource.go
- azurediskvolumesource.go
- azurefilepersistentvolumesource.go
- azurefilevolumesource.go
- capabilities.go
- cephfspersistentvolumesource.go
- cephfsvolumesource.go
- cinderpersistentvolumesource.go
- cindervolumesource.go
- claimsource.go
- clientipconfig.go
- clustertrustbundleprojection.go
- componentcondition.go
- componentstatus.go
- configmap.go
- configmapenvsource.go
- configmapkeyselector.go
- configmapnodeconfigsource.go
- configmapprojection.go
- configmapvolumesource.go
- container.go
- containerimage.go
- containerport.go
- containerresizepolicy.go
- containerstate.go
- containerstaterunning.go
- containerstateterminated.go
- containerstatewaiting.go
- containerstatus.go
- csipersistentvolumesource.go
- csivolumesource.go
- daemonendpoint.go
- downwardapiprojection.go
- downwardapivolumefile.go
- downwardapivolumesource.go
- emptydirvolumesource.go
- endpointaddress.go
- endpointport.go
- endpoints.go
- endpointsubset.go
- envfromsource.go
- envvar.go
- envvarsource.go
- ephemeralcontainer.go
- ephemeralcontainercommon.go
- ephemeralvolumesource.go
- event.go
- eventseries.go
- eventsource.go
- execaction.go
- fcvolumesource.go
- flexpersistentvolumesource.go
- flexvolumesource.go
- flockervolumesource.go
- gcepersistentdiskvolumesource.go
- gitrepovolumesource.go
- glusterfspersistentvolumesource.go
- glusterfsvolumesource.go
- grpcaction.go
- hostalias.go
- hostip.go
- hostpathvolumesource.go
- httpgetaction.go
- httpheader.go
- iscsipersistentvolumesource.go
- iscsivolumesource.go
- keytopath.go
- lifecycle.go
- lifecyclehandler.go
- limitrange.go
- limitrangeitem.go
- limitrangespec.go
- loadbalanceringress.go
- loadbalancerstatus.go
- localobjectreference.go
- localvolumesource.go
- modifyvolumestatus.go
- namespace.go
- namespacecondition.go
- namespacespec.go
- namespacestatus.go
- nfsvolumesource.go
- node.go
- nodeaddress.go
- nodeaffinity.go
- nodecondition.go
- nodeconfigsource.go
- nodeconfigstatus.go
- nodedaemonendpoints.go
- noderuntimehandler.go
- noderuntimehandlerfeatures.go
- nodeselector.go
- nodeselectorrequirement.go
- nodeselectorterm.go
- nodespec.go
- nodestatus.go
- nodesysteminfo.go
- objectfieldselector.go
- objectreference.go
- persistentvolume.go
- persistentvolumeclaim.go
- persistentvolumeclaimcondition.go
- persistentvolumeclaimspec.go
- persistentvolumeclaimstatus.go
- persistentvolumeclaimtemplate.go
- persistentvolumeclaimvolumesource.go
- persistentvolumesource.go
- persistentvolumespec.go
- persistentvolumestatus.go
- photonpersistentdiskvolumesource.go
- pod.go
- podaffinity.go
- podaffinityterm.go
- podantiaffinity.go
- podcondition.go
- poddnsconfig.go
- poddnsconfigoption.go
- podip.go
- podos.go
- podreadinessgate.go
- podresourceclaim.go
- podresourceclaimstatus.go
- podschedulinggate.go
- podsecuritycontext.go
- podspec.go
- podstatus.go
- podtemplate.go
- podtemplatespec.go
- portstatus.go
- portworxvolumesource.go
- preferredschedulingterm.go
- probe.go
- probehandler.go
- projectedvolumesource.go
- quobytevolumesource.go
- rbdpersistentvolumesource.go
- rbdvolumesource.go
- replicationcontroller.go
- replicationcontrollercondition.go
- replicationcontrollerspec.go
- replicationcontrollerstatus.go
- resourceclaim.go
- resourcefieldselector.go
- resourcequota.go
- resourcequotaspec.go
- resourcequotastatus.go
- resourcerequirements.go
- scaleiopersistentvolumesource.go
- scaleiovolumesource.go
- scopedresourceselectorrequirement.go
- scopeselector.go
- seccompprofile.go
- secret.go
- secretenvsource.go
- secretkeyselector.go
- secretprojection.go
- secretreference.go
- secretvolumesource.go
- securitycontext.go
- selinuxoptions.go
- service.go
- serviceaccount.go
- serviceaccounttokenprojection.go
- serviceport.go
- servicespec.go
- servicestatus.go
- sessionaffinityconfig.go
- sleepaction.go
- storageospersistentvolumesource.go
- storageosvolumesource.go
- sysctl.go
- taint.go
- tcpsocketaction.go
- toleration.go
- topologyspreadconstraint.go
- typedlocalobjectreference.go
- typedobjectreference.go
- volume.go
- volumedevice.go
- volumemount.go
- volumemountstatus.go
- volumenodeaffinity.go
- volumeprojection.go
- volumeresourcerequirements.go
- volumesource.go
- vspherevirtualdiskvolumesource.go
- weightedpodaffinityterm.go
- windowssecuritycontextoptions.go