Documentation
¶
Index ¶
- Variables
- type AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) DeepCopy() *AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieFeed(r corev1.AWSElasticBlockStoreVolumeSource) *AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieFeedJSON(j []byte) *AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieFeedPtr(r *corev1.AWSElasticBlockStoreVolumeSource) *AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieFeedYAML(y []byte) *AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieFeedYAMLFile(name string) *AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieImmutable(immutable bool) *AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieRelease() corev1.AWSElasticBlockStoreVolumeSource
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieReleaseJSON() []byte
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieReleasePtr() *corev1.AWSElasticBlockStoreVolumeSource
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieReleaseYAML() []byte
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieStamp(fn func(r *corev1.AWSElasticBlockStoreVolumeSource)) *AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieStampAt(jp string, fn interface{}) *AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieWith(fns ...func(d *AWSElasticBlockStoreVolumeSourceDie)) *AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) FSType(v string) *AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) Partition(v int32) *AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) ReadOnly(v bool) *AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) VolumeID(v string) *AWSElasticBlockStoreVolumeSourceDie
- type AttachedVolumeDie
- func (d *AttachedVolumeDie) DeepCopy() *AttachedVolumeDie
- func (d *AttachedVolumeDie) DevicePath(v string) *AttachedVolumeDie
- func (d *AttachedVolumeDie) DieFeed(r corev1.AttachedVolume) *AttachedVolumeDie
- func (d *AttachedVolumeDie) DieFeedJSON(j []byte) *AttachedVolumeDie
- func (d *AttachedVolumeDie) DieFeedPtr(r *corev1.AttachedVolume) *AttachedVolumeDie
- func (d *AttachedVolumeDie) DieFeedRawExtension(raw runtime.RawExtension) *AttachedVolumeDie
- func (d *AttachedVolumeDie) DieFeedYAML(y []byte) *AttachedVolumeDie
- func (d *AttachedVolumeDie) DieFeedYAMLFile(name string) *AttachedVolumeDie
- func (d *AttachedVolumeDie) DieImmutable(immutable bool) *AttachedVolumeDie
- func (d *AttachedVolumeDie) DieRelease() corev1.AttachedVolume
- func (d *AttachedVolumeDie) DieReleaseJSON() []byte
- func (d *AttachedVolumeDie) DieReleasePtr() *corev1.AttachedVolume
- func (d *AttachedVolumeDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *AttachedVolumeDie) DieReleaseYAML() []byte
- func (d *AttachedVolumeDie) DieStamp(fn func(r *corev1.AttachedVolume)) *AttachedVolumeDie
- func (d *AttachedVolumeDie) DieStampAt(jp string, fn interface{}) *AttachedVolumeDie
- func (d *AttachedVolumeDie) DieWith(fns ...func(d *AttachedVolumeDie)) *AttachedVolumeDie
- func (d *AttachedVolumeDie) Name(v corev1.UniqueVolumeName) *AttachedVolumeDie
- type AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) CachingMode(v *corev1.AzureDataDiskCachingMode) *AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) DataDiskURI(v string) *AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) DeepCopy() *AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) DieFeed(r corev1.AzureDiskVolumeSource) *AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) DieFeedJSON(j []byte) *AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) DieFeedPtr(r *corev1.AzureDiskVolumeSource) *AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) DieFeedYAML(y []byte) *AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) DieFeedYAMLFile(name string) *AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) DieImmutable(immutable bool) *AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) DieRelease() corev1.AzureDiskVolumeSource
- func (d *AzureDiskVolumeSourceDie) DieReleaseJSON() []byte
- func (d *AzureDiskVolumeSourceDie) DieReleasePtr() *corev1.AzureDiskVolumeSource
- func (d *AzureDiskVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *AzureDiskVolumeSourceDie) DieReleaseYAML() []byte
- func (d *AzureDiskVolumeSourceDie) DieStamp(fn func(r *corev1.AzureDiskVolumeSource)) *AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) DieStampAt(jp string, fn interface{}) *AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) DieWith(fns ...func(d *AzureDiskVolumeSourceDie)) *AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) DiskName(v string) *AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) FSType(v *string) *AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) Kind(v *corev1.AzureDataDiskKind) *AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) ReadOnly(v *bool) *AzureDiskVolumeSourceDie
- type AzureFilePersistentVolumeSourceDie
- func (d *AzureFilePersistentVolumeSourceDie) DeepCopy() *AzureFilePersistentVolumeSourceDie
- func (d *AzureFilePersistentVolumeSourceDie) DieFeed(r corev1.AzureFilePersistentVolumeSource) *AzureFilePersistentVolumeSourceDie
- func (d *AzureFilePersistentVolumeSourceDie) DieFeedJSON(j []byte) *AzureFilePersistentVolumeSourceDie
- func (d *AzureFilePersistentVolumeSourceDie) DieFeedPtr(r *corev1.AzureFilePersistentVolumeSource) *AzureFilePersistentVolumeSourceDie
- func (d *AzureFilePersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *AzureFilePersistentVolumeSourceDie
- func (d *AzureFilePersistentVolumeSourceDie) DieFeedYAML(y []byte) *AzureFilePersistentVolumeSourceDie
- func (d *AzureFilePersistentVolumeSourceDie) DieFeedYAMLFile(name string) *AzureFilePersistentVolumeSourceDie
- func (d *AzureFilePersistentVolumeSourceDie) DieImmutable(immutable bool) *AzureFilePersistentVolumeSourceDie
- func (d *AzureFilePersistentVolumeSourceDie) DieRelease() corev1.AzureFilePersistentVolumeSource
- func (d *AzureFilePersistentVolumeSourceDie) DieReleaseJSON() []byte
- func (d *AzureFilePersistentVolumeSourceDie) DieReleasePtr() *corev1.AzureFilePersistentVolumeSource
- func (d *AzureFilePersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *AzureFilePersistentVolumeSourceDie) DieReleaseYAML() []byte
- func (d *AzureFilePersistentVolumeSourceDie) DieStamp(fn func(r *corev1.AzureFilePersistentVolumeSource)) *AzureFilePersistentVolumeSourceDie
- func (d *AzureFilePersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *AzureFilePersistentVolumeSourceDie
- func (d *AzureFilePersistentVolumeSourceDie) DieWith(fns ...func(d *AzureFilePersistentVolumeSourceDie)) *AzureFilePersistentVolumeSourceDie
- func (d *AzureFilePersistentVolumeSourceDie) ReadOnly(v bool) *AzureFilePersistentVolumeSourceDie
- func (d *AzureFilePersistentVolumeSourceDie) SecretName(v string) *AzureFilePersistentVolumeSourceDie
- func (d *AzureFilePersistentVolumeSourceDie) SecretNamespace(v *string) *AzureFilePersistentVolumeSourceDie
- func (d *AzureFilePersistentVolumeSourceDie) ShareName(v string) *AzureFilePersistentVolumeSourceDie
- type AzureFileVolumeSourceDie
- func (d *AzureFileVolumeSourceDie) DeepCopy() *AzureFileVolumeSourceDie
- func (d *AzureFileVolumeSourceDie) DieFeed(r corev1.AzureFileVolumeSource) *AzureFileVolumeSourceDie
- func (d *AzureFileVolumeSourceDie) DieFeedJSON(j []byte) *AzureFileVolumeSourceDie
- func (d *AzureFileVolumeSourceDie) DieFeedPtr(r *corev1.AzureFileVolumeSource) *AzureFileVolumeSourceDie
- func (d *AzureFileVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *AzureFileVolumeSourceDie
- func (d *AzureFileVolumeSourceDie) DieFeedYAML(y []byte) *AzureFileVolumeSourceDie
- func (d *AzureFileVolumeSourceDie) DieFeedYAMLFile(name string) *AzureFileVolumeSourceDie
- func (d *AzureFileVolumeSourceDie) DieImmutable(immutable bool) *AzureFileVolumeSourceDie
- func (d *AzureFileVolumeSourceDie) DieRelease() corev1.AzureFileVolumeSource
- func (d *AzureFileVolumeSourceDie) DieReleaseJSON() []byte
- func (d *AzureFileVolumeSourceDie) DieReleasePtr() *corev1.AzureFileVolumeSource
- func (d *AzureFileVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *AzureFileVolumeSourceDie) DieReleaseYAML() []byte
- func (d *AzureFileVolumeSourceDie) DieStamp(fn func(r *corev1.AzureFileVolumeSource)) *AzureFileVolumeSourceDie
- func (d *AzureFileVolumeSourceDie) DieStampAt(jp string, fn interface{}) *AzureFileVolumeSourceDie
- func (d *AzureFileVolumeSourceDie) DieWith(fns ...func(d *AzureFileVolumeSourceDie)) *AzureFileVolumeSourceDie
- func (d *AzureFileVolumeSourceDie) ReadOnly(v bool) *AzureFileVolumeSourceDie
- func (d *AzureFileVolumeSourceDie) SecretName(v string) *AzureFileVolumeSourceDie
- func (d *AzureFileVolumeSourceDie) ShareName(v string) *AzureFileVolumeSourceDie
- type BindingDie
- func (d *BindingDie) APIVersion(v string) *BindingDie
- func (d *BindingDie) DeepCopy() *BindingDie
- func (d *BindingDie) DeepCopyObject() runtime.Object
- func (d *BindingDie) DieFeed(r corev1.Binding) *BindingDie
- func (d *BindingDie) DieFeedJSON(j []byte) *BindingDie
- func (d *BindingDie) DieFeedPtr(r *corev1.Binding) *BindingDie
- func (d *BindingDie) DieFeedRawExtension(raw runtime.RawExtension) *BindingDie
- func (d *BindingDie) DieFeedYAML(y []byte) *BindingDie
- func (d *BindingDie) DieFeedYAMLFile(name string) *BindingDie
- func (d *BindingDie) DieImmutable(immutable bool) *BindingDie
- func (d *BindingDie) DieRelease() corev1.Binding
- func (d *BindingDie) DieReleaseJSON() []byte
- func (d *BindingDie) DieReleasePtr() *corev1.Binding
- func (d *BindingDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *BindingDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *BindingDie) DieReleaseYAML() []byte
- func (d *BindingDie) DieStamp(fn func(r *corev1.Binding)) *BindingDie
- func (d *BindingDie) DieStampAt(jp string, fn interface{}) *BindingDie
- func (d *BindingDie) DieWith(fns ...func(d *BindingDie)) *BindingDie
- func (d *BindingDie) GetObjectKind() schema.ObjectKind
- func (d *BindingDie) Kind(v string) *BindingDie
- func (d *BindingDie) MarshalJSON() ([]byte, error)
- func (d *BindingDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *BindingDie
- func (d *BindingDie) Target(v corev1.ObjectReference) *BindingDie
- func (d *BindingDie) TargetDie(fn func(d *ObjectReferenceDie)) *BindingDie
- func (d *BindingDie) UnmarshalJSON(b []byte) error
- type CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) AddVolumeAttributes(key, value string) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) ControllerExpandSecretRef(v *corev1.SecretReference) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) ControllerExpandSecretRefDie(fn func(d *SecretReferenceDie)) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) ControllerPublishSecretRef(v *corev1.SecretReference) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) ControllerPublishSecretRefDie(fn func(d *SecretReferenceDie)) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) DeepCopy() *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) DieFeed(r corev1.CSIPersistentVolumeSource) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) DieFeedJSON(j []byte) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) DieFeedPtr(r *corev1.CSIPersistentVolumeSource) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) DieFeedYAML(y []byte) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) DieFeedYAMLFile(name string) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) DieImmutable(immutable bool) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) DieRelease() corev1.CSIPersistentVolumeSource
- func (d *CSIPersistentVolumeSourceDie) DieReleaseJSON() []byte
- func (d *CSIPersistentVolumeSourceDie) DieReleasePtr() *corev1.CSIPersistentVolumeSource
- func (d *CSIPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *CSIPersistentVolumeSourceDie) DieReleaseYAML() []byte
- func (d *CSIPersistentVolumeSourceDie) DieStamp(fn func(r *corev1.CSIPersistentVolumeSource)) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) DieWith(fns ...func(d *CSIPersistentVolumeSourceDie)) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) Driver(v string) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) FSType(v string) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) NodeExpandSecretRef(v *corev1.SecretReference) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) NodeExpandSecretRefDie(fn func(d *SecretReferenceDie)) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) NodePublishSecretRef(v *corev1.SecretReference) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) NodePublishSecretRefDie(fn func(d *SecretReferenceDie)) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) NodeStageSecretRef(v *corev1.SecretReference) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) NodeStageSecretRefDie(fn func(d *SecretReferenceDie)) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) ReadOnly(v bool) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) VolumeAttributes(v map[string]string) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) VolumeHandle(v string) *CSIPersistentVolumeSourceDie
- type CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) DeepCopy() *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) DieFeed(r corev1.CSIVolumeSource) *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) DieFeedJSON(j []byte) *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) DieFeedPtr(r *corev1.CSIVolumeSource) *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) DieFeedYAML(y []byte) *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) DieFeedYAMLFile(name string) *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) DieImmutable(immutable bool) *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) DieRelease() corev1.CSIVolumeSource
- func (d *CSIVolumeSourceDie) DieReleaseJSON() []byte
- func (d *CSIVolumeSourceDie) DieReleasePtr() *corev1.CSIVolumeSource
- func (d *CSIVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *CSIVolumeSourceDie) DieReleaseYAML() []byte
- func (d *CSIVolumeSourceDie) DieStamp(fn func(r *corev1.CSIVolumeSource)) *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) DieStampAt(jp string, fn interface{}) *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) DieWith(fns ...func(d *CSIVolumeSourceDie)) *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) Driver(v string) *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) FSType(v *string) *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) NodePublishSecretRef(v *corev1.LocalObjectReference) *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) NodePublishSecretRefDie(fn func(d *LocalObjectReferenceDie)) *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) ReadOnly(v *bool) *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) VolumeAttribute(key, value string) *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) VolumeAttributes(v map[string]string) *CSIVolumeSourceDie
- type CapabilitiesDie
- func (d *CapabilitiesDie) Add(v ...corev1.Capability) *CapabilitiesDie
- func (d *CapabilitiesDie) DeepCopy() *CapabilitiesDie
- func (d *CapabilitiesDie) DieFeed(r corev1.Capabilities) *CapabilitiesDie
- func (d *CapabilitiesDie) DieFeedJSON(j []byte) *CapabilitiesDie
- func (d *CapabilitiesDie) DieFeedPtr(r *corev1.Capabilities) *CapabilitiesDie
- func (d *CapabilitiesDie) DieFeedRawExtension(raw runtime.RawExtension) *CapabilitiesDie
- func (d *CapabilitiesDie) DieFeedYAML(y []byte) *CapabilitiesDie
- func (d *CapabilitiesDie) DieFeedYAMLFile(name string) *CapabilitiesDie
- func (d *CapabilitiesDie) DieImmutable(immutable bool) *CapabilitiesDie
- func (d *CapabilitiesDie) DieRelease() corev1.Capabilities
- func (d *CapabilitiesDie) DieReleaseJSON() []byte
- func (d *CapabilitiesDie) DieReleasePtr() *corev1.Capabilities
- func (d *CapabilitiesDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *CapabilitiesDie) DieReleaseYAML() []byte
- func (d *CapabilitiesDie) DieStamp(fn func(r *corev1.Capabilities)) *CapabilitiesDie
- func (d *CapabilitiesDie) DieStampAt(jp string, fn interface{}) *CapabilitiesDie
- func (d *CapabilitiesDie) DieWith(fns ...func(d *CapabilitiesDie)) *CapabilitiesDie
- func (d *CapabilitiesDie) Drop(v ...corev1.Capability) *CapabilitiesDie
- type CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) DeepCopy() *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) DieFeed(r corev1.CephFSPersistentVolumeSource) *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) DieFeedJSON(j []byte) *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) DieFeedPtr(r *corev1.CephFSPersistentVolumeSource) *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) DieFeedYAML(y []byte) *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) DieFeedYAMLFile(name string) *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) DieImmutable(immutable bool) *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) DieRelease() corev1.CephFSPersistentVolumeSource
- func (d *CephFSPersistentVolumeSourceDie) DieReleaseJSON() []byte
- func (d *CephFSPersistentVolumeSourceDie) DieReleasePtr() *corev1.CephFSPersistentVolumeSource
- func (d *CephFSPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *CephFSPersistentVolumeSourceDie) DieReleaseYAML() []byte
- func (d *CephFSPersistentVolumeSourceDie) DieStamp(fn func(r *corev1.CephFSPersistentVolumeSource)) *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) DieWith(fns ...func(d *CephFSPersistentVolumeSourceDie)) *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) Monitors(v ...string) *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) Path(v string) *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) ReadOnly(v bool) *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) SecretFile(v string) *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) SecretRef(v *corev1.SecretReference) *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) SecretRefDie(fn func(d *SecretReferenceDie)) *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) User(v string) *CephFSPersistentVolumeSourceDie
- type CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) DeepCopy() *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) DieFeed(r corev1.CephFSVolumeSource) *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) DieFeedJSON(j []byte) *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) DieFeedPtr(r *corev1.CephFSVolumeSource) *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) DieFeedYAML(y []byte) *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) DieFeedYAMLFile(name string) *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) DieImmutable(immutable bool) *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) DieRelease() corev1.CephFSVolumeSource
- func (d *CephFSVolumeSourceDie) DieReleaseJSON() []byte
- func (d *CephFSVolumeSourceDie) DieReleasePtr() *corev1.CephFSVolumeSource
- func (d *CephFSVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *CephFSVolumeSourceDie) DieReleaseYAML() []byte
- func (d *CephFSVolumeSourceDie) DieStamp(fn func(r *corev1.CephFSVolumeSource)) *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) DieStampAt(jp string, fn interface{}) *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) DieWith(fns ...func(d *CephFSVolumeSourceDie)) *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) Monitors(v ...string) *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) Path(v string) *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) ReadOnly(v bool) *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) SecretFile(v string) *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) SecretRef(v *corev1.LocalObjectReference) *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) SecretRefDie(fn func(d *LocalObjectReferenceDie)) *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) User(v string) *CephFSVolumeSourceDie
- type CinderPersistentVolumeSourceDie
- func (d *CinderPersistentVolumeSourceDie) DeepCopy() *CinderPersistentVolumeSourceDie
- func (d *CinderPersistentVolumeSourceDie) DieFeed(r corev1.CinderPersistentVolumeSource) *CinderPersistentVolumeSourceDie
- func (d *CinderPersistentVolumeSourceDie) DieFeedJSON(j []byte) *CinderPersistentVolumeSourceDie
- func (d *CinderPersistentVolumeSourceDie) DieFeedPtr(r *corev1.CinderPersistentVolumeSource) *CinderPersistentVolumeSourceDie
- func (d *CinderPersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *CinderPersistentVolumeSourceDie
- func (d *CinderPersistentVolumeSourceDie) DieFeedYAML(y []byte) *CinderPersistentVolumeSourceDie
- func (d *CinderPersistentVolumeSourceDie) DieFeedYAMLFile(name string) *CinderPersistentVolumeSourceDie
- func (d *CinderPersistentVolumeSourceDie) DieImmutable(immutable bool) *CinderPersistentVolumeSourceDie
- func (d *CinderPersistentVolumeSourceDie) DieRelease() corev1.CinderPersistentVolumeSource
- func (d *CinderPersistentVolumeSourceDie) DieReleaseJSON() []byte
- func (d *CinderPersistentVolumeSourceDie) DieReleasePtr() *corev1.CinderPersistentVolumeSource
- func (d *CinderPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *CinderPersistentVolumeSourceDie) DieReleaseYAML() []byte
- func (d *CinderPersistentVolumeSourceDie) DieStamp(fn func(r *corev1.CinderPersistentVolumeSource)) *CinderPersistentVolumeSourceDie
- func (d *CinderPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *CinderPersistentVolumeSourceDie
- func (d *CinderPersistentVolumeSourceDie) DieWith(fns ...func(d *CinderPersistentVolumeSourceDie)) *CinderPersistentVolumeSourceDie
- func (d *CinderPersistentVolumeSourceDie) FSType(v string) *CinderPersistentVolumeSourceDie
- func (d *CinderPersistentVolumeSourceDie) ReadOnly(v bool) *CinderPersistentVolumeSourceDie
- func (d *CinderPersistentVolumeSourceDie) SecretRef(v *corev1.SecretReference) *CinderPersistentVolumeSourceDie
- func (d *CinderPersistentVolumeSourceDie) SecretRefDie(fn func(d *SecretReferenceDie)) *CinderPersistentVolumeSourceDie
- func (d *CinderPersistentVolumeSourceDie) VolumeID(v string) *CinderPersistentVolumeSourceDie
- type CinderVolumeSourceDie
- func (d *CinderVolumeSourceDie) DeepCopy() *CinderVolumeSourceDie
- func (d *CinderVolumeSourceDie) DieFeed(r corev1.CinderVolumeSource) *CinderVolumeSourceDie
- func (d *CinderVolumeSourceDie) DieFeedJSON(j []byte) *CinderVolumeSourceDie
- func (d *CinderVolumeSourceDie) DieFeedPtr(r *corev1.CinderVolumeSource) *CinderVolumeSourceDie
- func (d *CinderVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *CinderVolumeSourceDie
- func (d *CinderVolumeSourceDie) DieFeedYAML(y []byte) *CinderVolumeSourceDie
- func (d *CinderVolumeSourceDie) DieFeedYAMLFile(name string) *CinderVolumeSourceDie
- func (d *CinderVolumeSourceDie) DieImmutable(immutable bool) *CinderVolumeSourceDie
- func (d *CinderVolumeSourceDie) DieRelease() corev1.CinderVolumeSource
- func (d *CinderVolumeSourceDie) DieReleaseJSON() []byte
- func (d *CinderVolumeSourceDie) DieReleasePtr() *corev1.CinderVolumeSource
- func (d *CinderVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *CinderVolumeSourceDie) DieReleaseYAML() []byte
- func (d *CinderVolumeSourceDie) DieStamp(fn func(r *corev1.CinderVolumeSource)) *CinderVolumeSourceDie
- func (d *CinderVolumeSourceDie) DieStampAt(jp string, fn interface{}) *CinderVolumeSourceDie
- func (d *CinderVolumeSourceDie) DieWith(fns ...func(d *CinderVolumeSourceDie)) *CinderVolumeSourceDie
- func (d *CinderVolumeSourceDie) FSType(v string) *CinderVolumeSourceDie
- func (d *CinderVolumeSourceDie) ReadOnly(v bool) *CinderVolumeSourceDie
- func (d *CinderVolumeSourceDie) SecretRef(v *corev1.LocalObjectReference) *CinderVolumeSourceDie
- func (d *CinderVolumeSourceDie) SecretRefDie(fn func(d *LocalObjectReferenceDie)) *CinderVolumeSourceDie
- func (d *CinderVolumeSourceDie) VolumeID(v string) *CinderVolumeSourceDie
- type ClaimSourceDie
- func (d *ClaimSourceDie) DeepCopy() *ClaimSourceDie
- func (d *ClaimSourceDie) DieFeed(r corev1.ClaimSource) *ClaimSourceDie
- func (d *ClaimSourceDie) DieFeedJSON(j []byte) *ClaimSourceDie
- func (d *ClaimSourceDie) DieFeedPtr(r *corev1.ClaimSource) *ClaimSourceDie
- func (d *ClaimSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ClaimSourceDie
- func (d *ClaimSourceDie) DieFeedYAML(y []byte) *ClaimSourceDie
- func (d *ClaimSourceDie) DieFeedYAMLFile(name string) *ClaimSourceDie
- func (d *ClaimSourceDie) DieImmutable(immutable bool) *ClaimSourceDie
- func (d *ClaimSourceDie) DieRelease() corev1.ClaimSource
- func (d *ClaimSourceDie) DieReleaseJSON() []byte
- func (d *ClaimSourceDie) DieReleasePtr() *corev1.ClaimSource
- func (d *ClaimSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ClaimSourceDie) DieReleaseYAML() []byte
- func (d *ClaimSourceDie) DieStamp(fn func(r *corev1.ClaimSource)) *ClaimSourceDie
- func (d *ClaimSourceDie) DieStampAt(jp string, fn interface{}) *ClaimSourceDie
- func (d *ClaimSourceDie) DieWith(fns ...func(d *ClaimSourceDie)) *ClaimSourceDie
- func (d *ClaimSourceDie) ResourceClaimName(v *string) *ClaimSourceDie
- func (d *ClaimSourceDie) ResourceClaimTemplateName(v *string) *ClaimSourceDie
- type ClientIPConfigDie
- func (d *ClientIPConfigDie) DeepCopy() *ClientIPConfigDie
- func (d *ClientIPConfigDie) DieFeed(r corev1.ClientIPConfig) *ClientIPConfigDie
- func (d *ClientIPConfigDie) DieFeedJSON(j []byte) *ClientIPConfigDie
- func (d *ClientIPConfigDie) DieFeedPtr(r *corev1.ClientIPConfig) *ClientIPConfigDie
- func (d *ClientIPConfigDie) DieFeedRawExtension(raw runtime.RawExtension) *ClientIPConfigDie
- func (d *ClientIPConfigDie) DieFeedYAML(y []byte) *ClientIPConfigDie
- func (d *ClientIPConfigDie) DieFeedYAMLFile(name string) *ClientIPConfigDie
- func (d *ClientIPConfigDie) DieImmutable(immutable bool) *ClientIPConfigDie
- func (d *ClientIPConfigDie) DieRelease() corev1.ClientIPConfig
- func (d *ClientIPConfigDie) DieReleaseJSON() []byte
- func (d *ClientIPConfigDie) DieReleasePtr() *corev1.ClientIPConfig
- func (d *ClientIPConfigDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ClientIPConfigDie) DieReleaseYAML() []byte
- func (d *ClientIPConfigDie) DieStamp(fn func(r *corev1.ClientIPConfig)) *ClientIPConfigDie
- func (d *ClientIPConfigDie) DieStampAt(jp string, fn interface{}) *ClientIPConfigDie
- func (d *ClientIPConfigDie) DieWith(fns ...func(d *ClientIPConfigDie)) *ClientIPConfigDie
- func (d *ClientIPConfigDie) TimeoutSeconds(v *int32) *ClientIPConfigDie
- type ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) DeepCopy() *ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) DieFeed(r corev1.ClusterTrustBundleProjection) *ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) DieFeedJSON(j []byte) *ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) DieFeedPtr(r *corev1.ClusterTrustBundleProjection) *ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) DieFeedRawExtension(raw runtime.RawExtension) *ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) DieFeedYAML(y []byte) *ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) DieFeedYAMLFile(name string) *ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) DieImmutable(immutable bool) *ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) DieRelease() corev1.ClusterTrustBundleProjection
- func (d *ClusterTrustBundleProjectionDie) DieReleaseJSON() []byte
- func (d *ClusterTrustBundleProjectionDie) DieReleasePtr() *corev1.ClusterTrustBundleProjection
- func (d *ClusterTrustBundleProjectionDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ClusterTrustBundleProjectionDie) DieReleaseYAML() []byte
- func (d *ClusterTrustBundleProjectionDie) DieStamp(fn func(r *corev1.ClusterTrustBundleProjection)) *ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) DieStampAt(jp string, fn interface{}) *ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) DieWith(fns ...func(d *ClusterTrustBundleProjectionDie)) *ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) LabelSelector(v *apismetav1.LabelSelector) *ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) LabelSelectorDie(fn func(d *diemetav1.LabelSelectorDie)) *ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) Name(v *string) *ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) Optional(v *bool) *ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) Path(v string) *ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) SignerName(v *string) *ClusterTrustBundleProjectionDie
- type ComponentStatusDie
- func (d *ComponentStatusDie) APIVersion(v string) *ComponentStatusDie
- func (d *ComponentStatusDie) Conditions(v ...corev1.ComponentCondition) *ComponentStatusDie
- func (d *ComponentStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *ComponentStatusDie
- func (d *ComponentStatusDie) DeepCopy() *ComponentStatusDie
- func (d *ComponentStatusDie) DeepCopyObject() runtime.Object
- func (d *ComponentStatusDie) DieFeed(r corev1.ComponentStatus) *ComponentStatusDie
- func (d *ComponentStatusDie) DieFeedJSON(j []byte) *ComponentStatusDie
- func (d *ComponentStatusDie) DieFeedPtr(r *corev1.ComponentStatus) *ComponentStatusDie
- func (d *ComponentStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ComponentStatusDie
- func (d *ComponentStatusDie) DieFeedYAML(y []byte) *ComponentStatusDie
- func (d *ComponentStatusDie) DieFeedYAMLFile(name string) *ComponentStatusDie
- func (d *ComponentStatusDie) DieImmutable(immutable bool) *ComponentStatusDie
- func (d *ComponentStatusDie) DieRelease() corev1.ComponentStatus
- func (d *ComponentStatusDie) DieReleaseJSON() []byte
- func (d *ComponentStatusDie) DieReleasePtr() *corev1.ComponentStatus
- func (d *ComponentStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ComponentStatusDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *ComponentStatusDie) DieReleaseYAML() []byte
- func (d *ComponentStatusDie) DieStamp(fn func(r *corev1.ComponentStatus)) *ComponentStatusDie
- func (d *ComponentStatusDie) DieStampAt(jp string, fn interface{}) *ComponentStatusDie
- func (d *ComponentStatusDie) DieWith(fns ...func(d *ComponentStatusDie)) *ComponentStatusDie
- func (d *ComponentStatusDie) GetObjectKind() schema.ObjectKind
- func (d *ComponentStatusDie) Kind(v string) *ComponentStatusDie
- func (d *ComponentStatusDie) MarshalJSON() ([]byte, error)
- func (d *ComponentStatusDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ComponentStatusDie
- func (d *ComponentStatusDie) UnmarshalJSON(b []byte) error
- type ConfigMapDie
- func (d *ConfigMapDie) APIVersion(v string) *ConfigMapDie
- func (d *ConfigMapDie) AddBinaryData(key, value string) *ConfigMapDie
- func (d *ConfigMapDie) AddData(key, value string) *ConfigMapDie
- func (d *ConfigMapDie) BinaryData(v map[string][]byte) *ConfigMapDie
- func (d *ConfigMapDie) Data(v map[string]string) *ConfigMapDie
- func (d *ConfigMapDie) DeepCopy() *ConfigMapDie
- func (d *ConfigMapDie) DeepCopyObject() runtime.Object
- func (d *ConfigMapDie) DieFeed(r corev1.ConfigMap) *ConfigMapDie
- func (d *ConfigMapDie) DieFeedJSON(j []byte) *ConfigMapDie
- func (d *ConfigMapDie) DieFeedPtr(r *corev1.ConfigMap) *ConfigMapDie
- func (d *ConfigMapDie) DieFeedRawExtension(raw runtime.RawExtension) *ConfigMapDie
- func (d *ConfigMapDie) DieFeedYAML(y []byte) *ConfigMapDie
- func (d *ConfigMapDie) DieFeedYAMLFile(name string) *ConfigMapDie
- func (d *ConfigMapDie) DieImmutable(immutable bool) *ConfigMapDie
- func (d *ConfigMapDie) DieRelease() corev1.ConfigMap
- func (d *ConfigMapDie) DieReleaseJSON() []byte
- func (d *ConfigMapDie) DieReleasePtr() *corev1.ConfigMap
- func (d *ConfigMapDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ConfigMapDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *ConfigMapDie) DieReleaseYAML() []byte
- func (d *ConfigMapDie) DieStamp(fn func(r *corev1.ConfigMap)) *ConfigMapDie
- func (d *ConfigMapDie) DieStampAt(jp string, fn interface{}) *ConfigMapDie
- func (d *ConfigMapDie) DieWith(fns ...func(d *ConfigMapDie)) *ConfigMapDie
- func (d *ConfigMapDie) GetObjectKind() schema.ObjectKind
- func (d *ConfigMapDie) Immutable(v *bool) *ConfigMapDie
- func (d *ConfigMapDie) Kind(v string) *ConfigMapDie
- func (d *ConfigMapDie) MarshalJSON() ([]byte, error)
- func (d *ConfigMapDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ConfigMapDie
- func (d *ConfigMapDie) UnmarshalJSON(b []byte) error
- type ConfigMapEnvSourceDie
- func (d *ConfigMapEnvSourceDie) DeepCopy() *ConfigMapEnvSourceDie
- func (d *ConfigMapEnvSourceDie) DieFeed(r corev1.ConfigMapEnvSource) *ConfigMapEnvSourceDie
- func (d *ConfigMapEnvSourceDie) DieFeedJSON(j []byte) *ConfigMapEnvSourceDie
- func (d *ConfigMapEnvSourceDie) DieFeedPtr(r *corev1.ConfigMapEnvSource) *ConfigMapEnvSourceDie
- func (d *ConfigMapEnvSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ConfigMapEnvSourceDie
- func (d *ConfigMapEnvSourceDie) DieFeedYAML(y []byte) *ConfigMapEnvSourceDie
- func (d *ConfigMapEnvSourceDie) DieFeedYAMLFile(name string) *ConfigMapEnvSourceDie
- func (d *ConfigMapEnvSourceDie) DieImmutable(immutable bool) *ConfigMapEnvSourceDie
- func (d *ConfigMapEnvSourceDie) DieRelease() corev1.ConfigMapEnvSource
- func (d *ConfigMapEnvSourceDie) DieReleaseJSON() []byte
- func (d *ConfigMapEnvSourceDie) DieReleasePtr() *corev1.ConfigMapEnvSource
- func (d *ConfigMapEnvSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ConfigMapEnvSourceDie) DieReleaseYAML() []byte
- func (d *ConfigMapEnvSourceDie) DieStamp(fn func(r *corev1.ConfigMapEnvSource)) *ConfigMapEnvSourceDie
- func (d *ConfigMapEnvSourceDie) DieStampAt(jp string, fn interface{}) *ConfigMapEnvSourceDie
- func (d *ConfigMapEnvSourceDie) DieWith(fns ...func(d *ConfigMapEnvSourceDie)) *ConfigMapEnvSourceDie
- func (d *ConfigMapEnvSourceDie) LocalObjectReference(v corev1.LocalObjectReference) *ConfigMapEnvSourceDie
- func (d *ConfigMapEnvSourceDie) Name(v string) *ConfigMapEnvSourceDie
- func (d *ConfigMapEnvSourceDie) Optional(v *bool) *ConfigMapEnvSourceDie
- type ConfigMapKeySelectorDie
- func (d *ConfigMapKeySelectorDie) DeepCopy() *ConfigMapKeySelectorDie
- func (d *ConfigMapKeySelectorDie) DieFeed(r corev1.ConfigMapKeySelector) *ConfigMapKeySelectorDie
- func (d *ConfigMapKeySelectorDie) DieFeedJSON(j []byte) *ConfigMapKeySelectorDie
- func (d *ConfigMapKeySelectorDie) DieFeedPtr(r *corev1.ConfigMapKeySelector) *ConfigMapKeySelectorDie
- func (d *ConfigMapKeySelectorDie) DieFeedRawExtension(raw runtime.RawExtension) *ConfigMapKeySelectorDie
- func (d *ConfigMapKeySelectorDie) DieFeedYAML(y []byte) *ConfigMapKeySelectorDie
- func (d *ConfigMapKeySelectorDie) DieFeedYAMLFile(name string) *ConfigMapKeySelectorDie
- func (d *ConfigMapKeySelectorDie) DieImmutable(immutable bool) *ConfigMapKeySelectorDie
- func (d *ConfigMapKeySelectorDie) DieRelease() corev1.ConfigMapKeySelector
- func (d *ConfigMapKeySelectorDie) DieReleaseJSON() []byte
- func (d *ConfigMapKeySelectorDie) DieReleasePtr() *corev1.ConfigMapKeySelector
- func (d *ConfigMapKeySelectorDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ConfigMapKeySelectorDie) DieReleaseYAML() []byte
- func (d *ConfigMapKeySelectorDie) DieStamp(fn func(r *corev1.ConfigMapKeySelector)) *ConfigMapKeySelectorDie
- func (d *ConfigMapKeySelectorDie) DieStampAt(jp string, fn interface{}) *ConfigMapKeySelectorDie
- func (d *ConfigMapKeySelectorDie) DieWith(fns ...func(d *ConfigMapKeySelectorDie)) *ConfigMapKeySelectorDie
- func (d *ConfigMapKeySelectorDie) Key(v string) *ConfigMapKeySelectorDie
- func (d *ConfigMapKeySelectorDie) LocalObjectReference(v corev1.LocalObjectReference) *ConfigMapKeySelectorDie
- func (d *ConfigMapKeySelectorDie) Name(v string) *ConfigMapKeySelectorDie
- func (d *ConfigMapKeySelectorDie) Optional(v *bool) *ConfigMapKeySelectorDie
- type ConfigMapNodeConfigSourceDie
- func (d *ConfigMapNodeConfigSourceDie) DeepCopy() *ConfigMapNodeConfigSourceDie
- func (d *ConfigMapNodeConfigSourceDie) DieFeed(r corev1.ConfigMapNodeConfigSource) *ConfigMapNodeConfigSourceDie
- func (d *ConfigMapNodeConfigSourceDie) DieFeedJSON(j []byte) *ConfigMapNodeConfigSourceDie
- func (d *ConfigMapNodeConfigSourceDie) DieFeedPtr(r *corev1.ConfigMapNodeConfigSource) *ConfigMapNodeConfigSourceDie
- func (d *ConfigMapNodeConfigSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ConfigMapNodeConfigSourceDie
- func (d *ConfigMapNodeConfigSourceDie) DieFeedYAML(y []byte) *ConfigMapNodeConfigSourceDie
- func (d *ConfigMapNodeConfigSourceDie) DieFeedYAMLFile(name string) *ConfigMapNodeConfigSourceDie
- func (d *ConfigMapNodeConfigSourceDie) DieImmutable(immutable bool) *ConfigMapNodeConfigSourceDie
- func (d *ConfigMapNodeConfigSourceDie) DieRelease() corev1.ConfigMapNodeConfigSource
- func (d *ConfigMapNodeConfigSourceDie) DieReleaseJSON() []byte
- func (d *ConfigMapNodeConfigSourceDie) DieReleasePtr() *corev1.ConfigMapNodeConfigSource
- func (d *ConfigMapNodeConfigSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ConfigMapNodeConfigSourceDie) DieReleaseYAML() []byte
- func (d *ConfigMapNodeConfigSourceDie) DieStamp(fn func(r *corev1.ConfigMapNodeConfigSource)) *ConfigMapNodeConfigSourceDie
- func (d *ConfigMapNodeConfigSourceDie) DieStampAt(jp string, fn interface{}) *ConfigMapNodeConfigSourceDie
- func (d *ConfigMapNodeConfigSourceDie) DieWith(fns ...func(d *ConfigMapNodeConfigSourceDie)) *ConfigMapNodeConfigSourceDie
- func (d *ConfigMapNodeConfigSourceDie) KubeletConfigKey(v string) *ConfigMapNodeConfigSourceDie
- func (d *ConfigMapNodeConfigSourceDie) Name(v string) *ConfigMapNodeConfigSourceDie
- func (d *ConfigMapNodeConfigSourceDie) Namespace(v string) *ConfigMapNodeConfigSourceDie
- func (d *ConfigMapNodeConfigSourceDie) ResourceVersion(v string) *ConfigMapNodeConfigSourceDie
- func (d *ConfigMapNodeConfigSourceDie) UID(v types.UID) *ConfigMapNodeConfigSourceDie
- type ConfigMapProjectionDie
- func (d *ConfigMapProjectionDie) DeepCopy() *ConfigMapProjectionDie
- func (d *ConfigMapProjectionDie) DieFeed(r corev1.ConfigMapProjection) *ConfigMapProjectionDie
- func (d *ConfigMapProjectionDie) DieFeedJSON(j []byte) *ConfigMapProjectionDie
- func (d *ConfigMapProjectionDie) DieFeedPtr(r *corev1.ConfigMapProjection) *ConfigMapProjectionDie
- func (d *ConfigMapProjectionDie) DieFeedRawExtension(raw runtime.RawExtension) *ConfigMapProjectionDie
- func (d *ConfigMapProjectionDie) DieFeedYAML(y []byte) *ConfigMapProjectionDie
- func (d *ConfigMapProjectionDie) DieFeedYAMLFile(name string) *ConfigMapProjectionDie
- func (d *ConfigMapProjectionDie) DieImmutable(immutable bool) *ConfigMapProjectionDie
- func (d *ConfigMapProjectionDie) DieRelease() corev1.ConfigMapProjection
- func (d *ConfigMapProjectionDie) DieReleaseJSON() []byte
- func (d *ConfigMapProjectionDie) DieReleasePtr() *corev1.ConfigMapProjection
- func (d *ConfigMapProjectionDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ConfigMapProjectionDie) DieReleaseYAML() []byte
- func (d *ConfigMapProjectionDie) DieStamp(fn func(r *corev1.ConfigMapProjection)) *ConfigMapProjectionDie
- func (d *ConfigMapProjectionDie) DieStampAt(jp string, fn interface{}) *ConfigMapProjectionDie
- func (d *ConfigMapProjectionDie) DieWith(fns ...func(d *ConfigMapProjectionDie)) *ConfigMapProjectionDie
- func (d *ConfigMapProjectionDie) ItemDie(key string, fn func(d *KeyToPathDie)) *ConfigMapProjectionDie
- func (d *ConfigMapProjectionDie) Items(v ...corev1.KeyToPath) *ConfigMapProjectionDie
- func (d *ConfigMapProjectionDie) LocalObjectReference(v corev1.LocalObjectReference) *ConfigMapProjectionDie
- func (d *ConfigMapProjectionDie) Name(v string) *ConfigMapProjectionDie
- func (d *ConfigMapProjectionDie) Optional(v *bool) *ConfigMapProjectionDie
- type ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) DeepCopy() *ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) DefaultMode(v *int32) *ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) DieFeed(r corev1.ConfigMapVolumeSource) *ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) DieFeedJSON(j []byte) *ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) DieFeedPtr(r *corev1.ConfigMapVolumeSource) *ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) DieFeedYAML(y []byte) *ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) DieFeedYAMLFile(name string) *ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) DieImmutable(immutable bool) *ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) DieRelease() corev1.ConfigMapVolumeSource
- func (d *ConfigMapVolumeSourceDie) DieReleaseJSON() []byte
- func (d *ConfigMapVolumeSourceDie) DieReleasePtr() *corev1.ConfigMapVolumeSource
- func (d *ConfigMapVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ConfigMapVolumeSourceDie) DieReleaseYAML() []byte
- func (d *ConfigMapVolumeSourceDie) DieStamp(fn func(r *corev1.ConfigMapVolumeSource)) *ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) DieStampAt(jp string, fn interface{}) *ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) DieWith(fns ...func(d *ConfigMapVolumeSourceDie)) *ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) ItemDie(key string, fn func(d *KeyToPathDie)) *ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) Items(v ...corev1.KeyToPath) *ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) LocalObjectReference(v corev1.LocalObjectReference) *ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) Name(v string) *ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) Optional(v *bool) *ConfigMapVolumeSourceDie
- type ContainerDie
- func (d *ContainerDie) Args(v ...string) *ContainerDie
- func (d *ContainerDie) Command(v ...string) *ContainerDie
- func (d *ContainerDie) DeepCopy() *ContainerDie
- func (d *ContainerDie) DieFeed(r corev1.Container) *ContainerDie
- func (d *ContainerDie) DieFeedJSON(j []byte) *ContainerDie
- func (d *ContainerDie) DieFeedPtr(r *corev1.Container) *ContainerDie
- func (d *ContainerDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerDie
- func (d *ContainerDie) DieFeedYAML(y []byte) *ContainerDie
- func (d *ContainerDie) DieFeedYAMLFile(name string) *ContainerDie
- func (d *ContainerDie) DieImmutable(immutable bool) *ContainerDie
- func (d *ContainerDie) DieRelease() corev1.Container
- func (d *ContainerDie) DieReleaseJSON() []byte
- func (d *ContainerDie) DieReleasePtr() *corev1.Container
- func (d *ContainerDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ContainerDie) DieReleaseYAML() []byte
- func (d *ContainerDie) DieStamp(fn func(r *corev1.Container)) *ContainerDie
- func (d *ContainerDie) DieStampAt(jp string, fn interface{}) *ContainerDie
- func (d *ContainerDie) DieWith(fns ...func(d *ContainerDie)) *ContainerDie
- func (d *ContainerDie) Env(v ...corev1.EnvVar) *ContainerDie
- func (d *ContainerDie) EnvDie(name string, fn func(d *EnvVarDie)) *ContainerDie
- func (d *ContainerDie) EnvFrom(v ...corev1.EnvFromSource) *ContainerDie
- func (d *ContainerDie) EnvFromDie(prefix string, fn func(d *EnvFromSourceDie)) *ContainerDie
- func (d *ContainerDie) Image(v string) *ContainerDie
- func (d *ContainerDie) ImagePullPolicy(v corev1.PullPolicy) *ContainerDie
- func (d *ContainerDie) Lifecycle(v *corev1.Lifecycle) *ContainerDie
- func (d *ContainerDie) LifecycleDie(fn func(d *LifecycleDie)) *ContainerDie
- func (d *ContainerDie) LivenessProbe(v *corev1.Probe) *ContainerDie
- func (d *ContainerDie) LivenessProbeDie(fn func(d *ProbeDie)) *ContainerDie
- func (d *ContainerDie) Name(v string) *ContainerDie
- func (d *ContainerDie) Ports(v ...corev1.ContainerPort) *ContainerDie
- func (d *ContainerDie) PortsDie(ports ...*ContainerPortDie) *ContainerDie
- func (d *ContainerDie) ReadinessProbe(v *corev1.Probe) *ContainerDie
- func (d *ContainerDie) ReadinessProbeDie(fn func(d *ProbeDie)) *ContainerDie
- func (d *ContainerDie) ResizePolicy(v ...corev1.ContainerResizePolicy) *ContainerDie
- func (d *ContainerDie) ResizePolicyDie(name corev1.ResourceName, fn func(d *ContainerResizePolicyDie)) *ContainerDie
- func (d *ContainerDie) Resources(v corev1.ResourceRequirements) *ContainerDie
- func (d *ContainerDie) ResourcesDie(fn func(d *ResourceRequirementsDie)) *ContainerDie
- func (d *ContainerDie) RestartPolicy(v *corev1.ContainerRestartPolicy) *ContainerDie
- func (d *ContainerDie) SecurityContext(v *corev1.SecurityContext) *ContainerDie
- func (d *ContainerDie) SecurityContextDie(fn func(d *SecurityContextDie)) *ContainerDie
- func (d *ContainerDie) StartupProbe(v *corev1.Probe) *ContainerDie
- func (d *ContainerDie) StartupProbeDie(fn func(d *ProbeDie)) *ContainerDie
- func (d *ContainerDie) Stdin(v bool) *ContainerDie
- func (d *ContainerDie) StdinOnce(v bool) *ContainerDie
- func (d *ContainerDie) TTY(v bool) *ContainerDie
- func (d *ContainerDie) TerminationMessagePath(v string) *ContainerDie
- func (d *ContainerDie) TerminationMessagePolicy(v corev1.TerminationMessagePolicy) *ContainerDie
- func (d *ContainerDie) VolumeDeviceDie(name string, fn func(d *VolumeDeviceDie)) *ContainerDie
- func (d *ContainerDie) VolumeDevices(v ...corev1.VolumeDevice) *ContainerDie
- func (d *ContainerDie) VolumeMountDie(name string, fn func(d *VolumeMountDie)) *ContainerDie
- func (d *ContainerDie) VolumeMounts(v ...corev1.VolumeMount) *ContainerDie
- func (d *ContainerDie) WorkingDir(v string) *ContainerDie
- type ContainerImageDie
- func (d *ContainerImageDie) DeepCopy() *ContainerImageDie
- func (d *ContainerImageDie) DieFeed(r corev1.ContainerImage) *ContainerImageDie
- func (d *ContainerImageDie) DieFeedJSON(j []byte) *ContainerImageDie
- func (d *ContainerImageDie) DieFeedPtr(r *corev1.ContainerImage) *ContainerImageDie
- func (d *ContainerImageDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerImageDie
- func (d *ContainerImageDie) DieFeedYAML(y []byte) *ContainerImageDie
- func (d *ContainerImageDie) DieFeedYAMLFile(name string) *ContainerImageDie
- func (d *ContainerImageDie) DieImmutable(immutable bool) *ContainerImageDie
- func (d *ContainerImageDie) DieRelease() corev1.ContainerImage
- func (d *ContainerImageDie) DieReleaseJSON() []byte
- func (d *ContainerImageDie) DieReleasePtr() *corev1.ContainerImage
- func (d *ContainerImageDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ContainerImageDie) DieReleaseYAML() []byte
- func (d *ContainerImageDie) DieStamp(fn func(r *corev1.ContainerImage)) *ContainerImageDie
- func (d *ContainerImageDie) DieStampAt(jp string, fn interface{}) *ContainerImageDie
- func (d *ContainerImageDie) DieWith(fns ...func(d *ContainerImageDie)) *ContainerImageDie
- func (d *ContainerImageDie) Names(v ...string) *ContainerImageDie
- func (d *ContainerImageDie) SizeBytes(v int64) *ContainerImageDie
- type ContainerPortDie
- func (d *ContainerPortDie) ContainerPort(v int32) *ContainerPortDie
- func (d *ContainerPortDie) DeepCopy() *ContainerPortDie
- func (d *ContainerPortDie) DieFeed(r corev1.ContainerPort) *ContainerPortDie
- func (d *ContainerPortDie) DieFeedJSON(j []byte) *ContainerPortDie
- func (d *ContainerPortDie) DieFeedPtr(r *corev1.ContainerPort) *ContainerPortDie
- func (d *ContainerPortDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerPortDie
- func (d *ContainerPortDie) DieFeedYAML(y []byte) *ContainerPortDie
- func (d *ContainerPortDie) DieFeedYAMLFile(name string) *ContainerPortDie
- func (d *ContainerPortDie) DieImmutable(immutable bool) *ContainerPortDie
- func (d *ContainerPortDie) DieRelease() corev1.ContainerPort
- func (d *ContainerPortDie) DieReleaseJSON() []byte
- func (d *ContainerPortDie) DieReleasePtr() *corev1.ContainerPort
- func (d *ContainerPortDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ContainerPortDie) DieReleaseYAML() []byte
- func (d *ContainerPortDie) DieStamp(fn func(r *corev1.ContainerPort)) *ContainerPortDie
- func (d *ContainerPortDie) DieStampAt(jp string, fn interface{}) *ContainerPortDie
- func (d *ContainerPortDie) DieWith(fns ...func(d *ContainerPortDie)) *ContainerPortDie
- func (d *ContainerPortDie) HostIP(v string) *ContainerPortDie
- func (d *ContainerPortDie) HostPort(v int32) *ContainerPortDie
- func (d *ContainerPortDie) Name(v string) *ContainerPortDie
- func (d *ContainerPortDie) Protocol(v corev1.Protocol) *ContainerPortDie
- type ContainerResizePolicyDie
- func (d *ContainerResizePolicyDie) DeepCopy() *ContainerResizePolicyDie
- func (d *ContainerResizePolicyDie) DieFeed(r corev1.ContainerResizePolicy) *ContainerResizePolicyDie
- func (d *ContainerResizePolicyDie) DieFeedJSON(j []byte) *ContainerResizePolicyDie
- func (d *ContainerResizePolicyDie) DieFeedPtr(r *corev1.ContainerResizePolicy) *ContainerResizePolicyDie
- func (d *ContainerResizePolicyDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerResizePolicyDie
- func (d *ContainerResizePolicyDie) DieFeedYAML(y []byte) *ContainerResizePolicyDie
- func (d *ContainerResizePolicyDie) DieFeedYAMLFile(name string) *ContainerResizePolicyDie
- func (d *ContainerResizePolicyDie) DieImmutable(immutable bool) *ContainerResizePolicyDie
- func (d *ContainerResizePolicyDie) DieRelease() corev1.ContainerResizePolicy
- func (d *ContainerResizePolicyDie) DieReleaseJSON() []byte
- func (d *ContainerResizePolicyDie) DieReleasePtr() *corev1.ContainerResizePolicy
- func (d *ContainerResizePolicyDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ContainerResizePolicyDie) DieReleaseYAML() []byte
- func (d *ContainerResizePolicyDie) DieStamp(fn func(r *corev1.ContainerResizePolicy)) *ContainerResizePolicyDie
- func (d *ContainerResizePolicyDie) DieStampAt(jp string, fn interface{}) *ContainerResizePolicyDie
- func (d *ContainerResizePolicyDie) DieWith(fns ...func(d *ContainerResizePolicyDie)) *ContainerResizePolicyDie
- func (d *ContainerResizePolicyDie) ResourceName(v corev1.ResourceName) *ContainerResizePolicyDie
- func (d *ContainerResizePolicyDie) RestartPolicy(v corev1.ResourceResizeRestartPolicy) *ContainerResizePolicyDie
- type ContainerStateDie
- func (d *ContainerStateDie) DeepCopy() *ContainerStateDie
- func (d *ContainerStateDie) DieFeed(r corev1.ContainerState) *ContainerStateDie
- func (d *ContainerStateDie) DieFeedJSON(j []byte) *ContainerStateDie
- func (d *ContainerStateDie) DieFeedPtr(r *corev1.ContainerState) *ContainerStateDie
- func (d *ContainerStateDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerStateDie
- func (d *ContainerStateDie) DieFeedYAML(y []byte) *ContainerStateDie
- func (d *ContainerStateDie) DieFeedYAMLFile(name string) *ContainerStateDie
- func (d *ContainerStateDie) DieImmutable(immutable bool) *ContainerStateDie
- func (d *ContainerStateDie) DieRelease() corev1.ContainerState
- func (d *ContainerStateDie) DieReleaseJSON() []byte
- func (d *ContainerStateDie) DieReleasePtr() *corev1.ContainerState
- func (d *ContainerStateDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ContainerStateDie) DieReleaseYAML() []byte
- func (d *ContainerStateDie) DieStamp(fn func(r *corev1.ContainerState)) *ContainerStateDie
- func (d *ContainerStateDie) DieStampAt(jp string, fn interface{}) *ContainerStateDie
- func (d *ContainerStateDie) DieWith(fns ...func(d *ContainerStateDie)) *ContainerStateDie
- func (d *ContainerStateDie) Running(v *corev1.ContainerStateRunning) *ContainerStateDie
- func (d *ContainerStateDie) RunningDie(fn func(d *ContainerStateRunningDie)) *ContainerStateDie
- func (d *ContainerStateDie) Terminated(v *corev1.ContainerStateTerminated) *ContainerStateDie
- func (d *ContainerStateDie) TerminatedDie(fn func(d *ContainerStateTerminatedDie)) *ContainerStateDie
- func (d *ContainerStateDie) Waiting(v *corev1.ContainerStateWaiting) *ContainerStateDie
- func (d *ContainerStateDie) WaitingDie(fn func(d *ContainerStateWaitingDie)) *ContainerStateDie
- type ContainerStateRunningDie
- func (d *ContainerStateRunningDie) DeepCopy() *ContainerStateRunningDie
- func (d *ContainerStateRunningDie) DieFeed(r corev1.ContainerStateRunning) *ContainerStateRunningDie
- func (d *ContainerStateRunningDie) DieFeedJSON(j []byte) *ContainerStateRunningDie
- func (d *ContainerStateRunningDie) DieFeedPtr(r *corev1.ContainerStateRunning) *ContainerStateRunningDie
- func (d *ContainerStateRunningDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerStateRunningDie
- func (d *ContainerStateRunningDie) DieFeedYAML(y []byte) *ContainerStateRunningDie
- func (d *ContainerStateRunningDie) DieFeedYAMLFile(name string) *ContainerStateRunningDie
- func (d *ContainerStateRunningDie) DieImmutable(immutable bool) *ContainerStateRunningDie
- func (d *ContainerStateRunningDie) DieRelease() corev1.ContainerStateRunning
- func (d *ContainerStateRunningDie) DieReleaseJSON() []byte
- func (d *ContainerStateRunningDie) DieReleasePtr() *corev1.ContainerStateRunning
- func (d *ContainerStateRunningDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ContainerStateRunningDie) DieReleaseYAML() []byte
- func (d *ContainerStateRunningDie) DieStamp(fn func(r *corev1.ContainerStateRunning)) *ContainerStateRunningDie
- func (d *ContainerStateRunningDie) DieStampAt(jp string, fn interface{}) *ContainerStateRunningDie
- func (d *ContainerStateRunningDie) DieWith(fns ...func(d *ContainerStateRunningDie)) *ContainerStateRunningDie
- func (d *ContainerStateRunningDie) StartedAt(v apismetav1.Time) *ContainerStateRunningDie
- type ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) ContainerID(v string) *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) DeepCopy() *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) DieFeed(r corev1.ContainerStateTerminated) *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) DieFeedJSON(j []byte) *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) DieFeedPtr(r *corev1.ContainerStateTerminated) *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) DieFeedYAML(y []byte) *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) DieFeedYAMLFile(name string) *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) DieImmutable(immutable bool) *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) DieRelease() corev1.ContainerStateTerminated
- func (d *ContainerStateTerminatedDie) DieReleaseJSON() []byte
- func (d *ContainerStateTerminatedDie) DieReleasePtr() *corev1.ContainerStateTerminated
- func (d *ContainerStateTerminatedDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ContainerStateTerminatedDie) DieReleaseYAML() []byte
- func (d *ContainerStateTerminatedDie) DieStamp(fn func(r *corev1.ContainerStateTerminated)) *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) DieStampAt(jp string, fn interface{}) *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) DieWith(fns ...func(d *ContainerStateTerminatedDie)) *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) ExitCode(v int32) *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) FinishedAt(v apismetav1.Time) *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) Message(v string) *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) Reason(v string) *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) Signal(v int32) *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) StartedAt(v apismetav1.Time) *ContainerStateTerminatedDie
- type ContainerStateWaitingDie
- func (d *ContainerStateWaitingDie) DeepCopy() *ContainerStateWaitingDie
- func (d *ContainerStateWaitingDie) DieFeed(r corev1.ContainerStateWaiting) *ContainerStateWaitingDie
- func (d *ContainerStateWaitingDie) DieFeedJSON(j []byte) *ContainerStateWaitingDie
- func (d *ContainerStateWaitingDie) DieFeedPtr(r *corev1.ContainerStateWaiting) *ContainerStateWaitingDie
- func (d *ContainerStateWaitingDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerStateWaitingDie
- func (d *ContainerStateWaitingDie) DieFeedYAML(y []byte) *ContainerStateWaitingDie
- func (d *ContainerStateWaitingDie) DieFeedYAMLFile(name string) *ContainerStateWaitingDie
- func (d *ContainerStateWaitingDie) DieImmutable(immutable bool) *ContainerStateWaitingDie
- func (d *ContainerStateWaitingDie) DieRelease() corev1.ContainerStateWaiting
- func (d *ContainerStateWaitingDie) DieReleaseJSON() []byte
- func (d *ContainerStateWaitingDie) DieReleasePtr() *corev1.ContainerStateWaiting
- func (d *ContainerStateWaitingDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ContainerStateWaitingDie) DieReleaseYAML() []byte
- func (d *ContainerStateWaitingDie) DieStamp(fn func(r *corev1.ContainerStateWaiting)) *ContainerStateWaitingDie
- func (d *ContainerStateWaitingDie) DieStampAt(jp string, fn interface{}) *ContainerStateWaitingDie
- func (d *ContainerStateWaitingDie) DieWith(fns ...func(d *ContainerStateWaitingDie)) *ContainerStateWaitingDie
- func (d *ContainerStateWaitingDie) Message(v string) *ContainerStateWaitingDie
- func (d *ContainerStateWaitingDie) Reason(v string) *ContainerStateWaitingDie
- type ContainerStatusDie
- func (d *ContainerStatusDie) AddAllocatedResource(name corev1.ResourceName, quantity resource.Quantity) *ContainerStatusDie
- func (d *ContainerStatusDie) AddAllocatedResourceString(name corev1.ResourceName, quantity string) *ContainerStatusDie
- func (d *ContainerStatusDie) AllocatedResources(v corev1.ResourceList) *ContainerStatusDie
- func (d *ContainerStatusDie) ContainerID(v string) *ContainerStatusDie
- func (d *ContainerStatusDie) DeepCopy() *ContainerStatusDie
- func (d *ContainerStatusDie) DieFeed(r corev1.ContainerStatus) *ContainerStatusDie
- func (d *ContainerStatusDie) DieFeedJSON(j []byte) *ContainerStatusDie
- func (d *ContainerStatusDie) DieFeedPtr(r *corev1.ContainerStatus) *ContainerStatusDie
- func (d *ContainerStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerStatusDie
- func (d *ContainerStatusDie) DieFeedYAML(y []byte) *ContainerStatusDie
- func (d *ContainerStatusDie) DieFeedYAMLFile(name string) *ContainerStatusDie
- func (d *ContainerStatusDie) DieImmutable(immutable bool) *ContainerStatusDie
- func (d *ContainerStatusDie) DieRelease() corev1.ContainerStatus
- func (d *ContainerStatusDie) DieReleaseJSON() []byte
- func (d *ContainerStatusDie) DieReleasePtr() *corev1.ContainerStatus
- func (d *ContainerStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ContainerStatusDie) DieReleaseYAML() []byte
- func (d *ContainerStatusDie) DieStamp(fn func(r *corev1.ContainerStatus)) *ContainerStatusDie
- func (d *ContainerStatusDie) DieStampAt(jp string, fn interface{}) *ContainerStatusDie
- func (d *ContainerStatusDie) DieWith(fns ...func(d *ContainerStatusDie)) *ContainerStatusDie
- func (d *ContainerStatusDie) Image(v string) *ContainerStatusDie
- func (d *ContainerStatusDie) ImageID(v string) *ContainerStatusDie
- func (d *ContainerStatusDie) LastTerminationState(v corev1.ContainerState) *ContainerStatusDie
- func (d *ContainerStatusDie) LastTerminationStateDie(fn func(d *ContainerStateDie)) *ContainerStatusDie
- func (d *ContainerStatusDie) Name(v string) *ContainerStatusDie
- func (d *ContainerStatusDie) Ready(v bool) *ContainerStatusDie
- func (d *ContainerStatusDie) Resources(v *corev1.ResourceRequirements) *ContainerStatusDie
- func (d *ContainerStatusDie) ResourcesDie(fn func(d *ResourceRequirementsDie)) *ContainerStatusDie
- func (d *ContainerStatusDie) RestartCount(v int32) *ContainerStatusDie
- func (d *ContainerStatusDie) Started(v *bool) *ContainerStatusDie
- func (d *ContainerStatusDie) State(v corev1.ContainerState) *ContainerStatusDie
- func (d *ContainerStatusDie) StateDie(fn func(d *ContainerStateDie)) *ContainerStatusDie
- type DaemonEndpointDie
- func (d *DaemonEndpointDie) DeepCopy() *DaemonEndpointDie
- func (d *DaemonEndpointDie) DieFeed(r corev1.DaemonEndpoint) *DaemonEndpointDie
- func (d *DaemonEndpointDie) DieFeedJSON(j []byte) *DaemonEndpointDie
- func (d *DaemonEndpointDie) DieFeedPtr(r *corev1.DaemonEndpoint) *DaemonEndpointDie
- func (d *DaemonEndpointDie) DieFeedRawExtension(raw runtime.RawExtension) *DaemonEndpointDie
- func (d *DaemonEndpointDie) DieFeedYAML(y []byte) *DaemonEndpointDie
- func (d *DaemonEndpointDie) DieFeedYAMLFile(name string) *DaemonEndpointDie
- func (d *DaemonEndpointDie) DieImmutable(immutable bool) *DaemonEndpointDie
- func (d *DaemonEndpointDie) DieRelease() corev1.DaemonEndpoint
- func (d *DaemonEndpointDie) DieReleaseJSON() []byte
- func (d *DaemonEndpointDie) DieReleasePtr() *corev1.DaemonEndpoint
- func (d *DaemonEndpointDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *DaemonEndpointDie) DieReleaseYAML() []byte
- func (d *DaemonEndpointDie) DieStamp(fn func(r *corev1.DaemonEndpoint)) *DaemonEndpointDie
- func (d *DaemonEndpointDie) DieStampAt(jp string, fn interface{}) *DaemonEndpointDie
- func (d *DaemonEndpointDie) DieWith(fns ...func(d *DaemonEndpointDie)) *DaemonEndpointDie
- func (d *DaemonEndpointDie) Port(v int32) *DaemonEndpointDie
- type DownwardAPIProjectionDie
- func (d *DownwardAPIProjectionDie) DeepCopy() *DownwardAPIProjectionDie
- func (d *DownwardAPIProjectionDie) DieFeed(r corev1.DownwardAPIProjection) *DownwardAPIProjectionDie
- func (d *DownwardAPIProjectionDie) DieFeedJSON(j []byte) *DownwardAPIProjectionDie
- func (d *DownwardAPIProjectionDie) DieFeedPtr(r *corev1.DownwardAPIProjection) *DownwardAPIProjectionDie
- func (d *DownwardAPIProjectionDie) DieFeedRawExtension(raw runtime.RawExtension) *DownwardAPIProjectionDie
- func (d *DownwardAPIProjectionDie) DieFeedYAML(y []byte) *DownwardAPIProjectionDie
- func (d *DownwardAPIProjectionDie) DieFeedYAMLFile(name string) *DownwardAPIProjectionDie
- func (d *DownwardAPIProjectionDie) DieImmutable(immutable bool) *DownwardAPIProjectionDie
- func (d *DownwardAPIProjectionDie) DieRelease() corev1.DownwardAPIProjection
- func (d *DownwardAPIProjectionDie) DieReleaseJSON() []byte
- func (d *DownwardAPIProjectionDie) DieReleasePtr() *corev1.DownwardAPIProjection
- func (d *DownwardAPIProjectionDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *DownwardAPIProjectionDie) DieReleaseYAML() []byte
- func (d *DownwardAPIProjectionDie) DieStamp(fn func(r *corev1.DownwardAPIProjection)) *DownwardAPIProjectionDie
- func (d *DownwardAPIProjectionDie) DieStampAt(jp string, fn interface{}) *DownwardAPIProjectionDie
- func (d *DownwardAPIProjectionDie) DieWith(fns ...func(d *DownwardAPIProjectionDie)) *DownwardAPIProjectionDie
- func (d *DownwardAPIProjectionDie) ItemDie(path string, fn func(d *DownwardAPIVolumeFileDie)) *DownwardAPIProjectionDie
- func (d *DownwardAPIProjectionDie) Items(v ...corev1.DownwardAPIVolumeFile) *DownwardAPIProjectionDie
- type DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) DeepCopy() *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) DieFeed(r corev1.DownwardAPIVolumeFile) *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) DieFeedJSON(j []byte) *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) DieFeedPtr(r *corev1.DownwardAPIVolumeFile) *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) DieFeedRawExtension(raw runtime.RawExtension) *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) DieFeedYAML(y []byte) *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) DieFeedYAMLFile(name string) *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) DieImmutable(immutable bool) *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) DieRelease() corev1.DownwardAPIVolumeFile
- func (d *DownwardAPIVolumeFileDie) DieReleaseJSON() []byte
- func (d *DownwardAPIVolumeFileDie) DieReleasePtr() *corev1.DownwardAPIVolumeFile
- func (d *DownwardAPIVolumeFileDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *DownwardAPIVolumeFileDie) DieReleaseYAML() []byte
- func (d *DownwardAPIVolumeFileDie) DieStamp(fn func(r *corev1.DownwardAPIVolumeFile)) *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) DieStampAt(jp string, fn interface{}) *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) DieWith(fns ...func(d *DownwardAPIVolumeFileDie)) *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) FieldRef(v *corev1.ObjectFieldSelector) *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) FieldRefDie(fn func(d *ObjectFieldSelectorDie)) *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) Mode(v *int32) *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) Path(v string) *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) ResourceFieldRef(v *corev1.ResourceFieldSelector) *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) ResourceFieldRefDie(fn func(d *ResourceFieldSelectorDie)) *DownwardAPIVolumeFileDie
- type DownwardAPIVolumeSourceDie
- func (d *DownwardAPIVolumeSourceDie) DeepCopy() *DownwardAPIVolumeSourceDie
- func (d *DownwardAPIVolumeSourceDie) DefaultMode(v *int32) *DownwardAPIVolumeSourceDie
- func (d *DownwardAPIVolumeSourceDie) DieFeed(r corev1.DownwardAPIVolumeSource) *DownwardAPIVolumeSourceDie
- func (d *DownwardAPIVolumeSourceDie) DieFeedJSON(j []byte) *DownwardAPIVolumeSourceDie
- func (d *DownwardAPIVolumeSourceDie) DieFeedPtr(r *corev1.DownwardAPIVolumeSource) *DownwardAPIVolumeSourceDie
- func (d *DownwardAPIVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *DownwardAPIVolumeSourceDie
- func (d *DownwardAPIVolumeSourceDie) DieFeedYAML(y []byte) *DownwardAPIVolumeSourceDie
- func (d *DownwardAPIVolumeSourceDie) DieFeedYAMLFile(name string) *DownwardAPIVolumeSourceDie
- func (d *DownwardAPIVolumeSourceDie) DieImmutable(immutable bool) *DownwardAPIVolumeSourceDie
- func (d *DownwardAPIVolumeSourceDie) DieRelease() corev1.DownwardAPIVolumeSource
- func (d *DownwardAPIVolumeSourceDie) DieReleaseJSON() []byte
- func (d *DownwardAPIVolumeSourceDie) DieReleasePtr() *corev1.DownwardAPIVolumeSource
- func (d *DownwardAPIVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *DownwardAPIVolumeSourceDie) DieReleaseYAML() []byte
- func (d *DownwardAPIVolumeSourceDie) DieStamp(fn func(r *corev1.DownwardAPIVolumeSource)) *DownwardAPIVolumeSourceDie
- func (d *DownwardAPIVolumeSourceDie) DieStampAt(jp string, fn interface{}) *DownwardAPIVolumeSourceDie
- func (d *DownwardAPIVolumeSourceDie) DieWith(fns ...func(d *DownwardAPIVolumeSourceDie)) *DownwardAPIVolumeSourceDie
- func (d *DownwardAPIVolumeSourceDie) ItemDie(path string, fn func(d *DownwardAPIVolumeFileDie)) *DownwardAPIVolumeSourceDie
- func (d *DownwardAPIVolumeSourceDie) Items(v ...corev1.DownwardAPIVolumeFile) *DownwardAPIVolumeSourceDie
- type EmptyDirVolumeSourceDie
- func (d *EmptyDirVolumeSourceDie) DeepCopy() *EmptyDirVolumeSourceDie
- func (d *EmptyDirVolumeSourceDie) DieFeed(r corev1.EmptyDirVolumeSource) *EmptyDirVolumeSourceDie
- func (d *EmptyDirVolumeSourceDie) DieFeedJSON(j []byte) *EmptyDirVolumeSourceDie
- func (d *EmptyDirVolumeSourceDie) DieFeedPtr(r *corev1.EmptyDirVolumeSource) *EmptyDirVolumeSourceDie
- func (d *EmptyDirVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *EmptyDirVolumeSourceDie
- func (d *EmptyDirVolumeSourceDie) DieFeedYAML(y []byte) *EmptyDirVolumeSourceDie
- func (d *EmptyDirVolumeSourceDie) DieFeedYAMLFile(name string) *EmptyDirVolumeSourceDie
- func (d *EmptyDirVolumeSourceDie) DieImmutable(immutable bool) *EmptyDirVolumeSourceDie
- func (d *EmptyDirVolumeSourceDie) DieRelease() corev1.EmptyDirVolumeSource
- func (d *EmptyDirVolumeSourceDie) DieReleaseJSON() []byte
- func (d *EmptyDirVolumeSourceDie) DieReleasePtr() *corev1.EmptyDirVolumeSource
- func (d *EmptyDirVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *EmptyDirVolumeSourceDie) DieReleaseYAML() []byte
- func (d *EmptyDirVolumeSourceDie) DieStamp(fn func(r *corev1.EmptyDirVolumeSource)) *EmptyDirVolumeSourceDie
- func (d *EmptyDirVolumeSourceDie) DieStampAt(jp string, fn interface{}) *EmptyDirVolumeSourceDie
- func (d *EmptyDirVolumeSourceDie) DieWith(fns ...func(d *EmptyDirVolumeSourceDie)) *EmptyDirVolumeSourceDie
- func (d *EmptyDirVolumeSourceDie) Medium(v corev1.StorageMedium) *EmptyDirVolumeSourceDie
- func (d *EmptyDirVolumeSourceDie) SizeLimit(v *resource.Quantity) *EmptyDirVolumeSourceDie
- type EndpointAddressDie
- func (d *EndpointAddressDie) DeepCopy() *EndpointAddressDie
- func (d *EndpointAddressDie) DieFeed(r corev1.EndpointAddress) *EndpointAddressDie
- func (d *EndpointAddressDie) DieFeedJSON(j []byte) *EndpointAddressDie
- func (d *EndpointAddressDie) DieFeedPtr(r *corev1.EndpointAddress) *EndpointAddressDie
- func (d *EndpointAddressDie) DieFeedRawExtension(raw runtime.RawExtension) *EndpointAddressDie
- func (d *EndpointAddressDie) DieFeedYAML(y []byte) *EndpointAddressDie
- func (d *EndpointAddressDie) DieFeedYAMLFile(name string) *EndpointAddressDie
- func (d *EndpointAddressDie) DieImmutable(immutable bool) *EndpointAddressDie
- func (d *EndpointAddressDie) DieRelease() corev1.EndpointAddress
- func (d *EndpointAddressDie) DieReleaseJSON() []byte
- func (d *EndpointAddressDie) DieReleasePtr() *corev1.EndpointAddress
- func (d *EndpointAddressDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *EndpointAddressDie) DieReleaseYAML() []byte
- func (d *EndpointAddressDie) DieStamp(fn func(r *corev1.EndpointAddress)) *EndpointAddressDie
- func (d *EndpointAddressDie) DieStampAt(jp string, fn interface{}) *EndpointAddressDie
- func (d *EndpointAddressDie) DieWith(fns ...func(d *EndpointAddressDie)) *EndpointAddressDie
- func (d *EndpointAddressDie) Hostname(v string) *EndpointAddressDie
- func (d *EndpointAddressDie) IP(v string) *EndpointAddressDie
- func (d *EndpointAddressDie) NodeName(v *string) *EndpointAddressDie
- func (d *EndpointAddressDie) TargetRef(v *corev1.ObjectReference) *EndpointAddressDie
- func (d *EndpointAddressDie) TargetRefDie(fn func(d *ObjectReferenceDie)) *EndpointAddressDie
- type EndpointPortDie
- func (d *EndpointPortDie) AppProtocol(v *string) *EndpointPortDie
- func (d *EndpointPortDie) DeepCopy() *EndpointPortDie
- func (d *EndpointPortDie) DieFeed(r corev1.EndpointPort) *EndpointPortDie
- func (d *EndpointPortDie) DieFeedJSON(j []byte) *EndpointPortDie
- func (d *EndpointPortDie) DieFeedPtr(r *corev1.EndpointPort) *EndpointPortDie
- func (d *EndpointPortDie) DieFeedRawExtension(raw runtime.RawExtension) *EndpointPortDie
- func (d *EndpointPortDie) DieFeedYAML(y []byte) *EndpointPortDie
- func (d *EndpointPortDie) DieFeedYAMLFile(name string) *EndpointPortDie
- func (d *EndpointPortDie) DieImmutable(immutable bool) *EndpointPortDie
- func (d *EndpointPortDie) DieRelease() corev1.EndpointPort
- func (d *EndpointPortDie) DieReleaseJSON() []byte
- func (d *EndpointPortDie) DieReleasePtr() *corev1.EndpointPort
- func (d *EndpointPortDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *EndpointPortDie) DieReleaseYAML() []byte
- func (d *EndpointPortDie) DieStamp(fn func(r *corev1.EndpointPort)) *EndpointPortDie
- func (d *EndpointPortDie) DieStampAt(jp string, fn interface{}) *EndpointPortDie
- func (d *EndpointPortDie) DieWith(fns ...func(d *EndpointPortDie)) *EndpointPortDie
- func (d *EndpointPortDie) Name(v string) *EndpointPortDie
- func (d *EndpointPortDie) Port(v int32) *EndpointPortDie
- func (d *EndpointPortDie) Protocol(v corev1.Protocol) *EndpointPortDie
- type EndpointSubsetDie
- func (d *EndpointSubsetDie) Addresses(v ...corev1.EndpointAddress) *EndpointSubsetDie
- func (d *EndpointSubsetDie) AddressesDie(addresses ...*EndpointAddressDie) *EndpointSubsetDie
- func (d *EndpointSubsetDie) DeepCopy() *EndpointSubsetDie
- func (d *EndpointSubsetDie) DieFeed(r corev1.EndpointSubset) *EndpointSubsetDie
- func (d *EndpointSubsetDie) DieFeedJSON(j []byte) *EndpointSubsetDie
- func (d *EndpointSubsetDie) DieFeedPtr(r *corev1.EndpointSubset) *EndpointSubsetDie
- func (d *EndpointSubsetDie) DieFeedRawExtension(raw runtime.RawExtension) *EndpointSubsetDie
- func (d *EndpointSubsetDie) DieFeedYAML(y []byte) *EndpointSubsetDie
- func (d *EndpointSubsetDie) DieFeedYAMLFile(name string) *EndpointSubsetDie
- func (d *EndpointSubsetDie) DieImmutable(immutable bool) *EndpointSubsetDie
- func (d *EndpointSubsetDie) DieRelease() corev1.EndpointSubset
- func (d *EndpointSubsetDie) DieReleaseJSON() []byte
- func (d *EndpointSubsetDie) DieReleasePtr() *corev1.EndpointSubset
- func (d *EndpointSubsetDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *EndpointSubsetDie) DieReleaseYAML() []byte
- func (d *EndpointSubsetDie) DieStamp(fn func(r *corev1.EndpointSubset)) *EndpointSubsetDie
- func (d *EndpointSubsetDie) DieStampAt(jp string, fn interface{}) *EndpointSubsetDie
- func (d *EndpointSubsetDie) DieWith(fns ...func(d *EndpointSubsetDie)) *EndpointSubsetDie
- func (d *EndpointSubsetDie) NotReadyAddresses(v ...corev1.EndpointAddress) *EndpointSubsetDie
- func (d *EndpointSubsetDie) NotReadyAddressesDie(addresses ...*EndpointAddressDie) *EndpointSubsetDie
- func (d *EndpointSubsetDie) Ports(v ...corev1.EndpointPort) *EndpointSubsetDie
- func (d *EndpointSubsetDie) PortsDie(ports ...*EndpointPortDie) *EndpointSubsetDie
- type EndpointsDie
- func (d *EndpointsDie) APIVersion(v string) *EndpointsDie
- func (d *EndpointsDie) DeepCopy() *EndpointsDie
- func (d *EndpointsDie) DeepCopyObject() runtime.Object
- func (d *EndpointsDie) DieFeed(r corev1.Endpoints) *EndpointsDie
- func (d *EndpointsDie) DieFeedJSON(j []byte) *EndpointsDie
- func (d *EndpointsDie) DieFeedPtr(r *corev1.Endpoints) *EndpointsDie
- func (d *EndpointsDie) DieFeedRawExtension(raw runtime.RawExtension) *EndpointsDie
- func (d *EndpointsDie) DieFeedYAML(y []byte) *EndpointsDie
- func (d *EndpointsDie) DieFeedYAMLFile(name string) *EndpointsDie
- func (d *EndpointsDie) DieImmutable(immutable bool) *EndpointsDie
- func (d *EndpointsDie) DieRelease() corev1.Endpoints
- func (d *EndpointsDie) DieReleaseJSON() []byte
- func (d *EndpointsDie) DieReleasePtr() *corev1.Endpoints
- func (d *EndpointsDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *EndpointsDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *EndpointsDie) DieReleaseYAML() []byte
- func (d *EndpointsDie) DieStamp(fn func(r *corev1.Endpoints)) *EndpointsDie
- func (d *EndpointsDie) DieStampAt(jp string, fn interface{}) *EndpointsDie
- func (d *EndpointsDie) DieWith(fns ...func(d *EndpointsDie)) *EndpointsDie
- func (d *EndpointsDie) GetObjectKind() schema.ObjectKind
- func (d *EndpointsDie) Kind(v string) *EndpointsDie
- func (d *EndpointsDie) MarshalJSON() ([]byte, error)
- func (d *EndpointsDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *EndpointsDie
- func (d *EndpointsDie) Subsets(v ...corev1.EndpointSubset) *EndpointsDie
- func (d *EndpointsDie) SubsetsDie(subsets ...*EndpointSubsetDie) *EndpointsDie
- func (d *EndpointsDie) UnmarshalJSON(b []byte) error
- type EnvFromSourceDie
- func (d *EnvFromSourceDie) ConfigMapRef(v *corev1.ConfigMapEnvSource) *EnvFromSourceDie
- func (d *EnvFromSourceDie) ConfigMapRefDie(fn func(d *ConfigMapEnvSourceDie)) *EnvFromSourceDie
- func (d *EnvFromSourceDie) DeepCopy() *EnvFromSourceDie
- func (d *EnvFromSourceDie) DieFeed(r corev1.EnvFromSource) *EnvFromSourceDie
- func (d *EnvFromSourceDie) DieFeedJSON(j []byte) *EnvFromSourceDie
- func (d *EnvFromSourceDie) DieFeedPtr(r *corev1.EnvFromSource) *EnvFromSourceDie
- func (d *EnvFromSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *EnvFromSourceDie
- func (d *EnvFromSourceDie) DieFeedYAML(y []byte) *EnvFromSourceDie
- func (d *EnvFromSourceDie) DieFeedYAMLFile(name string) *EnvFromSourceDie
- func (d *EnvFromSourceDie) DieImmutable(immutable bool) *EnvFromSourceDie
- func (d *EnvFromSourceDie) DieRelease() corev1.EnvFromSource
- func (d *EnvFromSourceDie) DieReleaseJSON() []byte
- func (d *EnvFromSourceDie) DieReleasePtr() *corev1.EnvFromSource
- func (d *EnvFromSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *EnvFromSourceDie) DieReleaseYAML() []byte
- func (d *EnvFromSourceDie) DieStamp(fn func(r *corev1.EnvFromSource)) *EnvFromSourceDie
- func (d *EnvFromSourceDie) DieStampAt(jp string, fn interface{}) *EnvFromSourceDie
- func (d *EnvFromSourceDie) DieWith(fns ...func(d *EnvFromSourceDie)) *EnvFromSourceDie
- func (d *EnvFromSourceDie) Prefix(v string) *EnvFromSourceDie
- func (d *EnvFromSourceDie) SecretRef(v *corev1.SecretEnvSource) *EnvFromSourceDie
- func (d *EnvFromSourceDie) SecretRefDie(fn func(d *SecretEnvSourceDie)) *EnvFromSourceDie
- type EnvVarDie
- func (d *EnvVarDie) DeepCopy() *EnvVarDie
- func (d *EnvVarDie) DieFeed(r corev1.EnvVar) *EnvVarDie
- func (d *EnvVarDie) DieFeedJSON(j []byte) *EnvVarDie
- func (d *EnvVarDie) DieFeedPtr(r *corev1.EnvVar) *EnvVarDie
- func (d *EnvVarDie) DieFeedRawExtension(raw runtime.RawExtension) *EnvVarDie
- func (d *EnvVarDie) DieFeedYAML(y []byte) *EnvVarDie
- func (d *EnvVarDie) DieFeedYAMLFile(name string) *EnvVarDie
- func (d *EnvVarDie) DieImmutable(immutable bool) *EnvVarDie
- func (d *EnvVarDie) DieRelease() corev1.EnvVar
- func (d *EnvVarDie) DieReleaseJSON() []byte
- func (d *EnvVarDie) DieReleasePtr() *corev1.EnvVar
- func (d *EnvVarDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *EnvVarDie) DieReleaseYAML() []byte
- func (d *EnvVarDie) DieStamp(fn func(r *corev1.EnvVar)) *EnvVarDie
- func (d *EnvVarDie) DieStampAt(jp string, fn interface{}) *EnvVarDie
- func (d *EnvVarDie) DieWith(fns ...func(d *EnvVarDie)) *EnvVarDie
- func (d *EnvVarDie) Name(v string) *EnvVarDie
- func (d *EnvVarDie) Value(v string) *EnvVarDie
- func (d *EnvVarDie) ValueFrom(v *corev1.EnvVarSource) *EnvVarDie
- func (d *EnvVarDie) ValueFromDie(fn func(d *EnvVarSourceDie)) *EnvVarDie
- type EnvVarSourceDie
- func (d *EnvVarSourceDie) ConfigMapKeyRef(v *corev1.ConfigMapKeySelector) *EnvVarSourceDie
- func (d *EnvVarSourceDie) ConfigMapKeyRefDie(fn func(d *ConfigMapKeySelectorDie)) *EnvVarSourceDie
- func (d *EnvVarSourceDie) DeepCopy() *EnvVarSourceDie
- func (d *EnvVarSourceDie) DieFeed(r corev1.EnvVarSource) *EnvVarSourceDie
- func (d *EnvVarSourceDie) DieFeedJSON(j []byte) *EnvVarSourceDie
- func (d *EnvVarSourceDie) DieFeedPtr(r *corev1.EnvVarSource) *EnvVarSourceDie
- func (d *EnvVarSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *EnvVarSourceDie
- func (d *EnvVarSourceDie) DieFeedYAML(y []byte) *EnvVarSourceDie
- func (d *EnvVarSourceDie) DieFeedYAMLFile(name string) *EnvVarSourceDie
- func (d *EnvVarSourceDie) DieImmutable(immutable bool) *EnvVarSourceDie
- func (d *EnvVarSourceDie) DieRelease() corev1.EnvVarSource
- func (d *EnvVarSourceDie) DieReleaseJSON() []byte
- func (d *EnvVarSourceDie) DieReleasePtr() *corev1.EnvVarSource
- func (d *EnvVarSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *EnvVarSourceDie) DieReleaseYAML() []byte
- func (d *EnvVarSourceDie) DieStamp(fn func(r *corev1.EnvVarSource)) *EnvVarSourceDie
- func (d *EnvVarSourceDie) DieStampAt(jp string, fn interface{}) *EnvVarSourceDie
- func (d *EnvVarSourceDie) DieWith(fns ...func(d *EnvVarSourceDie)) *EnvVarSourceDie
- func (d *EnvVarSourceDie) FieldRef(v *corev1.ObjectFieldSelector) *EnvVarSourceDie
- func (d *EnvVarSourceDie) FieldRefDie(fn func(d *ObjectFieldSelectorDie)) *EnvVarSourceDie
- func (d *EnvVarSourceDie) ResourceFieldRef(v *corev1.ResourceFieldSelector) *EnvVarSourceDie
- func (d *EnvVarSourceDie) ResourceFieldRefDie(fn func(d *ResourceFieldSelectorDie)) *EnvVarSourceDie
- func (d *EnvVarSourceDie) SecretKeyRef(v *corev1.SecretKeySelector) *EnvVarSourceDie
- func (d *EnvVarSourceDie) SecretKeyRefDie(fn func(d *SecretKeySelectorDie)) *EnvVarSourceDie
- type EphemeralVolumeSourceDie
- func (d *EphemeralVolumeSourceDie) DeepCopy() *EphemeralVolumeSourceDie
- func (d *EphemeralVolumeSourceDie) DieFeed(r corev1.EphemeralVolumeSource) *EphemeralVolumeSourceDie
- func (d *EphemeralVolumeSourceDie) DieFeedJSON(j []byte) *EphemeralVolumeSourceDie
- func (d *EphemeralVolumeSourceDie) DieFeedPtr(r *corev1.EphemeralVolumeSource) *EphemeralVolumeSourceDie
- func (d *EphemeralVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *EphemeralVolumeSourceDie
- func (d *EphemeralVolumeSourceDie) DieFeedYAML(y []byte) *EphemeralVolumeSourceDie
- func (d *EphemeralVolumeSourceDie) DieFeedYAMLFile(name string) *EphemeralVolumeSourceDie
- func (d *EphemeralVolumeSourceDie) DieImmutable(immutable bool) *EphemeralVolumeSourceDie
- func (d *EphemeralVolumeSourceDie) DieRelease() corev1.EphemeralVolumeSource
- func (d *EphemeralVolumeSourceDie) DieReleaseJSON() []byte
- func (d *EphemeralVolumeSourceDie) DieReleasePtr() *corev1.EphemeralVolumeSource
- func (d *EphemeralVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *EphemeralVolumeSourceDie) DieReleaseYAML() []byte
- func (d *EphemeralVolumeSourceDie) DieStamp(fn func(r *corev1.EphemeralVolumeSource)) *EphemeralVolumeSourceDie
- func (d *EphemeralVolumeSourceDie) DieStampAt(jp string, fn interface{}) *EphemeralVolumeSourceDie
- func (d *EphemeralVolumeSourceDie) DieWith(fns ...func(d *EphemeralVolumeSourceDie)) *EphemeralVolumeSourceDie
- func (d *EphemeralVolumeSourceDie) VolumeClaimTemplate(v *corev1.PersistentVolumeClaimTemplate) *EphemeralVolumeSourceDie
- func (d *EphemeralVolumeSourceDie) VolumeClaimTemplateDie(fn func(d *PersistentVolumeClaimTemplateDie)) *EphemeralVolumeSourceDie
- type EventDie
- func (d *EventDie) APIVersion(v string) *EventDie
- func (d *EventDie) Action(v string) *EventDie
- func (d *EventDie) Count(v int32) *EventDie
- func (d *EventDie) DeepCopy() *EventDie
- func (d *EventDie) DeepCopyObject() runtime.Object
- func (d *EventDie) DieFeed(r corev1.Event) *EventDie
- func (d *EventDie) DieFeedJSON(j []byte) *EventDie
- func (d *EventDie) DieFeedPtr(r *corev1.Event) *EventDie
- func (d *EventDie) DieFeedRawExtension(raw runtime.RawExtension) *EventDie
- func (d *EventDie) DieFeedYAML(y []byte) *EventDie
- func (d *EventDie) DieFeedYAMLFile(name string) *EventDie
- func (d *EventDie) DieImmutable(immutable bool) *EventDie
- func (d *EventDie) DieRelease() corev1.Event
- func (d *EventDie) DieReleaseJSON() []byte
- func (d *EventDie) DieReleasePtr() *corev1.Event
- func (d *EventDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *EventDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *EventDie) DieReleaseYAML() []byte
- func (d *EventDie) DieStamp(fn func(r *corev1.Event)) *EventDie
- func (d *EventDie) DieStampAt(jp string, fn interface{}) *EventDie
- func (d *EventDie) DieWith(fns ...func(d *EventDie)) *EventDie
- func (d *EventDie) EventTime(v apismetav1.MicroTime) *EventDie
- func (d *EventDie) FirstTimestamp(v apismetav1.Time) *EventDie
- func (d *EventDie) GetObjectKind() schema.ObjectKind
- func (d *EventDie) InvolvedObject(v corev1.ObjectReference) *EventDie
- func (d *EventDie) InvolvedObjectDie(fn func(d *ObjectReferenceDie)) *EventDie
- func (d *EventDie) Kind(v string) *EventDie
- func (d *EventDie) LastTimestamp(v apismetav1.Time) *EventDie
- func (d *EventDie) MarshalJSON() ([]byte, error)
- func (d *EventDie) Message(v string) *EventDie
- func (d *EventDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *EventDie
- func (d *EventDie) Reason(v string) *EventDie
- func (d *EventDie) Related(v *corev1.ObjectReference) *EventDie
- func (d *EventDie) RelatedDie(fn func(d *ObjectReferenceDie)) *EventDie
- func (d *EventDie) ReportingController(v string) *EventDie
- func (d *EventDie) ReportingInstance(v string) *EventDie
- func (d *EventDie) Series(v *corev1.EventSeries) *EventDie
- func (d *EventDie) SeriesDie(fn func(d *EventSeriesDie)) *EventDie
- func (d *EventDie) Source(v corev1.EventSource) *EventDie
- func (d *EventDie) SourceDie(fn func(d *EventSourceDie)) *EventDie
- func (d *EventDie) Type(v string) *EventDie
- func (d *EventDie) UnmarshalJSON(b []byte) error
- type EventSeriesDie
- func (d *EventSeriesDie) Count(v int32) *EventSeriesDie
- func (d *EventSeriesDie) DeepCopy() *EventSeriesDie
- func (d *EventSeriesDie) DieFeed(r corev1.EventSeries) *EventSeriesDie
- func (d *EventSeriesDie) DieFeedJSON(j []byte) *EventSeriesDie
- func (d *EventSeriesDie) DieFeedPtr(r *corev1.EventSeries) *EventSeriesDie
- func (d *EventSeriesDie) DieFeedRawExtension(raw runtime.RawExtension) *EventSeriesDie
- func (d *EventSeriesDie) DieFeedYAML(y []byte) *EventSeriesDie
- func (d *EventSeriesDie) DieFeedYAMLFile(name string) *EventSeriesDie
- func (d *EventSeriesDie) DieImmutable(immutable bool) *EventSeriesDie
- func (d *EventSeriesDie) DieRelease() corev1.EventSeries
- func (d *EventSeriesDie) DieReleaseJSON() []byte
- func (d *EventSeriesDie) DieReleasePtr() *corev1.EventSeries
- func (d *EventSeriesDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *EventSeriesDie) DieReleaseYAML() []byte
- func (d *EventSeriesDie) DieStamp(fn func(r *corev1.EventSeries)) *EventSeriesDie
- func (d *EventSeriesDie) DieStampAt(jp string, fn interface{}) *EventSeriesDie
- func (d *EventSeriesDie) DieWith(fns ...func(d *EventSeriesDie)) *EventSeriesDie
- func (d *EventSeriesDie) LastObservedTime(v apismetav1.MicroTime) *EventSeriesDie
- type EventSourceDie
- func (d *EventSourceDie) Component(v string) *EventSourceDie
- func (d *EventSourceDie) DeepCopy() *EventSourceDie
- func (d *EventSourceDie) DieFeed(r corev1.EventSource) *EventSourceDie
- func (d *EventSourceDie) DieFeedJSON(j []byte) *EventSourceDie
- func (d *EventSourceDie) DieFeedPtr(r *corev1.EventSource) *EventSourceDie
- func (d *EventSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *EventSourceDie
- func (d *EventSourceDie) DieFeedYAML(y []byte) *EventSourceDie
- func (d *EventSourceDie) DieFeedYAMLFile(name string) *EventSourceDie
- func (d *EventSourceDie) DieImmutable(immutable bool) *EventSourceDie
- func (d *EventSourceDie) DieRelease() corev1.EventSource
- func (d *EventSourceDie) DieReleaseJSON() []byte
- func (d *EventSourceDie) DieReleasePtr() *corev1.EventSource
- func (d *EventSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *EventSourceDie) DieReleaseYAML() []byte
- func (d *EventSourceDie) DieStamp(fn func(r *corev1.EventSource)) *EventSourceDie
- func (d *EventSourceDie) DieStampAt(jp string, fn interface{}) *EventSourceDie
- func (d *EventSourceDie) DieWith(fns ...func(d *EventSourceDie)) *EventSourceDie
- func (d *EventSourceDie) Host(v string) *EventSourceDie
- type ExecActionDie
- func (d *ExecActionDie) Command(v ...string) *ExecActionDie
- func (d *ExecActionDie) DeepCopy() *ExecActionDie
- func (d *ExecActionDie) DieFeed(r corev1.ExecAction) *ExecActionDie
- func (d *ExecActionDie) DieFeedJSON(j []byte) *ExecActionDie
- func (d *ExecActionDie) DieFeedPtr(r *corev1.ExecAction) *ExecActionDie
- func (d *ExecActionDie) DieFeedRawExtension(raw runtime.RawExtension) *ExecActionDie
- func (d *ExecActionDie) DieFeedYAML(y []byte) *ExecActionDie
- func (d *ExecActionDie) DieFeedYAMLFile(name string) *ExecActionDie
- func (d *ExecActionDie) DieImmutable(immutable bool) *ExecActionDie
- func (d *ExecActionDie) DieRelease() corev1.ExecAction
- func (d *ExecActionDie) DieReleaseJSON() []byte
- func (d *ExecActionDie) DieReleasePtr() *corev1.ExecAction
- func (d *ExecActionDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ExecActionDie) DieReleaseYAML() []byte
- func (d *ExecActionDie) DieStamp(fn func(r *corev1.ExecAction)) *ExecActionDie
- func (d *ExecActionDie) DieStampAt(jp string, fn interface{}) *ExecActionDie
- func (d *ExecActionDie) DieWith(fns ...func(d *ExecActionDie)) *ExecActionDie
- type FCVolumeSourceDie
- func (d *FCVolumeSourceDie) DeepCopy() *FCVolumeSourceDie
- func (d *FCVolumeSourceDie) DieFeed(r corev1.FCVolumeSource) *FCVolumeSourceDie
- func (d *FCVolumeSourceDie) DieFeedJSON(j []byte) *FCVolumeSourceDie
- func (d *FCVolumeSourceDie) DieFeedPtr(r *corev1.FCVolumeSource) *FCVolumeSourceDie
- func (d *FCVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *FCVolumeSourceDie
- func (d *FCVolumeSourceDie) DieFeedYAML(y []byte) *FCVolumeSourceDie
- func (d *FCVolumeSourceDie) DieFeedYAMLFile(name string) *FCVolumeSourceDie
- func (d *FCVolumeSourceDie) DieImmutable(immutable bool) *FCVolumeSourceDie
- func (d *FCVolumeSourceDie) DieRelease() corev1.FCVolumeSource
- func (d *FCVolumeSourceDie) DieReleaseJSON() []byte
- func (d *FCVolumeSourceDie) DieReleasePtr() *corev1.FCVolumeSource
- func (d *FCVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *FCVolumeSourceDie) DieReleaseYAML() []byte
- func (d *FCVolumeSourceDie) DieStamp(fn func(r *corev1.FCVolumeSource)) *FCVolumeSourceDie
- func (d *FCVolumeSourceDie) DieStampAt(jp string, fn interface{}) *FCVolumeSourceDie
- func (d *FCVolumeSourceDie) DieWith(fns ...func(d *FCVolumeSourceDie)) *FCVolumeSourceDie
- func (d *FCVolumeSourceDie) FSType(v string) *FCVolumeSourceDie
- func (d *FCVolumeSourceDie) Lun(v *int32) *FCVolumeSourceDie
- func (d *FCVolumeSourceDie) ReadOnly(v bool) *FCVolumeSourceDie
- func (d *FCVolumeSourceDie) TargetWWNs(v ...string) *FCVolumeSourceDie
- func (d *FCVolumeSourceDie) WWIDs(v ...string) *FCVolumeSourceDie
- type FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) DeepCopy() *FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) DieFeed(r corev1.FlexPersistentVolumeSource) *FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) DieFeedJSON(j []byte) *FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) DieFeedPtr(r *corev1.FlexPersistentVolumeSource) *FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) DieFeedYAML(y []byte) *FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) DieFeedYAMLFile(name string) *FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) DieImmutable(immutable bool) *FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) DieRelease() corev1.FlexPersistentVolumeSource
- func (d *FlexPersistentVolumeSourceDie) DieReleaseJSON() []byte
- func (d *FlexPersistentVolumeSourceDie) DieReleasePtr() *corev1.FlexPersistentVolumeSource
- func (d *FlexPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *FlexPersistentVolumeSourceDie) DieReleaseYAML() []byte
- func (d *FlexPersistentVolumeSourceDie) DieStamp(fn func(r *corev1.FlexPersistentVolumeSource)) *FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) DieWith(fns ...func(d *FlexPersistentVolumeSourceDie)) *FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) Driver(v string) *FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) FSType(v string) *FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) Options(v map[string]string) *FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) ReadOnly(v bool) *FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) SecretRef(v *corev1.SecretReference) *FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) SecretRefDie(fn func(d *SecretReferenceDie)) *FlexPersistentVolumeSourceDie
- type FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) DeepCopy() *FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) DieFeed(r corev1.FlexVolumeSource) *FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) DieFeedJSON(j []byte) *FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) DieFeedPtr(r *corev1.FlexVolumeSource) *FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) DieFeedYAML(y []byte) *FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) DieFeedYAMLFile(name string) *FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) DieImmutable(immutable bool) *FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) DieRelease() corev1.FlexVolumeSource
- func (d *FlexVolumeSourceDie) DieReleaseJSON() []byte
- func (d *FlexVolumeSourceDie) DieReleasePtr() *corev1.FlexVolumeSource
- func (d *FlexVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *FlexVolumeSourceDie) DieReleaseYAML() []byte
- func (d *FlexVolumeSourceDie) DieStamp(fn func(r *corev1.FlexVolumeSource)) *FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) DieStampAt(jp string, fn interface{}) *FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) DieWith(fns ...func(d *FlexVolumeSourceDie)) *FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) Driver(v string) *FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) FSType(v string) *FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) Options(v map[string]string) *FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) ReadOnly(v bool) *FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) SecretRef(v *corev1.LocalObjectReference) *FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) SecretRefDie(fn func(d *LocalObjectReferenceDie)) *FlexVolumeSourceDie
- type FlockerVolumeSourceDie
- func (d *FlockerVolumeSourceDie) DatasetName(v string) *FlockerVolumeSourceDie
- func (d *FlockerVolumeSourceDie) DatasetUUID(v string) *FlockerVolumeSourceDie
- func (d *FlockerVolumeSourceDie) DeepCopy() *FlockerVolumeSourceDie
- func (d *FlockerVolumeSourceDie) DieFeed(r corev1.FlockerVolumeSource) *FlockerVolumeSourceDie
- func (d *FlockerVolumeSourceDie) DieFeedJSON(j []byte) *FlockerVolumeSourceDie
- func (d *FlockerVolumeSourceDie) DieFeedPtr(r *corev1.FlockerVolumeSource) *FlockerVolumeSourceDie
- func (d *FlockerVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *FlockerVolumeSourceDie
- func (d *FlockerVolumeSourceDie) DieFeedYAML(y []byte) *FlockerVolumeSourceDie
- func (d *FlockerVolumeSourceDie) DieFeedYAMLFile(name string) *FlockerVolumeSourceDie
- func (d *FlockerVolumeSourceDie) DieImmutable(immutable bool) *FlockerVolumeSourceDie
- func (d *FlockerVolumeSourceDie) DieRelease() corev1.FlockerVolumeSource
- func (d *FlockerVolumeSourceDie) DieReleaseJSON() []byte
- func (d *FlockerVolumeSourceDie) DieReleasePtr() *corev1.FlockerVolumeSource
- func (d *FlockerVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *FlockerVolumeSourceDie) DieReleaseYAML() []byte
- func (d *FlockerVolumeSourceDie) DieStamp(fn func(r *corev1.FlockerVolumeSource)) *FlockerVolumeSourceDie
- func (d *FlockerVolumeSourceDie) DieStampAt(jp string, fn interface{}) *FlockerVolumeSourceDie
- func (d *FlockerVolumeSourceDie) DieWith(fns ...func(d *FlockerVolumeSourceDie)) *FlockerVolumeSourceDie
- type GCEPersistentDiskVolumeSourceDie
- func (d *GCEPersistentDiskVolumeSourceDie) DeepCopy() *GCEPersistentDiskVolumeSourceDie
- func (d *GCEPersistentDiskVolumeSourceDie) DieFeed(r corev1.GCEPersistentDiskVolumeSource) *GCEPersistentDiskVolumeSourceDie
- func (d *GCEPersistentDiskVolumeSourceDie) DieFeedJSON(j []byte) *GCEPersistentDiskVolumeSourceDie
- func (d *GCEPersistentDiskVolumeSourceDie) DieFeedPtr(r *corev1.GCEPersistentDiskVolumeSource) *GCEPersistentDiskVolumeSourceDie
- func (d *GCEPersistentDiskVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *GCEPersistentDiskVolumeSourceDie
- func (d *GCEPersistentDiskVolumeSourceDie) DieFeedYAML(y []byte) *GCEPersistentDiskVolumeSourceDie
- func (d *GCEPersistentDiskVolumeSourceDie) DieFeedYAMLFile(name string) *GCEPersistentDiskVolumeSourceDie
- func (d *GCEPersistentDiskVolumeSourceDie) DieImmutable(immutable bool) *GCEPersistentDiskVolumeSourceDie
- func (d *GCEPersistentDiskVolumeSourceDie) DieRelease() corev1.GCEPersistentDiskVolumeSource
- func (d *GCEPersistentDiskVolumeSourceDie) DieReleaseJSON() []byte
- func (d *GCEPersistentDiskVolumeSourceDie) DieReleasePtr() *corev1.GCEPersistentDiskVolumeSource
- func (d *GCEPersistentDiskVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *GCEPersistentDiskVolumeSourceDie) DieReleaseYAML() []byte
- func (d *GCEPersistentDiskVolumeSourceDie) DieStamp(fn func(r *corev1.GCEPersistentDiskVolumeSource)) *GCEPersistentDiskVolumeSourceDie
- func (d *GCEPersistentDiskVolumeSourceDie) DieStampAt(jp string, fn interface{}) *GCEPersistentDiskVolumeSourceDie
- func (d *GCEPersistentDiskVolumeSourceDie) DieWith(fns ...func(d *GCEPersistentDiskVolumeSourceDie)) *GCEPersistentDiskVolumeSourceDie
- func (d *GCEPersistentDiskVolumeSourceDie) FSType(v string) *GCEPersistentDiskVolumeSourceDie
- func (d *GCEPersistentDiskVolumeSourceDie) PDName(v string) *GCEPersistentDiskVolumeSourceDie
- func (d *GCEPersistentDiskVolumeSourceDie) Partition(v int32) *GCEPersistentDiskVolumeSourceDie
- func (d *GCEPersistentDiskVolumeSourceDie) ReadOnly(v bool) *GCEPersistentDiskVolumeSourceDie
- type GRPCActionDie
- func (d *GRPCActionDie) DeepCopy() *GRPCActionDie
- func (d *GRPCActionDie) DieFeed(r corev1.GRPCAction) *GRPCActionDie
- func (d *GRPCActionDie) DieFeedJSON(j []byte) *GRPCActionDie
- func (d *GRPCActionDie) DieFeedPtr(r *corev1.GRPCAction) *GRPCActionDie
- func (d *GRPCActionDie) DieFeedRawExtension(raw runtime.RawExtension) *GRPCActionDie
- func (d *GRPCActionDie) DieFeedYAML(y []byte) *GRPCActionDie
- func (d *GRPCActionDie) DieFeedYAMLFile(name string) *GRPCActionDie
- func (d *GRPCActionDie) DieImmutable(immutable bool) *GRPCActionDie
- func (d *GRPCActionDie) DieRelease() corev1.GRPCAction
- func (d *GRPCActionDie) DieReleaseJSON() []byte
- func (d *GRPCActionDie) DieReleasePtr() *corev1.GRPCAction
- func (d *GRPCActionDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *GRPCActionDie) DieReleaseYAML() []byte
- func (d *GRPCActionDie) DieStamp(fn func(r *corev1.GRPCAction)) *GRPCActionDie
- func (d *GRPCActionDie) DieStampAt(jp string, fn interface{}) *GRPCActionDie
- func (d *GRPCActionDie) DieWith(fns ...func(d *GRPCActionDie)) *GRPCActionDie
- func (d *GRPCActionDie) Port(v int32) *GRPCActionDie
- func (d *GRPCActionDie) Service(v *string) *GRPCActionDie
- type GitRepoVolumeSourceDie
- func (d *GitRepoVolumeSourceDie) DeepCopy() *GitRepoVolumeSourceDie
- func (d *GitRepoVolumeSourceDie) DieFeed(r corev1.GitRepoVolumeSource) *GitRepoVolumeSourceDie
- func (d *GitRepoVolumeSourceDie) DieFeedJSON(j []byte) *GitRepoVolumeSourceDie
- func (d *GitRepoVolumeSourceDie) DieFeedPtr(r *corev1.GitRepoVolumeSource) *GitRepoVolumeSourceDie
- func (d *GitRepoVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *GitRepoVolumeSourceDie
- func (d *GitRepoVolumeSourceDie) DieFeedYAML(y []byte) *GitRepoVolumeSourceDie
- func (d *GitRepoVolumeSourceDie) DieFeedYAMLFile(name string) *GitRepoVolumeSourceDie
- func (d *GitRepoVolumeSourceDie) DieImmutable(immutable bool) *GitRepoVolumeSourceDie
- func (d *GitRepoVolumeSourceDie) DieRelease() corev1.GitRepoVolumeSource
- func (d *GitRepoVolumeSourceDie) DieReleaseJSON() []byte
- func (d *GitRepoVolumeSourceDie) DieReleasePtr() *corev1.GitRepoVolumeSource
- func (d *GitRepoVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *GitRepoVolumeSourceDie) DieReleaseYAML() []byte
- func (d *GitRepoVolumeSourceDie) DieStamp(fn func(r *corev1.GitRepoVolumeSource)) *GitRepoVolumeSourceDie
- func (d *GitRepoVolumeSourceDie) DieStampAt(jp string, fn interface{}) *GitRepoVolumeSourceDie
- func (d *GitRepoVolumeSourceDie) DieWith(fns ...func(d *GitRepoVolumeSourceDie)) *GitRepoVolumeSourceDie
- func (d *GitRepoVolumeSourceDie) Directory(v string) *GitRepoVolumeSourceDie
- func (d *GitRepoVolumeSourceDie) Repository(v string) *GitRepoVolumeSourceDie
- func (d *GitRepoVolumeSourceDie) Revision(v string) *GitRepoVolumeSourceDie
- type GlusterfsPersistentVolumeSourceDie
- func (d *GlusterfsPersistentVolumeSourceDie) DeepCopy() *GlusterfsPersistentVolumeSourceDie
- func (d *GlusterfsPersistentVolumeSourceDie) DieFeed(r corev1.GlusterfsPersistentVolumeSource) *GlusterfsPersistentVolumeSourceDie
- func (d *GlusterfsPersistentVolumeSourceDie) DieFeedJSON(j []byte) *GlusterfsPersistentVolumeSourceDie
- func (d *GlusterfsPersistentVolumeSourceDie) DieFeedPtr(r *corev1.GlusterfsPersistentVolumeSource) *GlusterfsPersistentVolumeSourceDie
- func (d *GlusterfsPersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *GlusterfsPersistentVolumeSourceDie
- func (d *GlusterfsPersistentVolumeSourceDie) DieFeedYAML(y []byte) *GlusterfsPersistentVolumeSourceDie
- func (d *GlusterfsPersistentVolumeSourceDie) DieFeedYAMLFile(name string) *GlusterfsPersistentVolumeSourceDie
- func (d *GlusterfsPersistentVolumeSourceDie) DieImmutable(immutable bool) *GlusterfsPersistentVolumeSourceDie
- func (d *GlusterfsPersistentVolumeSourceDie) DieRelease() corev1.GlusterfsPersistentVolumeSource
- func (d *GlusterfsPersistentVolumeSourceDie) DieReleaseJSON() []byte
- func (d *GlusterfsPersistentVolumeSourceDie) DieReleasePtr() *corev1.GlusterfsPersistentVolumeSource
- func (d *GlusterfsPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *GlusterfsPersistentVolumeSourceDie) DieReleaseYAML() []byte
- func (d *GlusterfsPersistentVolumeSourceDie) DieStamp(fn func(r *corev1.GlusterfsPersistentVolumeSource)) *GlusterfsPersistentVolumeSourceDie
- func (d *GlusterfsPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *GlusterfsPersistentVolumeSourceDie
- func (d *GlusterfsPersistentVolumeSourceDie) DieWith(fns ...func(d *GlusterfsPersistentVolumeSourceDie)) *GlusterfsPersistentVolumeSourceDie
- func (d *GlusterfsPersistentVolumeSourceDie) EndpointsName(v string) *GlusterfsPersistentVolumeSourceDie
- func (d *GlusterfsPersistentVolumeSourceDie) EndpointsNamespace(v *string) *GlusterfsPersistentVolumeSourceDie
- func (d *GlusterfsPersistentVolumeSourceDie) Path(v string) *GlusterfsPersistentVolumeSourceDie
- func (d *GlusterfsPersistentVolumeSourceDie) ReadOnly(v bool) *GlusterfsPersistentVolumeSourceDie
- type GlusterfsVolumeSourceDie
- func (d *GlusterfsVolumeSourceDie) DeepCopy() *GlusterfsVolumeSourceDie
- func (d *GlusterfsVolumeSourceDie) DieFeed(r corev1.GlusterfsVolumeSource) *GlusterfsVolumeSourceDie
- func (d *GlusterfsVolumeSourceDie) DieFeedJSON(j []byte) *GlusterfsVolumeSourceDie
- func (d *GlusterfsVolumeSourceDie) DieFeedPtr(r *corev1.GlusterfsVolumeSource) *GlusterfsVolumeSourceDie
- func (d *GlusterfsVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *GlusterfsVolumeSourceDie
- func (d *GlusterfsVolumeSourceDie) DieFeedYAML(y []byte) *GlusterfsVolumeSourceDie
- func (d *GlusterfsVolumeSourceDie) DieFeedYAMLFile(name string) *GlusterfsVolumeSourceDie
- func (d *GlusterfsVolumeSourceDie) DieImmutable(immutable bool) *GlusterfsVolumeSourceDie
- func (d *GlusterfsVolumeSourceDie) DieRelease() corev1.GlusterfsVolumeSource
- func (d *GlusterfsVolumeSourceDie) DieReleaseJSON() []byte
- func (d *GlusterfsVolumeSourceDie) DieReleasePtr() *corev1.GlusterfsVolumeSource
- func (d *GlusterfsVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *GlusterfsVolumeSourceDie) DieReleaseYAML() []byte
- func (d *GlusterfsVolumeSourceDie) DieStamp(fn func(r *corev1.GlusterfsVolumeSource)) *GlusterfsVolumeSourceDie
- func (d *GlusterfsVolumeSourceDie) DieStampAt(jp string, fn interface{}) *GlusterfsVolumeSourceDie
- func (d *GlusterfsVolumeSourceDie) DieWith(fns ...func(d *GlusterfsVolumeSourceDie)) *GlusterfsVolumeSourceDie
- func (d *GlusterfsVolumeSourceDie) EndpointsName(v string) *GlusterfsVolumeSourceDie
- func (d *GlusterfsVolumeSourceDie) Path(v string) *GlusterfsVolumeSourceDie
- func (d *GlusterfsVolumeSourceDie) ReadOnly(v bool) *GlusterfsVolumeSourceDie
- type HTTPGetActionDie
- func (d *HTTPGetActionDie) DeepCopy() *HTTPGetActionDie
- func (d *HTTPGetActionDie) DieFeed(r corev1.HTTPGetAction) *HTTPGetActionDie
- func (d *HTTPGetActionDie) DieFeedJSON(j []byte) *HTTPGetActionDie
- func (d *HTTPGetActionDie) DieFeedPtr(r *corev1.HTTPGetAction) *HTTPGetActionDie
- func (d *HTTPGetActionDie) DieFeedRawExtension(raw runtime.RawExtension) *HTTPGetActionDie
- func (d *HTTPGetActionDie) DieFeedYAML(y []byte) *HTTPGetActionDie
- func (d *HTTPGetActionDie) DieFeedYAMLFile(name string) *HTTPGetActionDie
- func (d *HTTPGetActionDie) DieImmutable(immutable bool) *HTTPGetActionDie
- func (d *HTTPGetActionDie) DieRelease() corev1.HTTPGetAction
- func (d *HTTPGetActionDie) DieReleaseJSON() []byte
- func (d *HTTPGetActionDie) DieReleasePtr() *corev1.HTTPGetAction
- func (d *HTTPGetActionDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *HTTPGetActionDie) DieReleaseYAML() []byte
- func (d *HTTPGetActionDie) DieStamp(fn func(r *corev1.HTTPGetAction)) *HTTPGetActionDie
- func (d *HTTPGetActionDie) DieStampAt(jp string, fn interface{}) *HTTPGetActionDie
- func (d *HTTPGetActionDie) DieWith(fns ...func(d *HTTPGetActionDie)) *HTTPGetActionDie
- func (d *HTTPGetActionDie) HTTPHeaders(v ...corev1.HTTPHeader) *HTTPGetActionDie
- func (d *HTTPGetActionDie) HTTPHeadersDie(headers ...*HTTPHeaderDie) *HTTPGetActionDie
- func (d *HTTPGetActionDie) Host(v string) *HTTPGetActionDie
- func (d *HTTPGetActionDie) Path(v string) *HTTPGetActionDie
- func (d *HTTPGetActionDie) Port(v intstr.IntOrString) *HTTPGetActionDie
- func (d *HTTPGetActionDie) PortInt(i int) *HTTPGetActionDie
- func (d *HTTPGetActionDie) PortString(s string) *HTTPGetActionDie
- func (d *HTTPGetActionDie) Scheme(v corev1.URIScheme) *HTTPGetActionDie
- type HTTPHeaderDie
- func (d *HTTPHeaderDie) DeepCopy() *HTTPHeaderDie
- func (d *HTTPHeaderDie) DieFeed(r corev1.HTTPHeader) *HTTPHeaderDie
- func (d *HTTPHeaderDie) DieFeedJSON(j []byte) *HTTPHeaderDie
- func (d *HTTPHeaderDie) DieFeedPtr(r *corev1.HTTPHeader) *HTTPHeaderDie
- func (d *HTTPHeaderDie) DieFeedRawExtension(raw runtime.RawExtension) *HTTPHeaderDie
- func (d *HTTPHeaderDie) DieFeedYAML(y []byte) *HTTPHeaderDie
- func (d *HTTPHeaderDie) DieFeedYAMLFile(name string) *HTTPHeaderDie
- func (d *HTTPHeaderDie) DieImmutable(immutable bool) *HTTPHeaderDie
- func (d *HTTPHeaderDie) DieRelease() corev1.HTTPHeader
- func (d *HTTPHeaderDie) DieReleaseJSON() []byte
- func (d *HTTPHeaderDie) DieReleasePtr() *corev1.HTTPHeader
- func (d *HTTPHeaderDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *HTTPHeaderDie) DieReleaseYAML() []byte
- func (d *HTTPHeaderDie) DieStamp(fn func(r *corev1.HTTPHeader)) *HTTPHeaderDie
- func (d *HTTPHeaderDie) DieStampAt(jp string, fn interface{}) *HTTPHeaderDie
- func (d *HTTPHeaderDie) DieWith(fns ...func(d *HTTPHeaderDie)) *HTTPHeaderDie
- func (d *HTTPHeaderDie) Name(v string) *HTTPHeaderDie
- func (d *HTTPHeaderDie) Value(v string) *HTTPHeaderDie
- type HostAliasDie
- func (d *HostAliasDie) DeepCopy() *HostAliasDie
- func (d *HostAliasDie) DieFeed(r corev1.HostAlias) *HostAliasDie
- func (d *HostAliasDie) DieFeedJSON(j []byte) *HostAliasDie
- func (d *HostAliasDie) DieFeedPtr(r *corev1.HostAlias) *HostAliasDie
- func (d *HostAliasDie) DieFeedRawExtension(raw runtime.RawExtension) *HostAliasDie
- func (d *HostAliasDie) DieFeedYAML(y []byte) *HostAliasDie
- func (d *HostAliasDie) DieFeedYAMLFile(name string) *HostAliasDie
- func (d *HostAliasDie) DieImmutable(immutable bool) *HostAliasDie
- func (d *HostAliasDie) DieRelease() corev1.HostAlias
- func (d *HostAliasDie) DieReleaseJSON() []byte
- func (d *HostAliasDie) DieReleasePtr() *corev1.HostAlias
- func (d *HostAliasDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *HostAliasDie) DieReleaseYAML() []byte
- func (d *HostAliasDie) DieStamp(fn func(r *corev1.HostAlias)) *HostAliasDie
- func (d *HostAliasDie) DieStampAt(jp string, fn interface{}) *HostAliasDie
- func (d *HostAliasDie) DieWith(fns ...func(d *HostAliasDie)) *HostAliasDie
- func (d *HostAliasDie) Hostnames(v ...string) *HostAliasDie
- func (d *HostAliasDie) IP(v string) *HostAliasDie
- type HostPathVolumeSourceDie
- func (d *HostPathVolumeSourceDie) DeepCopy() *HostPathVolumeSourceDie
- func (d *HostPathVolumeSourceDie) DieFeed(r corev1.HostPathVolumeSource) *HostPathVolumeSourceDie
- func (d *HostPathVolumeSourceDie) DieFeedJSON(j []byte) *HostPathVolumeSourceDie
- func (d *HostPathVolumeSourceDie) DieFeedPtr(r *corev1.HostPathVolumeSource) *HostPathVolumeSourceDie
- func (d *HostPathVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *HostPathVolumeSourceDie
- func (d *HostPathVolumeSourceDie) DieFeedYAML(y []byte) *HostPathVolumeSourceDie
- func (d *HostPathVolumeSourceDie) DieFeedYAMLFile(name string) *HostPathVolumeSourceDie
- func (d *HostPathVolumeSourceDie) DieImmutable(immutable bool) *HostPathVolumeSourceDie
- func (d *HostPathVolumeSourceDie) DieRelease() corev1.HostPathVolumeSource
- func (d *HostPathVolumeSourceDie) DieReleaseJSON() []byte
- func (d *HostPathVolumeSourceDie) DieReleasePtr() *corev1.HostPathVolumeSource
- func (d *HostPathVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *HostPathVolumeSourceDie) DieReleaseYAML() []byte
- func (d *HostPathVolumeSourceDie) DieStamp(fn func(r *corev1.HostPathVolumeSource)) *HostPathVolumeSourceDie
- func (d *HostPathVolumeSourceDie) DieStampAt(jp string, fn interface{}) *HostPathVolumeSourceDie
- func (d *HostPathVolumeSourceDie) DieWith(fns ...func(d *HostPathVolumeSourceDie)) *HostPathVolumeSourceDie
- func (d *HostPathVolumeSourceDie) Path(v string) *HostPathVolumeSourceDie
- func (d *HostPathVolumeSourceDie) Type(v *corev1.HostPathType) *HostPathVolumeSourceDie
- type ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) DeepCopy() *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) DieFeed(r corev1.ISCSIPersistentVolumeSource) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) DieFeedJSON(j []byte) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) DieFeedPtr(r *corev1.ISCSIPersistentVolumeSource) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) DieFeedYAML(y []byte) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) DieFeedYAMLFile(name string) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) DieImmutable(immutable bool) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) DieRelease() corev1.ISCSIPersistentVolumeSource
- func (d *ISCSIPersistentVolumeSourceDie) DieReleaseJSON() []byte
- func (d *ISCSIPersistentVolumeSourceDie) DieReleasePtr() *corev1.ISCSIPersistentVolumeSource
- func (d *ISCSIPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ISCSIPersistentVolumeSourceDie) DieReleaseYAML() []byte
- func (d *ISCSIPersistentVolumeSourceDie) DieStamp(fn func(r *corev1.ISCSIPersistentVolumeSource)) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) DieWith(fns ...func(d *ISCSIPersistentVolumeSourceDie)) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) DiscoveryCHAPAuth(v bool) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) FSType(v string) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) IQN(v string) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) ISCSIInterface(v string) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) InitiatorName(v *string) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) Lun(v int32) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) Portals(v ...string) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) ReadOnly(v bool) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) SecretRef(v *corev1.SecretReference) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) SecretRefDie(fn func(d *SecretReferenceDie)) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) SessionCHAPAuth(v bool) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) TargetPortal(v string) *ISCSIPersistentVolumeSourceDie
- type ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) DeepCopy() *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) DieFeed(r corev1.ISCSIVolumeSource) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) DieFeedJSON(j []byte) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) DieFeedPtr(r *corev1.ISCSIVolumeSource) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) DieFeedYAML(y []byte) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) DieFeedYAMLFile(name string) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) DieImmutable(immutable bool) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) DieRelease() corev1.ISCSIVolumeSource
- func (d *ISCSIVolumeSourceDie) DieReleaseJSON() []byte
- func (d *ISCSIVolumeSourceDie) DieReleasePtr() *corev1.ISCSIVolumeSource
- func (d *ISCSIVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ISCSIVolumeSourceDie) DieReleaseYAML() []byte
- func (d *ISCSIVolumeSourceDie) DieStamp(fn func(r *corev1.ISCSIVolumeSource)) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) DieStampAt(jp string, fn interface{}) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) DieWith(fns ...func(d *ISCSIVolumeSourceDie)) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) DiscoveryCHAPAuth(v bool) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) FSType(v string) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) IQN(v string) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) ISCSIInterface(v string) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) InitiatorName(v *string) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) Lun(v int32) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) Portals(v ...string) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) ReadOnly(v bool) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) SecretRef(v *corev1.LocalObjectReference) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) SecretRefDie(fn func(d *LocalObjectReferenceDie)) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) SessionCHAPAuth(v bool) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) TargetPortal(v string) *ISCSIVolumeSourceDie
- type KeyToPathDie
- func (d *KeyToPathDie) DeepCopy() *KeyToPathDie
- func (d *KeyToPathDie) DieFeed(r corev1.KeyToPath) *KeyToPathDie
- func (d *KeyToPathDie) DieFeedJSON(j []byte) *KeyToPathDie
- func (d *KeyToPathDie) DieFeedPtr(r *corev1.KeyToPath) *KeyToPathDie
- func (d *KeyToPathDie) DieFeedRawExtension(raw runtime.RawExtension) *KeyToPathDie
- func (d *KeyToPathDie) DieFeedYAML(y []byte) *KeyToPathDie
- func (d *KeyToPathDie) DieFeedYAMLFile(name string) *KeyToPathDie
- func (d *KeyToPathDie) DieImmutable(immutable bool) *KeyToPathDie
- func (d *KeyToPathDie) DieRelease() corev1.KeyToPath
- func (d *KeyToPathDie) DieReleaseJSON() []byte
- func (d *KeyToPathDie) DieReleasePtr() *corev1.KeyToPath
- func (d *KeyToPathDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *KeyToPathDie) DieReleaseYAML() []byte
- func (d *KeyToPathDie) DieStamp(fn func(r *corev1.KeyToPath)) *KeyToPathDie
- func (d *KeyToPathDie) DieStampAt(jp string, fn interface{}) *KeyToPathDie
- func (d *KeyToPathDie) DieWith(fns ...func(d *KeyToPathDie)) *KeyToPathDie
- func (d *KeyToPathDie) Key(v string) *KeyToPathDie
- func (d *KeyToPathDie) Mode(v *int32) *KeyToPathDie
- func (d *KeyToPathDie) Path(v string) *KeyToPathDie
- type LifecycleDie
- func (d *LifecycleDie) DeepCopy() *LifecycleDie
- func (d *LifecycleDie) DieFeed(r corev1.Lifecycle) *LifecycleDie
- func (d *LifecycleDie) DieFeedJSON(j []byte) *LifecycleDie
- func (d *LifecycleDie) DieFeedPtr(r *corev1.Lifecycle) *LifecycleDie
- func (d *LifecycleDie) DieFeedRawExtension(raw runtime.RawExtension) *LifecycleDie
- func (d *LifecycleDie) DieFeedYAML(y []byte) *LifecycleDie
- func (d *LifecycleDie) DieFeedYAMLFile(name string) *LifecycleDie
- func (d *LifecycleDie) DieImmutable(immutable bool) *LifecycleDie
- func (d *LifecycleDie) DieRelease() corev1.Lifecycle
- func (d *LifecycleDie) DieReleaseJSON() []byte
- func (d *LifecycleDie) DieReleasePtr() *corev1.Lifecycle
- func (d *LifecycleDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *LifecycleDie) DieReleaseYAML() []byte
- func (d *LifecycleDie) DieStamp(fn func(r *corev1.Lifecycle)) *LifecycleDie
- func (d *LifecycleDie) DieStampAt(jp string, fn interface{}) *LifecycleDie
- func (d *LifecycleDie) DieWith(fns ...func(d *LifecycleDie)) *LifecycleDie
- func (d *LifecycleDie) PostStart(v *corev1.LifecycleHandler) *LifecycleDie
- func (d *LifecycleDie) PostStartDie(fn func(d *LifecycleHandlerDie)) *LifecycleDie
- func (d *LifecycleDie) PreStop(v *corev1.LifecycleHandler) *LifecycleDie
- func (d *LifecycleDie) PreStopDie(fn func(d *LifecycleHandlerDie)) *LifecycleDie
- type LifecycleHandlerDie
- func (d *LifecycleHandlerDie) DeepCopy() *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) DieFeed(r corev1.LifecycleHandler) *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) DieFeedJSON(j []byte) *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) DieFeedPtr(r *corev1.LifecycleHandler) *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) DieFeedRawExtension(raw runtime.RawExtension) *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) DieFeedYAML(y []byte) *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) DieFeedYAMLFile(name string) *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) DieImmutable(immutable bool) *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) DieRelease() corev1.LifecycleHandler
- func (d *LifecycleHandlerDie) DieReleaseJSON() []byte
- func (d *LifecycleHandlerDie) DieReleasePtr() *corev1.LifecycleHandler
- func (d *LifecycleHandlerDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *LifecycleHandlerDie) DieReleaseYAML() []byte
- func (d *LifecycleHandlerDie) DieStamp(fn func(r *corev1.LifecycleHandler)) *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) DieStampAt(jp string, fn interface{}) *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) DieWith(fns ...func(d *LifecycleHandlerDie)) *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) Exec(v *corev1.ExecAction) *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) ExecDie(fn func(d *ExecActionDie)) *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) HTTPGet(v *corev1.HTTPGetAction) *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) HTTPGetDie(fn func(d *HTTPGetActionDie)) *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) Sleep(v *corev1.SleepAction) *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) SleepDie(fn func(d *SleepActionDie)) *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) TCPSocket(v *corev1.TCPSocketAction) *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) TCPSocketDie(fn func(d *TCPSocketActionDie)) *LifecycleHandlerDie
- type LimitRangeDie
- func (d *LimitRangeDie) APIVersion(v string) *LimitRangeDie
- func (d *LimitRangeDie) DeepCopy() *LimitRangeDie
- func (d *LimitRangeDie) DeepCopyObject() runtime.Object
- func (d *LimitRangeDie) DieFeed(r corev1.LimitRange) *LimitRangeDie
- func (d *LimitRangeDie) DieFeedJSON(j []byte) *LimitRangeDie
- func (d *LimitRangeDie) DieFeedPtr(r *corev1.LimitRange) *LimitRangeDie
- func (d *LimitRangeDie) DieFeedRawExtension(raw runtime.RawExtension) *LimitRangeDie
- func (d *LimitRangeDie) DieFeedYAML(y []byte) *LimitRangeDie
- func (d *LimitRangeDie) DieFeedYAMLFile(name string) *LimitRangeDie
- func (d *LimitRangeDie) DieImmutable(immutable bool) *LimitRangeDie
- func (d *LimitRangeDie) DieRelease() corev1.LimitRange
- func (d *LimitRangeDie) DieReleaseJSON() []byte
- func (d *LimitRangeDie) DieReleasePtr() *corev1.LimitRange
- func (d *LimitRangeDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *LimitRangeDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *LimitRangeDie) DieReleaseYAML() []byte
- func (d *LimitRangeDie) DieStamp(fn func(r *corev1.LimitRange)) *LimitRangeDie
- func (d *LimitRangeDie) DieStampAt(jp string, fn interface{}) *LimitRangeDie
- func (d *LimitRangeDie) DieWith(fns ...func(d *LimitRangeDie)) *LimitRangeDie
- func (d *LimitRangeDie) GetObjectKind() schema.ObjectKind
- func (d *LimitRangeDie) Kind(v string) *LimitRangeDie
- func (d *LimitRangeDie) MarshalJSON() ([]byte, error)
- func (d *LimitRangeDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *LimitRangeDie
- func (d *LimitRangeDie) Spec(v corev1.LimitRangeSpec) *LimitRangeDie
- func (d *LimitRangeDie) SpecDie(fn func(d *LimitRangeSpecDie)) *LimitRangeDie
- func (d *LimitRangeDie) UnmarshalJSON(b []byte) error
- type LimitRangeItemDie
- func (d *LimitRangeItemDie) AddDefault(name corev1.ResourceName, quantity resource.Quantity) *LimitRangeItemDie
- func (d *LimitRangeItemDie) AddDefaultRequest(name corev1.ResourceName, quantity resource.Quantity) *LimitRangeItemDie
- func (d *LimitRangeItemDie) AddDefaultRequestString(name corev1.ResourceName, quantity string) *LimitRangeItemDie
- func (d *LimitRangeItemDie) AddDefaultString(name corev1.ResourceName, quantity string) *LimitRangeItemDie
- func (d *LimitRangeItemDie) AddMax(name corev1.ResourceName, quantity resource.Quantity) *LimitRangeItemDie
- func (d *LimitRangeItemDie) AddMaxLimitRequestRatio(name corev1.ResourceName, quantity resource.Quantity) *LimitRangeItemDie
- func (d *LimitRangeItemDie) AddMaxLimitRequestRatioString(name corev1.ResourceName, quantity string) *LimitRangeItemDie
- func (d *LimitRangeItemDie) AddMaxString(name corev1.ResourceName, quantity string) *LimitRangeItemDie
- func (d *LimitRangeItemDie) AddMin(name corev1.ResourceName, quantity resource.Quantity) *LimitRangeItemDie
- func (d *LimitRangeItemDie) AddMinString(name corev1.ResourceName, quantity string) *LimitRangeItemDie
- func (d *LimitRangeItemDie) DeepCopy() *LimitRangeItemDie
- func (d *LimitRangeItemDie) Default(v corev1.ResourceList) *LimitRangeItemDie
- func (d *LimitRangeItemDie) DefaultRequest(v corev1.ResourceList) *LimitRangeItemDie
- func (d *LimitRangeItemDie) DieFeed(r corev1.LimitRangeItem) *LimitRangeItemDie
- func (d *LimitRangeItemDie) DieFeedJSON(j []byte) *LimitRangeItemDie
- func (d *LimitRangeItemDie) DieFeedPtr(r *corev1.LimitRangeItem) *LimitRangeItemDie
- func (d *LimitRangeItemDie) DieFeedRawExtension(raw runtime.RawExtension) *LimitRangeItemDie
- func (d *LimitRangeItemDie) DieFeedYAML(y []byte) *LimitRangeItemDie
- func (d *LimitRangeItemDie) DieFeedYAMLFile(name string) *LimitRangeItemDie
- func (d *LimitRangeItemDie) DieImmutable(immutable bool) *LimitRangeItemDie
- func (d *LimitRangeItemDie) DieRelease() corev1.LimitRangeItem
- func (d *LimitRangeItemDie) DieReleaseJSON() []byte
- func (d *LimitRangeItemDie) DieReleasePtr() *corev1.LimitRangeItem
- func (d *LimitRangeItemDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *LimitRangeItemDie) DieReleaseYAML() []byte
- func (d *LimitRangeItemDie) DieStamp(fn func(r *corev1.LimitRangeItem)) *LimitRangeItemDie
- func (d *LimitRangeItemDie) DieStampAt(jp string, fn interface{}) *LimitRangeItemDie
- func (d *LimitRangeItemDie) DieWith(fns ...func(d *LimitRangeItemDie)) *LimitRangeItemDie
- func (d *LimitRangeItemDie) Max(v corev1.ResourceList) *LimitRangeItemDie
- func (d *LimitRangeItemDie) MaxLimitRequestRatio(v corev1.ResourceList) *LimitRangeItemDie
- func (d *LimitRangeItemDie) Min(v corev1.ResourceList) *LimitRangeItemDie
- func (d *LimitRangeItemDie) Type(v corev1.LimitType) *LimitRangeItemDie
- type LimitRangeSpecDie
- func (d *LimitRangeSpecDie) DeepCopy() *LimitRangeSpecDie
- func (d *LimitRangeSpecDie) DieFeed(r corev1.LimitRangeSpec) *LimitRangeSpecDie
- func (d *LimitRangeSpecDie) DieFeedJSON(j []byte) *LimitRangeSpecDie
- func (d *LimitRangeSpecDie) DieFeedPtr(r *corev1.LimitRangeSpec) *LimitRangeSpecDie
- func (d *LimitRangeSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *LimitRangeSpecDie
- func (d *LimitRangeSpecDie) DieFeedYAML(y []byte) *LimitRangeSpecDie
- func (d *LimitRangeSpecDie) DieFeedYAMLFile(name string) *LimitRangeSpecDie
- func (d *LimitRangeSpecDie) DieImmutable(immutable bool) *LimitRangeSpecDie
- func (d *LimitRangeSpecDie) DieRelease() corev1.LimitRangeSpec
- func (d *LimitRangeSpecDie) DieReleaseJSON() []byte
- func (d *LimitRangeSpecDie) DieReleasePtr() *corev1.LimitRangeSpec
- func (d *LimitRangeSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *LimitRangeSpecDie) DieReleaseYAML() []byte
- func (d *LimitRangeSpecDie) DieStamp(fn func(r *corev1.LimitRangeSpec)) *LimitRangeSpecDie
- func (d *LimitRangeSpecDie) DieStampAt(jp string, fn interface{}) *LimitRangeSpecDie
- func (d *LimitRangeSpecDie) DieWith(fns ...func(d *LimitRangeSpecDie)) *LimitRangeSpecDie
- func (d *LimitRangeSpecDie) Limits(v ...corev1.LimitRangeItem) *LimitRangeSpecDie
- func (d *LimitRangeSpecDie) LimitsDie(limits ...*LimitRangeItemDie) *LimitRangeSpecDie
- type LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) DeepCopy() *LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) DieFeed(r corev1.LoadBalancerIngress) *LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) DieFeedJSON(j []byte) *LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) DieFeedPtr(r *corev1.LoadBalancerIngress) *LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) DieFeedRawExtension(raw runtime.RawExtension) *LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) DieFeedYAML(y []byte) *LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) DieFeedYAMLFile(name string) *LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) DieImmutable(immutable bool) *LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) DieRelease() corev1.LoadBalancerIngress
- func (d *LoadBalancerIngressDie) DieReleaseJSON() []byte
- func (d *LoadBalancerIngressDie) DieReleasePtr() *corev1.LoadBalancerIngress
- func (d *LoadBalancerIngressDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *LoadBalancerIngressDie) DieReleaseYAML() []byte
- func (d *LoadBalancerIngressDie) DieStamp(fn func(r *corev1.LoadBalancerIngress)) *LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) DieStampAt(jp string, fn interface{}) *LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) DieWith(fns ...func(d *LoadBalancerIngressDie)) *LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) Hostname(v string) *LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) IP(v string) *LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) IPMode(v *corev1.LoadBalancerIPMode) *LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) Ports(v ...corev1.PortStatus) *LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) PortsDie(ports ...*PortStatusDie) *LoadBalancerIngressDie
- type LoadBalancerStatusDie
- func (d *LoadBalancerStatusDie) DeepCopy() *LoadBalancerStatusDie
- func (d *LoadBalancerStatusDie) DieFeed(r corev1.LoadBalancerStatus) *LoadBalancerStatusDie
- func (d *LoadBalancerStatusDie) DieFeedJSON(j []byte) *LoadBalancerStatusDie
- func (d *LoadBalancerStatusDie) DieFeedPtr(r *corev1.LoadBalancerStatus) *LoadBalancerStatusDie
- func (d *LoadBalancerStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *LoadBalancerStatusDie
- func (d *LoadBalancerStatusDie) DieFeedYAML(y []byte) *LoadBalancerStatusDie
- func (d *LoadBalancerStatusDie) DieFeedYAMLFile(name string) *LoadBalancerStatusDie
- func (d *LoadBalancerStatusDie) DieImmutable(immutable bool) *LoadBalancerStatusDie
- func (d *LoadBalancerStatusDie) DieRelease() corev1.LoadBalancerStatus
- func (d *LoadBalancerStatusDie) DieReleaseJSON() []byte
- func (d *LoadBalancerStatusDie) DieReleasePtr() *corev1.LoadBalancerStatus
- func (d *LoadBalancerStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *LoadBalancerStatusDie) DieReleaseYAML() []byte
- func (d *LoadBalancerStatusDie) DieStamp(fn func(r *corev1.LoadBalancerStatus)) *LoadBalancerStatusDie
- func (d *LoadBalancerStatusDie) DieStampAt(jp string, fn interface{}) *LoadBalancerStatusDie
- func (d *LoadBalancerStatusDie) DieWith(fns ...func(d *LoadBalancerStatusDie)) *LoadBalancerStatusDie
- func (d *LoadBalancerStatusDie) Ingress(v ...corev1.LoadBalancerIngress) *LoadBalancerStatusDie
- func (d *LoadBalancerStatusDie) LoadBalancerDie(ingress ...*LoadBalancerIngressDie) *LoadBalancerStatusDie
- type LocalObjectReferenceDie
- func (d *LocalObjectReferenceDie) DeepCopy() *LocalObjectReferenceDie
- func (d *LocalObjectReferenceDie) DieFeed(r corev1.LocalObjectReference) *LocalObjectReferenceDie
- func (d *LocalObjectReferenceDie) DieFeedJSON(j []byte) *LocalObjectReferenceDie
- func (d *LocalObjectReferenceDie) DieFeedPtr(r *corev1.LocalObjectReference) *LocalObjectReferenceDie
- func (d *LocalObjectReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *LocalObjectReferenceDie
- func (d *LocalObjectReferenceDie) DieFeedYAML(y []byte) *LocalObjectReferenceDie
- func (d *LocalObjectReferenceDie) DieFeedYAMLFile(name string) *LocalObjectReferenceDie
- func (d *LocalObjectReferenceDie) DieImmutable(immutable bool) *LocalObjectReferenceDie
- func (d *LocalObjectReferenceDie) DieRelease() corev1.LocalObjectReference
- func (d *LocalObjectReferenceDie) DieReleaseJSON() []byte
- func (d *LocalObjectReferenceDie) DieReleasePtr() *corev1.LocalObjectReference
- func (d *LocalObjectReferenceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *LocalObjectReferenceDie) DieReleaseYAML() []byte
- func (d *LocalObjectReferenceDie) DieStamp(fn func(r *corev1.LocalObjectReference)) *LocalObjectReferenceDie
- func (d *LocalObjectReferenceDie) DieStampAt(jp string, fn interface{}) *LocalObjectReferenceDie
- func (d *LocalObjectReferenceDie) DieWith(fns ...func(d *LocalObjectReferenceDie)) *LocalObjectReferenceDie
- func (d *LocalObjectReferenceDie) Name(v string) *LocalObjectReferenceDie
- type LocalVolumeSourceDie
- func (d *LocalVolumeSourceDie) DeepCopy() *LocalVolumeSourceDie
- func (d *LocalVolumeSourceDie) DieFeed(r corev1.LocalVolumeSource) *LocalVolumeSourceDie
- func (d *LocalVolumeSourceDie) DieFeedJSON(j []byte) *LocalVolumeSourceDie
- func (d *LocalVolumeSourceDie) DieFeedPtr(r *corev1.LocalVolumeSource) *LocalVolumeSourceDie
- func (d *LocalVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *LocalVolumeSourceDie
- func (d *LocalVolumeSourceDie) DieFeedYAML(y []byte) *LocalVolumeSourceDie
- func (d *LocalVolumeSourceDie) DieFeedYAMLFile(name string) *LocalVolumeSourceDie
- func (d *LocalVolumeSourceDie) DieImmutable(immutable bool) *LocalVolumeSourceDie
- func (d *LocalVolumeSourceDie) DieRelease() corev1.LocalVolumeSource
- func (d *LocalVolumeSourceDie) DieReleaseJSON() []byte
- func (d *LocalVolumeSourceDie) DieReleasePtr() *corev1.LocalVolumeSource
- func (d *LocalVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *LocalVolumeSourceDie) DieReleaseYAML() []byte
- func (d *LocalVolumeSourceDie) DieStamp(fn func(r *corev1.LocalVolumeSource)) *LocalVolumeSourceDie
- func (d *LocalVolumeSourceDie) DieStampAt(jp string, fn interface{}) *LocalVolumeSourceDie
- func (d *LocalVolumeSourceDie) DieWith(fns ...func(d *LocalVolumeSourceDie)) *LocalVolumeSourceDie
- func (d *LocalVolumeSourceDie) FSType(v *string) *LocalVolumeSourceDie
- func (d *LocalVolumeSourceDie) Path(v string) *LocalVolumeSourceDie
- type ModifyVolumeStatusDie
- func (d *ModifyVolumeStatusDie) DeepCopy() *ModifyVolumeStatusDie
- func (d *ModifyVolumeStatusDie) DieFeed(r corev1.ModifyVolumeStatus) *ModifyVolumeStatusDie
- func (d *ModifyVolumeStatusDie) DieFeedJSON(j []byte) *ModifyVolumeStatusDie
- func (d *ModifyVolumeStatusDie) DieFeedPtr(r *corev1.ModifyVolumeStatus) *ModifyVolumeStatusDie
- func (d *ModifyVolumeStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ModifyVolumeStatusDie
- func (d *ModifyVolumeStatusDie) DieFeedYAML(y []byte) *ModifyVolumeStatusDie
- func (d *ModifyVolumeStatusDie) DieFeedYAMLFile(name string) *ModifyVolumeStatusDie
- func (d *ModifyVolumeStatusDie) DieImmutable(immutable bool) *ModifyVolumeStatusDie
- func (d *ModifyVolumeStatusDie) DieRelease() corev1.ModifyVolumeStatus
- func (d *ModifyVolumeStatusDie) DieReleaseJSON() []byte
- func (d *ModifyVolumeStatusDie) DieReleasePtr() *corev1.ModifyVolumeStatus
- func (d *ModifyVolumeStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ModifyVolumeStatusDie) DieReleaseYAML() []byte
- func (d *ModifyVolumeStatusDie) DieStamp(fn func(r *corev1.ModifyVolumeStatus)) *ModifyVolumeStatusDie
- func (d *ModifyVolumeStatusDie) DieStampAt(jp string, fn interface{}) *ModifyVolumeStatusDie
- func (d *ModifyVolumeStatusDie) DieWith(fns ...func(d *ModifyVolumeStatusDie)) *ModifyVolumeStatusDie
- func (d *ModifyVolumeStatusDie) Status(v corev1.PersistentVolumeClaimModifyVolumeStatus) *ModifyVolumeStatusDie
- func (d *ModifyVolumeStatusDie) TargetVolumeAttributesClassName(v string) *ModifyVolumeStatusDie
- type NFSVolumeSourceDie
- func (d *NFSVolumeSourceDie) DeepCopy() *NFSVolumeSourceDie
- func (d *NFSVolumeSourceDie) DieFeed(r corev1.NFSVolumeSource) *NFSVolumeSourceDie
- func (d *NFSVolumeSourceDie) DieFeedJSON(j []byte) *NFSVolumeSourceDie
- func (d *NFSVolumeSourceDie) DieFeedPtr(r *corev1.NFSVolumeSource) *NFSVolumeSourceDie
- func (d *NFSVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *NFSVolumeSourceDie
- func (d *NFSVolumeSourceDie) DieFeedYAML(y []byte) *NFSVolumeSourceDie
- func (d *NFSVolumeSourceDie) DieFeedYAMLFile(name string) *NFSVolumeSourceDie
- func (d *NFSVolumeSourceDie) DieImmutable(immutable bool) *NFSVolumeSourceDie
- func (d *NFSVolumeSourceDie) DieRelease() corev1.NFSVolumeSource
- func (d *NFSVolumeSourceDie) DieReleaseJSON() []byte
- func (d *NFSVolumeSourceDie) DieReleasePtr() *corev1.NFSVolumeSource
- func (d *NFSVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NFSVolumeSourceDie) DieReleaseYAML() []byte
- func (d *NFSVolumeSourceDie) DieStamp(fn func(r *corev1.NFSVolumeSource)) *NFSVolumeSourceDie
- func (d *NFSVolumeSourceDie) DieStampAt(jp string, fn interface{}) *NFSVolumeSourceDie
- func (d *NFSVolumeSourceDie) DieWith(fns ...func(d *NFSVolumeSourceDie)) *NFSVolumeSourceDie
- func (d *NFSVolumeSourceDie) Path(v string) *NFSVolumeSourceDie
- func (d *NFSVolumeSourceDie) ReadOnly(v bool) *NFSVolumeSourceDie
- func (d *NFSVolumeSourceDie) Server(v string) *NFSVolumeSourceDie
- type NamespaceDie
- func (d *NamespaceDie) APIVersion(v string) *NamespaceDie
- func (d *NamespaceDie) DeepCopy() *NamespaceDie
- func (d *NamespaceDie) DeepCopyObject() runtime.Object
- func (d *NamespaceDie) DieFeed(r corev1.Namespace) *NamespaceDie
- func (d *NamespaceDie) DieFeedJSON(j []byte) *NamespaceDie
- func (d *NamespaceDie) DieFeedPtr(r *corev1.Namespace) *NamespaceDie
- func (d *NamespaceDie) DieFeedRawExtension(raw runtime.RawExtension) *NamespaceDie
- func (d *NamespaceDie) DieFeedYAML(y []byte) *NamespaceDie
- func (d *NamespaceDie) DieFeedYAMLFile(name string) *NamespaceDie
- func (d *NamespaceDie) DieImmutable(immutable bool) *NamespaceDie
- func (d *NamespaceDie) DieRelease() corev1.Namespace
- func (d *NamespaceDie) DieReleaseJSON() []byte
- func (d *NamespaceDie) DieReleasePtr() *corev1.Namespace
- func (d *NamespaceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NamespaceDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *NamespaceDie) DieReleaseYAML() []byte
- func (d *NamespaceDie) DieStamp(fn func(r *corev1.Namespace)) *NamespaceDie
- func (d *NamespaceDie) DieStampAt(jp string, fn interface{}) *NamespaceDie
- func (d *NamespaceDie) DieWith(fns ...func(d *NamespaceDie)) *NamespaceDie
- func (d *NamespaceDie) GetObjectKind() schema.ObjectKind
- func (d *NamespaceDie) Kind(v string) *NamespaceDie
- func (d *NamespaceDie) MarshalJSON() ([]byte, error)
- func (d *NamespaceDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *NamespaceDie
- func (d *NamespaceDie) Spec(v corev1.NamespaceSpec) *NamespaceDie
- func (d *NamespaceDie) SpecDie(fn func(d *NamespaceSpecDie)) *NamespaceDie
- func (d *NamespaceDie) Status(v corev1.NamespaceStatus) *NamespaceDie
- func (d *NamespaceDie) StatusDie(fn func(d *NamespaceStatusDie)) *NamespaceDie
- func (d *NamespaceDie) UnmarshalJSON(b []byte) error
- type NamespaceSpecDie
- func (d *NamespaceSpecDie) DeepCopy() *NamespaceSpecDie
- func (d *NamespaceSpecDie) DieFeed(r corev1.NamespaceSpec) *NamespaceSpecDie
- func (d *NamespaceSpecDie) DieFeedJSON(j []byte) *NamespaceSpecDie
- func (d *NamespaceSpecDie) DieFeedPtr(r *corev1.NamespaceSpec) *NamespaceSpecDie
- func (d *NamespaceSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *NamespaceSpecDie
- func (d *NamespaceSpecDie) DieFeedYAML(y []byte) *NamespaceSpecDie
- func (d *NamespaceSpecDie) DieFeedYAMLFile(name string) *NamespaceSpecDie
- func (d *NamespaceSpecDie) DieImmutable(immutable bool) *NamespaceSpecDie
- func (d *NamespaceSpecDie) DieRelease() corev1.NamespaceSpec
- func (d *NamespaceSpecDie) DieReleaseJSON() []byte
- func (d *NamespaceSpecDie) DieReleasePtr() *corev1.NamespaceSpec
- func (d *NamespaceSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NamespaceSpecDie) DieReleaseYAML() []byte
- func (d *NamespaceSpecDie) DieStamp(fn func(r *corev1.NamespaceSpec)) *NamespaceSpecDie
- func (d *NamespaceSpecDie) DieStampAt(jp string, fn interface{}) *NamespaceSpecDie
- func (d *NamespaceSpecDie) DieWith(fns ...func(d *NamespaceSpecDie)) *NamespaceSpecDie
- func (d *NamespaceSpecDie) Finalizers(v ...corev1.FinalizerName) *NamespaceSpecDie
- type NamespaceStatusDie
- func (d *NamespaceStatusDie) Conditions(v ...corev1.NamespaceCondition) *NamespaceStatusDie
- func (d *NamespaceStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *NamespaceStatusDie
- func (d *NamespaceStatusDie) DeepCopy() *NamespaceStatusDie
- func (d *NamespaceStatusDie) DieFeed(r corev1.NamespaceStatus) *NamespaceStatusDie
- func (d *NamespaceStatusDie) DieFeedJSON(j []byte) *NamespaceStatusDie
- func (d *NamespaceStatusDie) DieFeedPtr(r *corev1.NamespaceStatus) *NamespaceStatusDie
- func (d *NamespaceStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *NamespaceStatusDie
- func (d *NamespaceStatusDie) DieFeedYAML(y []byte) *NamespaceStatusDie
- func (d *NamespaceStatusDie) DieFeedYAMLFile(name string) *NamespaceStatusDie
- func (d *NamespaceStatusDie) DieImmutable(immutable bool) *NamespaceStatusDie
- func (d *NamespaceStatusDie) DieRelease() corev1.NamespaceStatus
- func (d *NamespaceStatusDie) DieReleaseJSON() []byte
- func (d *NamespaceStatusDie) DieReleasePtr() *corev1.NamespaceStatus
- func (d *NamespaceStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NamespaceStatusDie) DieReleaseYAML() []byte
- func (d *NamespaceStatusDie) DieStamp(fn func(r *corev1.NamespaceStatus)) *NamespaceStatusDie
- func (d *NamespaceStatusDie) DieStampAt(jp string, fn interface{}) *NamespaceStatusDie
- func (d *NamespaceStatusDie) DieWith(fns ...func(d *NamespaceStatusDie)) *NamespaceStatusDie
- func (d *NamespaceStatusDie) Phase(v corev1.NamespacePhase) *NamespaceStatusDie
- type NodeAddressDie
- func (d *NodeAddressDie) Address(v string) *NodeAddressDie
- func (d *NodeAddressDie) DeepCopy() *NodeAddressDie
- func (d *NodeAddressDie) DieFeed(r corev1.NodeAddress) *NodeAddressDie
- func (d *NodeAddressDie) DieFeedJSON(j []byte) *NodeAddressDie
- func (d *NodeAddressDie) DieFeedPtr(r *corev1.NodeAddress) *NodeAddressDie
- func (d *NodeAddressDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeAddressDie
- func (d *NodeAddressDie) DieFeedYAML(y []byte) *NodeAddressDie
- func (d *NodeAddressDie) DieFeedYAMLFile(name string) *NodeAddressDie
- func (d *NodeAddressDie) DieImmutable(immutable bool) *NodeAddressDie
- func (d *NodeAddressDie) DieRelease() corev1.NodeAddress
- func (d *NodeAddressDie) DieReleaseJSON() []byte
- func (d *NodeAddressDie) DieReleasePtr() *corev1.NodeAddress
- func (d *NodeAddressDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NodeAddressDie) DieReleaseYAML() []byte
- func (d *NodeAddressDie) DieStamp(fn func(r *corev1.NodeAddress)) *NodeAddressDie
- func (d *NodeAddressDie) DieStampAt(jp string, fn interface{}) *NodeAddressDie
- func (d *NodeAddressDie) DieWith(fns ...func(d *NodeAddressDie)) *NodeAddressDie
- func (d *NodeAddressDie) Type(v corev1.NodeAddressType) *NodeAddressDie
- type NodeConfigSourceDie
- func (d *NodeConfigSourceDie) ConfigMap(v *corev1.ConfigMapNodeConfigSource) *NodeConfigSourceDie
- func (d *NodeConfigSourceDie) ConfigMapDie(fn func(d *ConfigMapNodeConfigSourceDie)) *NodeConfigSourceDie
- func (d *NodeConfigSourceDie) DeepCopy() *NodeConfigSourceDie
- func (d *NodeConfigSourceDie) DieFeed(r corev1.NodeConfigSource) *NodeConfigSourceDie
- func (d *NodeConfigSourceDie) DieFeedJSON(j []byte) *NodeConfigSourceDie
- func (d *NodeConfigSourceDie) DieFeedPtr(r *corev1.NodeConfigSource) *NodeConfigSourceDie
- func (d *NodeConfigSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeConfigSourceDie
- func (d *NodeConfigSourceDie) DieFeedYAML(y []byte) *NodeConfigSourceDie
- func (d *NodeConfigSourceDie) DieFeedYAMLFile(name string) *NodeConfigSourceDie
- func (d *NodeConfigSourceDie) DieImmutable(immutable bool) *NodeConfigSourceDie
- func (d *NodeConfigSourceDie) DieRelease() corev1.NodeConfigSource
- func (d *NodeConfigSourceDie) DieReleaseJSON() []byte
- func (d *NodeConfigSourceDie) DieReleasePtr() *corev1.NodeConfigSource
- func (d *NodeConfigSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NodeConfigSourceDie) DieReleaseYAML() []byte
- func (d *NodeConfigSourceDie) DieStamp(fn func(r *corev1.NodeConfigSource)) *NodeConfigSourceDie
- func (d *NodeConfigSourceDie) DieStampAt(jp string, fn interface{}) *NodeConfigSourceDie
- func (d *NodeConfigSourceDie) DieWith(fns ...func(d *NodeConfigSourceDie)) *NodeConfigSourceDie
- type NodeConfigStatusDie
- func (d *NodeConfigStatusDie) Active(v *corev1.NodeConfigSource) *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) ActiveDie(fn func(d *NodeConfigSourceDie)) *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) Assigned(v *corev1.NodeConfigSource) *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) AssignedDie(fn func(d *NodeConfigSourceDie)) *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) DeepCopy() *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) DieFeed(r corev1.NodeConfigStatus) *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) DieFeedJSON(j []byte) *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) DieFeedPtr(r *corev1.NodeConfigStatus) *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) DieFeedYAML(y []byte) *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) DieFeedYAMLFile(name string) *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) DieImmutable(immutable bool) *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) DieRelease() corev1.NodeConfigStatus
- func (d *NodeConfigStatusDie) DieReleaseJSON() []byte
- func (d *NodeConfigStatusDie) DieReleasePtr() *corev1.NodeConfigStatus
- func (d *NodeConfigStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NodeConfigStatusDie) DieReleaseYAML() []byte
- func (d *NodeConfigStatusDie) DieStamp(fn func(r *corev1.NodeConfigStatus)) *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) DieStampAt(jp string, fn interface{}) *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) DieWith(fns ...func(d *NodeConfigStatusDie)) *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) Error(v string) *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) LastKnownGood(v *corev1.NodeConfigSource) *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) LastKnownGoodDie(fn func(d *NodeConfigSourceDie)) *NodeConfigStatusDie
- type NodeDaemonEndpointsDie
- func (d *NodeDaemonEndpointsDie) DeepCopy() *NodeDaemonEndpointsDie
- func (d *NodeDaemonEndpointsDie) DieFeed(r corev1.NodeDaemonEndpoints) *NodeDaemonEndpointsDie
- func (d *NodeDaemonEndpointsDie) DieFeedJSON(j []byte) *NodeDaemonEndpointsDie
- func (d *NodeDaemonEndpointsDie) DieFeedPtr(r *corev1.NodeDaemonEndpoints) *NodeDaemonEndpointsDie
- func (d *NodeDaemonEndpointsDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeDaemonEndpointsDie
- func (d *NodeDaemonEndpointsDie) DieFeedYAML(y []byte) *NodeDaemonEndpointsDie
- func (d *NodeDaemonEndpointsDie) DieFeedYAMLFile(name string) *NodeDaemonEndpointsDie
- func (d *NodeDaemonEndpointsDie) DieImmutable(immutable bool) *NodeDaemonEndpointsDie
- func (d *NodeDaemonEndpointsDie) DieRelease() corev1.NodeDaemonEndpoints
- func (d *NodeDaemonEndpointsDie) DieReleaseJSON() []byte
- func (d *NodeDaemonEndpointsDie) DieReleasePtr() *corev1.NodeDaemonEndpoints
- func (d *NodeDaemonEndpointsDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NodeDaemonEndpointsDie) DieReleaseYAML() []byte
- func (d *NodeDaemonEndpointsDie) DieStamp(fn func(r *corev1.NodeDaemonEndpoints)) *NodeDaemonEndpointsDie
- func (d *NodeDaemonEndpointsDie) DieStampAt(jp string, fn interface{}) *NodeDaemonEndpointsDie
- func (d *NodeDaemonEndpointsDie) DieWith(fns ...func(d *NodeDaemonEndpointsDie)) *NodeDaemonEndpointsDie
- func (d *NodeDaemonEndpointsDie) KubeletEndpoint(v corev1.DaemonEndpoint) *NodeDaemonEndpointsDie
- func (d *NodeDaemonEndpointsDie) KubeletEndpointDie(fn func(d *DaemonEndpointDie)) *NodeDaemonEndpointsDie
- type NodeDie
- func (d *NodeDie) APIVersion(v string) *NodeDie
- func (d *NodeDie) DeepCopy() *NodeDie
- func (d *NodeDie) DeepCopyObject() runtime.Object
- func (d *NodeDie) DieFeed(r corev1.Node) *NodeDie
- func (d *NodeDie) DieFeedJSON(j []byte) *NodeDie
- func (d *NodeDie) DieFeedPtr(r *corev1.Node) *NodeDie
- func (d *NodeDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeDie
- func (d *NodeDie) DieFeedYAML(y []byte) *NodeDie
- func (d *NodeDie) DieFeedYAMLFile(name string) *NodeDie
- func (d *NodeDie) DieImmutable(immutable bool) *NodeDie
- func (d *NodeDie) DieRelease() corev1.Node
- func (d *NodeDie) DieReleaseJSON() []byte
- func (d *NodeDie) DieReleasePtr() *corev1.Node
- func (d *NodeDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NodeDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *NodeDie) DieReleaseYAML() []byte
- func (d *NodeDie) DieStamp(fn func(r *corev1.Node)) *NodeDie
- func (d *NodeDie) DieStampAt(jp string, fn interface{}) *NodeDie
- func (d *NodeDie) DieWith(fns ...func(d *NodeDie)) *NodeDie
- func (d *NodeDie) GetObjectKind() schema.ObjectKind
- func (d *NodeDie) Kind(v string) *NodeDie
- func (d *NodeDie) MarshalJSON() ([]byte, error)
- func (d *NodeDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *NodeDie
- func (d *NodeDie) Spec(v corev1.NodeSpec) *NodeDie
- func (d *NodeDie) SpecDie(fn func(d *NodeSpecDie)) *NodeDie
- func (d *NodeDie) Status(v corev1.NodeStatus) *NodeDie
- func (d *NodeDie) StatusDie(fn func(d *NodeStatusDie)) *NodeDie
- func (d *NodeDie) UnmarshalJSON(b []byte) error
- type NodeSelectorDie
- func (d *NodeSelectorDie) DeepCopy() *NodeSelectorDie
- func (d *NodeSelectorDie) DieFeed(r corev1.NodeSelector) *NodeSelectorDie
- func (d *NodeSelectorDie) DieFeedJSON(j []byte) *NodeSelectorDie
- func (d *NodeSelectorDie) DieFeedPtr(r *corev1.NodeSelector) *NodeSelectorDie
- func (d *NodeSelectorDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeSelectorDie
- func (d *NodeSelectorDie) DieFeedYAML(y []byte) *NodeSelectorDie
- func (d *NodeSelectorDie) DieFeedYAMLFile(name string) *NodeSelectorDie
- func (d *NodeSelectorDie) DieImmutable(immutable bool) *NodeSelectorDie
- func (d *NodeSelectorDie) DieRelease() corev1.NodeSelector
- func (d *NodeSelectorDie) DieReleaseJSON() []byte
- func (d *NodeSelectorDie) DieReleasePtr() *corev1.NodeSelector
- func (d *NodeSelectorDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NodeSelectorDie) DieReleaseYAML() []byte
- func (d *NodeSelectorDie) DieStamp(fn func(r *corev1.NodeSelector)) *NodeSelectorDie
- func (d *NodeSelectorDie) DieStampAt(jp string, fn interface{}) *NodeSelectorDie
- func (d *NodeSelectorDie) DieWith(fns ...func(d *NodeSelectorDie)) *NodeSelectorDie
- func (d *NodeSelectorDie) NodeSelectorTerms(v ...corev1.NodeSelectorTerm) *NodeSelectorDie
- func (d *NodeSelectorDie) NodeSelectorTermsDie(terms ...*NodeSelectorTermDie) *NodeSelectorDie
- type NodeSelectorRequirementDie
- func (d *NodeSelectorRequirementDie) DeepCopy() *NodeSelectorRequirementDie
- func (d *NodeSelectorRequirementDie) DieFeed(r corev1.NodeSelectorRequirement) *NodeSelectorRequirementDie
- func (d *NodeSelectorRequirementDie) DieFeedJSON(j []byte) *NodeSelectorRequirementDie
- func (d *NodeSelectorRequirementDie) DieFeedPtr(r *corev1.NodeSelectorRequirement) *NodeSelectorRequirementDie
- func (d *NodeSelectorRequirementDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeSelectorRequirementDie
- func (d *NodeSelectorRequirementDie) DieFeedYAML(y []byte) *NodeSelectorRequirementDie
- func (d *NodeSelectorRequirementDie) DieFeedYAMLFile(name string) *NodeSelectorRequirementDie
- func (d *NodeSelectorRequirementDie) DieImmutable(immutable bool) *NodeSelectorRequirementDie
- func (d *NodeSelectorRequirementDie) DieRelease() corev1.NodeSelectorRequirement
- func (d *NodeSelectorRequirementDie) DieReleaseJSON() []byte
- func (d *NodeSelectorRequirementDie) DieReleasePtr() *corev1.NodeSelectorRequirement
- func (d *NodeSelectorRequirementDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NodeSelectorRequirementDie) DieReleaseYAML() []byte
- func (d *NodeSelectorRequirementDie) DieStamp(fn func(r *corev1.NodeSelectorRequirement)) *NodeSelectorRequirementDie
- func (d *NodeSelectorRequirementDie) DieStampAt(jp string, fn interface{}) *NodeSelectorRequirementDie
- func (d *NodeSelectorRequirementDie) DieWith(fns ...func(d *NodeSelectorRequirementDie)) *NodeSelectorRequirementDie
- func (d *NodeSelectorRequirementDie) Key(v string) *NodeSelectorRequirementDie
- func (d *NodeSelectorRequirementDie) Operator(v corev1.NodeSelectorOperator) *NodeSelectorRequirementDie
- func (d *NodeSelectorRequirementDie) Values(v ...string) *NodeSelectorRequirementDie
- type NodeSelectorTermDie
- func (d *NodeSelectorTermDie) DeepCopy() *NodeSelectorTermDie
- func (d *NodeSelectorTermDie) DieFeed(r corev1.NodeSelectorTerm) *NodeSelectorTermDie
- func (d *NodeSelectorTermDie) DieFeedJSON(j []byte) *NodeSelectorTermDie
- func (d *NodeSelectorTermDie) DieFeedPtr(r *corev1.NodeSelectorTerm) *NodeSelectorTermDie
- func (d *NodeSelectorTermDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeSelectorTermDie
- func (d *NodeSelectorTermDie) DieFeedYAML(y []byte) *NodeSelectorTermDie
- func (d *NodeSelectorTermDie) DieFeedYAMLFile(name string) *NodeSelectorTermDie
- func (d *NodeSelectorTermDie) DieImmutable(immutable bool) *NodeSelectorTermDie
- func (d *NodeSelectorTermDie) DieRelease() corev1.NodeSelectorTerm
- func (d *NodeSelectorTermDie) DieReleaseJSON() []byte
- func (d *NodeSelectorTermDie) DieReleasePtr() *corev1.NodeSelectorTerm
- func (d *NodeSelectorTermDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NodeSelectorTermDie) DieReleaseYAML() []byte
- func (d *NodeSelectorTermDie) DieStamp(fn func(r *corev1.NodeSelectorTerm)) *NodeSelectorTermDie
- func (d *NodeSelectorTermDie) DieStampAt(jp string, fn interface{}) *NodeSelectorTermDie
- func (d *NodeSelectorTermDie) DieWith(fns ...func(d *NodeSelectorTermDie)) *NodeSelectorTermDie
- func (d *NodeSelectorTermDie) MatchExpressionDie(key string, fn func(d *NodeSelectorRequirementDie)) *NodeSelectorTermDie
- func (d *NodeSelectorTermDie) MatchExpressions(v ...corev1.NodeSelectorRequirement) *NodeSelectorTermDie
- func (d *NodeSelectorTermDie) MatchFields(v ...corev1.NodeSelectorRequirement) *NodeSelectorTermDie
- func (d *NodeSelectorTermDie) MatchFieldsDie(key string, fn func(d *NodeSelectorRequirementDie)) *NodeSelectorTermDie
- type NodeSpecDie
- func (d *NodeSpecDie) ConfigSource(v *corev1.NodeConfigSource) *NodeSpecDiedeprecated
- func (d *NodeSpecDie) ConfigSourceDie(fn func(d *NodeConfigSourceDie)) *NodeSpecDie
- func (d *NodeSpecDie) DeepCopy() *NodeSpecDie
- func (d *NodeSpecDie) DieFeed(r corev1.NodeSpec) *NodeSpecDie
- func (d *NodeSpecDie) DieFeedJSON(j []byte) *NodeSpecDie
- func (d *NodeSpecDie) DieFeedPtr(r *corev1.NodeSpec) *NodeSpecDie
- func (d *NodeSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeSpecDie
- func (d *NodeSpecDie) DieFeedYAML(y []byte) *NodeSpecDie
- func (d *NodeSpecDie) DieFeedYAMLFile(name string) *NodeSpecDie
- func (d *NodeSpecDie) DieImmutable(immutable bool) *NodeSpecDie
- func (d *NodeSpecDie) DieRelease() corev1.NodeSpec
- func (d *NodeSpecDie) DieReleaseJSON() []byte
- func (d *NodeSpecDie) DieReleasePtr() *corev1.NodeSpec
- func (d *NodeSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NodeSpecDie) DieReleaseYAML() []byte
- func (d *NodeSpecDie) DieStamp(fn func(r *corev1.NodeSpec)) *NodeSpecDie
- func (d *NodeSpecDie) DieStampAt(jp string, fn interface{}) *NodeSpecDie
- func (d *NodeSpecDie) DieWith(fns ...func(d *NodeSpecDie)) *NodeSpecDie
- func (d *NodeSpecDie) DoNotUseExternalID(v string) *NodeSpecDie
- func (d *NodeSpecDie) PodCIDR(v string) *NodeSpecDie
- func (d *NodeSpecDie) PodCIDRs(v ...string) *NodeSpecDie
- func (d *NodeSpecDie) ProviderID(v string) *NodeSpecDie
- func (d *NodeSpecDie) TaintDie(key string, fn func(d *TaintDie)) *NodeSpecDie
- func (d *NodeSpecDie) Taints(v ...corev1.Taint) *NodeSpecDie
- func (d *NodeSpecDie) Unschedulable(v bool) *NodeSpecDie
- type NodeStatusDie
- func (d *NodeStatusDie) AddAllocatable(name corev1.ResourceName, quantity resource.Quantity) *NodeStatusDie
- func (d *NodeStatusDie) AddAllocatableString(name corev1.ResourceName, quantity string) *NodeStatusDie
- func (d *NodeStatusDie) AddCapacity(name corev1.ResourceName, quantity resource.Quantity) *NodeStatusDie
- func (d *NodeStatusDie) AddCapacityString(name corev1.ResourceName, quantity string) *NodeStatusDie
- func (d *NodeStatusDie) Addresses(v ...corev1.NodeAddress) *NodeStatusDie
- func (d *NodeStatusDie) AddresssDie(addresses ...*NodeAddressDie) *NodeStatusDie
- func (d *NodeStatusDie) Allocatable(v corev1.ResourceList) *NodeStatusDie
- func (d *NodeStatusDie) Capacity(v corev1.ResourceList) *NodeStatusDie
- func (d *NodeStatusDie) Conditions(v ...corev1.NodeCondition) *NodeStatusDie
- func (d *NodeStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *NodeStatusDie
- func (d *NodeStatusDie) Config(v *corev1.NodeConfigStatus) *NodeStatusDie
- func (d *NodeStatusDie) ConfigDie(fn func(d *NodeConfigStatusDie)) *NodeStatusDie
- func (d *NodeStatusDie) DaemonEndpoints(v corev1.NodeDaemonEndpoints) *NodeStatusDie
- func (d *NodeStatusDie) DaemonEndpointsDie(fn func(d *NodeDaemonEndpointsDie)) *NodeStatusDie
- func (d *NodeStatusDie) DeepCopy() *NodeStatusDie
- func (d *NodeStatusDie) DieFeed(r corev1.NodeStatus) *NodeStatusDie
- func (d *NodeStatusDie) DieFeedJSON(j []byte) *NodeStatusDie
- func (d *NodeStatusDie) DieFeedPtr(r *corev1.NodeStatus) *NodeStatusDie
- func (d *NodeStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeStatusDie
- func (d *NodeStatusDie) DieFeedYAML(y []byte) *NodeStatusDie
- func (d *NodeStatusDie) DieFeedYAMLFile(name string) *NodeStatusDie
- func (d *NodeStatusDie) DieImmutable(immutable bool) *NodeStatusDie
- func (d *NodeStatusDie) DieRelease() corev1.NodeStatus
- func (d *NodeStatusDie) DieReleaseJSON() []byte
- func (d *NodeStatusDie) DieReleasePtr() *corev1.NodeStatus
- func (d *NodeStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NodeStatusDie) DieReleaseYAML() []byte
- func (d *NodeStatusDie) DieStamp(fn func(r *corev1.NodeStatus)) *NodeStatusDie
- func (d *NodeStatusDie) DieStampAt(jp string, fn interface{}) *NodeStatusDie
- func (d *NodeStatusDie) DieWith(fns ...func(d *NodeStatusDie)) *NodeStatusDie
- func (d *NodeStatusDie) Images(v ...corev1.ContainerImage) *NodeStatusDie
- func (d *NodeStatusDie) ImagesDie(images ...*ContainerImageDie) *NodeStatusDie
- func (d *NodeStatusDie) NodeInfo(v corev1.NodeSystemInfo) *NodeStatusDie
- func (d *NodeStatusDie) NodeInfoDie(fn func(d *NodeSystemInfoDie)) *NodeStatusDie
- func (d *NodeStatusDie) Phase(v corev1.NodePhase) *NodeStatusDie
- func (d *NodeStatusDie) VolumeAttachedDie(name corev1.UniqueVolumeName, fn func(d *AttachedVolumeDie)) *NodeStatusDie
- func (d *NodeStatusDie) VolumesAttached(v ...corev1.AttachedVolume) *NodeStatusDie
- func (d *NodeStatusDie) VolumesInUse(v ...corev1.UniqueVolumeName) *NodeStatusDie
- type NodeSystemInfoDie
- func (d *NodeSystemInfoDie) Architecture(v string) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) BootID(v string) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) ContainerRuntimeVersion(v string) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) DeepCopy() *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) DieFeed(r corev1.NodeSystemInfo) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) DieFeedJSON(j []byte) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) DieFeedPtr(r *corev1.NodeSystemInfo) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) DieFeedYAML(y []byte) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) DieFeedYAMLFile(name string) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) DieImmutable(immutable bool) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) DieRelease() corev1.NodeSystemInfo
- func (d *NodeSystemInfoDie) DieReleaseJSON() []byte
- func (d *NodeSystemInfoDie) DieReleasePtr() *corev1.NodeSystemInfo
- func (d *NodeSystemInfoDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NodeSystemInfoDie) DieReleaseYAML() []byte
- func (d *NodeSystemInfoDie) DieStamp(fn func(r *corev1.NodeSystemInfo)) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) DieStampAt(jp string, fn interface{}) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) DieWith(fns ...func(d *NodeSystemInfoDie)) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) KernelVersion(v string) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) KubeProxyVersion(v string) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) KubeletVersion(v string) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) MachineID(v string) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) OSImage(v string) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) OperatingSystem(v string) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) SystemUUID(v string) *NodeSystemInfoDie
- type ObjectFieldSelectorDie
- func (d *ObjectFieldSelectorDie) APIVersion(v string) *ObjectFieldSelectorDie
- func (d *ObjectFieldSelectorDie) DeepCopy() *ObjectFieldSelectorDie
- func (d *ObjectFieldSelectorDie) DieFeed(r corev1.ObjectFieldSelector) *ObjectFieldSelectorDie
- func (d *ObjectFieldSelectorDie) DieFeedJSON(j []byte) *ObjectFieldSelectorDie
- func (d *ObjectFieldSelectorDie) DieFeedPtr(r *corev1.ObjectFieldSelector) *ObjectFieldSelectorDie
- func (d *ObjectFieldSelectorDie) DieFeedRawExtension(raw runtime.RawExtension) *ObjectFieldSelectorDie
- func (d *ObjectFieldSelectorDie) DieFeedYAML(y []byte) *ObjectFieldSelectorDie
- func (d *ObjectFieldSelectorDie) DieFeedYAMLFile(name string) *ObjectFieldSelectorDie
- func (d *ObjectFieldSelectorDie) DieImmutable(immutable bool) *ObjectFieldSelectorDie
- func (d *ObjectFieldSelectorDie) DieRelease() corev1.ObjectFieldSelector
- func (d *ObjectFieldSelectorDie) DieReleaseJSON() []byte
- func (d *ObjectFieldSelectorDie) DieReleasePtr() *corev1.ObjectFieldSelector
- func (d *ObjectFieldSelectorDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ObjectFieldSelectorDie) DieReleaseYAML() []byte
- func (d *ObjectFieldSelectorDie) DieStamp(fn func(r *corev1.ObjectFieldSelector)) *ObjectFieldSelectorDie
- func (d *ObjectFieldSelectorDie) DieStampAt(jp string, fn interface{}) *ObjectFieldSelectorDie
- func (d *ObjectFieldSelectorDie) DieWith(fns ...func(d *ObjectFieldSelectorDie)) *ObjectFieldSelectorDie
- func (d *ObjectFieldSelectorDie) FieldPath(v string) *ObjectFieldSelectorDie
- type ObjectReferenceDie
- func (d *ObjectReferenceDie) APIVersion(v string) *ObjectReferenceDie
- func (d *ObjectReferenceDie) DeepCopy() *ObjectReferenceDie
- func (d *ObjectReferenceDie) DieFeed(r corev1.ObjectReference) *ObjectReferenceDie
- func (d *ObjectReferenceDie) DieFeedJSON(j []byte) *ObjectReferenceDie
- func (d *ObjectReferenceDie) DieFeedPtr(r *corev1.ObjectReference) *ObjectReferenceDie
- func (d *ObjectReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *ObjectReferenceDie
- func (d *ObjectReferenceDie) DieFeedYAML(y []byte) *ObjectReferenceDie
- func (d *ObjectReferenceDie) DieFeedYAMLFile(name string) *ObjectReferenceDie
- func (d *ObjectReferenceDie) DieImmutable(immutable bool) *ObjectReferenceDie
- func (d *ObjectReferenceDie) DieRelease() corev1.ObjectReference
- func (d *ObjectReferenceDie) DieReleaseJSON() []byte
- func (d *ObjectReferenceDie) DieReleasePtr() *corev1.ObjectReference
- func (d *ObjectReferenceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ObjectReferenceDie) DieReleaseYAML() []byte
- func (d *ObjectReferenceDie) DieStamp(fn func(r *corev1.ObjectReference)) *ObjectReferenceDie
- func (d *ObjectReferenceDie) DieStampAt(jp string, fn interface{}) *ObjectReferenceDie
- func (d *ObjectReferenceDie) DieWith(fns ...func(d *ObjectReferenceDie)) *ObjectReferenceDie
- func (d *ObjectReferenceDie) FieldPath(v string) *ObjectReferenceDie
- func (d *ObjectReferenceDie) Kind(v string) *ObjectReferenceDie
- func (d *ObjectReferenceDie) Name(v string) *ObjectReferenceDie
- func (d *ObjectReferenceDie) Namespace(v string) *ObjectReferenceDie
- func (d *ObjectReferenceDie) ResourceVersion(v string) *ObjectReferenceDie
- func (d *ObjectReferenceDie) UID(v types.UID) *ObjectReferenceDie
- type PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) APIVersion(v string) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) DeepCopy() *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) DeepCopyObject() runtime.Object
- func (d *PersistentVolumeClaimDie) DieFeed(r corev1.PersistentVolumeClaim) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) DieFeedJSON(j []byte) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) DieFeedPtr(r *corev1.PersistentVolumeClaim) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) DieFeedRawExtension(raw runtime.RawExtension) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) DieFeedYAML(y []byte) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) DieFeedYAMLFile(name string) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) DieImmutable(immutable bool) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) DieRelease() corev1.PersistentVolumeClaim
- func (d *PersistentVolumeClaimDie) DieReleaseJSON() []byte
- func (d *PersistentVolumeClaimDie) DieReleasePtr() *corev1.PersistentVolumeClaim
- func (d *PersistentVolumeClaimDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PersistentVolumeClaimDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *PersistentVolumeClaimDie) DieReleaseYAML() []byte
- func (d *PersistentVolumeClaimDie) DieStamp(fn func(r *corev1.PersistentVolumeClaim)) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) DieWith(fns ...func(d *PersistentVolumeClaimDie)) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) GetObjectKind() schema.ObjectKind
- func (d *PersistentVolumeClaimDie) Kind(v string) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) MarshalJSON() ([]byte, error)
- func (d *PersistentVolumeClaimDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) Spec(v corev1.PersistentVolumeClaimSpec) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) SpecDie(fn func(d *PersistentVolumeClaimSpecDie)) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) Status(v corev1.PersistentVolumeClaimStatus) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) StatusDie(fn func(d *PersistentVolumeClaimStatusDie)) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) UnmarshalJSON(b []byte) error
- type PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) AccessModes(v ...corev1.PersistentVolumeAccessMode) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) DataSource(v *corev1.TypedLocalObjectReference) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) DataSourceDie(fn func(d *TypedLocalObjectReferenceDie)) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) DataSourceRef(v *corev1.TypedObjectReference) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) DataSourceRefDie(fn func(d *TypedObjectReferenceDie)) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) DeepCopy() *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) DieFeed(r corev1.PersistentVolumeClaimSpec) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) DieFeedJSON(j []byte) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) DieFeedPtr(r *corev1.PersistentVolumeClaimSpec) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) DieFeedYAML(y []byte) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) DieFeedYAMLFile(name string) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) DieImmutable(immutable bool) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) DieRelease() corev1.PersistentVolumeClaimSpec
- func (d *PersistentVolumeClaimSpecDie) DieReleaseJSON() []byte
- func (d *PersistentVolumeClaimSpecDie) DieReleasePtr() *corev1.PersistentVolumeClaimSpec
- func (d *PersistentVolumeClaimSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PersistentVolumeClaimSpecDie) DieReleaseYAML() []byte
- func (d *PersistentVolumeClaimSpecDie) DieStamp(fn func(r *corev1.PersistentVolumeClaimSpec)) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) DieWith(fns ...func(d *PersistentVolumeClaimSpecDie)) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) Resources(v corev1.VolumeResourceRequirements) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) ResourcesDie(fn func(d *VolumeResourceRequirementsDie)) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) Selector(v *apismetav1.LabelSelector) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) SelectorDie(fn func(d *diemetav1.LabelSelectorDie)) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) StorageClassName(v *string) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) VolumeAttributesClassName(v *string) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) VolumeMode(v *corev1.PersistentVolumeMode) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) VolumeName(v string) *PersistentVolumeClaimSpecDie
- type PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) AccessModes(v ...corev1.PersistentVolumeAccessMode) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) AddAllocatedResourceStatus(name corev1.ResourceName, status corev1.ClaimResourceStatus) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) AddAllocatedResources(name corev1.ResourceName, quantity resource.Quantity) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) AddAllocatedResourcesString(name corev1.ResourceName, quantity string) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) AddCapacity(name corev1.ResourceName, quantity resource.Quantity) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) AddCapacityString(name corev1.ResourceName, quantity string) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) AllocatedResourceStatuses(v map[corev1.ResourceName]corev1.ClaimResourceStatus) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) AllocatedResources(v corev1.ResourceList) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) Capacity(v corev1.ResourceList) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) Conditions(v ...corev1.PersistentVolumeClaimCondition) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) CurrentVolumeAttributesClassName(v *string) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) DeepCopy() *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) DieFeed(r corev1.PersistentVolumeClaimStatus) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) DieFeedJSON(j []byte) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) DieFeedPtr(r *corev1.PersistentVolumeClaimStatus) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) DieFeedYAML(y []byte) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) DieFeedYAMLFile(name string) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) DieImmutable(immutable bool) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) DieRelease() corev1.PersistentVolumeClaimStatus
- func (d *PersistentVolumeClaimStatusDie) DieReleaseJSON() []byte
- func (d *PersistentVolumeClaimStatusDie) DieReleasePtr() *corev1.PersistentVolumeClaimStatus
- func (d *PersistentVolumeClaimStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PersistentVolumeClaimStatusDie) DieReleaseYAML() []byte
- func (d *PersistentVolumeClaimStatusDie) DieStamp(fn func(r *corev1.PersistentVolumeClaimStatus)) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) DieWith(fns ...func(d *PersistentVolumeClaimStatusDie)) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) ModifyVolumeStatus(v *corev1.ModifyVolumeStatus) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) ModifyVolumeStatusDie(fn func(d *ModifyVolumeStatusDie)) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) Phase(v corev1.PersistentVolumeClaimPhase) *PersistentVolumeClaimStatusDie
- type PersistentVolumeClaimTemplateDie
- func (d *PersistentVolumeClaimTemplateDie) DeepCopy() *PersistentVolumeClaimTemplateDie
- func (d *PersistentVolumeClaimTemplateDie) DieFeed(r corev1.PersistentVolumeClaimTemplate) *PersistentVolumeClaimTemplateDie
- func (d *PersistentVolumeClaimTemplateDie) DieFeedJSON(j []byte) *PersistentVolumeClaimTemplateDie
- func (d *PersistentVolumeClaimTemplateDie) DieFeedPtr(r *corev1.PersistentVolumeClaimTemplate) *PersistentVolumeClaimTemplateDie
- func (d *PersistentVolumeClaimTemplateDie) DieFeedRawExtension(raw runtime.RawExtension) *PersistentVolumeClaimTemplateDie
- func (d *PersistentVolumeClaimTemplateDie) DieFeedYAML(y []byte) *PersistentVolumeClaimTemplateDie
- func (d *PersistentVolumeClaimTemplateDie) DieFeedYAMLFile(name string) *PersistentVolumeClaimTemplateDie
- func (d *PersistentVolumeClaimTemplateDie) DieImmutable(immutable bool) *PersistentVolumeClaimTemplateDie
- func (d *PersistentVolumeClaimTemplateDie) DieRelease() corev1.PersistentVolumeClaimTemplate
- func (d *PersistentVolumeClaimTemplateDie) DieReleaseJSON() []byte
- func (d *PersistentVolumeClaimTemplateDie) DieReleasePtr() *corev1.PersistentVolumeClaimTemplate
- func (d *PersistentVolumeClaimTemplateDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PersistentVolumeClaimTemplateDie) DieReleaseYAML() []byte
- func (d *PersistentVolumeClaimTemplateDie) DieStamp(fn func(r *corev1.PersistentVolumeClaimTemplate)) *PersistentVolumeClaimTemplateDie
- func (d *PersistentVolumeClaimTemplateDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeClaimTemplateDie
- func (d *PersistentVolumeClaimTemplateDie) DieWith(fns ...func(d *PersistentVolumeClaimTemplateDie)) *PersistentVolumeClaimTemplateDie
- func (d *PersistentVolumeClaimTemplateDie) MetadataDie(fn func(d *diemetav1.ObjectMetaDie)) *PersistentVolumeClaimTemplateDie
- func (d *PersistentVolumeClaimTemplateDie) ObjectMeta(v apismetav1.ObjectMeta) *PersistentVolumeClaimTemplateDie
- func (d *PersistentVolumeClaimTemplateDie) Spec(v corev1.PersistentVolumeClaimSpec) *PersistentVolumeClaimTemplateDie
- func (d *PersistentVolumeClaimTemplateDie) SpecDie(fn func(d *PersistentVolumeClaimSpecDie)) *PersistentVolumeClaimTemplateDie
- type PersistentVolumeClaimVolumeSourceDie
- func (d *PersistentVolumeClaimVolumeSourceDie) ClaimName(v string) *PersistentVolumeClaimVolumeSourceDie
- func (d *PersistentVolumeClaimVolumeSourceDie) DeepCopy() *PersistentVolumeClaimVolumeSourceDie
- func (d *PersistentVolumeClaimVolumeSourceDie) DieFeed(r corev1.PersistentVolumeClaimVolumeSource) *PersistentVolumeClaimVolumeSourceDie
- func (d *PersistentVolumeClaimVolumeSourceDie) DieFeedJSON(j []byte) *PersistentVolumeClaimVolumeSourceDie
- func (d *PersistentVolumeClaimVolumeSourceDie) DieFeedPtr(r *corev1.PersistentVolumeClaimVolumeSource) *PersistentVolumeClaimVolumeSourceDie
- func (d *PersistentVolumeClaimVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *PersistentVolumeClaimVolumeSourceDie
- func (d *PersistentVolumeClaimVolumeSourceDie) DieFeedYAML(y []byte) *PersistentVolumeClaimVolumeSourceDie
- func (d *PersistentVolumeClaimVolumeSourceDie) DieFeedYAMLFile(name string) *PersistentVolumeClaimVolumeSourceDie
- func (d *PersistentVolumeClaimVolumeSourceDie) DieImmutable(immutable bool) *PersistentVolumeClaimVolumeSourceDie
- func (d *PersistentVolumeClaimVolumeSourceDie) DieRelease() corev1.PersistentVolumeClaimVolumeSource
- func (d *PersistentVolumeClaimVolumeSourceDie) DieReleaseJSON() []byte
- func (d *PersistentVolumeClaimVolumeSourceDie) DieReleasePtr() *corev1.PersistentVolumeClaimVolumeSource
- func (d *PersistentVolumeClaimVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PersistentVolumeClaimVolumeSourceDie) DieReleaseYAML() []byte
- func (d *PersistentVolumeClaimVolumeSourceDie) DieStamp(fn func(r *corev1.PersistentVolumeClaimVolumeSource)) *PersistentVolumeClaimVolumeSourceDie
- func (d *PersistentVolumeClaimVolumeSourceDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeClaimVolumeSourceDie
- func (d *PersistentVolumeClaimVolumeSourceDie) DieWith(fns ...func(d *PersistentVolumeClaimVolumeSourceDie)) *PersistentVolumeClaimVolumeSourceDie
- func (d *PersistentVolumeClaimVolumeSourceDie) ReadOnly(v bool) *PersistentVolumeClaimVolumeSourceDie
- type PersistentVolumeDie
- func (d *PersistentVolumeDie) APIVersion(v string) *PersistentVolumeDie
- func (d *PersistentVolumeDie) DeepCopy() *PersistentVolumeDie
- func (d *PersistentVolumeDie) DeepCopyObject() runtime.Object
- func (d *PersistentVolumeDie) DieFeed(r corev1.PersistentVolume) *PersistentVolumeDie
- func (d *PersistentVolumeDie) DieFeedJSON(j []byte) *PersistentVolumeDie
- func (d *PersistentVolumeDie) DieFeedPtr(r *corev1.PersistentVolume) *PersistentVolumeDie
- func (d *PersistentVolumeDie) DieFeedRawExtension(raw runtime.RawExtension) *PersistentVolumeDie
- func (d *PersistentVolumeDie) DieFeedYAML(y []byte) *PersistentVolumeDie
- func (d *PersistentVolumeDie) DieFeedYAMLFile(name string) *PersistentVolumeDie
- func (d *PersistentVolumeDie) DieImmutable(immutable bool) *PersistentVolumeDie
- func (d *PersistentVolumeDie) DieRelease() corev1.PersistentVolume
- func (d *PersistentVolumeDie) DieReleaseJSON() []byte
- func (d *PersistentVolumeDie) DieReleasePtr() *corev1.PersistentVolume
- func (d *PersistentVolumeDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PersistentVolumeDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *PersistentVolumeDie) DieReleaseYAML() []byte
- func (d *PersistentVolumeDie) DieStamp(fn func(r *corev1.PersistentVolume)) *PersistentVolumeDie
- func (d *PersistentVolumeDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeDie
- func (d *PersistentVolumeDie) DieWith(fns ...func(d *PersistentVolumeDie)) *PersistentVolumeDie
- func (d *PersistentVolumeDie) GetObjectKind() schema.ObjectKind
- func (d *PersistentVolumeDie) Kind(v string) *PersistentVolumeDie
- func (d *PersistentVolumeDie) MarshalJSON() ([]byte, error)
- func (d *PersistentVolumeDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *PersistentVolumeDie
- func (d *PersistentVolumeDie) Spec(v corev1.PersistentVolumeSpec) *PersistentVolumeDie
- func (d *PersistentVolumeDie) SpecDie(fn func(d *PersistentVolumeSpecDie)) *PersistentVolumeDie
- func (d *PersistentVolumeDie) Status(v corev1.PersistentVolumeStatus) *PersistentVolumeDie
- func (d *PersistentVolumeDie) StatusDie(fn func(d *PersistentVolumeStatusDie)) *PersistentVolumeDie
- func (d *PersistentVolumeDie) UnmarshalJSON(b []byte) error
- type PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) AWSElasticBlockStoreDie(fn func(d *AWSElasticBlockStoreVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) AccessModes(v ...corev1.PersistentVolumeAccessMode) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) AddCapacity(name corev1.ResourceName, quantity resource.Quantity) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) AddCapacityString(name corev1.ResourceName, quantity string) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) AzureDiskDie(fn func(d *AzureDiskVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) AzureFileDie(fn func(d *AzureFilePersistentVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) CSIDie(fn func(d *CSIPersistentVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) Capacity(v corev1.ResourceList) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) CephFSDie(fn func(d *CephFSPersistentVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) CinderDie(fn func(d *CinderPersistentVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) ClaimRef(v *corev1.ObjectReference) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) ClaimRefDie(fn func(d *ObjectReferenceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) DeepCopy() *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) DieFeed(r corev1.PersistentVolumeSpec) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) DieFeedJSON(j []byte) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) DieFeedPtr(r *corev1.PersistentVolumeSpec) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) DieFeedYAML(y []byte) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) DieFeedYAMLFile(name string) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) DieImmutable(immutable bool) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) DieRelease() corev1.PersistentVolumeSpec
- func (d *PersistentVolumeSpecDie) DieReleaseJSON() []byte
- func (d *PersistentVolumeSpecDie) DieReleasePtr() *corev1.PersistentVolumeSpec
- func (d *PersistentVolumeSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PersistentVolumeSpecDie) DieReleaseYAML() []byte
- func (d *PersistentVolumeSpecDie) DieStamp(fn func(r *corev1.PersistentVolumeSpec)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) DieWith(fns ...func(d *PersistentVolumeSpecDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) FCDie(fn func(d *FCVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) FlexVolumeDie(fn func(d *FlexPersistentVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) FlockerDie(fn func(d *FlockerVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) GCEPersistentDiskDie(fn func(d *GCEPersistentDiskVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) GlusterfsDie(fn func(d *GlusterfsPersistentVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) HostPathDie(fn func(d *HostPathVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) ISCSIDie(fn func(d *ISCSIPersistentVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) LocalDie(fn func(d *LocalVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) MountOptions(v ...string) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) NFSDie(fn func(d *NFSVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) NodeAffinity(v *corev1.VolumeNodeAffinity) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) NodeAffinityDie(fn func(d *VolumeNodeAffinityDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) PersistentVolumeReclaimPolicy(v corev1.PersistentVolumeReclaimPolicy) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) PersistentVolumeSource(v corev1.PersistentVolumeSource) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) PhotonPersistentDiskDie(fn func(d *PhotonPersistentDiskVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) PortworxVolumeDie(fn func(d *PortworxVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) QuobyteDie(fn func(d *QuobyteVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) RBDDie(fn func(d *RBDPersistentVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) ScaleIODie(fn func(d *ScaleIOPersistentVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) StorageClassName(v string) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) StorageOSDie(fn func(d *StorageOSPersistentVolumeSourceDie)) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) VolumeAttributesClassName(v *string) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) VolumeMode(v *corev1.PersistentVolumeMode) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) VsphereVolumeDie(fn func(d *VsphereVirtualDiskVolumeSourceDie)) *PersistentVolumeSpecDie
- type PersistentVolumeStatusDie
- func (d *PersistentVolumeStatusDie) DeepCopy() *PersistentVolumeStatusDie
- func (d *PersistentVolumeStatusDie) DieFeed(r corev1.PersistentVolumeStatus) *PersistentVolumeStatusDie
- func (d *PersistentVolumeStatusDie) DieFeedJSON(j []byte) *PersistentVolumeStatusDie
- func (d *PersistentVolumeStatusDie) DieFeedPtr(r *corev1.PersistentVolumeStatus) *PersistentVolumeStatusDie
- func (d *PersistentVolumeStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *PersistentVolumeStatusDie
- func (d *PersistentVolumeStatusDie) DieFeedYAML(y []byte) *PersistentVolumeStatusDie
- func (d *PersistentVolumeStatusDie) DieFeedYAMLFile(name string) *PersistentVolumeStatusDie
- func (d *PersistentVolumeStatusDie) DieImmutable(immutable bool) *PersistentVolumeStatusDie
- func (d *PersistentVolumeStatusDie) DieRelease() corev1.PersistentVolumeStatus
- func (d *PersistentVolumeStatusDie) DieReleaseJSON() []byte
- func (d *PersistentVolumeStatusDie) DieReleasePtr() *corev1.PersistentVolumeStatus
- func (d *PersistentVolumeStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PersistentVolumeStatusDie) DieReleaseYAML() []byte
- func (d *PersistentVolumeStatusDie) DieStamp(fn func(r *corev1.PersistentVolumeStatus)) *PersistentVolumeStatusDie
- func (d *PersistentVolumeStatusDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeStatusDie
- func (d *PersistentVolumeStatusDie) DieWith(fns ...func(d *PersistentVolumeStatusDie)) *PersistentVolumeStatusDie
- func (d *PersistentVolumeStatusDie) LastPhaseTransitionTime(v *apismetav1.Time) *PersistentVolumeStatusDie
- func (d *PersistentVolumeStatusDie) Message(v string) *PersistentVolumeStatusDie
- func (d *PersistentVolumeStatusDie) Phase(v corev1.PersistentVolumePhase) *PersistentVolumeStatusDie
- func (d *PersistentVolumeStatusDie) Reason(v string) *PersistentVolumeStatusDie
- type PhotonPersistentDiskVolumeSourceDie
- func (d *PhotonPersistentDiskVolumeSourceDie) DeepCopy() *PhotonPersistentDiskVolumeSourceDie
- func (d *PhotonPersistentDiskVolumeSourceDie) DieFeed(r corev1.PhotonPersistentDiskVolumeSource) *PhotonPersistentDiskVolumeSourceDie
- func (d *PhotonPersistentDiskVolumeSourceDie) DieFeedJSON(j []byte) *PhotonPersistentDiskVolumeSourceDie
- func (d *PhotonPersistentDiskVolumeSourceDie) DieFeedPtr(r *corev1.PhotonPersistentDiskVolumeSource) *PhotonPersistentDiskVolumeSourceDie
- func (d *PhotonPersistentDiskVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *PhotonPersistentDiskVolumeSourceDie
- func (d *PhotonPersistentDiskVolumeSourceDie) DieFeedYAML(y []byte) *PhotonPersistentDiskVolumeSourceDie
- func (d *PhotonPersistentDiskVolumeSourceDie) DieFeedYAMLFile(name string) *PhotonPersistentDiskVolumeSourceDie
- func (d *PhotonPersistentDiskVolumeSourceDie) DieImmutable(immutable bool) *PhotonPersistentDiskVolumeSourceDie
- func (d *PhotonPersistentDiskVolumeSourceDie) DieRelease() corev1.PhotonPersistentDiskVolumeSource
- func (d *PhotonPersistentDiskVolumeSourceDie) DieReleaseJSON() []byte
- func (d *PhotonPersistentDiskVolumeSourceDie) DieReleasePtr() *corev1.PhotonPersistentDiskVolumeSource
- func (d *PhotonPersistentDiskVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PhotonPersistentDiskVolumeSourceDie) DieReleaseYAML() []byte
- func (d *PhotonPersistentDiskVolumeSourceDie) DieStamp(fn func(r *corev1.PhotonPersistentDiskVolumeSource)) *PhotonPersistentDiskVolumeSourceDie
- func (d *PhotonPersistentDiskVolumeSourceDie) DieStampAt(jp string, fn interface{}) *PhotonPersistentDiskVolumeSourceDie
- func (d *PhotonPersistentDiskVolumeSourceDie) DieWith(fns ...func(d *PhotonPersistentDiskVolumeSourceDie)) *PhotonPersistentDiskVolumeSourceDie
- func (d *PhotonPersistentDiskVolumeSourceDie) FSType(v string) *PhotonPersistentDiskVolumeSourceDie
- func (d *PhotonPersistentDiskVolumeSourceDie) PdID(v string) *PhotonPersistentDiskVolumeSourceDie
- type PodDNSConfigDie
- func (d *PodDNSConfigDie) DeepCopy() *PodDNSConfigDie
- func (d *PodDNSConfigDie) DieFeed(r corev1.PodDNSConfig) *PodDNSConfigDie
- func (d *PodDNSConfigDie) DieFeedJSON(j []byte) *PodDNSConfigDie
- func (d *PodDNSConfigDie) DieFeedPtr(r *corev1.PodDNSConfig) *PodDNSConfigDie
- func (d *PodDNSConfigDie) DieFeedRawExtension(raw runtime.RawExtension) *PodDNSConfigDie
- func (d *PodDNSConfigDie) DieFeedYAML(y []byte) *PodDNSConfigDie
- func (d *PodDNSConfigDie) DieFeedYAMLFile(name string) *PodDNSConfigDie
- func (d *PodDNSConfigDie) DieImmutable(immutable bool) *PodDNSConfigDie
- func (d *PodDNSConfigDie) DieRelease() corev1.PodDNSConfig
- func (d *PodDNSConfigDie) DieReleaseJSON() []byte
- func (d *PodDNSConfigDie) DieReleasePtr() *corev1.PodDNSConfig
- func (d *PodDNSConfigDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PodDNSConfigDie) DieReleaseYAML() []byte
- func (d *PodDNSConfigDie) DieStamp(fn func(r *corev1.PodDNSConfig)) *PodDNSConfigDie
- func (d *PodDNSConfigDie) DieStampAt(jp string, fn interface{}) *PodDNSConfigDie
- func (d *PodDNSConfigDie) DieWith(fns ...func(d *PodDNSConfigDie)) *PodDNSConfigDie
- func (d *PodDNSConfigDie) Nameservers(v ...string) *PodDNSConfigDie
- func (d *PodDNSConfigDie) Options(v ...corev1.PodDNSConfigOption) *PodDNSConfigDie
- func (d *PodDNSConfigDie) OptionsDie(options ...*PodDNSConfigOptionDie) *PodDNSConfigDie
- func (d *PodDNSConfigDie) Searches(v ...string) *PodDNSConfigDie
- type PodDNSConfigOptionDie
- func (d *PodDNSConfigOptionDie) DeepCopy() *PodDNSConfigOptionDie
- func (d *PodDNSConfigOptionDie) DieFeed(r corev1.PodDNSConfigOption) *PodDNSConfigOptionDie
- func (d *PodDNSConfigOptionDie) DieFeedJSON(j []byte) *PodDNSConfigOptionDie
- func (d *PodDNSConfigOptionDie) DieFeedPtr(r *corev1.PodDNSConfigOption) *PodDNSConfigOptionDie
- func (d *PodDNSConfigOptionDie) DieFeedRawExtension(raw runtime.RawExtension) *PodDNSConfigOptionDie
- func (d *PodDNSConfigOptionDie) DieFeedYAML(y []byte) *PodDNSConfigOptionDie
- func (d *PodDNSConfigOptionDie) DieFeedYAMLFile(name string) *PodDNSConfigOptionDie
- func (d *PodDNSConfigOptionDie) DieImmutable(immutable bool) *PodDNSConfigOptionDie
- func (d *PodDNSConfigOptionDie) DieRelease() corev1.PodDNSConfigOption
- func (d *PodDNSConfigOptionDie) DieReleaseJSON() []byte
- func (d *PodDNSConfigOptionDie) DieReleasePtr() *corev1.PodDNSConfigOption
- func (d *PodDNSConfigOptionDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PodDNSConfigOptionDie) DieReleaseYAML() []byte
- func (d *PodDNSConfigOptionDie) DieStamp(fn func(r *corev1.PodDNSConfigOption)) *PodDNSConfigOptionDie
- func (d *PodDNSConfigOptionDie) DieStampAt(jp string, fn interface{}) *PodDNSConfigOptionDie
- func (d *PodDNSConfigOptionDie) DieWith(fns ...func(d *PodDNSConfigOptionDie)) *PodDNSConfigOptionDie
- func (d *PodDNSConfigOptionDie) Name(v string) *PodDNSConfigOptionDie
- func (d *PodDNSConfigOptionDie) Value(v *string) *PodDNSConfigOptionDie
- type PodDie
- func (d *PodDie) APIVersion(v string) *PodDie
- func (d *PodDie) DeepCopy() *PodDie
- func (d *PodDie) DeepCopyObject() runtime.Object
- func (d *PodDie) DieFeed(r corev1.Pod) *PodDie
- func (d *PodDie) DieFeedJSON(j []byte) *PodDie
- func (d *PodDie) DieFeedPtr(r *corev1.Pod) *PodDie
- func (d *PodDie) DieFeedRawExtension(raw runtime.RawExtension) *PodDie
- func (d *PodDie) DieFeedYAML(y []byte) *PodDie
- func (d *PodDie) DieFeedYAMLFile(name string) *PodDie
- func (d *PodDie) DieImmutable(immutable bool) *PodDie
- func (d *PodDie) DieRelease() corev1.Pod
- func (d *PodDie) DieReleaseJSON() []byte
- func (d *PodDie) DieReleasePtr() *corev1.Pod
- func (d *PodDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PodDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *PodDie) DieReleaseYAML() []byte
- func (d *PodDie) DieStamp(fn func(r *corev1.Pod)) *PodDie
- func (d *PodDie) DieStampAt(jp string, fn interface{}) *PodDie
- func (d *PodDie) DieWith(fns ...func(d *PodDie)) *PodDie
- func (d *PodDie) GetObjectKind() schema.ObjectKind
- func (d *PodDie) Kind(v string) *PodDie
- func (d *PodDie) MarshalJSON() ([]byte, error)
- func (d *PodDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *PodDie
- func (d *PodDie) Spec(v corev1.PodSpec) *PodDie
- func (d *PodDie) SpecDie(fn func(d *PodSpecDie)) *PodDie
- func (d *PodDie) Status(v corev1.PodStatus) *PodDie
- func (d *PodDie) StatusDie(fn func(d *PodStatusDie)) *PodDie
- func (d *PodDie) UnmarshalJSON(b []byte) error
- type PodOSDie
- func (d *PodOSDie) DeepCopy() *PodOSDie
- func (d *PodOSDie) DieFeed(r corev1.PodOS) *PodOSDie
- func (d *PodOSDie) DieFeedJSON(j []byte) *PodOSDie
- func (d *PodOSDie) DieFeedPtr(r *corev1.PodOS) *PodOSDie
- func (d *PodOSDie) DieFeedRawExtension(raw runtime.RawExtension) *PodOSDie
- func (d *PodOSDie) DieFeedYAML(y []byte) *PodOSDie
- func (d *PodOSDie) DieFeedYAMLFile(name string) *PodOSDie
- func (d *PodOSDie) DieImmutable(immutable bool) *PodOSDie
- func (d *PodOSDie) DieRelease() corev1.PodOS
- func (d *PodOSDie) DieReleaseJSON() []byte
- func (d *PodOSDie) DieReleasePtr() *corev1.PodOS
- func (d *PodOSDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PodOSDie) DieReleaseYAML() []byte
- func (d *PodOSDie) DieStamp(fn func(r *corev1.PodOS)) *PodOSDie
- func (d *PodOSDie) DieStampAt(jp string, fn interface{}) *PodOSDie
- func (d *PodOSDie) DieWith(fns ...func(d *PodOSDie)) *PodOSDie
- func (d *PodOSDie) Name(v corev1.OSName) *PodOSDie
- type PodReadinessGateDie
- func (d *PodReadinessGateDie) ConditionType(v corev1.PodConditionType) *PodReadinessGateDie
- func (d *PodReadinessGateDie) DeepCopy() *PodReadinessGateDie
- func (d *PodReadinessGateDie) DieFeed(r corev1.PodReadinessGate) *PodReadinessGateDie
- func (d *PodReadinessGateDie) DieFeedJSON(j []byte) *PodReadinessGateDie
- func (d *PodReadinessGateDie) DieFeedPtr(r *corev1.PodReadinessGate) *PodReadinessGateDie
- func (d *PodReadinessGateDie) DieFeedRawExtension(raw runtime.RawExtension) *PodReadinessGateDie
- func (d *PodReadinessGateDie) DieFeedYAML(y []byte) *PodReadinessGateDie
- func (d *PodReadinessGateDie) DieFeedYAMLFile(name string) *PodReadinessGateDie
- func (d *PodReadinessGateDie) DieImmutable(immutable bool) *PodReadinessGateDie
- func (d *PodReadinessGateDie) DieRelease() corev1.PodReadinessGate
- func (d *PodReadinessGateDie) DieReleaseJSON() []byte
- func (d *PodReadinessGateDie) DieReleasePtr() *corev1.PodReadinessGate
- func (d *PodReadinessGateDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PodReadinessGateDie) DieReleaseYAML() []byte
- func (d *PodReadinessGateDie) DieStamp(fn func(r *corev1.PodReadinessGate)) *PodReadinessGateDie
- func (d *PodReadinessGateDie) DieStampAt(jp string, fn interface{}) *PodReadinessGateDie
- func (d *PodReadinessGateDie) DieWith(fns ...func(d *PodReadinessGateDie)) *PodReadinessGateDie
- type PodResourceClaimDie
- func (d *PodResourceClaimDie) DeepCopy() *PodResourceClaimDie
- func (d *PodResourceClaimDie) DieFeed(r corev1.PodResourceClaim) *PodResourceClaimDie
- func (d *PodResourceClaimDie) DieFeedJSON(j []byte) *PodResourceClaimDie
- func (d *PodResourceClaimDie) DieFeedPtr(r *corev1.PodResourceClaim) *PodResourceClaimDie
- func (d *PodResourceClaimDie) DieFeedRawExtension(raw runtime.RawExtension) *PodResourceClaimDie
- func (d *PodResourceClaimDie) DieFeedYAML(y []byte) *PodResourceClaimDie
- func (d *PodResourceClaimDie) DieFeedYAMLFile(name string) *PodResourceClaimDie
- func (d *PodResourceClaimDie) DieImmutable(immutable bool) *PodResourceClaimDie
- func (d *PodResourceClaimDie) DieRelease() corev1.PodResourceClaim
- func (d *PodResourceClaimDie) DieReleaseJSON() []byte
- func (d *PodResourceClaimDie) DieReleasePtr() *corev1.PodResourceClaim
- func (d *PodResourceClaimDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PodResourceClaimDie) DieReleaseYAML() []byte
- func (d *PodResourceClaimDie) DieStamp(fn func(r *corev1.PodResourceClaim)) *PodResourceClaimDie
- func (d *PodResourceClaimDie) DieStampAt(jp string, fn interface{}) *PodResourceClaimDie
- func (d *PodResourceClaimDie) DieWith(fns ...func(d *PodResourceClaimDie)) *PodResourceClaimDie
- func (d *PodResourceClaimDie) Name(v string) *PodResourceClaimDie
- func (d *PodResourceClaimDie) Source(v corev1.ClaimSource) *PodResourceClaimDie
- func (d *PodResourceClaimDie) SourceDie(fn func(d *ClaimSourceDie)) *PodResourceClaimDie
- type PodSchedulingGateDie
- func (d *PodSchedulingGateDie) DeepCopy() *PodSchedulingGateDie
- func (d *PodSchedulingGateDie) DieFeed(r corev1.PodSchedulingGate) *PodSchedulingGateDie
- func (d *PodSchedulingGateDie) DieFeedJSON(j []byte) *PodSchedulingGateDie
- func (d *PodSchedulingGateDie) DieFeedPtr(r *corev1.PodSchedulingGate) *PodSchedulingGateDie
- func (d *PodSchedulingGateDie) DieFeedRawExtension(raw runtime.RawExtension) *PodSchedulingGateDie
- func (d *PodSchedulingGateDie) DieFeedYAML(y []byte) *PodSchedulingGateDie
- func (d *PodSchedulingGateDie) DieFeedYAMLFile(name string) *PodSchedulingGateDie
- func (d *PodSchedulingGateDie) DieImmutable(immutable bool) *PodSchedulingGateDie
- func (d *PodSchedulingGateDie) DieRelease() corev1.PodSchedulingGate
- func (d *PodSchedulingGateDie) DieReleaseJSON() []byte
- func (d *PodSchedulingGateDie) DieReleasePtr() *corev1.PodSchedulingGate
- func (d *PodSchedulingGateDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PodSchedulingGateDie) DieReleaseYAML() []byte
- func (d *PodSchedulingGateDie) DieStamp(fn func(r *corev1.PodSchedulingGate)) *PodSchedulingGateDie
- func (d *PodSchedulingGateDie) DieStampAt(jp string, fn interface{}) *PodSchedulingGateDie
- func (d *PodSchedulingGateDie) DieWith(fns ...func(d *PodSchedulingGateDie)) *PodSchedulingGateDie
- func (d *PodSchedulingGateDie) Name(v string) *PodSchedulingGateDie
- type PodSecurityContextDie
- func (d *PodSecurityContextDie) DeepCopy() *PodSecurityContextDie
- func (d *PodSecurityContextDie) DieFeed(r corev1.PodSecurityContext) *PodSecurityContextDie
- func (d *PodSecurityContextDie) DieFeedJSON(j []byte) *PodSecurityContextDie
- func (d *PodSecurityContextDie) DieFeedPtr(r *corev1.PodSecurityContext) *PodSecurityContextDie
- func (d *PodSecurityContextDie) DieFeedRawExtension(raw runtime.RawExtension) *PodSecurityContextDie
- func (d *PodSecurityContextDie) DieFeedYAML(y []byte) *PodSecurityContextDie
- func (d *PodSecurityContextDie) DieFeedYAMLFile(name string) *PodSecurityContextDie
- func (d *PodSecurityContextDie) DieImmutable(immutable bool) *PodSecurityContextDie
- func (d *PodSecurityContextDie) DieRelease() corev1.PodSecurityContext
- func (d *PodSecurityContextDie) DieReleaseJSON() []byte
- func (d *PodSecurityContextDie) DieReleasePtr() *corev1.PodSecurityContext
- func (d *PodSecurityContextDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PodSecurityContextDie) DieReleaseYAML() []byte
- func (d *PodSecurityContextDie) DieStamp(fn func(r *corev1.PodSecurityContext)) *PodSecurityContextDie
- func (d *PodSecurityContextDie) DieStampAt(jp string, fn interface{}) *PodSecurityContextDie
- func (d *PodSecurityContextDie) DieWith(fns ...func(d *PodSecurityContextDie)) *PodSecurityContextDie
- func (d *PodSecurityContextDie) FSGroup(v *int64) *PodSecurityContextDie
- func (d *PodSecurityContextDie) FSGroupChangePolicy(v *corev1.PodFSGroupChangePolicy) *PodSecurityContextDie
- func (d *PodSecurityContextDie) RunAsGroup(v *int64) *PodSecurityContextDie
- func (d *PodSecurityContextDie) RunAsNonRoot(v *bool) *PodSecurityContextDie
- func (d *PodSecurityContextDie) RunAsUser(v *int64) *PodSecurityContextDie
- func (d *PodSecurityContextDie) SELinuxOptions(v *corev1.SELinuxOptions) *PodSecurityContextDie
- func (d *PodSecurityContextDie) SELinuxOptionsDie(fn func(d *SELinuxOptionsDie)) *PodSecurityContextDie
- func (d *PodSecurityContextDie) SeccompProfile(v *corev1.SeccompProfile) *PodSecurityContextDie
- func (d *PodSecurityContextDie) SeccompProfileDie(fn func(d *SeccompProfileDie)) *PodSecurityContextDie
- func (d *PodSecurityContextDie) SupplementalGroups(v ...int64) *PodSecurityContextDie
- func (d *PodSecurityContextDie) Sysctls(v ...corev1.Sysctl) *PodSecurityContextDie
- func (d *PodSecurityContextDie) SysctlsDie(sysctls ...*SysctlDie) *PodSecurityContextDie
- func (d *PodSecurityContextDie) WindowsOptions(v *corev1.WindowsSecurityContextOptions) *PodSecurityContextDie
- func (d *PodSecurityContextDie) WindowsOptionsDie(fn func(d *WindowsSecurityContextOptionsDie)) *PodSecurityContextDie
- type PodSpecDie
- func (d *PodSpecDie) ActiveDeadlineSeconds(v *int64) *PodSpecDie
- func (d *PodSpecDie) AddOverhead(name corev1.ResourceName, quantity resource.Quantity) *PodSpecDie
- func (d *PodSpecDie) AddOverheadString(name corev1.ResourceName, quantity string) *PodSpecDie
- func (d *PodSpecDie) Affinity(v *corev1.Affinity) *PodSpecDie
- func (d *PodSpecDie) AutomountServiceAccountToken(v *bool) *PodSpecDie
- func (d *PodSpecDie) ContainerDie(name string, fn func(d *ContainerDie)) *PodSpecDie
- func (d *PodSpecDie) Containers(v ...corev1.Container) *PodSpecDie
- func (d *PodSpecDie) DNSConfig(v *corev1.PodDNSConfig) *PodSpecDie
- func (d *PodSpecDie) DNSConfigDie(fn func(d *PodDNSConfigDie)) *PodSpecDie
- func (d *PodSpecDie) DNSPolicy(v corev1.DNSPolicy) *PodSpecDie
- func (d *PodSpecDie) DeepCopy() *PodSpecDie
- func (d *PodSpecDie) DeprecatedServiceAccount(v string) *PodSpecDiedeprecated
- func (d *PodSpecDie) DieFeed(r corev1.PodSpec) *PodSpecDie
- func (d *PodSpecDie) DieFeedJSON(j []byte) *PodSpecDie
- func (d *PodSpecDie) DieFeedPtr(r *corev1.PodSpec) *PodSpecDie
- func (d *PodSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *PodSpecDie
- func (d *PodSpecDie) DieFeedYAML(y []byte) *PodSpecDie
- func (d *PodSpecDie) DieFeedYAMLFile(name string) *PodSpecDie
- func (d *PodSpecDie) DieImmutable(immutable bool) *PodSpecDie
- func (d *PodSpecDie) DieRelease() corev1.PodSpec
- func (d *PodSpecDie) DieReleaseJSON() []byte
- func (d *PodSpecDie) DieReleasePtr() *corev1.PodSpec
- func (d *PodSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PodSpecDie) DieReleaseYAML() []byte
- func (d *PodSpecDie) DieStamp(fn func(r *corev1.PodSpec)) *PodSpecDie
- func (d *PodSpecDie) DieStampAt(jp string, fn interface{}) *PodSpecDie
- func (d *PodSpecDie) DieWith(fns ...func(d *PodSpecDie)) *PodSpecDie
- func (d *PodSpecDie) EnableServiceLinks(v *bool) *PodSpecDie
- func (d *PodSpecDie) EphemeralContainers(v ...corev1.EphemeralContainer) *PodSpecDie
- func (d *PodSpecDie) HostAliases(v ...corev1.HostAlias) *PodSpecDie
- func (d *PodSpecDie) HostAliasesDie(hosts ...*HostAliasDie) *PodSpecDie
- func (d *PodSpecDie) HostIPC(v bool) *PodSpecDie
- func (d *PodSpecDie) HostNetwork(v bool) *PodSpecDie
- func (d *PodSpecDie) HostPID(v bool) *PodSpecDie
- func (d *PodSpecDie) HostUsers(v *bool) *PodSpecDie
- func (d *PodSpecDie) Hostname(v string) *PodSpecDie
- func (d *PodSpecDie) ImagePullSecrets(v ...corev1.LocalObjectReference) *PodSpecDie
- func (d *PodSpecDie) InitContainerDie(name string, fn func(d *ContainerDie)) *PodSpecDie
- func (d *PodSpecDie) InitContainers(v ...corev1.Container) *PodSpecDie
- func (d *PodSpecDie) NodeName(v string) *PodSpecDie
- func (d *PodSpecDie) NodeSelector(v map[string]string) *PodSpecDie
- func (d *PodSpecDie) OS(v *corev1.PodOS) *PodSpecDie
- func (d *PodSpecDie) OSDie(fn func(d *PodOSDie)) *PodSpecDie
- func (d *PodSpecDie) Overhead(v corev1.ResourceList) *PodSpecDie
- func (d *PodSpecDie) PreemptionPolicy(v *corev1.PreemptionPolicy) *PodSpecDie
- func (d *PodSpecDie) Priority(v *int32) *PodSpecDie
- func (d *PodSpecDie) PriorityClassName(v string) *PodSpecDie
- func (d *PodSpecDie) ReadinessGates(v ...corev1.PodReadinessGate) *PodSpecDie
- func (d *PodSpecDie) ReadinessGatesDie(gates ...*PodReadinessGateDie) *PodSpecDie
- func (d *PodSpecDie) ResourceClaims(v ...corev1.PodResourceClaim) *PodSpecDie
- func (d *PodSpecDie) ResourceClaimsDie(gates ...*PodResourceClaimDie) *PodSpecDie
- func (d *PodSpecDie) RestartPolicy(v corev1.RestartPolicy) *PodSpecDie
- func (d *PodSpecDie) RuntimeClassName(v *string) *PodSpecDie
- func (d *PodSpecDie) SchedulerName(v string) *PodSpecDie
- func (d *PodSpecDie) SchedulingGates(v ...corev1.PodSchedulingGate) *PodSpecDie
- func (d *PodSpecDie) SchedulingGatesDie(gates ...*PodSchedulingGateDie) *PodSpecDie
- func (d *PodSpecDie) SecurityContext(v *corev1.PodSecurityContext) *PodSpecDie
- func (d *PodSpecDie) SecurityContextDie(fn func(d *PodSecurityContextDie)) *PodSpecDie
- func (d *PodSpecDie) ServiceAccountName(v string) *PodSpecDie
- func (d *PodSpecDie) SetHostnameAsFQDN(v *bool) *PodSpecDie
- func (d *PodSpecDie) ShareProcessNamespace(v *bool) *PodSpecDie
- func (d *PodSpecDie) Subdomain(v string) *PodSpecDie
- func (d *PodSpecDie) TerminationGracePeriodSeconds(v *int64) *PodSpecDie
- func (d *PodSpecDie) TolerationDie(key string, fn func(d *TolerationDie)) *PodSpecDie
- func (d *PodSpecDie) Tolerations(v ...corev1.Toleration) *PodSpecDie
- func (d *PodSpecDie) TopologySpreadConstraintDie(topologyKey string, fn func(d *TopologySpreadConstraintDie)) *PodSpecDie
- func (d *PodSpecDie) TopologySpreadConstraints(v ...corev1.TopologySpreadConstraint) *PodSpecDie
- func (d *PodSpecDie) VolumeDie(name string, fn func(d *VolumeDie)) *PodSpecDie
- func (d *PodSpecDie) Volumes(v ...corev1.Volume) *PodSpecDie
- type PodStatusDie
- func (d *PodStatusDie) Conditions(v ...corev1.PodCondition) *PodStatusDie
- func (d *PodStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *PodStatusDie
- func (d *PodStatusDie) ContainerStatusDie(name string, fn func(d *ContainerStatusDie)) *PodStatusDie
- func (d *PodStatusDie) ContainerStatuses(v ...corev1.ContainerStatus) *PodStatusDie
- func (d *PodStatusDie) DeepCopy() *PodStatusDie
- func (d *PodStatusDie) DieFeed(r corev1.PodStatus) *PodStatusDie
- func (d *PodStatusDie) DieFeedJSON(j []byte) *PodStatusDie
- func (d *PodStatusDie) DieFeedPtr(r *corev1.PodStatus) *PodStatusDie
- func (d *PodStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *PodStatusDie
- func (d *PodStatusDie) DieFeedYAML(y []byte) *PodStatusDie
- func (d *PodStatusDie) DieFeedYAMLFile(name string) *PodStatusDie
- func (d *PodStatusDie) DieImmutable(immutable bool) *PodStatusDie
- func (d *PodStatusDie) DieRelease() corev1.PodStatus
- func (d *PodStatusDie) DieReleaseJSON() []byte
- func (d *PodStatusDie) DieReleasePtr() *corev1.PodStatus
- func (d *PodStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PodStatusDie) DieReleaseYAML() []byte
- func (d *PodStatusDie) DieStamp(fn func(r *corev1.PodStatus)) *PodStatusDie
- func (d *PodStatusDie) DieStampAt(jp string, fn interface{}) *PodStatusDie
- func (d *PodStatusDie) DieWith(fns ...func(d *PodStatusDie)) *PodStatusDie
- func (d *PodStatusDie) EphemeralContainerStatusDie(name string, fn func(d *ContainerStatusDie)) *PodStatusDie
- func (d *PodStatusDie) EphemeralContainerStatuses(v ...corev1.ContainerStatus) *PodStatusDie
- func (d *PodStatusDie) HostIP(v string) *PodStatusDie
- func (d *PodStatusDie) HostIPs(v ...corev1.HostIP) *PodStatusDie
- func (d *PodStatusDie) InitContainerStatusDie(name string, fn func(d *ContainerStatusDie)) *PodStatusDie
- func (d *PodStatusDie) InitContainerStatuses(v ...corev1.ContainerStatus) *PodStatusDie
- func (d *PodStatusDie) Message(v string) *PodStatusDie
- func (d *PodStatusDie) NominatedNodeName(v string) *PodStatusDie
- func (d *PodStatusDie) Phase(v corev1.PodPhase) *PodStatusDie
- func (d *PodStatusDie) PodIP(v string) *PodStatusDie
- func (d *PodStatusDie) PodIPs(v ...corev1.PodIP) *PodStatusDie
- func (d *PodStatusDie) QOSClass(v corev1.PodQOSClass) *PodStatusDie
- func (d *PodStatusDie) Reason(v string) *PodStatusDie
- func (d *PodStatusDie) Resize(v corev1.PodResizeStatus) *PodStatusDie
- func (d *PodStatusDie) ResourceClaimStatuses(v ...corev1.PodResourceClaimStatus) *PodStatusDie
- func (d *PodStatusDie) StartTime(v *apismetav1.Time) *PodStatusDie
- type PodTemplateDie
- func (d *PodTemplateDie) APIVersion(v string) *PodTemplateDie
- func (d *PodTemplateDie) DeepCopy() *PodTemplateDie
- func (d *PodTemplateDie) DeepCopyObject() runtime.Object
- func (d *PodTemplateDie) DieFeed(r corev1.PodTemplate) *PodTemplateDie
- func (d *PodTemplateDie) DieFeedJSON(j []byte) *PodTemplateDie
- func (d *PodTemplateDie) DieFeedPtr(r *corev1.PodTemplate) *PodTemplateDie
- func (d *PodTemplateDie) DieFeedRawExtension(raw runtime.RawExtension) *PodTemplateDie
- func (d *PodTemplateDie) DieFeedYAML(y []byte) *PodTemplateDie
- func (d *PodTemplateDie) DieFeedYAMLFile(name string) *PodTemplateDie
- func (d *PodTemplateDie) DieImmutable(immutable bool) *PodTemplateDie
- func (d *PodTemplateDie) DieRelease() corev1.PodTemplate
- func (d *PodTemplateDie) DieReleaseJSON() []byte
- func (d *PodTemplateDie) DieReleasePtr() *corev1.PodTemplate
- func (d *PodTemplateDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PodTemplateDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *PodTemplateDie) DieReleaseYAML() []byte
- func (d *PodTemplateDie) DieStamp(fn func(r *corev1.PodTemplate)) *PodTemplateDie
- func (d *PodTemplateDie) DieStampAt(jp string, fn interface{}) *PodTemplateDie
- func (d *PodTemplateDie) DieWith(fns ...func(d *PodTemplateDie)) *PodTemplateDie
- func (d *PodTemplateDie) GetObjectKind() schema.ObjectKind
- func (d *PodTemplateDie) Kind(v string) *PodTemplateDie
- func (d *PodTemplateDie) MarshalJSON() ([]byte, error)
- func (d *PodTemplateDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *PodTemplateDie
- func (d *PodTemplateDie) Template(v corev1.PodTemplateSpec) *PodTemplateDie
- func (d *PodTemplateDie) TemplateDie(fn func(d *PodTemplateSpecDie)) *PodTemplateDie
- func (d *PodTemplateDie) UnmarshalJSON(b []byte) error
- type PodTemplateSpecDie
- func (d *PodTemplateSpecDie) DeepCopy() *PodTemplateSpecDie
- func (d *PodTemplateSpecDie) DieFeed(r corev1.PodTemplateSpec) *PodTemplateSpecDie
- func (d *PodTemplateSpecDie) DieFeedJSON(j []byte) *PodTemplateSpecDie
- func (d *PodTemplateSpecDie) DieFeedPtr(r *corev1.PodTemplateSpec) *PodTemplateSpecDie
- func (d *PodTemplateSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *PodTemplateSpecDie
- func (d *PodTemplateSpecDie) DieFeedYAML(y []byte) *PodTemplateSpecDie
- func (d *PodTemplateSpecDie) DieFeedYAMLFile(name string) *PodTemplateSpecDie
- func (d *PodTemplateSpecDie) DieImmutable(immutable bool) *PodTemplateSpecDie
- func (d *PodTemplateSpecDie) DieRelease() corev1.PodTemplateSpec
- func (d *PodTemplateSpecDie) DieReleaseJSON() []byte
- func (d *PodTemplateSpecDie) DieReleasePtr() *corev1.PodTemplateSpec
- func (d *PodTemplateSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PodTemplateSpecDie) DieReleaseYAML() []byte
- func (d *PodTemplateSpecDie) DieStamp(fn func(r *corev1.PodTemplateSpec)) *PodTemplateSpecDie
- func (d *PodTemplateSpecDie) DieStampAt(jp string, fn interface{}) *PodTemplateSpecDie
- func (d *PodTemplateSpecDie) DieWith(fns ...func(d *PodTemplateSpecDie)) *PodTemplateSpecDie
- func (d *PodTemplateSpecDie) MetadataDie(fn func(d *diemetav1.ObjectMetaDie)) *PodTemplateSpecDie
- func (d *PodTemplateSpecDie) ObjectMeta(v apismetav1.ObjectMeta) *PodTemplateSpecDie
- func (d *PodTemplateSpecDie) Spec(v corev1.PodSpec) *PodTemplateSpecDie
- func (d *PodTemplateSpecDie) SpecDie(fn func(d *PodSpecDie)) *PodTemplateSpecDie
- type PortStatusDie
- func (d *PortStatusDie) DeepCopy() *PortStatusDie
- func (d *PortStatusDie) DieFeed(r corev1.PortStatus) *PortStatusDie
- func (d *PortStatusDie) DieFeedJSON(j []byte) *PortStatusDie
- func (d *PortStatusDie) DieFeedPtr(r *corev1.PortStatus) *PortStatusDie
- func (d *PortStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *PortStatusDie
- func (d *PortStatusDie) DieFeedYAML(y []byte) *PortStatusDie
- func (d *PortStatusDie) DieFeedYAMLFile(name string) *PortStatusDie
- func (d *PortStatusDie) DieImmutable(immutable bool) *PortStatusDie
- func (d *PortStatusDie) DieRelease() corev1.PortStatus
- func (d *PortStatusDie) DieReleaseJSON() []byte
- func (d *PortStatusDie) DieReleasePtr() *corev1.PortStatus
- func (d *PortStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PortStatusDie) DieReleaseYAML() []byte
- func (d *PortStatusDie) DieStamp(fn func(r *corev1.PortStatus)) *PortStatusDie
- func (d *PortStatusDie) DieStampAt(jp string, fn interface{}) *PortStatusDie
- func (d *PortStatusDie) DieWith(fns ...func(d *PortStatusDie)) *PortStatusDie
- func (d *PortStatusDie) Error(v *string) *PortStatusDie
- func (d *PortStatusDie) Port(v int32) *PortStatusDie
- func (d *PortStatusDie) Protocol(v corev1.Protocol) *PortStatusDie
- type PortworxVolumeSourceDie
- func (d *PortworxVolumeSourceDie) DeepCopy() *PortworxVolumeSourceDie
- func (d *PortworxVolumeSourceDie) DieFeed(r corev1.PortworxVolumeSource) *PortworxVolumeSourceDie
- func (d *PortworxVolumeSourceDie) DieFeedJSON(j []byte) *PortworxVolumeSourceDie
- func (d *PortworxVolumeSourceDie) DieFeedPtr(r *corev1.PortworxVolumeSource) *PortworxVolumeSourceDie
- func (d *PortworxVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *PortworxVolumeSourceDie
- func (d *PortworxVolumeSourceDie) DieFeedYAML(y []byte) *PortworxVolumeSourceDie
- func (d *PortworxVolumeSourceDie) DieFeedYAMLFile(name string) *PortworxVolumeSourceDie
- func (d *PortworxVolumeSourceDie) DieImmutable(immutable bool) *PortworxVolumeSourceDie
- func (d *PortworxVolumeSourceDie) DieRelease() corev1.PortworxVolumeSource
- func (d *PortworxVolumeSourceDie) DieReleaseJSON() []byte
- func (d *PortworxVolumeSourceDie) DieReleasePtr() *corev1.PortworxVolumeSource
- func (d *PortworxVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PortworxVolumeSourceDie) DieReleaseYAML() []byte
- func (d *PortworxVolumeSourceDie) DieStamp(fn func(r *corev1.PortworxVolumeSource)) *PortworxVolumeSourceDie
- func (d *PortworxVolumeSourceDie) DieStampAt(jp string, fn interface{}) *PortworxVolumeSourceDie
- func (d *PortworxVolumeSourceDie) DieWith(fns ...func(d *PortworxVolumeSourceDie)) *PortworxVolumeSourceDie
- func (d *PortworxVolumeSourceDie) FSType(v string) *PortworxVolumeSourceDie
- func (d *PortworxVolumeSourceDie) ReadOnly(v bool) *PortworxVolumeSourceDie
- func (d *PortworxVolumeSourceDie) VolumeID(v string) *PortworxVolumeSourceDie
- type ProbeDie
- func (d *ProbeDie) DeepCopy() *ProbeDie
- func (d *ProbeDie) DieFeed(r corev1.Probe) *ProbeDie
- func (d *ProbeDie) DieFeedJSON(j []byte) *ProbeDie
- func (d *ProbeDie) DieFeedPtr(r *corev1.Probe) *ProbeDie
- func (d *ProbeDie) DieFeedRawExtension(raw runtime.RawExtension) *ProbeDie
- func (d *ProbeDie) DieFeedYAML(y []byte) *ProbeDie
- func (d *ProbeDie) DieFeedYAMLFile(name string) *ProbeDie
- func (d *ProbeDie) DieImmutable(immutable bool) *ProbeDie
- func (d *ProbeDie) DieRelease() corev1.Probe
- func (d *ProbeDie) DieReleaseJSON() []byte
- func (d *ProbeDie) DieReleasePtr() *corev1.Probe
- func (d *ProbeDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ProbeDie) DieReleaseYAML() []byte
- func (d *ProbeDie) DieStamp(fn func(r *corev1.Probe)) *ProbeDie
- func (d *ProbeDie) DieStampAt(jp string, fn interface{}) *ProbeDie
- func (d *ProbeDie) DieWith(fns ...func(d *ProbeDie)) *ProbeDie
- func (d *ProbeDie) ExecDie(fn func(d *ExecActionDie)) *ProbeDie
- func (d *ProbeDie) FailureThreshold(v int32) *ProbeDie
- func (d *ProbeDie) HTTPGetDie(fn func(d *HTTPGetActionDie)) *ProbeDie
- func (d *ProbeDie) InitialDelaySeconds(v int32) *ProbeDie
- func (d *ProbeDie) PeriodSeconds(v int32) *ProbeDie
- func (d *ProbeDie) ProbeHandler(v corev1.ProbeHandler) *ProbeDie
- func (d *ProbeDie) ProbeHandlerDie(fn func(d *ProbeHandlerDie)) *ProbeDie
- func (d *ProbeDie) SuccessThreshold(v int32) *ProbeDie
- func (d *ProbeDie) TCPSocketDie(fn func(d *TCPSocketActionDie)) *ProbeDie
- func (d *ProbeDie) TerminationGracePeriodSeconds(v *int64) *ProbeDie
- func (d *ProbeDie) TimeoutSeconds(v int32) *ProbeDie
- type ProbeHandlerDie
- func (d *ProbeHandlerDie) DeepCopy() *ProbeHandlerDie
- func (d *ProbeHandlerDie) DieFeed(r corev1.ProbeHandler) *ProbeHandlerDie
- func (d *ProbeHandlerDie) DieFeedJSON(j []byte) *ProbeHandlerDie
- func (d *ProbeHandlerDie) DieFeedPtr(r *corev1.ProbeHandler) *ProbeHandlerDie
- func (d *ProbeHandlerDie) DieFeedRawExtension(raw runtime.RawExtension) *ProbeHandlerDie
- func (d *ProbeHandlerDie) DieFeedYAML(y []byte) *ProbeHandlerDie
- func (d *ProbeHandlerDie) DieFeedYAMLFile(name string) *ProbeHandlerDie
- func (d *ProbeHandlerDie) DieImmutable(immutable bool) *ProbeHandlerDie
- func (d *ProbeHandlerDie) DieRelease() corev1.ProbeHandler
- func (d *ProbeHandlerDie) DieReleaseJSON() []byte
- func (d *ProbeHandlerDie) DieReleasePtr() *corev1.ProbeHandler
- func (d *ProbeHandlerDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ProbeHandlerDie) DieReleaseYAML() []byte
- func (d *ProbeHandlerDie) DieStamp(fn func(r *corev1.ProbeHandler)) *ProbeHandlerDie
- func (d *ProbeHandlerDie) DieStampAt(jp string, fn interface{}) *ProbeHandlerDie
- func (d *ProbeHandlerDie) DieWith(fns ...func(d *ProbeHandlerDie)) *ProbeHandlerDie
- func (d *ProbeHandlerDie) Exec(v *corev1.ExecAction) *ProbeHandlerDie
- func (d *ProbeHandlerDie) ExecDie(fn func(d *ExecActionDie)) *ProbeHandlerDie
- func (d *ProbeHandlerDie) GRPC(v *corev1.GRPCAction) *ProbeHandlerDie
- func (d *ProbeHandlerDie) GRPCDie(fn func(d *GRPCActionDie)) *ProbeHandlerDie
- func (d *ProbeHandlerDie) HTTPGet(v *corev1.HTTPGetAction) *ProbeHandlerDie
- func (d *ProbeHandlerDie) HTTPGetDie(fn func(d *HTTPGetActionDie)) *ProbeHandlerDie
- func (d *ProbeHandlerDie) TCPSocket(v *corev1.TCPSocketAction) *ProbeHandlerDie
- func (d *ProbeHandlerDie) TCPSocketDie(fn func(d *TCPSocketActionDie)) *ProbeHandlerDie
- type ProjectedVolumeSourceDie
- func (d *ProjectedVolumeSourceDie) DeepCopy() *ProjectedVolumeSourceDie
- func (d *ProjectedVolumeSourceDie) DefaultMode(v *int32) *ProjectedVolumeSourceDie
- func (d *ProjectedVolumeSourceDie) DieFeed(r corev1.ProjectedVolumeSource) *ProjectedVolumeSourceDie
- func (d *ProjectedVolumeSourceDie) DieFeedJSON(j []byte) *ProjectedVolumeSourceDie
- func (d *ProjectedVolumeSourceDie) DieFeedPtr(r *corev1.ProjectedVolumeSource) *ProjectedVolumeSourceDie
- func (d *ProjectedVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ProjectedVolumeSourceDie
- func (d *ProjectedVolumeSourceDie) DieFeedYAML(y []byte) *ProjectedVolumeSourceDie
- func (d *ProjectedVolumeSourceDie) DieFeedYAMLFile(name string) *ProjectedVolumeSourceDie
- func (d *ProjectedVolumeSourceDie) DieImmutable(immutable bool) *ProjectedVolumeSourceDie
- func (d *ProjectedVolumeSourceDie) DieRelease() corev1.ProjectedVolumeSource
- func (d *ProjectedVolumeSourceDie) DieReleaseJSON() []byte
- func (d *ProjectedVolumeSourceDie) DieReleasePtr() *corev1.ProjectedVolumeSource
- func (d *ProjectedVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ProjectedVolumeSourceDie) DieReleaseYAML() []byte
- func (d *ProjectedVolumeSourceDie) DieStamp(fn func(r *corev1.ProjectedVolumeSource)) *ProjectedVolumeSourceDie
- func (d *ProjectedVolumeSourceDie) DieStampAt(jp string, fn interface{}) *ProjectedVolumeSourceDie
- func (d *ProjectedVolumeSourceDie) DieWith(fns ...func(d *ProjectedVolumeSourceDie)) *ProjectedVolumeSourceDie
- func (d *ProjectedVolumeSourceDie) Sources(v ...corev1.VolumeProjection) *ProjectedVolumeSourceDie
- func (d *ProjectedVolumeSourceDie) SourcesDie(sources ...*VolumeProjectionDie) *ProjectedVolumeSourceDie
- type QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) DeepCopy() *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) DieFeed(r corev1.QuobyteVolumeSource) *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) DieFeedJSON(j []byte) *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) DieFeedPtr(r *corev1.QuobyteVolumeSource) *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) DieFeedYAML(y []byte) *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) DieFeedYAMLFile(name string) *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) DieImmutable(immutable bool) *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) DieRelease() corev1.QuobyteVolumeSource
- func (d *QuobyteVolumeSourceDie) DieReleaseJSON() []byte
- func (d *QuobyteVolumeSourceDie) DieReleasePtr() *corev1.QuobyteVolumeSource
- func (d *QuobyteVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *QuobyteVolumeSourceDie) DieReleaseYAML() []byte
- func (d *QuobyteVolumeSourceDie) DieStamp(fn func(r *corev1.QuobyteVolumeSource)) *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) DieStampAt(jp string, fn interface{}) *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) DieWith(fns ...func(d *QuobyteVolumeSourceDie)) *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) Group(v string) *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) ReadOnly(v bool) *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) Registry(v string) *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) Tenant(v string) *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) User(v string) *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) Volume(v string) *QuobyteVolumeSourceDie
- type RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) CephMonitors(v ...string) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) DeepCopy() *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) DieFeed(r corev1.RBDPersistentVolumeSource) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) DieFeedJSON(j []byte) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) DieFeedPtr(r *corev1.RBDPersistentVolumeSource) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) DieFeedYAML(y []byte) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) DieFeedYAMLFile(name string) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) DieImmutable(immutable bool) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) DieRelease() corev1.RBDPersistentVolumeSource
- func (d *RBDPersistentVolumeSourceDie) DieReleaseJSON() []byte
- func (d *RBDPersistentVolumeSourceDie) DieReleasePtr() *corev1.RBDPersistentVolumeSource
- func (d *RBDPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *RBDPersistentVolumeSourceDie) DieReleaseYAML() []byte
- func (d *RBDPersistentVolumeSourceDie) DieStamp(fn func(r *corev1.RBDPersistentVolumeSource)) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) DieWith(fns ...func(d *RBDPersistentVolumeSourceDie)) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) FSType(v string) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) Keyring(v string) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) RBDImage(v string) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) RBDPool(v string) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) RadosUser(v string) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) ReadOnly(v bool) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) SecretRef(v *corev1.SecretReference) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) SecretRefDie(fn func(d *SecretReferenceDie)) *RBDPersistentVolumeSourceDie
- type RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) CephMonitors(v ...string) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) DeepCopy() *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) DieFeed(r corev1.RBDVolumeSource) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) DieFeedJSON(j []byte) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) DieFeedPtr(r *corev1.RBDVolumeSource) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) DieFeedYAML(y []byte) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) DieFeedYAMLFile(name string) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) DieImmutable(immutable bool) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) DieRelease() corev1.RBDVolumeSource
- func (d *RBDVolumeSourceDie) DieReleaseJSON() []byte
- func (d *RBDVolumeSourceDie) DieReleasePtr() *corev1.RBDVolumeSource
- func (d *RBDVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *RBDVolumeSourceDie) DieReleaseYAML() []byte
- func (d *RBDVolumeSourceDie) DieStamp(fn func(r *corev1.RBDVolumeSource)) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) DieStampAt(jp string, fn interface{}) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) DieWith(fns ...func(d *RBDVolumeSourceDie)) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) FSType(v string) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) Keyring(v string) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) RBDImage(v string) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) RBDPool(v string) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) RadosUser(v string) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) ReadOnly(v bool) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) SecretRef(v *corev1.LocalObjectReference) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) SecretRefDie(fn func(d *LocalObjectReferenceDie)) *RBDVolumeSourceDie
- type ReplicationControllerDie
- func (d *ReplicationControllerDie) APIVersion(v string) *ReplicationControllerDie
- func (d *ReplicationControllerDie) DeepCopy() *ReplicationControllerDie
- func (d *ReplicationControllerDie) DeepCopyObject() runtime.Object
- func (d *ReplicationControllerDie) DieFeed(r corev1.ReplicationController) *ReplicationControllerDie
- func (d *ReplicationControllerDie) DieFeedJSON(j []byte) *ReplicationControllerDie
- func (d *ReplicationControllerDie) DieFeedPtr(r *corev1.ReplicationController) *ReplicationControllerDie
- func (d *ReplicationControllerDie) DieFeedRawExtension(raw runtime.RawExtension) *ReplicationControllerDie
- func (d *ReplicationControllerDie) DieFeedYAML(y []byte) *ReplicationControllerDie
- func (d *ReplicationControllerDie) DieFeedYAMLFile(name string) *ReplicationControllerDie
- func (d *ReplicationControllerDie) DieImmutable(immutable bool) *ReplicationControllerDie
- func (d *ReplicationControllerDie) DieRelease() corev1.ReplicationController
- func (d *ReplicationControllerDie) DieReleaseJSON() []byte
- func (d *ReplicationControllerDie) DieReleasePtr() *corev1.ReplicationController
- func (d *ReplicationControllerDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ReplicationControllerDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *ReplicationControllerDie) DieReleaseYAML() []byte
- func (d *ReplicationControllerDie) DieStamp(fn func(r *corev1.ReplicationController)) *ReplicationControllerDie
- func (d *ReplicationControllerDie) DieStampAt(jp string, fn interface{}) *ReplicationControllerDie
- func (d *ReplicationControllerDie) DieWith(fns ...func(d *ReplicationControllerDie)) *ReplicationControllerDie
- func (d *ReplicationControllerDie) GetObjectKind() schema.ObjectKind
- func (d *ReplicationControllerDie) Kind(v string) *ReplicationControllerDie
- func (d *ReplicationControllerDie) MarshalJSON() ([]byte, error)
- func (d *ReplicationControllerDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ReplicationControllerDie
- func (d *ReplicationControllerDie) Spec(v corev1.ReplicationControllerSpec) *ReplicationControllerDie
- func (d *ReplicationControllerDie) SpecDie(fn func(d *ReplicationControllerSpecDie)) *ReplicationControllerDie
- func (d *ReplicationControllerDie) Status(v corev1.ReplicationControllerStatus) *ReplicationControllerDie
- func (d *ReplicationControllerDie) StatusDie(fn func(d *ReplicationControllerStatusDie)) *ReplicationControllerDie
- func (d *ReplicationControllerDie) UnmarshalJSON(b []byte) error
- type ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) DeepCopy() *ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) DieFeed(r corev1.ReplicationControllerSpec) *ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) DieFeedJSON(j []byte) *ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) DieFeedPtr(r *corev1.ReplicationControllerSpec) *ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) DieFeedYAML(y []byte) *ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) DieFeedYAMLFile(name string) *ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) DieImmutable(immutable bool) *ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) DieRelease() corev1.ReplicationControllerSpec
- func (d *ReplicationControllerSpecDie) DieReleaseJSON() []byte
- func (d *ReplicationControllerSpecDie) DieReleasePtr() *corev1.ReplicationControllerSpec
- func (d *ReplicationControllerSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ReplicationControllerSpecDie) DieReleaseYAML() []byte
- func (d *ReplicationControllerSpecDie) DieStamp(fn func(r *corev1.ReplicationControllerSpec)) *ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) DieStampAt(jp string, fn interface{}) *ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) DieWith(fns ...func(d *ReplicationControllerSpecDie)) *ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) MinReadySeconds(v int32) *ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) Replicas(v *int32) *ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) Selector(v map[string]string) *ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) Template(v *corev1.PodTemplateSpec) *ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) TemplateDie(fn func(d *PodTemplateSpecDie)) *ReplicationControllerSpecDie
- type ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) AvailableReplicas(v int32) *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) Conditions(v ...corev1.ReplicationControllerCondition) *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) DeepCopy() *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) DieFeed(r corev1.ReplicationControllerStatus) *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) DieFeedJSON(j []byte) *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) DieFeedPtr(r *corev1.ReplicationControllerStatus) *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) DieFeedYAML(y []byte) *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) DieFeedYAMLFile(name string) *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) DieImmutable(immutable bool) *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) DieRelease() corev1.ReplicationControllerStatus
- func (d *ReplicationControllerStatusDie) DieReleaseJSON() []byte
- func (d *ReplicationControllerStatusDie) DieReleasePtr() *corev1.ReplicationControllerStatus
- func (d *ReplicationControllerStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ReplicationControllerStatusDie) DieReleaseYAML() []byte
- func (d *ReplicationControllerStatusDie) DieStamp(fn func(r *corev1.ReplicationControllerStatus)) *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) DieStampAt(jp string, fn interface{}) *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) DieWith(fns ...func(d *ReplicationControllerStatusDie)) *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) FullyLabeledReplicas(v int32) *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) ObservedGeneration(v int64) *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) ReadyReplicas(v int32) *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) Replicas(v int32) *ReplicationControllerStatusDie
- type ResourceClaimDie
- func (d *ResourceClaimDie) DeepCopy() *ResourceClaimDie
- func (d *ResourceClaimDie) DieFeed(r corev1.ResourceClaim) *ResourceClaimDie
- func (d *ResourceClaimDie) DieFeedJSON(j []byte) *ResourceClaimDie
- func (d *ResourceClaimDie) DieFeedPtr(r *corev1.ResourceClaim) *ResourceClaimDie
- func (d *ResourceClaimDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourceClaimDie
- func (d *ResourceClaimDie) DieFeedYAML(y []byte) *ResourceClaimDie
- func (d *ResourceClaimDie) DieFeedYAMLFile(name string) *ResourceClaimDie
- func (d *ResourceClaimDie) DieImmutable(immutable bool) *ResourceClaimDie
- func (d *ResourceClaimDie) DieRelease() corev1.ResourceClaim
- func (d *ResourceClaimDie) DieReleaseJSON() []byte
- func (d *ResourceClaimDie) DieReleasePtr() *corev1.ResourceClaim
- func (d *ResourceClaimDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ResourceClaimDie) DieReleaseYAML() []byte
- func (d *ResourceClaimDie) DieStamp(fn func(r *corev1.ResourceClaim)) *ResourceClaimDie
- func (d *ResourceClaimDie) DieStampAt(jp string, fn interface{}) *ResourceClaimDie
- func (d *ResourceClaimDie) DieWith(fns ...func(d *ResourceClaimDie)) *ResourceClaimDie
- func (d *ResourceClaimDie) Name(v string) *ResourceClaimDie
- type ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) ContainerName(v string) *ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) DeepCopy() *ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) DieFeed(r corev1.ResourceFieldSelector) *ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) DieFeedJSON(j []byte) *ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) DieFeedPtr(r *corev1.ResourceFieldSelector) *ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) DieFeedYAML(y []byte) *ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) DieFeedYAMLFile(name string) *ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) DieImmutable(immutable bool) *ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) DieRelease() corev1.ResourceFieldSelector
- func (d *ResourceFieldSelectorDie) DieReleaseJSON() []byte
- func (d *ResourceFieldSelectorDie) DieReleasePtr() *corev1.ResourceFieldSelector
- func (d *ResourceFieldSelectorDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ResourceFieldSelectorDie) DieReleaseYAML() []byte
- func (d *ResourceFieldSelectorDie) DieStamp(fn func(r *corev1.ResourceFieldSelector)) *ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) DieStampAt(jp string, fn interface{}) *ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) DieWith(fns ...func(d *ResourceFieldSelectorDie)) *ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) Divisor(v resource.Quantity) *ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) Resource(v string) *ResourceFieldSelectorDie
- type ResourceQuotaDie
- func (d *ResourceQuotaDie) APIVersion(v string) *ResourceQuotaDie
- func (d *ResourceQuotaDie) DeepCopy() *ResourceQuotaDie
- func (d *ResourceQuotaDie) DeepCopyObject() runtime.Object
- func (d *ResourceQuotaDie) DieFeed(r corev1.ResourceQuota) *ResourceQuotaDie
- func (d *ResourceQuotaDie) DieFeedJSON(j []byte) *ResourceQuotaDie
- func (d *ResourceQuotaDie) DieFeedPtr(r *corev1.ResourceQuota) *ResourceQuotaDie
- func (d *ResourceQuotaDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourceQuotaDie
- func (d *ResourceQuotaDie) DieFeedYAML(y []byte) *ResourceQuotaDie
- func (d *ResourceQuotaDie) DieFeedYAMLFile(name string) *ResourceQuotaDie
- func (d *ResourceQuotaDie) DieImmutable(immutable bool) *ResourceQuotaDie
- func (d *ResourceQuotaDie) DieRelease() corev1.ResourceQuota
- func (d *ResourceQuotaDie) DieReleaseJSON() []byte
- func (d *ResourceQuotaDie) DieReleasePtr() *corev1.ResourceQuota
- func (d *ResourceQuotaDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ResourceQuotaDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *ResourceQuotaDie) DieReleaseYAML() []byte
- func (d *ResourceQuotaDie) DieStamp(fn func(r *corev1.ResourceQuota)) *ResourceQuotaDie
- func (d *ResourceQuotaDie) DieStampAt(jp string, fn interface{}) *ResourceQuotaDie
- func (d *ResourceQuotaDie) DieWith(fns ...func(d *ResourceQuotaDie)) *ResourceQuotaDie
- func (d *ResourceQuotaDie) GetObjectKind() schema.ObjectKind
- func (d *ResourceQuotaDie) Kind(v string) *ResourceQuotaDie
- func (d *ResourceQuotaDie) MarshalJSON() ([]byte, error)
- func (d *ResourceQuotaDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ResourceQuotaDie
- func (d *ResourceQuotaDie) Spec(v corev1.ResourceQuotaSpec) *ResourceQuotaDie
- func (d *ResourceQuotaDie) SpecDie(fn func(d *ResourceQuotaSpecDie)) *ResourceQuotaDie
- func (d *ResourceQuotaDie) Status(v corev1.ResourceQuotaStatus) *ResourceQuotaDie
- func (d *ResourceQuotaDie) StatusDie(fn func(d *ResourceQuotaStatusDie)) *ResourceQuotaDie
- func (d *ResourceQuotaDie) UnmarshalJSON(b []byte) error
- type ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) AddHard(name corev1.ResourceName, quantity resource.Quantity) *ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) AddHardString(name corev1.ResourceName, quantity string) *ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) DeepCopy() *ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) DieFeed(r corev1.ResourceQuotaSpec) *ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) DieFeedJSON(j []byte) *ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) DieFeedPtr(r *corev1.ResourceQuotaSpec) *ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) DieFeedYAML(y []byte) *ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) DieFeedYAMLFile(name string) *ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) DieImmutable(immutable bool) *ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) DieRelease() corev1.ResourceQuotaSpec
- func (d *ResourceQuotaSpecDie) DieReleaseJSON() []byte
- func (d *ResourceQuotaSpecDie) DieReleasePtr() *corev1.ResourceQuotaSpec
- func (d *ResourceQuotaSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ResourceQuotaSpecDie) DieReleaseYAML() []byte
- func (d *ResourceQuotaSpecDie) DieStamp(fn func(r *corev1.ResourceQuotaSpec)) *ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) DieStampAt(jp string, fn interface{}) *ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) DieWith(fns ...func(d *ResourceQuotaSpecDie)) *ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) Hard(v corev1.ResourceList) *ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) ScopeSelector(v *corev1.ScopeSelector) *ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) ScopeSelectorDie(fn func(d *ScopeSelectorDie)) *ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) Scopes(v ...corev1.ResourceQuotaScope) *ResourceQuotaSpecDie
- type ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) AddHard(name corev1.ResourceName, quantity resource.Quantity) *ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) AddHardString(name corev1.ResourceName, quantity string) *ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) AddUsed(name corev1.ResourceName, quantity resource.Quantity) *ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) AddUsedString(name corev1.ResourceName, quantity string) *ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) DeepCopy() *ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) DieFeed(r corev1.ResourceQuotaStatus) *ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) DieFeedJSON(j []byte) *ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) DieFeedPtr(r *corev1.ResourceQuotaStatus) *ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) DieFeedYAML(y []byte) *ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) DieFeedYAMLFile(name string) *ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) DieImmutable(immutable bool) *ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) DieRelease() corev1.ResourceQuotaStatus
- func (d *ResourceQuotaStatusDie) DieReleaseJSON() []byte
- func (d *ResourceQuotaStatusDie) DieReleasePtr() *corev1.ResourceQuotaStatus
- func (d *ResourceQuotaStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ResourceQuotaStatusDie) DieReleaseYAML() []byte
- func (d *ResourceQuotaStatusDie) DieStamp(fn func(r *corev1.ResourceQuotaStatus)) *ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) DieStampAt(jp string, fn interface{}) *ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) DieWith(fns ...func(d *ResourceQuotaStatusDie)) *ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) Hard(v corev1.ResourceList) *ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) Used(v corev1.ResourceList) *ResourceQuotaStatusDie
- type ResourceRequirementsDie
- func (d *ResourceRequirementsDie) AddLimit(name corev1.ResourceName, quantity resource.Quantity) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) AddLimitString(name corev1.ResourceName, quantity string) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) AddRequest(name corev1.ResourceName, quantity resource.Quantity) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) AddRequestString(name corev1.ResourceName, quantity string) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) Claims(v ...corev1.ResourceClaim) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) ClaimsDie(claims ...*ResourceClaimDie) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) DeepCopy() *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) DieFeed(r corev1.ResourceRequirements) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) DieFeedJSON(j []byte) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) DieFeedPtr(r *corev1.ResourceRequirements) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) DieFeedYAML(y []byte) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) DieFeedYAMLFile(name string) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) DieImmutable(immutable bool) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) DieRelease() corev1.ResourceRequirements
- func (d *ResourceRequirementsDie) DieReleaseJSON() []byte
- func (d *ResourceRequirementsDie) DieReleasePtr() *corev1.ResourceRequirements
- func (d *ResourceRequirementsDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ResourceRequirementsDie) DieReleaseYAML() []byte
- func (d *ResourceRequirementsDie) DieStamp(fn func(r *corev1.ResourceRequirements)) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) DieStampAt(jp string, fn interface{}) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) DieWith(fns ...func(d *ResourceRequirementsDie)) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) Limits(v corev1.ResourceList) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) Requests(v corev1.ResourceList) *ResourceRequirementsDie
- type SELinuxOptionsDie
- func (d *SELinuxOptionsDie) DeepCopy() *SELinuxOptionsDie
- func (d *SELinuxOptionsDie) DieFeed(r corev1.SELinuxOptions) *SELinuxOptionsDie
- func (d *SELinuxOptionsDie) DieFeedJSON(j []byte) *SELinuxOptionsDie
- func (d *SELinuxOptionsDie) DieFeedPtr(r *corev1.SELinuxOptions) *SELinuxOptionsDie
- func (d *SELinuxOptionsDie) DieFeedRawExtension(raw runtime.RawExtension) *SELinuxOptionsDie
- func (d *SELinuxOptionsDie) DieFeedYAML(y []byte) *SELinuxOptionsDie
- func (d *SELinuxOptionsDie) DieFeedYAMLFile(name string) *SELinuxOptionsDie
- func (d *SELinuxOptionsDie) DieImmutable(immutable bool) *SELinuxOptionsDie
- func (d *SELinuxOptionsDie) DieRelease() corev1.SELinuxOptions
- func (d *SELinuxOptionsDie) DieReleaseJSON() []byte
- func (d *SELinuxOptionsDie) DieReleasePtr() *corev1.SELinuxOptions
- func (d *SELinuxOptionsDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *SELinuxOptionsDie) DieReleaseYAML() []byte
- func (d *SELinuxOptionsDie) DieStamp(fn func(r *corev1.SELinuxOptions)) *SELinuxOptionsDie
- func (d *SELinuxOptionsDie) DieStampAt(jp string, fn interface{}) *SELinuxOptionsDie
- func (d *SELinuxOptionsDie) DieWith(fns ...func(d *SELinuxOptionsDie)) *SELinuxOptionsDie
- func (d *SELinuxOptionsDie) Level(v string) *SELinuxOptionsDie
- func (d *SELinuxOptionsDie) Role(v string) *SELinuxOptionsDie
- func (d *SELinuxOptionsDie) Type(v string) *SELinuxOptionsDie
- func (d *SELinuxOptionsDie) User(v string) *SELinuxOptionsDie
- type ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) DeepCopy() *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) DieFeed(r corev1.ScaleIOPersistentVolumeSource) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) DieFeedJSON(j []byte) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) DieFeedPtr(r *corev1.ScaleIOPersistentVolumeSource) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) DieFeedYAML(y []byte) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) DieFeedYAMLFile(name string) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) DieImmutable(immutable bool) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) DieRelease() corev1.ScaleIOPersistentVolumeSource
- func (d *ScaleIOPersistentVolumeSourceDie) DieReleaseJSON() []byte
- func (d *ScaleIOPersistentVolumeSourceDie) DieReleasePtr() *corev1.ScaleIOPersistentVolumeSource
- func (d *ScaleIOPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ScaleIOPersistentVolumeSourceDie) DieReleaseYAML() []byte
- func (d *ScaleIOPersistentVolumeSourceDie) DieStamp(fn func(r *corev1.ScaleIOPersistentVolumeSource)) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) DieWith(fns ...func(d *ScaleIOPersistentVolumeSourceDie)) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) FSType(v string) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) Gateway(v string) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) ProtectionDomain(v string) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) ReadOnly(v bool) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) SSLEnabled(v bool) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) SecretRef(v *corev1.SecretReference) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) SecretRefDie(fn func(d *SecretReferenceDie)) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) StorageMode(v string) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) StoragePool(v string) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) System(v string) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) VolumeName(v string) *ScaleIOPersistentVolumeSourceDie
- type ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) DeepCopy() *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) DieFeed(r corev1.ScaleIOVolumeSource) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) DieFeedJSON(j []byte) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) DieFeedPtr(r *corev1.ScaleIOVolumeSource) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) DieFeedYAML(y []byte) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) DieFeedYAMLFile(name string) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) DieImmutable(immutable bool) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) DieRelease() corev1.ScaleIOVolumeSource
- func (d *ScaleIOVolumeSourceDie) DieReleaseJSON() []byte
- func (d *ScaleIOVolumeSourceDie) DieReleasePtr() *corev1.ScaleIOVolumeSource
- func (d *ScaleIOVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ScaleIOVolumeSourceDie) DieReleaseYAML() []byte
- func (d *ScaleIOVolumeSourceDie) DieStamp(fn func(r *corev1.ScaleIOVolumeSource)) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) DieStampAt(jp string, fn interface{}) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) DieWith(fns ...func(d *ScaleIOVolumeSourceDie)) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) FSType(v string) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) Gateway(v string) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) ProtectionDomain(v string) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) ReadOnly(v bool) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) SSLEnabled(v bool) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) SecretRef(v *corev1.LocalObjectReference) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) SecretRefDie(fn func(d *LocalObjectReferenceDie)) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) StorageMode(v string) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) StoragePool(v string) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) System(v string) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) VolumeName(v string) *ScaleIOVolumeSourceDie
- type ScopeSelectorDie
- func (d *ScopeSelectorDie) DeepCopy() *ScopeSelectorDie
- func (d *ScopeSelectorDie) DieFeed(r corev1.ScopeSelector) *ScopeSelectorDie
- func (d *ScopeSelectorDie) DieFeedJSON(j []byte) *ScopeSelectorDie
- func (d *ScopeSelectorDie) DieFeedPtr(r *corev1.ScopeSelector) *ScopeSelectorDie
- func (d *ScopeSelectorDie) DieFeedRawExtension(raw runtime.RawExtension) *ScopeSelectorDie
- func (d *ScopeSelectorDie) DieFeedYAML(y []byte) *ScopeSelectorDie
- func (d *ScopeSelectorDie) DieFeedYAMLFile(name string) *ScopeSelectorDie
- func (d *ScopeSelectorDie) DieImmutable(immutable bool) *ScopeSelectorDie
- func (d *ScopeSelectorDie) DieRelease() corev1.ScopeSelector
- func (d *ScopeSelectorDie) DieReleaseJSON() []byte
- func (d *ScopeSelectorDie) DieReleasePtr() *corev1.ScopeSelector
- func (d *ScopeSelectorDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ScopeSelectorDie) DieReleaseYAML() []byte
- func (d *ScopeSelectorDie) DieStamp(fn func(r *corev1.ScopeSelector)) *ScopeSelectorDie
- func (d *ScopeSelectorDie) DieStampAt(jp string, fn interface{}) *ScopeSelectorDie
- func (d *ScopeSelectorDie) DieWith(fns ...func(d *ScopeSelectorDie)) *ScopeSelectorDie
- func (d *ScopeSelectorDie) MatchExpressionDie(scope corev1.ResourceQuotaScope, ...) *ScopeSelectorDie
- func (d *ScopeSelectorDie) MatchExpressions(v ...corev1.ScopedResourceSelectorRequirement) *ScopeSelectorDie
- type ScopedResourceSelectorRequirementDie
- func (d *ScopedResourceSelectorRequirementDie) DeepCopy() *ScopedResourceSelectorRequirementDie
- func (d *ScopedResourceSelectorRequirementDie) DieFeed(r corev1.ScopedResourceSelectorRequirement) *ScopedResourceSelectorRequirementDie
- func (d *ScopedResourceSelectorRequirementDie) DieFeedJSON(j []byte) *ScopedResourceSelectorRequirementDie
- func (d *ScopedResourceSelectorRequirementDie) DieFeedPtr(r *corev1.ScopedResourceSelectorRequirement) *ScopedResourceSelectorRequirementDie
- func (d *ScopedResourceSelectorRequirementDie) DieFeedRawExtension(raw runtime.RawExtension) *ScopedResourceSelectorRequirementDie
- func (d *ScopedResourceSelectorRequirementDie) DieFeedYAML(y []byte) *ScopedResourceSelectorRequirementDie
- func (d *ScopedResourceSelectorRequirementDie) DieFeedYAMLFile(name string) *ScopedResourceSelectorRequirementDie
- func (d *ScopedResourceSelectorRequirementDie) DieImmutable(immutable bool) *ScopedResourceSelectorRequirementDie
- func (d *ScopedResourceSelectorRequirementDie) DieRelease() corev1.ScopedResourceSelectorRequirement
- func (d *ScopedResourceSelectorRequirementDie) DieReleaseJSON() []byte
- func (d *ScopedResourceSelectorRequirementDie) DieReleasePtr() *corev1.ScopedResourceSelectorRequirement
- func (d *ScopedResourceSelectorRequirementDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ScopedResourceSelectorRequirementDie) DieReleaseYAML() []byte
- func (d *ScopedResourceSelectorRequirementDie) DieStamp(fn func(r *corev1.ScopedResourceSelectorRequirement)) *ScopedResourceSelectorRequirementDie
- func (d *ScopedResourceSelectorRequirementDie) DieStampAt(jp string, fn interface{}) *ScopedResourceSelectorRequirementDie
- func (d *ScopedResourceSelectorRequirementDie) DieWith(fns ...func(d *ScopedResourceSelectorRequirementDie)) *ScopedResourceSelectorRequirementDie
- func (d *ScopedResourceSelectorRequirementDie) Operator(v corev1.ScopeSelectorOperator) *ScopedResourceSelectorRequirementDie
- func (d *ScopedResourceSelectorRequirementDie) ScopeName(v corev1.ResourceQuotaScope) *ScopedResourceSelectorRequirementDie
- func (d *ScopedResourceSelectorRequirementDie) Values(v ...string) *ScopedResourceSelectorRequirementDie
- type SeccompProfileDie
- func (d *SeccompProfileDie) DeepCopy() *SeccompProfileDie
- func (d *SeccompProfileDie) DieFeed(r corev1.SeccompProfile) *SeccompProfileDie
- func (d *SeccompProfileDie) DieFeedJSON(j []byte) *SeccompProfileDie
- func (d *SeccompProfileDie) DieFeedPtr(r *corev1.SeccompProfile) *SeccompProfileDie
- func (d *SeccompProfileDie) DieFeedRawExtension(raw runtime.RawExtension) *SeccompProfileDie
- func (d *SeccompProfileDie) DieFeedYAML(y []byte) *SeccompProfileDie
- func (d *SeccompProfileDie) DieFeedYAMLFile(name string) *SeccompProfileDie
- func (d *SeccompProfileDie) DieImmutable(immutable bool) *SeccompProfileDie
- func (d *SeccompProfileDie) DieRelease() corev1.SeccompProfile
- func (d *SeccompProfileDie) DieReleaseJSON() []byte
- func (d *SeccompProfileDie) DieReleasePtr() *corev1.SeccompProfile
- func (d *SeccompProfileDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *SeccompProfileDie) DieReleaseYAML() []byte
- func (d *SeccompProfileDie) DieStamp(fn func(r *corev1.SeccompProfile)) *SeccompProfileDie
- func (d *SeccompProfileDie) DieStampAt(jp string, fn interface{}) *SeccompProfileDie
- func (d *SeccompProfileDie) DieWith(fns ...func(d *SeccompProfileDie)) *SeccompProfileDie
- func (d *SeccompProfileDie) LocalhostProfile(v *string) *SeccompProfileDie
- func (d *SeccompProfileDie) Type(v corev1.SeccompProfileType) *SeccompProfileDie
- type Secret
- type SecretDie
- func (d *SecretDie) APIVersion(v string) *SecretDie
- func (d *SecretDie) AddData(key string, value []byte) *SecretDie
- func (d *SecretDie) AddStringData(key string, value string) *SecretDie
- func (d *SecretDie) Data(v map[string][]byte) *SecretDie
- func (d *SecretDie) DeepCopy() *SecretDie
- func (d *SecretDie) DeepCopyObject() runtime.Object
- func (d *SecretDie) DieFeed(r corev1.Secret) *SecretDie
- func (d *SecretDie) DieFeedJSON(j []byte) *SecretDie
- func (d *SecretDie) DieFeedPtr(r *corev1.Secret) *SecretDie
- func (d *SecretDie) DieFeedRawExtension(raw runtime.RawExtension) *SecretDie
- func (d *SecretDie) DieFeedYAML(y []byte) *SecretDie
- func (d *SecretDie) DieFeedYAMLFile(name string) *SecretDie
- func (d *SecretDie) DieImmutable(immutable bool) *SecretDie
- func (d *SecretDie) DieRelease() corev1.Secret
- func (d *SecretDie) DieReleaseJSON() []byte
- func (d *SecretDie) DieReleasePtr() *corev1.Secret
- func (d *SecretDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *SecretDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *SecretDie) DieReleaseYAML() []byte
- func (d *SecretDie) DieStamp(fn func(r *corev1.Secret)) *SecretDie
- func (d *SecretDie) DieStampAt(jp string, fn interface{}) *SecretDie
- func (d *SecretDie) DieWith(fns ...func(d *SecretDie)) *SecretDie
- func (d *SecretDie) GetObjectKind() schema.ObjectKind
- func (d *SecretDie) Immutable(v *bool) *SecretDie
- func (d *SecretDie) Kind(v string) *SecretDie
- func (d *SecretDie) MarshalJSON() ([]byte, error)
- func (d *SecretDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *SecretDie
- func (d *SecretDie) StringData(v map[string]string) *SecretDie
- func (d *SecretDie) Type(v corev1.SecretType) *SecretDie
- func (d *SecretDie) UnmarshalJSON(b []byte) error
- type SecretEnvSourceDie
- func (d *SecretEnvSourceDie) DeepCopy() *SecretEnvSourceDie
- func (d *SecretEnvSourceDie) DieFeed(r corev1.SecretEnvSource) *SecretEnvSourceDie
- func (d *SecretEnvSourceDie) DieFeedJSON(j []byte) *SecretEnvSourceDie
- func (d *SecretEnvSourceDie) DieFeedPtr(r *corev1.SecretEnvSource) *SecretEnvSourceDie
- func (d *SecretEnvSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *SecretEnvSourceDie
- func (d *SecretEnvSourceDie) DieFeedYAML(y []byte) *SecretEnvSourceDie
- func (d *SecretEnvSourceDie) DieFeedYAMLFile(name string) *SecretEnvSourceDie
- func (d *SecretEnvSourceDie) DieImmutable(immutable bool) *SecretEnvSourceDie
- func (d *SecretEnvSourceDie) DieRelease() corev1.SecretEnvSource
- func (d *SecretEnvSourceDie) DieReleaseJSON() []byte
- func (d *SecretEnvSourceDie) DieReleasePtr() *corev1.SecretEnvSource
- func (d *SecretEnvSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *SecretEnvSourceDie) DieReleaseYAML() []byte
- func (d *SecretEnvSourceDie) DieStamp(fn func(r *corev1.SecretEnvSource)) *SecretEnvSourceDie
- func (d *SecretEnvSourceDie) DieStampAt(jp string, fn interface{}) *SecretEnvSourceDie
- func (d *SecretEnvSourceDie) DieWith(fns ...func(d *SecretEnvSourceDie)) *SecretEnvSourceDie
- func (d *SecretEnvSourceDie) LocalObjectReference(v corev1.LocalObjectReference) *SecretEnvSourceDie
- func (d *SecretEnvSourceDie) Name(v string) *SecretEnvSourceDie
- func (d *SecretEnvSourceDie) Optional(v *bool) *SecretEnvSourceDie
- type SecretKeySelectorDie
- func (d *SecretKeySelectorDie) DeepCopy() *SecretKeySelectorDie
- func (d *SecretKeySelectorDie) DieFeed(r corev1.SecretKeySelector) *SecretKeySelectorDie
- func (d *SecretKeySelectorDie) DieFeedJSON(j []byte) *SecretKeySelectorDie
- func (d *SecretKeySelectorDie) DieFeedPtr(r *corev1.SecretKeySelector) *SecretKeySelectorDie
- func (d *SecretKeySelectorDie) DieFeedRawExtension(raw runtime.RawExtension) *SecretKeySelectorDie
- func (d *SecretKeySelectorDie) DieFeedYAML(y []byte) *SecretKeySelectorDie
- func (d *SecretKeySelectorDie) DieFeedYAMLFile(name string) *SecretKeySelectorDie
- func (d *SecretKeySelectorDie) DieImmutable(immutable bool) *SecretKeySelectorDie
- func (d *SecretKeySelectorDie) DieRelease() corev1.SecretKeySelector
- func (d *SecretKeySelectorDie) DieReleaseJSON() []byte
- func (d *SecretKeySelectorDie) DieReleasePtr() *corev1.SecretKeySelector
- func (d *SecretKeySelectorDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *SecretKeySelectorDie) DieReleaseYAML() []byte
- func (d *SecretKeySelectorDie) DieStamp(fn func(r *corev1.SecretKeySelector)) *SecretKeySelectorDie
- func (d *SecretKeySelectorDie) DieStampAt(jp string, fn interface{}) *SecretKeySelectorDie
- func (d *SecretKeySelectorDie) DieWith(fns ...func(d *SecretKeySelectorDie)) *SecretKeySelectorDie
- func (d *SecretKeySelectorDie) Key(v string) *SecretKeySelectorDie
- func (d *SecretKeySelectorDie) LocalObjectReference(v corev1.LocalObjectReference) *SecretKeySelectorDie
- func (d *SecretKeySelectorDie) Name(v string) *SecretKeySelectorDie
- func (d *SecretKeySelectorDie) Optional(v *bool) *SecretKeySelectorDie
- type SecretProjectionDie
- func (d *SecretProjectionDie) DeepCopy() *SecretProjectionDie
- func (d *SecretProjectionDie) DieFeed(r corev1.SecretProjection) *SecretProjectionDie
- func (d *SecretProjectionDie) DieFeedJSON(j []byte) *SecretProjectionDie
- func (d *SecretProjectionDie) DieFeedPtr(r *corev1.SecretProjection) *SecretProjectionDie
- func (d *SecretProjectionDie) DieFeedRawExtension(raw runtime.RawExtension) *SecretProjectionDie
- func (d *SecretProjectionDie) DieFeedYAML(y []byte) *SecretProjectionDie
- func (d *SecretProjectionDie) DieFeedYAMLFile(name string) *SecretProjectionDie
- func (d *SecretProjectionDie) DieImmutable(immutable bool) *SecretProjectionDie
- func (d *SecretProjectionDie) DieRelease() corev1.SecretProjection
- func (d *SecretProjectionDie) DieReleaseJSON() []byte
- func (d *SecretProjectionDie) DieReleasePtr() *corev1.SecretProjection
- func (d *SecretProjectionDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *SecretProjectionDie) DieReleaseYAML() []byte
- func (d *SecretProjectionDie) DieStamp(fn func(r *corev1.SecretProjection)) *SecretProjectionDie
- func (d *SecretProjectionDie) DieStampAt(jp string, fn interface{}) *SecretProjectionDie
- func (d *SecretProjectionDie) DieWith(fns ...func(d *SecretProjectionDie)) *SecretProjectionDie
- func (d *SecretProjectionDie) ItemDie(key string, fn func(d *KeyToPathDie)) *SecretProjectionDie
- func (d *SecretProjectionDie) Items(v ...corev1.KeyToPath) *SecretProjectionDie
- func (d *SecretProjectionDie) LocalObjectReference(v corev1.LocalObjectReference) *SecretProjectionDie
- func (d *SecretProjectionDie) Name(v string) *SecretProjectionDie
- func (d *SecretProjectionDie) Optional(v *bool) *SecretProjectionDie
- type SecretReferenceDie
- func (d *SecretReferenceDie) DeepCopy() *SecretReferenceDie
- func (d *SecretReferenceDie) DieFeed(r corev1.SecretReference) *SecretReferenceDie
- func (d *SecretReferenceDie) DieFeedJSON(j []byte) *SecretReferenceDie
- func (d *SecretReferenceDie) DieFeedPtr(r *corev1.SecretReference) *SecretReferenceDie
- func (d *SecretReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *SecretReferenceDie
- func (d *SecretReferenceDie) DieFeedYAML(y []byte) *SecretReferenceDie
- func (d *SecretReferenceDie) DieFeedYAMLFile(name string) *SecretReferenceDie
- func (d *SecretReferenceDie) DieImmutable(immutable bool) *SecretReferenceDie
- func (d *SecretReferenceDie) DieRelease() corev1.SecretReference
- func (d *SecretReferenceDie) DieReleaseJSON() []byte
- func (d *SecretReferenceDie) DieReleasePtr() *corev1.SecretReference
- func (d *SecretReferenceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *SecretReferenceDie) DieReleaseYAML() []byte
- func (d *SecretReferenceDie) DieStamp(fn func(r *corev1.SecretReference)) *SecretReferenceDie
- func (d *SecretReferenceDie) DieStampAt(jp string, fn interface{}) *SecretReferenceDie
- func (d *SecretReferenceDie) DieWith(fns ...func(d *SecretReferenceDie)) *SecretReferenceDie
- func (d *SecretReferenceDie) Name(v string) *SecretReferenceDie
- func (d *SecretReferenceDie) Namespace(v string) *SecretReferenceDie
- type SecretVolumeSourceDie
- func (d *SecretVolumeSourceDie) DeepCopy() *SecretVolumeSourceDie
- func (d *SecretVolumeSourceDie) DefaultMode(v *int32) *SecretVolumeSourceDie
- func (d *SecretVolumeSourceDie) DieFeed(r corev1.SecretVolumeSource) *SecretVolumeSourceDie
- func (d *SecretVolumeSourceDie) DieFeedJSON(j []byte) *SecretVolumeSourceDie
- func (d *SecretVolumeSourceDie) DieFeedPtr(r *corev1.SecretVolumeSource) *SecretVolumeSourceDie
- func (d *SecretVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *SecretVolumeSourceDie
- func (d *SecretVolumeSourceDie) DieFeedYAML(y []byte) *SecretVolumeSourceDie
- func (d *SecretVolumeSourceDie) DieFeedYAMLFile(name string) *SecretVolumeSourceDie
- func (d *SecretVolumeSourceDie) DieImmutable(immutable bool) *SecretVolumeSourceDie
- func (d *SecretVolumeSourceDie) DieRelease() corev1.SecretVolumeSource
- func (d *SecretVolumeSourceDie) DieReleaseJSON() []byte
- func (d *SecretVolumeSourceDie) DieReleasePtr() *corev1.SecretVolumeSource
- func (d *SecretVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *SecretVolumeSourceDie) DieReleaseYAML() []byte
- func (d *SecretVolumeSourceDie) DieStamp(fn func(r *corev1.SecretVolumeSource)) *SecretVolumeSourceDie
- func (d *SecretVolumeSourceDie) DieStampAt(jp string, fn interface{}) *SecretVolumeSourceDie
- func (d *SecretVolumeSourceDie) DieWith(fns ...func(d *SecretVolumeSourceDie)) *SecretVolumeSourceDie
- func (d *SecretVolumeSourceDie) ItemDie(key string, fn func(d *KeyToPathDie)) *SecretVolumeSourceDie
- func (d *SecretVolumeSourceDie) Items(v ...corev1.KeyToPath) *SecretVolumeSourceDie
- func (d *SecretVolumeSourceDie) Optional(v *bool) *SecretVolumeSourceDie
- func (d *SecretVolumeSourceDie) SecretName(v string) *SecretVolumeSourceDie
- type SecurityContextDie
- func (d *SecurityContextDie) AllowPrivilegeEscalation(v *bool) *SecurityContextDie
- func (d *SecurityContextDie) Capabilities(v *corev1.Capabilities) *SecurityContextDie
- func (d *SecurityContextDie) CapabilitiesDie(fn func(d *CapabilitiesDie)) *SecurityContextDie
- func (d *SecurityContextDie) DeepCopy() *SecurityContextDie
- func (d *SecurityContextDie) DieFeed(r corev1.SecurityContext) *SecurityContextDie
- func (d *SecurityContextDie) DieFeedJSON(j []byte) *SecurityContextDie
- func (d *SecurityContextDie) DieFeedPtr(r *corev1.SecurityContext) *SecurityContextDie
- func (d *SecurityContextDie) DieFeedRawExtension(raw runtime.RawExtension) *SecurityContextDie
- func (d *SecurityContextDie) DieFeedYAML(y []byte) *SecurityContextDie
- func (d *SecurityContextDie) DieFeedYAMLFile(name string) *SecurityContextDie
- func (d *SecurityContextDie) DieImmutable(immutable bool) *SecurityContextDie
- func (d *SecurityContextDie) DieRelease() corev1.SecurityContext
- func (d *SecurityContextDie) DieReleaseJSON() []byte
- func (d *SecurityContextDie) DieReleasePtr() *corev1.SecurityContext
- func (d *SecurityContextDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *SecurityContextDie) DieReleaseYAML() []byte
- func (d *SecurityContextDie) DieStamp(fn func(r *corev1.SecurityContext)) *SecurityContextDie
- func (d *SecurityContextDie) DieStampAt(jp string, fn interface{}) *SecurityContextDie
- func (d *SecurityContextDie) DieWith(fns ...func(d *SecurityContextDie)) *SecurityContextDie
- func (d *SecurityContextDie) Privileged(v *bool) *SecurityContextDie
- func (d *SecurityContextDie) ProcMount(v *corev1.ProcMountType) *SecurityContextDie
- func (d *SecurityContextDie) ReadOnlyRootFilesystem(v *bool) *SecurityContextDie
- func (d *SecurityContextDie) RunAsGroup(v *int64) *SecurityContextDie
- func (d *SecurityContextDie) RunAsNonRoot(v *bool) *SecurityContextDie
- func (d *SecurityContextDie) RunAsUser(v *int64) *SecurityContextDie
- func (d *SecurityContextDie) SELinuxOptions(v *corev1.SELinuxOptions) *SecurityContextDie
- func (d *SecurityContextDie) SELinuxOptionsDie(fn func(d *SELinuxOptionsDie)) *SecurityContextDie
- func (d *SecurityContextDie) SeccompProfile(v *corev1.SeccompProfile) *SecurityContextDie
- func (d *SecurityContextDie) SeccompProfileDie(fn func(d *SeccompProfileDie)) *SecurityContextDie
- func (d *SecurityContextDie) WindowsOptions(v *corev1.WindowsSecurityContextOptions) *SecurityContextDie
- func (d *SecurityContextDie) WindowsOptionsDie(fn func(d *WindowsSecurityContextOptionsDie)) *SecurityContextDie
- type ServiceAccountDie
- func (d *ServiceAccountDie) APIVersion(v string) *ServiceAccountDie
- func (d *ServiceAccountDie) AutomountServiceAccountToken(v *bool) *ServiceAccountDie
- func (d *ServiceAccountDie) DeepCopy() *ServiceAccountDie
- func (d *ServiceAccountDie) DeepCopyObject() runtime.Object
- func (d *ServiceAccountDie) DieFeed(r corev1.ServiceAccount) *ServiceAccountDie
- func (d *ServiceAccountDie) DieFeedJSON(j []byte) *ServiceAccountDie
- func (d *ServiceAccountDie) DieFeedPtr(r *corev1.ServiceAccount) *ServiceAccountDie
- func (d *ServiceAccountDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceAccountDie
- func (d *ServiceAccountDie) DieFeedYAML(y []byte) *ServiceAccountDie
- func (d *ServiceAccountDie) DieFeedYAMLFile(name string) *ServiceAccountDie
- func (d *ServiceAccountDie) DieImmutable(immutable bool) *ServiceAccountDie
- func (d *ServiceAccountDie) DieRelease() corev1.ServiceAccount
- func (d *ServiceAccountDie) DieReleaseJSON() []byte
- func (d *ServiceAccountDie) DieReleasePtr() *corev1.ServiceAccount
- func (d *ServiceAccountDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ServiceAccountDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *ServiceAccountDie) DieReleaseYAML() []byte
- func (d *ServiceAccountDie) DieStamp(fn func(r *corev1.ServiceAccount)) *ServiceAccountDie
- func (d *ServiceAccountDie) DieStampAt(jp string, fn interface{}) *ServiceAccountDie
- func (d *ServiceAccountDie) DieWith(fns ...func(d *ServiceAccountDie)) *ServiceAccountDie
- func (d *ServiceAccountDie) GetObjectKind() schema.ObjectKind
- func (d *ServiceAccountDie) ImagePullSecrets(v ...corev1.LocalObjectReference) *ServiceAccountDie
- func (d *ServiceAccountDie) ImagePullSecretsDie(secrets ...*LocalObjectReferenceDie) *ServiceAccountDie
- func (d *ServiceAccountDie) Kind(v string) *ServiceAccountDie
- func (d *ServiceAccountDie) MarshalJSON() ([]byte, error)
- func (d *ServiceAccountDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ServiceAccountDie
- func (d *ServiceAccountDie) Secrets(v ...corev1.ObjectReference) *ServiceAccountDie
- func (d *ServiceAccountDie) SecretsDie(secrets ...*ObjectReferenceDie) *ServiceAccountDie
- func (d *ServiceAccountDie) UnmarshalJSON(b []byte) error
- type ServiceAccountTokenProjectionDie
- func (d *ServiceAccountTokenProjectionDie) Audience(v string) *ServiceAccountTokenProjectionDie
- func (d *ServiceAccountTokenProjectionDie) DeepCopy() *ServiceAccountTokenProjectionDie
- func (d *ServiceAccountTokenProjectionDie) DieFeed(r corev1.ServiceAccountTokenProjection) *ServiceAccountTokenProjectionDie
- func (d *ServiceAccountTokenProjectionDie) DieFeedJSON(j []byte) *ServiceAccountTokenProjectionDie
- func (d *ServiceAccountTokenProjectionDie) DieFeedPtr(r *corev1.ServiceAccountTokenProjection) *ServiceAccountTokenProjectionDie
- func (d *ServiceAccountTokenProjectionDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceAccountTokenProjectionDie
- func (d *ServiceAccountTokenProjectionDie) DieFeedYAML(y []byte) *ServiceAccountTokenProjectionDie
- func (d *ServiceAccountTokenProjectionDie) DieFeedYAMLFile(name string) *ServiceAccountTokenProjectionDie
- func (d *ServiceAccountTokenProjectionDie) DieImmutable(immutable bool) *ServiceAccountTokenProjectionDie
- func (d *ServiceAccountTokenProjectionDie) DieRelease() corev1.ServiceAccountTokenProjection
- func (d *ServiceAccountTokenProjectionDie) DieReleaseJSON() []byte
- func (d *ServiceAccountTokenProjectionDie) DieReleasePtr() *corev1.ServiceAccountTokenProjection
- func (d *ServiceAccountTokenProjectionDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ServiceAccountTokenProjectionDie) DieReleaseYAML() []byte
- func (d *ServiceAccountTokenProjectionDie) DieStamp(fn func(r *corev1.ServiceAccountTokenProjection)) *ServiceAccountTokenProjectionDie
- func (d *ServiceAccountTokenProjectionDie) DieStampAt(jp string, fn interface{}) *ServiceAccountTokenProjectionDie
- func (d *ServiceAccountTokenProjectionDie) DieWith(fns ...func(d *ServiceAccountTokenProjectionDie)) *ServiceAccountTokenProjectionDie
- func (d *ServiceAccountTokenProjectionDie) ExpirationSeconds(v *int64) *ServiceAccountTokenProjectionDie
- func (d *ServiceAccountTokenProjectionDie) Path(v string) *ServiceAccountTokenProjectionDie
- type ServiceDie
- func (d *ServiceDie) APIVersion(v string) *ServiceDie
- func (d *ServiceDie) DeepCopy() *ServiceDie
- func (d *ServiceDie) DeepCopyObject() runtime.Object
- func (d *ServiceDie) DieFeed(r corev1.Service) *ServiceDie
- func (d *ServiceDie) DieFeedJSON(j []byte) *ServiceDie
- func (d *ServiceDie) DieFeedPtr(r *corev1.Service) *ServiceDie
- func (d *ServiceDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceDie
- func (d *ServiceDie) DieFeedYAML(y []byte) *ServiceDie
- func (d *ServiceDie) DieFeedYAMLFile(name string) *ServiceDie
- func (d *ServiceDie) DieImmutable(immutable bool) *ServiceDie
- func (d *ServiceDie) DieRelease() corev1.Service
- func (d *ServiceDie) DieReleaseJSON() []byte
- func (d *ServiceDie) DieReleasePtr() *corev1.Service
- func (d *ServiceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ServiceDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *ServiceDie) DieReleaseYAML() []byte
- func (d *ServiceDie) DieStamp(fn func(r *corev1.Service)) *ServiceDie
- func (d *ServiceDie) DieStampAt(jp string, fn interface{}) *ServiceDie
- func (d *ServiceDie) DieWith(fns ...func(d *ServiceDie)) *ServiceDie
- func (d *ServiceDie) GetObjectKind() schema.ObjectKind
- func (d *ServiceDie) Kind(v string) *ServiceDie
- func (d *ServiceDie) MarshalJSON() ([]byte, error)
- func (d *ServiceDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ServiceDie
- func (d *ServiceDie) Spec(v corev1.ServiceSpec) *ServiceDie
- func (d *ServiceDie) SpecDie(fn func(d *ServiceSpecDie)) *ServiceDie
- func (d *ServiceDie) Status(v corev1.ServiceStatus) *ServiceDie
- func (d *ServiceDie) StatusDie(fn func(d *ServiceStatusDie)) *ServiceDie
- func (d *ServiceDie) UnmarshalJSON(b []byte) error
- type ServicePortDie
- func (d *ServicePortDie) AppProtocol(v *string) *ServicePortDie
- func (d *ServicePortDie) DeepCopy() *ServicePortDie
- func (d *ServicePortDie) DieFeed(r corev1.ServicePort) *ServicePortDie
- func (d *ServicePortDie) DieFeedJSON(j []byte) *ServicePortDie
- func (d *ServicePortDie) DieFeedPtr(r *corev1.ServicePort) *ServicePortDie
- func (d *ServicePortDie) DieFeedRawExtension(raw runtime.RawExtension) *ServicePortDie
- func (d *ServicePortDie) DieFeedYAML(y []byte) *ServicePortDie
- func (d *ServicePortDie) DieFeedYAMLFile(name string) *ServicePortDie
- func (d *ServicePortDie) DieImmutable(immutable bool) *ServicePortDie
- func (d *ServicePortDie) DieRelease() corev1.ServicePort
- func (d *ServicePortDie) DieReleaseJSON() []byte
- func (d *ServicePortDie) DieReleasePtr() *corev1.ServicePort
- func (d *ServicePortDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ServicePortDie) DieReleaseYAML() []byte
- func (d *ServicePortDie) DieStamp(fn func(r *corev1.ServicePort)) *ServicePortDie
- func (d *ServicePortDie) DieStampAt(jp string, fn interface{}) *ServicePortDie
- func (d *ServicePortDie) DieWith(fns ...func(d *ServicePortDie)) *ServicePortDie
- func (d *ServicePortDie) Name(v string) *ServicePortDie
- func (d *ServicePortDie) NodePort(v int32) *ServicePortDie
- func (d *ServicePortDie) Port(v int32) *ServicePortDie
- func (d *ServicePortDie) Protocol(v corev1.Protocol) *ServicePortDie
- func (d *ServicePortDie) TargetPort(v intstr.IntOrString) *ServicePortDie
- func (d *ServicePortDie) TargetPortInt(i int) *ServicePortDie
- func (d *ServicePortDie) TargetPortString(s string) *ServicePortDie
- type ServiceSpecDie
- func (d *ServiceSpecDie) AddSelector(key, value string) *ServiceSpecDie
- func (d *ServiceSpecDie) AllocateLoadBalancerNodePorts(v *bool) *ServiceSpecDie
- func (d *ServiceSpecDie) ClusterIP(v string) *ServiceSpecDie
- func (d *ServiceSpecDie) ClusterIPs(v ...string) *ServiceSpecDie
- func (d *ServiceSpecDie) DeepCopy() *ServiceSpecDie
- func (d *ServiceSpecDie) DieFeed(r corev1.ServiceSpec) *ServiceSpecDie
- func (d *ServiceSpecDie) DieFeedJSON(j []byte) *ServiceSpecDie
- func (d *ServiceSpecDie) DieFeedPtr(r *corev1.ServiceSpec) *ServiceSpecDie
- func (d *ServiceSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceSpecDie
- func (d *ServiceSpecDie) DieFeedYAML(y []byte) *ServiceSpecDie
- func (d *ServiceSpecDie) DieFeedYAMLFile(name string) *ServiceSpecDie
- func (d *ServiceSpecDie) DieImmutable(immutable bool) *ServiceSpecDie
- func (d *ServiceSpecDie) DieRelease() corev1.ServiceSpec
- func (d *ServiceSpecDie) DieReleaseJSON() []byte
- func (d *ServiceSpecDie) DieReleasePtr() *corev1.ServiceSpec
- func (d *ServiceSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ServiceSpecDie) DieReleaseYAML() []byte
- func (d *ServiceSpecDie) DieStamp(fn func(r *corev1.ServiceSpec)) *ServiceSpecDie
- func (d *ServiceSpecDie) DieStampAt(jp string, fn interface{}) *ServiceSpecDie
- func (d *ServiceSpecDie) DieWith(fns ...func(d *ServiceSpecDie)) *ServiceSpecDie
- func (d *ServiceSpecDie) ExternalIPs(v ...string) *ServiceSpecDie
- func (d *ServiceSpecDie) ExternalName(v string) *ServiceSpecDie
- func (d *ServiceSpecDie) ExternalTrafficPolicy(v corev1.ServiceExternalTrafficPolicy) *ServiceSpecDie
- func (d *ServiceSpecDie) HealthCheckNodePort(v int32) *ServiceSpecDie
- func (d *ServiceSpecDie) IPFamilies(v ...corev1.IPFamily) *ServiceSpecDie
- func (d *ServiceSpecDie) IPFamilyPolicy(v *corev1.IPFamilyPolicy) *ServiceSpecDie
- func (d *ServiceSpecDie) InternalTrafficPolicy(v *corev1.ServiceInternalTrafficPolicy) *ServiceSpecDie
- func (d *ServiceSpecDie) LoadBalancerClass(v *string) *ServiceSpecDie
- func (d *ServiceSpecDie) LoadBalancerIP(v string) *ServiceSpecDiedeprecated
- func (d *ServiceSpecDie) LoadBalancerSourceRanges(v ...string) *ServiceSpecDie
- func (d *ServiceSpecDie) PortDie(protocol corev1.Protocol, port int32, fn func(d *ServicePortDie)) *ServiceSpecDie
- func (d *ServiceSpecDie) Ports(v ...corev1.ServicePort) *ServiceSpecDie
- func (d *ServiceSpecDie) PublishNotReadyAddresses(v bool) *ServiceSpecDie
- func (d *ServiceSpecDie) Selector(v map[string]string) *ServiceSpecDie
- func (d *ServiceSpecDie) SessionAffinity(v corev1.ServiceAffinity) *ServiceSpecDie
- func (d *ServiceSpecDie) SessionAffinityConfig(v *corev1.SessionAffinityConfig) *ServiceSpecDie
- func (d *ServiceSpecDie) SessionAffinityConfigDie(fn func(d *SessionAffinityConfigDie)) *ServiceSpecDie
- func (d *ServiceSpecDie) Type(v corev1.ServiceType) *ServiceSpecDie
- type ServiceStatusDie
- func (d *ServiceStatusDie) Conditions(v ...apismetav1.Condition) *ServiceStatusDie
- func (d *ServiceStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *ServiceStatusDie
- func (d *ServiceStatusDie) DeepCopy() *ServiceStatusDie
- func (d *ServiceStatusDie) DieFeed(r corev1.ServiceStatus) *ServiceStatusDie
- func (d *ServiceStatusDie) DieFeedJSON(j []byte) *ServiceStatusDie
- func (d *ServiceStatusDie) DieFeedPtr(r *corev1.ServiceStatus) *ServiceStatusDie
- func (d *ServiceStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceStatusDie
- func (d *ServiceStatusDie) DieFeedYAML(y []byte) *ServiceStatusDie
- func (d *ServiceStatusDie) DieFeedYAMLFile(name string) *ServiceStatusDie
- func (d *ServiceStatusDie) DieImmutable(immutable bool) *ServiceStatusDie
- func (d *ServiceStatusDie) DieRelease() corev1.ServiceStatus
- func (d *ServiceStatusDie) DieReleaseJSON() []byte
- func (d *ServiceStatusDie) DieReleasePtr() *corev1.ServiceStatus
- func (d *ServiceStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ServiceStatusDie) DieReleaseYAML() []byte
- func (d *ServiceStatusDie) DieStamp(fn func(r *corev1.ServiceStatus)) *ServiceStatusDie
- func (d *ServiceStatusDie) DieStampAt(jp string, fn interface{}) *ServiceStatusDie
- func (d *ServiceStatusDie) DieWith(fns ...func(d *ServiceStatusDie)) *ServiceStatusDie
- func (d *ServiceStatusDie) LoadBalancer(v corev1.LoadBalancerStatus) *ServiceStatusDie
- func (d *ServiceStatusDie) LoadBalancerDie(fn func(d *LoadBalancerStatusDie)) *ServiceStatusDie
- type SessionAffinityConfigDie
- func (d *SessionAffinityConfigDie) ClientIP(v *corev1.ClientIPConfig) *SessionAffinityConfigDie
- func (d *SessionAffinityConfigDie) ClientIPDie(fn func(d *ClientIPConfigDie)) *SessionAffinityConfigDie
- func (d *SessionAffinityConfigDie) DeepCopy() *SessionAffinityConfigDie
- func (d *SessionAffinityConfigDie) DieFeed(r corev1.SessionAffinityConfig) *SessionAffinityConfigDie
- func (d *SessionAffinityConfigDie) DieFeedJSON(j []byte) *SessionAffinityConfigDie
- func (d *SessionAffinityConfigDie) DieFeedPtr(r *corev1.SessionAffinityConfig) *SessionAffinityConfigDie
- func (d *SessionAffinityConfigDie) DieFeedRawExtension(raw runtime.RawExtension) *SessionAffinityConfigDie
- func (d *SessionAffinityConfigDie) DieFeedYAML(y []byte) *SessionAffinityConfigDie
- func (d *SessionAffinityConfigDie) DieFeedYAMLFile(name string) *SessionAffinityConfigDie
- func (d *SessionAffinityConfigDie) DieImmutable(immutable bool) *SessionAffinityConfigDie
- func (d *SessionAffinityConfigDie) DieRelease() corev1.SessionAffinityConfig
- func (d *SessionAffinityConfigDie) DieReleaseJSON() []byte
- func (d *SessionAffinityConfigDie) DieReleasePtr() *corev1.SessionAffinityConfig
- func (d *SessionAffinityConfigDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *SessionAffinityConfigDie) DieReleaseYAML() []byte
- func (d *SessionAffinityConfigDie) DieStamp(fn func(r *corev1.SessionAffinityConfig)) *SessionAffinityConfigDie
- func (d *SessionAffinityConfigDie) DieStampAt(jp string, fn interface{}) *SessionAffinityConfigDie
- func (d *SessionAffinityConfigDie) DieWith(fns ...func(d *SessionAffinityConfigDie)) *SessionAffinityConfigDie
- type SleepActionDie
- func (d *SleepActionDie) DeepCopy() *SleepActionDie
- func (d *SleepActionDie) DieFeed(r corev1.SleepAction) *SleepActionDie
- func (d *SleepActionDie) DieFeedJSON(j []byte) *SleepActionDie
- func (d *SleepActionDie) DieFeedPtr(r *corev1.SleepAction) *SleepActionDie
- func (d *SleepActionDie) DieFeedRawExtension(raw runtime.RawExtension) *SleepActionDie
- func (d *SleepActionDie) DieFeedYAML(y []byte) *SleepActionDie
- func (d *SleepActionDie) DieFeedYAMLFile(name string) *SleepActionDie
- func (d *SleepActionDie) DieImmutable(immutable bool) *SleepActionDie
- func (d *SleepActionDie) DieRelease() corev1.SleepAction
- func (d *SleepActionDie) DieReleaseJSON() []byte
- func (d *SleepActionDie) DieReleasePtr() *corev1.SleepAction
- func (d *SleepActionDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *SleepActionDie) DieReleaseYAML() []byte
- func (d *SleepActionDie) DieStamp(fn func(r *corev1.SleepAction)) *SleepActionDie
- func (d *SleepActionDie) DieStampAt(jp string, fn interface{}) *SleepActionDie
- func (d *SleepActionDie) DieWith(fns ...func(d *SleepActionDie)) *SleepActionDie
- func (d *SleepActionDie) Seconds(v int64) *SleepActionDie
- type StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) DeepCopy() *StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) DieFeed(r corev1.StorageOSPersistentVolumeSource) *StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) DieFeedJSON(j []byte) *StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) DieFeedPtr(r *corev1.StorageOSPersistentVolumeSource) *StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) DieFeedYAML(y []byte) *StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) DieFeedYAMLFile(name string) *StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) DieImmutable(immutable bool) *StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) DieRelease() corev1.StorageOSPersistentVolumeSource
- func (d *StorageOSPersistentVolumeSourceDie) DieReleaseJSON() []byte
- func (d *StorageOSPersistentVolumeSourceDie) DieReleasePtr() *corev1.StorageOSPersistentVolumeSource
- func (d *StorageOSPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *StorageOSPersistentVolumeSourceDie) DieReleaseYAML() []byte
- func (d *StorageOSPersistentVolumeSourceDie) DieStamp(fn func(r *corev1.StorageOSPersistentVolumeSource)) *StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) DieWith(fns ...func(d *StorageOSPersistentVolumeSourceDie)) *StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) FSType(v string) *StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) ReadOnly(v bool) *StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) SecretRef(v *corev1.ObjectReference) *StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) SecretRefDie(fn func(d *ObjectReferenceDie)) *StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) VolumeName(v string) *StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) VolumeNamespace(v string) *StorageOSPersistentVolumeSourceDie
- type StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) DeepCopy() *StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) DieFeed(r corev1.StorageOSVolumeSource) *StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) DieFeedJSON(j []byte) *StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) DieFeedPtr(r *corev1.StorageOSVolumeSource) *StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) DieFeedYAML(y []byte) *StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) DieFeedYAMLFile(name string) *StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) DieImmutable(immutable bool) *StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) DieRelease() corev1.StorageOSVolumeSource
- func (d *StorageOSVolumeSourceDie) DieReleaseJSON() []byte
- func (d *StorageOSVolumeSourceDie) DieReleasePtr() *corev1.StorageOSVolumeSource
- func (d *StorageOSVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *StorageOSVolumeSourceDie) DieReleaseYAML() []byte
- func (d *StorageOSVolumeSourceDie) DieStamp(fn func(r *corev1.StorageOSVolumeSource)) *StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) DieStampAt(jp string, fn interface{}) *StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) DieWith(fns ...func(d *StorageOSVolumeSourceDie)) *StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) FSType(v string) *StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) ReadOnly(v bool) *StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) SecretRef(v *corev1.LocalObjectReference) *StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) SecretRefDie(fn func(d *LocalObjectReferenceDie)) *StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) VolumeName(v string) *StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) VolumeNamespace(v string) *StorageOSVolumeSourceDie
- type SysctlDie
- func (d *SysctlDie) DeepCopy() *SysctlDie
- func (d *SysctlDie) DieFeed(r corev1.Sysctl) *SysctlDie
- func (d *SysctlDie) DieFeedJSON(j []byte) *SysctlDie
- func (d *SysctlDie) DieFeedPtr(r *corev1.Sysctl) *SysctlDie
- func (d *SysctlDie) DieFeedRawExtension(raw runtime.RawExtension) *SysctlDie
- func (d *SysctlDie) DieFeedYAML(y []byte) *SysctlDie
- func (d *SysctlDie) DieFeedYAMLFile(name string) *SysctlDie
- func (d *SysctlDie) DieImmutable(immutable bool) *SysctlDie
- func (d *SysctlDie) DieRelease() corev1.Sysctl
- func (d *SysctlDie) DieReleaseJSON() []byte
- func (d *SysctlDie) DieReleasePtr() *corev1.Sysctl
- func (d *SysctlDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *SysctlDie) DieReleaseYAML() []byte
- func (d *SysctlDie) DieStamp(fn func(r *corev1.Sysctl)) *SysctlDie
- func (d *SysctlDie) DieStampAt(jp string, fn interface{}) *SysctlDie
- func (d *SysctlDie) DieWith(fns ...func(d *SysctlDie)) *SysctlDie
- func (d *SysctlDie) Name(v string) *SysctlDie
- func (d *SysctlDie) Value(v string) *SysctlDie
- type TCPSocketActionDie
- func (d *TCPSocketActionDie) DeepCopy() *TCPSocketActionDie
- func (d *TCPSocketActionDie) DieFeed(r corev1.TCPSocketAction) *TCPSocketActionDie
- func (d *TCPSocketActionDie) DieFeedJSON(j []byte) *TCPSocketActionDie
- func (d *TCPSocketActionDie) DieFeedPtr(r *corev1.TCPSocketAction) *TCPSocketActionDie
- func (d *TCPSocketActionDie) DieFeedRawExtension(raw runtime.RawExtension) *TCPSocketActionDie
- func (d *TCPSocketActionDie) DieFeedYAML(y []byte) *TCPSocketActionDie
- func (d *TCPSocketActionDie) DieFeedYAMLFile(name string) *TCPSocketActionDie
- func (d *TCPSocketActionDie) DieImmutable(immutable bool) *TCPSocketActionDie
- func (d *TCPSocketActionDie) DieRelease() corev1.TCPSocketAction
- func (d *TCPSocketActionDie) DieReleaseJSON() []byte
- func (d *TCPSocketActionDie) DieReleasePtr() *corev1.TCPSocketAction
- func (d *TCPSocketActionDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TCPSocketActionDie) DieReleaseYAML() []byte
- func (d *TCPSocketActionDie) DieStamp(fn func(r *corev1.TCPSocketAction)) *TCPSocketActionDie
- func (d *TCPSocketActionDie) DieStampAt(jp string, fn interface{}) *TCPSocketActionDie
- func (d *TCPSocketActionDie) DieWith(fns ...func(d *TCPSocketActionDie)) *TCPSocketActionDie
- func (d *TCPSocketActionDie) Host(v string) *TCPSocketActionDie
- func (d *TCPSocketActionDie) Port(v intstr.IntOrString) *TCPSocketActionDie
- func (d *TCPSocketActionDie) PortInt(i int) *TCPSocketActionDie
- func (d *TCPSocketActionDie) PortString(s string) *TCPSocketActionDie
- type TaintDie
- func (d *TaintDie) DeepCopy() *TaintDie
- func (d *TaintDie) DieFeed(r corev1.Taint) *TaintDie
- func (d *TaintDie) DieFeedJSON(j []byte) *TaintDie
- func (d *TaintDie) DieFeedPtr(r *corev1.Taint) *TaintDie
- func (d *TaintDie) DieFeedRawExtension(raw runtime.RawExtension) *TaintDie
- func (d *TaintDie) DieFeedYAML(y []byte) *TaintDie
- func (d *TaintDie) DieFeedYAMLFile(name string) *TaintDie
- func (d *TaintDie) DieImmutable(immutable bool) *TaintDie
- func (d *TaintDie) DieRelease() corev1.Taint
- func (d *TaintDie) DieReleaseJSON() []byte
- func (d *TaintDie) DieReleasePtr() *corev1.Taint
- func (d *TaintDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TaintDie) DieReleaseYAML() []byte
- func (d *TaintDie) DieStamp(fn func(r *corev1.Taint)) *TaintDie
- func (d *TaintDie) DieStampAt(jp string, fn interface{}) *TaintDie
- func (d *TaintDie) DieWith(fns ...func(d *TaintDie)) *TaintDie
- func (d *TaintDie) Effect(v corev1.TaintEffect) *TaintDie
- func (d *TaintDie) Key(v string) *TaintDie
- func (d *TaintDie) TimeAdded(v *apismetav1.Time) *TaintDie
- func (d *TaintDie) Value(v string) *TaintDie
- type TolerationDie
- func (d *TolerationDie) DeepCopy() *TolerationDie
- func (d *TolerationDie) DieFeed(r corev1.Toleration) *TolerationDie
- func (d *TolerationDie) DieFeedJSON(j []byte) *TolerationDie
- func (d *TolerationDie) DieFeedPtr(r *corev1.Toleration) *TolerationDie
- func (d *TolerationDie) DieFeedRawExtension(raw runtime.RawExtension) *TolerationDie
- func (d *TolerationDie) DieFeedYAML(y []byte) *TolerationDie
- func (d *TolerationDie) DieFeedYAMLFile(name string) *TolerationDie
- func (d *TolerationDie) DieImmutable(immutable bool) *TolerationDie
- func (d *TolerationDie) DieRelease() corev1.Toleration
- func (d *TolerationDie) DieReleaseJSON() []byte
- func (d *TolerationDie) DieReleasePtr() *corev1.Toleration
- func (d *TolerationDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TolerationDie) DieReleaseYAML() []byte
- func (d *TolerationDie) DieStamp(fn func(r *corev1.Toleration)) *TolerationDie
- func (d *TolerationDie) DieStampAt(jp string, fn interface{}) *TolerationDie
- func (d *TolerationDie) DieWith(fns ...func(d *TolerationDie)) *TolerationDie
- func (d *TolerationDie) Effect(v corev1.TaintEffect) *TolerationDie
- func (d *TolerationDie) Key(v string) *TolerationDie
- func (d *TolerationDie) Operator(v corev1.TolerationOperator) *TolerationDie
- func (d *TolerationDie) TolerationSeconds(v *int64) *TolerationDie
- func (d *TolerationDie) Value(v string) *TolerationDie
- type TopologySelectorLabelRequirementDie
- func (d *TopologySelectorLabelRequirementDie) DeepCopy() *TopologySelectorLabelRequirementDie
- func (d *TopologySelectorLabelRequirementDie) DieFeed(r corev1.TopologySelectorLabelRequirement) *TopologySelectorLabelRequirementDie
- func (d *TopologySelectorLabelRequirementDie) DieFeedJSON(j []byte) *TopologySelectorLabelRequirementDie
- func (d *TopologySelectorLabelRequirementDie) DieFeedPtr(r *corev1.TopologySelectorLabelRequirement) *TopologySelectorLabelRequirementDie
- func (d *TopologySelectorLabelRequirementDie) DieFeedRawExtension(raw runtime.RawExtension) *TopologySelectorLabelRequirementDie
- func (d *TopologySelectorLabelRequirementDie) DieFeedYAML(y []byte) *TopologySelectorLabelRequirementDie
- func (d *TopologySelectorLabelRequirementDie) DieFeedYAMLFile(name string) *TopologySelectorLabelRequirementDie
- func (d *TopologySelectorLabelRequirementDie) DieImmutable(immutable bool) *TopologySelectorLabelRequirementDie
- func (d *TopologySelectorLabelRequirementDie) DieRelease() corev1.TopologySelectorLabelRequirement
- func (d *TopologySelectorLabelRequirementDie) DieReleaseJSON() []byte
- func (d *TopologySelectorLabelRequirementDie) DieReleasePtr() *corev1.TopologySelectorLabelRequirement
- func (d *TopologySelectorLabelRequirementDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TopologySelectorLabelRequirementDie) DieReleaseYAML() []byte
- func (d *TopologySelectorLabelRequirementDie) DieStamp(fn func(r *corev1.TopologySelectorLabelRequirement)) *TopologySelectorLabelRequirementDie
- func (d *TopologySelectorLabelRequirementDie) DieStampAt(jp string, fn interface{}) *TopologySelectorLabelRequirementDie
- func (d *TopologySelectorLabelRequirementDie) DieWith(fns ...func(d *TopologySelectorLabelRequirementDie)) *TopologySelectorLabelRequirementDie
- func (d *TopologySelectorLabelRequirementDie) Key(v string) *TopologySelectorLabelRequirementDie
- func (d *TopologySelectorLabelRequirementDie) Values(v ...string) *TopologySelectorLabelRequirementDie
- type TopologySelectorTermDie
- func (d *TopologySelectorTermDie) DeepCopy() *TopologySelectorTermDie
- func (d *TopologySelectorTermDie) DieFeed(r corev1.TopologySelectorTerm) *TopologySelectorTermDie
- func (d *TopologySelectorTermDie) DieFeedJSON(j []byte) *TopologySelectorTermDie
- func (d *TopologySelectorTermDie) DieFeedPtr(r *corev1.TopologySelectorTerm) *TopologySelectorTermDie
- func (d *TopologySelectorTermDie) DieFeedRawExtension(raw runtime.RawExtension) *TopologySelectorTermDie
- func (d *TopologySelectorTermDie) DieFeedYAML(y []byte) *TopologySelectorTermDie
- func (d *TopologySelectorTermDie) DieFeedYAMLFile(name string) *TopologySelectorTermDie
- func (d *TopologySelectorTermDie) DieImmutable(immutable bool) *TopologySelectorTermDie
- func (d *TopologySelectorTermDie) DieRelease() corev1.TopologySelectorTerm
- func (d *TopologySelectorTermDie) DieReleaseJSON() []byte
- func (d *TopologySelectorTermDie) DieReleasePtr() *corev1.TopologySelectorTerm
- func (d *TopologySelectorTermDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TopologySelectorTermDie) DieReleaseYAML() []byte
- func (d *TopologySelectorTermDie) DieStamp(fn func(r *corev1.TopologySelectorTerm)) *TopologySelectorTermDie
- func (d *TopologySelectorTermDie) DieStampAt(jp string, fn interface{}) *TopologySelectorTermDie
- func (d *TopologySelectorTermDie) DieWith(fns ...func(d *TopologySelectorTermDie)) *TopologySelectorTermDie
- func (d *TopologySelectorTermDie) MatchLabelExpressions(v ...corev1.TopologySelectorLabelRequirement) *TopologySelectorTermDie
- func (d *TopologySelectorTermDie) MatchLabelExpressionsDie(requirements ...*TopologySelectorLabelRequirementDie) *TopologySelectorTermDie
- type TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) DeepCopy() *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) DieFeed(r corev1.TopologySpreadConstraint) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) DieFeedJSON(j []byte) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) DieFeedPtr(r *corev1.TopologySpreadConstraint) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) DieFeedRawExtension(raw runtime.RawExtension) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) DieFeedYAML(y []byte) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) DieFeedYAMLFile(name string) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) DieImmutable(immutable bool) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) DieRelease() corev1.TopologySpreadConstraint
- func (d *TopologySpreadConstraintDie) DieReleaseJSON() []byte
- func (d *TopologySpreadConstraintDie) DieReleasePtr() *corev1.TopologySpreadConstraint
- func (d *TopologySpreadConstraintDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TopologySpreadConstraintDie) DieReleaseYAML() []byte
- func (d *TopologySpreadConstraintDie) DieStamp(fn func(r *corev1.TopologySpreadConstraint)) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) DieStampAt(jp string, fn interface{}) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) DieWith(fns ...func(d *TopologySpreadConstraintDie)) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) LabelSelector(v *apismetav1.LabelSelector) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) LabelSelectorDie(fn func(d *diemetav1.LabelSelectorDie)) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) MatchLabelKeys(v ...string) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) MaxSkew(v int32) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) MinDomains(v *int32) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) NodeAffinityPolicy(v *corev1.NodeInclusionPolicy) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) NodeTaintsPolicy(v *corev1.NodeInclusionPolicy) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) TopologyKey(v string) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) WhenUnsatisfiable(v corev1.UnsatisfiableConstraintAction) *TopologySpreadConstraintDie
- type TypedLocalObjectReferenceDie
- func (d *TypedLocalObjectReferenceDie) APIGroup(v *string) *TypedLocalObjectReferenceDie
- func (d *TypedLocalObjectReferenceDie) DeepCopy() *TypedLocalObjectReferenceDie
- func (d *TypedLocalObjectReferenceDie) DieFeed(r corev1.TypedLocalObjectReference) *TypedLocalObjectReferenceDie
- func (d *TypedLocalObjectReferenceDie) DieFeedJSON(j []byte) *TypedLocalObjectReferenceDie
- func (d *TypedLocalObjectReferenceDie) DieFeedPtr(r *corev1.TypedLocalObjectReference) *TypedLocalObjectReferenceDie
- func (d *TypedLocalObjectReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *TypedLocalObjectReferenceDie
- func (d *TypedLocalObjectReferenceDie) DieFeedYAML(y []byte) *TypedLocalObjectReferenceDie
- func (d *TypedLocalObjectReferenceDie) DieFeedYAMLFile(name string) *TypedLocalObjectReferenceDie
- func (d *TypedLocalObjectReferenceDie) DieImmutable(immutable bool) *TypedLocalObjectReferenceDie
- func (d *TypedLocalObjectReferenceDie) DieRelease() corev1.TypedLocalObjectReference
- func (d *TypedLocalObjectReferenceDie) DieReleaseJSON() []byte
- func (d *TypedLocalObjectReferenceDie) DieReleasePtr() *corev1.TypedLocalObjectReference
- func (d *TypedLocalObjectReferenceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TypedLocalObjectReferenceDie) DieReleaseYAML() []byte
- func (d *TypedLocalObjectReferenceDie) DieStamp(fn func(r *corev1.TypedLocalObjectReference)) *TypedLocalObjectReferenceDie
- func (d *TypedLocalObjectReferenceDie) DieStampAt(jp string, fn interface{}) *TypedLocalObjectReferenceDie
- func (d *TypedLocalObjectReferenceDie) DieWith(fns ...func(d *TypedLocalObjectReferenceDie)) *TypedLocalObjectReferenceDie
- func (d *TypedLocalObjectReferenceDie) Kind(v string) *TypedLocalObjectReferenceDie
- func (d *TypedLocalObjectReferenceDie) Name(v string) *TypedLocalObjectReferenceDie
- type TypedObjectReferenceDie
- func (d *TypedObjectReferenceDie) APIGroup(v *string) *TypedObjectReferenceDie
- func (d *TypedObjectReferenceDie) DeepCopy() *TypedObjectReferenceDie
- func (d *TypedObjectReferenceDie) DieFeed(r corev1.TypedObjectReference) *TypedObjectReferenceDie
- func (d *TypedObjectReferenceDie) DieFeedJSON(j []byte) *TypedObjectReferenceDie
- func (d *TypedObjectReferenceDie) DieFeedPtr(r *corev1.TypedObjectReference) *TypedObjectReferenceDie
- func (d *TypedObjectReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *TypedObjectReferenceDie
- func (d *TypedObjectReferenceDie) DieFeedYAML(y []byte) *TypedObjectReferenceDie
- func (d *TypedObjectReferenceDie) DieFeedYAMLFile(name string) *TypedObjectReferenceDie
- func (d *TypedObjectReferenceDie) DieImmutable(immutable bool) *TypedObjectReferenceDie
- func (d *TypedObjectReferenceDie) DieRelease() corev1.TypedObjectReference
- func (d *TypedObjectReferenceDie) DieReleaseJSON() []byte
- func (d *TypedObjectReferenceDie) DieReleasePtr() *corev1.TypedObjectReference
- func (d *TypedObjectReferenceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TypedObjectReferenceDie) DieReleaseYAML() []byte
- func (d *TypedObjectReferenceDie) DieStamp(fn func(r *corev1.TypedObjectReference)) *TypedObjectReferenceDie
- func (d *TypedObjectReferenceDie) DieStampAt(jp string, fn interface{}) *TypedObjectReferenceDie
- func (d *TypedObjectReferenceDie) DieWith(fns ...func(d *TypedObjectReferenceDie)) *TypedObjectReferenceDie
- func (d *TypedObjectReferenceDie) Kind(v string) *TypedObjectReferenceDie
- func (d *TypedObjectReferenceDie) Name(v string) *TypedObjectReferenceDie
- func (d *TypedObjectReferenceDie) Namespace(v *string) *TypedObjectReferenceDie
- type VolumeDeviceDie
- func (d *VolumeDeviceDie) DeepCopy() *VolumeDeviceDie
- func (d *VolumeDeviceDie) DevicePath(v string) *VolumeDeviceDie
- func (d *VolumeDeviceDie) DieFeed(r corev1.VolumeDevice) *VolumeDeviceDie
- func (d *VolumeDeviceDie) DieFeedJSON(j []byte) *VolumeDeviceDie
- func (d *VolumeDeviceDie) DieFeedPtr(r *corev1.VolumeDevice) *VolumeDeviceDie
- func (d *VolumeDeviceDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeDeviceDie
- func (d *VolumeDeviceDie) DieFeedYAML(y []byte) *VolumeDeviceDie
- func (d *VolumeDeviceDie) DieFeedYAMLFile(name string) *VolumeDeviceDie
- func (d *VolumeDeviceDie) DieImmutable(immutable bool) *VolumeDeviceDie
- func (d *VolumeDeviceDie) DieRelease() corev1.VolumeDevice
- func (d *VolumeDeviceDie) DieReleaseJSON() []byte
- func (d *VolumeDeviceDie) DieReleasePtr() *corev1.VolumeDevice
- func (d *VolumeDeviceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *VolumeDeviceDie) DieReleaseYAML() []byte
- func (d *VolumeDeviceDie) DieStamp(fn func(r *corev1.VolumeDevice)) *VolumeDeviceDie
- func (d *VolumeDeviceDie) DieStampAt(jp string, fn interface{}) *VolumeDeviceDie
- func (d *VolumeDeviceDie) DieWith(fns ...func(d *VolumeDeviceDie)) *VolumeDeviceDie
- func (d *VolumeDeviceDie) Name(v string) *VolumeDeviceDie
- type VolumeDie
- func (d *VolumeDie) AWSElasticBlockStoreDie(fn func(d *AWSElasticBlockStoreVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) AzureDiskDie(fn func(d *AzureDiskVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) AzureFileDie(fn func(d *AzureFileVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) CSIDie(fn func(d *CSIVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) CephFSDie(fn func(d *CephFSVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) CinderDie(fn func(d *CinderVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) ConfigMapDie(fn func(d *ConfigMapVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) DeepCopy() *VolumeDie
- func (d *VolumeDie) DieFeed(r corev1.Volume) *VolumeDie
- func (d *VolumeDie) DieFeedJSON(j []byte) *VolumeDie
- func (d *VolumeDie) DieFeedPtr(r *corev1.Volume) *VolumeDie
- func (d *VolumeDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeDie
- func (d *VolumeDie) DieFeedYAML(y []byte) *VolumeDie
- func (d *VolumeDie) DieFeedYAMLFile(name string) *VolumeDie
- func (d *VolumeDie) DieImmutable(immutable bool) *VolumeDie
- func (d *VolumeDie) DieRelease() corev1.Volume
- func (d *VolumeDie) DieReleaseJSON() []byte
- func (d *VolumeDie) DieReleasePtr() *corev1.Volume
- func (d *VolumeDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *VolumeDie) DieReleaseYAML() []byte
- func (d *VolumeDie) DieStamp(fn func(r *corev1.Volume)) *VolumeDie
- func (d *VolumeDie) DieStampAt(jp string, fn interface{}) *VolumeDie
- func (d *VolumeDie) DieWith(fns ...func(d *VolumeDie)) *VolumeDie
- func (d *VolumeDie) DownwardAPIDie(fn func(d *DownwardAPIVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) EmptyDirDie(fn func(d *EmptyDirVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) EphemeralDie(fn func(d *EphemeralVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) FCDie(fn func(d *FCVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) FlexVolumeDie(fn func(d *FlexVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) FlockerDie(fn func(d *FlockerVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) GCEPersistentDiskDie(fn func(d *GCEPersistentDiskVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) GitRepoDie(fn func(d *GitRepoVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) GlusterfsDie(fn func(d *GlusterfsVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) HostPathDie(fn func(d *HostPathVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) ISCSIDie(fn func(d *ISCSIVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) NFSDie(fn func(d *NFSVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) Name(v string) *VolumeDie
- func (d *VolumeDie) PersistentVolumeClaimDie(fn func(d *PersistentVolumeClaimVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) PhotonPersistentDiskDie(fn func(d *PhotonPersistentDiskVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) PortworxVolumeDie(fn func(d *PortworxVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) ProjectedDie(fn func(d *ProjectedVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) QuobyteDie(fn func(d *QuobyteVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) RBDDie(fn func(d *RBDVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) ScaleIODie(fn func(d *ScaleIOVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) SecretDie(fn func(d *SecretVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) StorageOSDie(fn func(d *StorageOSVolumeSourceDie)) *VolumeDie
- func (d *VolumeDie) VolumeSource(v corev1.VolumeSource) *VolumeDie
- func (d *VolumeDie) VsphereVolumeDie(fn func(d *VsphereVirtualDiskVolumeSourceDie)) *VolumeDie
- type VolumeMountDie
- func (d *VolumeMountDie) DeepCopy() *VolumeMountDie
- func (d *VolumeMountDie) DieFeed(r corev1.VolumeMount) *VolumeMountDie
- func (d *VolumeMountDie) DieFeedJSON(j []byte) *VolumeMountDie
- func (d *VolumeMountDie) DieFeedPtr(r *corev1.VolumeMount) *VolumeMountDie
- func (d *VolumeMountDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeMountDie
- func (d *VolumeMountDie) DieFeedYAML(y []byte) *VolumeMountDie
- func (d *VolumeMountDie) DieFeedYAMLFile(name string) *VolumeMountDie
- func (d *VolumeMountDie) DieImmutable(immutable bool) *VolumeMountDie
- func (d *VolumeMountDie) DieRelease() corev1.VolumeMount
- func (d *VolumeMountDie) DieReleaseJSON() []byte
- func (d *VolumeMountDie) DieReleasePtr() *corev1.VolumeMount
- func (d *VolumeMountDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *VolumeMountDie) DieReleaseYAML() []byte
- func (d *VolumeMountDie) DieStamp(fn func(r *corev1.VolumeMount)) *VolumeMountDie
- func (d *VolumeMountDie) DieStampAt(jp string, fn interface{}) *VolumeMountDie
- func (d *VolumeMountDie) DieWith(fns ...func(d *VolumeMountDie)) *VolumeMountDie
- func (d *VolumeMountDie) MountPath(v string) *VolumeMountDie
- func (d *VolumeMountDie) MountPropagation(v *corev1.MountPropagationMode) *VolumeMountDie
- func (d *VolumeMountDie) Name(v string) *VolumeMountDie
- func (d *VolumeMountDie) ReadOnly(v bool) *VolumeMountDie
- func (d *VolumeMountDie) SubPath(v string) *VolumeMountDie
- func (d *VolumeMountDie) SubPathExpr(v string) *VolumeMountDie
- type VolumeNodeAffinityDie
- func (d *VolumeNodeAffinityDie) DeepCopy() *VolumeNodeAffinityDie
- func (d *VolumeNodeAffinityDie) DieFeed(r corev1.VolumeNodeAffinity) *VolumeNodeAffinityDie
- func (d *VolumeNodeAffinityDie) DieFeedJSON(j []byte) *VolumeNodeAffinityDie
- func (d *VolumeNodeAffinityDie) DieFeedPtr(r *corev1.VolumeNodeAffinity) *VolumeNodeAffinityDie
- func (d *VolumeNodeAffinityDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeNodeAffinityDie
- func (d *VolumeNodeAffinityDie) DieFeedYAML(y []byte) *VolumeNodeAffinityDie
- func (d *VolumeNodeAffinityDie) DieFeedYAMLFile(name string) *VolumeNodeAffinityDie
- func (d *VolumeNodeAffinityDie) DieImmutable(immutable bool) *VolumeNodeAffinityDie
- func (d *VolumeNodeAffinityDie) DieRelease() corev1.VolumeNodeAffinity
- func (d *VolumeNodeAffinityDie) DieReleaseJSON() []byte
- func (d *VolumeNodeAffinityDie) DieReleasePtr() *corev1.VolumeNodeAffinity
- func (d *VolumeNodeAffinityDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *VolumeNodeAffinityDie) DieReleaseYAML() []byte
- func (d *VolumeNodeAffinityDie) DieStamp(fn func(r *corev1.VolumeNodeAffinity)) *VolumeNodeAffinityDie
- func (d *VolumeNodeAffinityDie) DieStampAt(jp string, fn interface{}) *VolumeNodeAffinityDie
- func (d *VolumeNodeAffinityDie) DieWith(fns ...func(d *VolumeNodeAffinityDie)) *VolumeNodeAffinityDie
- func (d *VolumeNodeAffinityDie) Required(v *corev1.NodeSelector) *VolumeNodeAffinityDie
- func (d *VolumeNodeAffinityDie) RequiredDie(fn func(d *NodeSelectorDie)) *VolumeNodeAffinityDie
- type VolumeProjectionDie
- func (d *VolumeProjectionDie) ClusterTrustBundle(v *corev1.ClusterTrustBundleProjection) *VolumeProjectionDie
- func (d *VolumeProjectionDie) ClusterTrustBundleDie(fn func(d *ClusterTrustBundleProjectionDie)) *VolumeProjectionDie
- func (d *VolumeProjectionDie) ConfigMap(v *corev1.ConfigMapProjection) *VolumeProjectionDie
- func (d *VolumeProjectionDie) ConfigMapDie(fn func(d *ConfigMapProjectionDie)) *VolumeProjectionDie
- func (d *VolumeProjectionDie) DeepCopy() *VolumeProjectionDie
- func (d *VolumeProjectionDie) DieFeed(r corev1.VolumeProjection) *VolumeProjectionDie
- func (d *VolumeProjectionDie) DieFeedJSON(j []byte) *VolumeProjectionDie
- func (d *VolumeProjectionDie) DieFeedPtr(r *corev1.VolumeProjection) *VolumeProjectionDie
- func (d *VolumeProjectionDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeProjectionDie
- func (d *VolumeProjectionDie) DieFeedYAML(y []byte) *VolumeProjectionDie
- func (d *VolumeProjectionDie) DieFeedYAMLFile(name string) *VolumeProjectionDie
- func (d *VolumeProjectionDie) DieImmutable(immutable bool) *VolumeProjectionDie
- func (d *VolumeProjectionDie) DieRelease() corev1.VolumeProjection
- func (d *VolumeProjectionDie) DieReleaseJSON() []byte
- func (d *VolumeProjectionDie) DieReleasePtr() *corev1.VolumeProjection
- func (d *VolumeProjectionDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *VolumeProjectionDie) DieReleaseYAML() []byte
- func (d *VolumeProjectionDie) DieStamp(fn func(r *corev1.VolumeProjection)) *VolumeProjectionDie
- func (d *VolumeProjectionDie) DieStampAt(jp string, fn interface{}) *VolumeProjectionDie
- func (d *VolumeProjectionDie) DieWith(fns ...func(d *VolumeProjectionDie)) *VolumeProjectionDie
- func (d *VolumeProjectionDie) DownwardAPI(v *corev1.DownwardAPIProjection) *VolumeProjectionDie
- func (d *VolumeProjectionDie) DownwardAPIDie(fn func(d *DownwardAPIProjectionDie)) *VolumeProjectionDie
- func (d *VolumeProjectionDie) Secret(v *corev1.SecretProjection) *VolumeProjectionDie
- func (d *VolumeProjectionDie) SecretDie(fn func(d *SecretProjectionDie)) *VolumeProjectionDie
- func (d *VolumeProjectionDie) ServiceAccountToken(v *corev1.ServiceAccountTokenProjection) *VolumeProjectionDie
- func (d *VolumeProjectionDie) ServiceAccountTokenDie(fn func(d *ServiceAccountTokenProjectionDie)) *VolumeProjectionDie
- type VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) AddLimit(name corev1.ResourceName, quantity resource.Quantity) *VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) AddLimitString(name corev1.ResourceName, quantity string) *VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) AddRequest(name corev1.ResourceName, quantity resource.Quantity) *VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) AddRequestString(name corev1.ResourceName, quantity string) *VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) DeepCopy() *VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) DieFeed(r corev1.VolumeResourceRequirements) *VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) DieFeedJSON(j []byte) *VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) DieFeedPtr(r *corev1.VolumeResourceRequirements) *VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) DieFeedYAML(y []byte) *VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) DieFeedYAMLFile(name string) *VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) DieImmutable(immutable bool) *VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) DieRelease() corev1.VolumeResourceRequirements
- func (d *VolumeResourceRequirementsDie) DieReleaseJSON() []byte
- func (d *VolumeResourceRequirementsDie) DieReleasePtr() *corev1.VolumeResourceRequirements
- func (d *VolumeResourceRequirementsDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *VolumeResourceRequirementsDie) DieReleaseYAML() []byte
- func (d *VolumeResourceRequirementsDie) DieStamp(fn func(r *corev1.VolumeResourceRequirements)) *VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) DieStampAt(jp string, fn interface{}) *VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) DieWith(fns ...func(d *VolumeResourceRequirementsDie)) *VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) Limits(v corev1.ResourceList) *VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) Requests(v corev1.ResourceList) *VolumeResourceRequirementsDie
- type VsphereVirtualDiskVolumeSourceDie
- func (d *VsphereVirtualDiskVolumeSourceDie) DeepCopy() *VsphereVirtualDiskVolumeSourceDie
- func (d *VsphereVirtualDiskVolumeSourceDie) DieFeed(r corev1.VsphereVirtualDiskVolumeSource) *VsphereVirtualDiskVolumeSourceDie
- func (d *VsphereVirtualDiskVolumeSourceDie) DieFeedJSON(j []byte) *VsphereVirtualDiskVolumeSourceDie
- func (d *VsphereVirtualDiskVolumeSourceDie) DieFeedPtr(r *corev1.VsphereVirtualDiskVolumeSource) *VsphereVirtualDiskVolumeSourceDie
- func (d *VsphereVirtualDiskVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *VsphereVirtualDiskVolumeSourceDie
- func (d *VsphereVirtualDiskVolumeSourceDie) DieFeedYAML(y []byte) *VsphereVirtualDiskVolumeSourceDie
- func (d *VsphereVirtualDiskVolumeSourceDie) DieFeedYAMLFile(name string) *VsphereVirtualDiskVolumeSourceDie
- func (d *VsphereVirtualDiskVolumeSourceDie) DieImmutable(immutable bool) *VsphereVirtualDiskVolumeSourceDie
- func (d *VsphereVirtualDiskVolumeSourceDie) DieRelease() corev1.VsphereVirtualDiskVolumeSource
- func (d *VsphereVirtualDiskVolumeSourceDie) DieReleaseJSON() []byte
- func (d *VsphereVirtualDiskVolumeSourceDie) DieReleasePtr() *corev1.VsphereVirtualDiskVolumeSource
- func (d *VsphereVirtualDiskVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *VsphereVirtualDiskVolumeSourceDie) DieReleaseYAML() []byte
- func (d *VsphereVirtualDiskVolumeSourceDie) DieStamp(fn func(r *corev1.VsphereVirtualDiskVolumeSource)) *VsphereVirtualDiskVolumeSourceDie
- func (d *VsphereVirtualDiskVolumeSourceDie) DieStampAt(jp string, fn interface{}) *VsphereVirtualDiskVolumeSourceDie
- func (d *VsphereVirtualDiskVolumeSourceDie) DieWith(fns ...func(d *VsphereVirtualDiskVolumeSourceDie)) *VsphereVirtualDiskVolumeSourceDie
- func (d *VsphereVirtualDiskVolumeSourceDie) FSType(v string) *VsphereVirtualDiskVolumeSourceDie
- func (d *VsphereVirtualDiskVolumeSourceDie) StoragePolicyID(v string) *VsphereVirtualDiskVolumeSourceDie
- func (d *VsphereVirtualDiskVolumeSourceDie) StoragePolicyName(v string) *VsphereVirtualDiskVolumeSourceDie
- func (d *VsphereVirtualDiskVolumeSourceDie) VolumePath(v string) *VsphereVirtualDiskVolumeSourceDie
- type WindowsSecurityContextOptionsDie
- func (d *WindowsSecurityContextOptionsDie) DeepCopy() *WindowsSecurityContextOptionsDie
- func (d *WindowsSecurityContextOptionsDie) DieFeed(r corev1.WindowsSecurityContextOptions) *WindowsSecurityContextOptionsDie
- func (d *WindowsSecurityContextOptionsDie) DieFeedJSON(j []byte) *WindowsSecurityContextOptionsDie
- func (d *WindowsSecurityContextOptionsDie) DieFeedPtr(r *corev1.WindowsSecurityContextOptions) *WindowsSecurityContextOptionsDie
- func (d *WindowsSecurityContextOptionsDie) DieFeedRawExtension(raw runtime.RawExtension) *WindowsSecurityContextOptionsDie
- func (d *WindowsSecurityContextOptionsDie) DieFeedYAML(y []byte) *WindowsSecurityContextOptionsDie
- func (d *WindowsSecurityContextOptionsDie) DieFeedYAMLFile(name string) *WindowsSecurityContextOptionsDie
- func (d *WindowsSecurityContextOptionsDie) DieImmutable(immutable bool) *WindowsSecurityContextOptionsDie
- func (d *WindowsSecurityContextOptionsDie) DieRelease() corev1.WindowsSecurityContextOptions
- func (d *WindowsSecurityContextOptionsDie) DieReleaseJSON() []byte
- func (d *WindowsSecurityContextOptionsDie) DieReleasePtr() *corev1.WindowsSecurityContextOptions
- func (d *WindowsSecurityContextOptionsDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *WindowsSecurityContextOptionsDie) DieReleaseYAML() []byte
- func (d *WindowsSecurityContextOptionsDie) DieStamp(fn func(r *corev1.WindowsSecurityContextOptions)) *WindowsSecurityContextOptionsDie
- func (d *WindowsSecurityContextOptionsDie) DieStampAt(jp string, fn interface{}) *WindowsSecurityContextOptionsDie
- func (d *WindowsSecurityContextOptionsDie) DieWith(fns ...func(d *WindowsSecurityContextOptionsDie)) *WindowsSecurityContextOptionsDie
- func (d *WindowsSecurityContextOptionsDie) GMSACredentialSpec(v *string) *WindowsSecurityContextOptionsDie
- func (d *WindowsSecurityContextOptionsDie) GMSACredentialSpecName(v *string) *WindowsSecurityContextOptionsDie
- func (d *WindowsSecurityContextOptionsDie) HostProcess(v *bool) *WindowsSecurityContextOptionsDie
- func (d *WindowsSecurityContextOptionsDie) RunAsUserName(v *string) *WindowsSecurityContextOptionsDie
Constants ¶
This section is empty.
Variables ¶
var AWSElasticBlockStoreVolumeSourceBlank = (&AWSElasticBlockStoreVolumeSourceDie{}).DieFeed(corev1.AWSElasticBlockStoreVolumeSource{})
var AttachedVolumeBlank = (&AttachedVolumeDie{}).DieFeed(corev1.AttachedVolume{})
var AzureDiskVolumeSourceBlank = (&AzureDiskVolumeSourceDie{}).DieFeed(corev1.AzureDiskVolumeSource{})
var AzureFilePersistentVolumeSourceBlank = (&AzureFilePersistentVolumeSourceDie{}).DieFeed(corev1.AzureFilePersistentVolumeSource{})
var AzureFileVolumeSourceBlank = (&AzureFileVolumeSourceDie{}).DieFeed(corev1.AzureFileVolumeSource{})
var BindingBlank = (&BindingDie{}).DieFeed(corev1.Binding{})
var CSIPersistentVolumeSourceBlank = (&CSIPersistentVolumeSourceDie{}).DieFeed(corev1.CSIPersistentVolumeSource{})
var CSIVolumeSourceBlank = (&CSIVolumeSourceDie{}).DieFeed(corev1.CSIVolumeSource{})
var CapabilitiesBlank = (&CapabilitiesDie{}).DieFeed(corev1.Capabilities{})
var CephFSPersistentVolumeSourceBlank = (&CephFSPersistentVolumeSourceDie{}).DieFeed(corev1.CephFSPersistentVolumeSource{})
var CephFSVolumeSourceBlank = (&CephFSVolumeSourceDie{}).DieFeed(corev1.CephFSVolumeSource{})
var CinderPersistentVolumeSourceBlank = (&CinderPersistentVolumeSourceDie{}).DieFeed(corev1.CinderPersistentVolumeSource{})
var CinderVolumeSourceBlank = (&CinderVolumeSourceDie{}).DieFeed(corev1.CinderVolumeSource{})
var ClaimSourceBlank = (&ClaimSourceDie{}).DieFeed(corev1.ClaimSource{})
var ClientIPConfigBlank = (&ClientIPConfigDie{}).DieFeed(corev1.ClientIPConfig{})
var ClusterTrustBundleProjectionBlank = (&ClusterTrustBundleProjectionDie{}).DieFeed(corev1.ClusterTrustBundleProjection{})
var ComponentStatusBlank = (&ComponentStatusDie{}).DieFeed(corev1.ComponentStatus{})
var ConfigMapBlank = (&ConfigMapDie{}).DieFeed(corev1.ConfigMap{})
var ConfigMapEnvSourceBlank = (&ConfigMapEnvSourceDie{}).DieFeed(corev1.ConfigMapEnvSource{})
var ConfigMapKeySelectorBlank = (&ConfigMapKeySelectorDie{}).DieFeed(corev1.ConfigMapKeySelector{})
var ConfigMapNodeConfigSourceBlank = (&ConfigMapNodeConfigSourceDie{}).DieFeed(corev1.ConfigMapNodeConfigSource{})
var ConfigMapProjectionBlank = (&ConfigMapProjectionDie{}).DieFeed(corev1.ConfigMapProjection{})
var ConfigMapVolumeSourceBlank = (&ConfigMapVolumeSourceDie{}).DieFeed(corev1.ConfigMapVolumeSource{})
var ContainerBlank = (&ContainerDie{}).DieFeed(corev1.Container{})
var ContainerImageBlank = (&ContainerImageDie{}).DieFeed(corev1.ContainerImage{})
var ContainerPortBlank = (&ContainerPortDie{}).DieFeed(corev1.ContainerPort{})
var ContainerResizePolicyBlank = (&ContainerResizePolicyDie{}).DieFeed(corev1.ContainerResizePolicy{})
var ContainerStateBlank = (&ContainerStateDie{}).DieFeed(corev1.ContainerState{})
var ContainerStateRunningBlank = (&ContainerStateRunningDie{}).DieFeed(corev1.ContainerStateRunning{})
var ContainerStateTerminatedBlank = (&ContainerStateTerminatedDie{}).DieFeed(corev1.ContainerStateTerminated{})
var ContainerStateWaitingBlank = (&ContainerStateWaitingDie{}).DieFeed(corev1.ContainerStateWaiting{})
var ContainerStatusBlank = (&ContainerStatusDie{}).DieFeed(corev1.ContainerStatus{})
var DaemonEndpointBlank = (&DaemonEndpointDie{}).DieFeed(corev1.DaemonEndpoint{})
var DownwardAPIProjectionBlank = (&DownwardAPIProjectionDie{}).DieFeed(corev1.DownwardAPIProjection{})
var DownwardAPIVolumeFileBlank = (&DownwardAPIVolumeFileDie{}).DieFeed(corev1.DownwardAPIVolumeFile{})
var DownwardAPIVolumeSourceBlank = (&DownwardAPIVolumeSourceDie{}).DieFeed(corev1.DownwardAPIVolumeSource{})
var EmptyDirVolumeSourceBlank = (&EmptyDirVolumeSourceDie{}).DieFeed(corev1.EmptyDirVolumeSource{})
var EndpointAddressBlank = (&EndpointAddressDie{}).DieFeed(corev1.EndpointAddress{})
var EndpointPortBlank = (&EndpointPortDie{}).DieFeed(corev1.EndpointPort{})
var EndpointSubsetBlank = (&EndpointSubsetDie{}).DieFeed(corev1.EndpointSubset{})
var EndpointsBlank = (&EndpointsDie{}).DieFeed(corev1.Endpoints{})
var EnvFromSourceBlank = (&EnvFromSourceDie{}).DieFeed(corev1.EnvFromSource{})
var EnvVarBlank = (&EnvVarDie{}).DieFeed(corev1.EnvVar{})
var EnvVarSourceBlank = (&EnvVarSourceDie{}).DieFeed(corev1.EnvVarSource{})
var EphemeralVolumeSourceBlank = (&EphemeralVolumeSourceDie{}).DieFeed(corev1.EphemeralVolumeSource{})
var EventBlank = (&EventDie{}).DieFeed(corev1.Event{})
var EventSeriesBlank = (&EventSeriesDie{}).DieFeed(corev1.EventSeries{})
var EventSourceBlank = (&EventSourceDie{}).DieFeed(corev1.EventSource{})
var ExecActionBlank = (&ExecActionDie{}).DieFeed(corev1.ExecAction{})
var FCVolumeSourceBlank = (&FCVolumeSourceDie{}).DieFeed(corev1.FCVolumeSource{})
var FlexPersistentVolumeSourceBlank = (&FlexPersistentVolumeSourceDie{}).DieFeed(corev1.FlexPersistentVolumeSource{})
var FlexVolumeSourceBlank = (&FlexVolumeSourceDie{}).DieFeed(corev1.FlexVolumeSource{})
var FlockerVolumeSourceBlank = (&FlockerVolumeSourceDie{}).DieFeed(corev1.FlockerVolumeSource{})
var GCEPersistentDiskVolumeSourceBlank = (&GCEPersistentDiskVolumeSourceDie{}).DieFeed(corev1.GCEPersistentDiskVolumeSource{})
var GRPCActionBlank = (&GRPCActionDie{}).DieFeed(corev1.GRPCAction{})
var GitRepoVolumeSourceBlank = (&GitRepoVolumeSourceDie{}).DieFeed(corev1.GitRepoVolumeSource{})
var GlusterfsPersistentVolumeSourceBlank = (&GlusterfsPersistentVolumeSourceDie{}).DieFeed(corev1.GlusterfsPersistentVolumeSource{})
var GlusterfsVolumeSourceBlank = (&GlusterfsVolumeSourceDie{}).DieFeed(corev1.GlusterfsVolumeSource{})
var HTTPGetActionBlank = (&HTTPGetActionDie{}).DieFeed(corev1.HTTPGetAction{})
var HTTPHeaderBlank = (&HTTPHeaderDie{}).DieFeed(corev1.HTTPHeader{})
var HostAliasBlank = (&HostAliasDie{}).DieFeed(corev1.HostAlias{})
var HostPathVolumeSourceBlank = (&HostPathVolumeSourceDie{}).DieFeed(corev1.HostPathVolumeSource{})
var ISCSIPersistentVolumeSourceBlank = (&ISCSIPersistentVolumeSourceDie{}).DieFeed(corev1.ISCSIPersistentVolumeSource{})
var ISCSIVolumeSourceBlank = (&ISCSIVolumeSourceDie{}).DieFeed(corev1.ISCSIVolumeSource{})
var KeyToPathBlank = (&KeyToPathDie{}).DieFeed(corev1.KeyToPath{})
var LifecycleBlank = (&LifecycleDie{}).DieFeed(corev1.Lifecycle{})
var LifecycleHandlerBlank = (&LifecycleHandlerDie{}).DieFeed(corev1.LifecycleHandler{})
var LimitRangeBlank = (&LimitRangeDie{}).DieFeed(corev1.LimitRange{})
var LimitRangeItemBlank = (&LimitRangeItemDie{}).DieFeed(corev1.LimitRangeItem{})
var LimitRangeSpecBlank = (&LimitRangeSpecDie{}).DieFeed(corev1.LimitRangeSpec{})
var LoadBalancerIngressBlank = (&LoadBalancerIngressDie{}).DieFeed(corev1.LoadBalancerIngress{})
var LoadBalancerStatusBlank = (&LoadBalancerStatusDie{}).DieFeed(corev1.LoadBalancerStatus{})
var LocalObjectReferenceBlank = (&LocalObjectReferenceDie{}).DieFeed(corev1.LocalObjectReference{})
var LocalVolumeSourceBlank = (&LocalVolumeSourceDie{}).DieFeed(corev1.LocalVolumeSource{})
var ModifyVolumeStatusBlank = (&ModifyVolumeStatusDie{}).DieFeed(corev1.ModifyVolumeStatus{})
var NFSVolumeSourceBlank = (&NFSVolumeSourceDie{}).DieFeed(corev1.NFSVolumeSource{})
var NamespaceBlank = (&NamespaceDie{}).DieFeed(corev1.Namespace{})
var NamespaceSpecBlank = (&NamespaceSpecDie{}).DieFeed(corev1.NamespaceSpec{})
var NamespaceStatusBlank = (&NamespaceStatusDie{}).DieFeed(corev1.NamespaceStatus{})
var NodeAddressBlank = (&NodeAddressDie{}).DieFeed(corev1.NodeAddress{})
var NodeBlank = (&NodeDie{}).DieFeed(corev1.Node{})
var NodeConfigSourceBlank = (&NodeConfigSourceDie{}).DieFeed(corev1.NodeConfigSource{})
var NodeConfigStatusBlank = (&NodeConfigStatusDie{}).DieFeed(corev1.NodeConfigStatus{})
var NodeDaemonEndpointsBlank = (&NodeDaemonEndpointsDie{}).DieFeed(corev1.NodeDaemonEndpoints{})
var NodeSelectorBlank = (&NodeSelectorDie{}).DieFeed(corev1.NodeSelector{})
var NodeSelectorRequirementBlank = (&NodeSelectorRequirementDie{}).DieFeed(corev1.NodeSelectorRequirement{})
var NodeSelectorTermBlank = (&NodeSelectorTermDie{}).DieFeed(corev1.NodeSelectorTerm{})
var NodeSpecBlank = (&NodeSpecDie{}).DieFeed(corev1.NodeSpec{})
var NodeStatusBlank = (&NodeStatusDie{}).DieFeed(corev1.NodeStatus{})
var NodeSystemInfoBlank = (&NodeSystemInfoDie{}).DieFeed(corev1.NodeSystemInfo{})
var ObjectFieldSelectorBlank = (&ObjectFieldSelectorDie{}).DieFeed(corev1.ObjectFieldSelector{})
var ObjectReferenceBlank = (&ObjectReferenceDie{}).DieFeed(corev1.ObjectReference{})
var PersistentVolumeBlank = (&PersistentVolumeDie{}).DieFeed(corev1.PersistentVolume{})
var PersistentVolumeClaimBlank = (&PersistentVolumeClaimDie{}).DieFeed(corev1.PersistentVolumeClaim{})
var PersistentVolumeClaimSpecBlank = (&PersistentVolumeClaimSpecDie{}).DieFeed(corev1.PersistentVolumeClaimSpec{})
var PersistentVolumeClaimStatusBlank = (&PersistentVolumeClaimStatusDie{}).DieFeed(corev1.PersistentVolumeClaimStatus{})
var PersistentVolumeClaimTemplateBlank = (&PersistentVolumeClaimTemplateDie{}).DieFeed(corev1.PersistentVolumeClaimTemplate{})
var PersistentVolumeClaimVolumeSourceBlank = (&PersistentVolumeClaimVolumeSourceDie{}).DieFeed(corev1.PersistentVolumeClaimVolumeSource{})
var PersistentVolumeSpecBlank = (&PersistentVolumeSpecDie{}).DieFeed(corev1.PersistentVolumeSpec{})
var PersistentVolumeStatusBlank = (&PersistentVolumeStatusDie{}).DieFeed(corev1.PersistentVolumeStatus{})
var PhotonPersistentDiskVolumeSourceBlank = (&PhotonPersistentDiskVolumeSourceDie{}).DieFeed(corev1.PhotonPersistentDiskVolumeSource{})
var PodBlank = (&PodDie{}).DieFeed(corev1.Pod{})
var PodDNSConfigBlank = (&PodDNSConfigDie{}).DieFeed(corev1.PodDNSConfig{})
var PodDNSConfigOptionBlank = (&PodDNSConfigOptionDie{}).DieFeed(corev1.PodDNSConfigOption{})
var PodOSBlank = (&PodOSDie{}).DieFeed(corev1.PodOS{})
var PodReadinessGateBlank = (&PodReadinessGateDie{}).DieFeed(corev1.PodReadinessGate{})
var PodResourceClaimBlank = (&PodResourceClaimDie{}).DieFeed(corev1.PodResourceClaim{})
var PodSchedulingGateBlank = (&PodSchedulingGateDie{}).DieFeed(corev1.PodSchedulingGate{})
var PodSecurityContextBlank = (&PodSecurityContextDie{}).DieFeed(corev1.PodSecurityContext{})
var PodSpecBlank = (&PodSpecDie{}).DieFeed(corev1.PodSpec{})
var PodStatusBlank = (&PodStatusDie{}).DieFeed(corev1.PodStatus{})
var PodTemplateBlank = (&PodTemplateDie{}).DieFeed(corev1.PodTemplate{})
var PodTemplateSpecBlank = (&PodTemplateSpecDie{}).DieFeed(corev1.PodTemplateSpec{})
var PortStatusBlank = (&PortStatusDie{}).DieFeed(corev1.PortStatus{})
var PortworxVolumeSourceBlank = (&PortworxVolumeSourceDie{}).DieFeed(corev1.PortworxVolumeSource{})
var ProbeBlank = (&ProbeDie{}).DieFeed(corev1.Probe{})
var ProbeHandlerBlank = (&ProbeHandlerDie{}).DieFeed(corev1.ProbeHandler{})
var ProjectedVolumeSourceBlank = (&ProjectedVolumeSourceDie{}).DieFeed(corev1.ProjectedVolumeSource{})
var QuobyteVolumeSourceBlank = (&QuobyteVolumeSourceDie{}).DieFeed(corev1.QuobyteVolumeSource{})
var RBDPersistentVolumeSourceBlank = (&RBDPersistentVolumeSourceDie{}).DieFeed(corev1.RBDPersistentVolumeSource{})
var RBDVolumeSourceBlank = (&RBDVolumeSourceDie{}).DieFeed(corev1.RBDVolumeSource{})
var ReplicationControllerBlank = (&ReplicationControllerDie{}).DieFeed(corev1.ReplicationController{})
var ReplicationControllerSpecBlank = (&ReplicationControllerSpecDie{}).DieFeed(corev1.ReplicationControllerSpec{})
var ReplicationControllerStatusBlank = (&ReplicationControllerStatusDie{}).DieFeed(corev1.ReplicationControllerStatus{})
var ResourceClaimBlank = (&ResourceClaimDie{}).DieFeed(corev1.ResourceClaim{})
var ResourceFieldSelectorBlank = (&ResourceFieldSelectorDie{}).DieFeed(corev1.ResourceFieldSelector{})
var ResourceQuotaBlank = (&ResourceQuotaDie{}).DieFeed(corev1.ResourceQuota{})
var ResourceQuotaSpecBlank = (&ResourceQuotaSpecDie{}).DieFeed(corev1.ResourceQuotaSpec{})
var ResourceQuotaStatusBlank = (&ResourceQuotaStatusDie{}).DieFeed(corev1.ResourceQuotaStatus{})
var ResourceRequirementsBlank = (&ResourceRequirementsDie{}).DieFeed(corev1.ResourceRequirements{})
var SELinuxOptionsBlank = (&SELinuxOptionsDie{}).DieFeed(corev1.SELinuxOptions{})
var ScaleIOPersistentVolumeSourceBlank = (&ScaleIOPersistentVolumeSourceDie{}).DieFeed(corev1.ScaleIOPersistentVolumeSource{})
var ScaleIOVolumeSourceBlank = (&ScaleIOVolumeSourceDie{}).DieFeed(corev1.ScaleIOVolumeSource{})
var ScopeSelectorBlank = (&ScopeSelectorDie{}).DieFeed(corev1.ScopeSelector{})
var ScopedResourceSelectorRequirementBlank = (&ScopedResourceSelectorRequirementDie{}).DieFeed(corev1.ScopedResourceSelectorRequirement{})
var SeccompProfileBlank = (&SeccompProfileDie{}).DieFeed(corev1.SeccompProfile{})
var SecretBlank = (&SecretDie{}).DieFeed(corev1.Secret{})
var SecretEnvSourceBlank = (&SecretEnvSourceDie{}).DieFeed(corev1.SecretEnvSource{})
var SecretKeySelectorBlank = (&SecretKeySelectorDie{}).DieFeed(corev1.SecretKeySelector{})
var SecretProjectionBlank = (&SecretProjectionDie{}).DieFeed(corev1.SecretProjection{})
var SecretReferenceBlank = (&SecretReferenceDie{}).DieFeed(corev1.SecretReference{})
var SecretVolumeSourceBlank = (&SecretVolumeSourceDie{}).DieFeed(corev1.SecretVolumeSource{})
var SecurityContextBlank = (&SecurityContextDie{}).DieFeed(corev1.SecurityContext{})
var ServiceAccountBlank = (&ServiceAccountDie{}).DieFeed(corev1.ServiceAccount{})
var ServiceAccountTokenProjectionBlank = (&ServiceAccountTokenProjectionDie{}).DieFeed(corev1.ServiceAccountTokenProjection{})
var ServiceBlank = (&ServiceDie{}).DieFeed(corev1.Service{})
var ServicePortBlank = (&ServicePortDie{}).DieFeed(corev1.ServicePort{})
var ServiceSpecBlank = (&ServiceSpecDie{}).DieFeed(corev1.ServiceSpec{})
var ServiceStatusBlank = (&ServiceStatusDie{}).DieFeed(corev1.ServiceStatus{})
var SessionAffinityConfigBlank = (&SessionAffinityConfigDie{}).DieFeed(corev1.SessionAffinityConfig{})
var SleepActionBlank = (&SleepActionDie{}).DieFeed(corev1.SleepAction{})
var StorageOSPersistentVolumeSourceBlank = (&StorageOSPersistentVolumeSourceDie{}).DieFeed(corev1.StorageOSPersistentVolumeSource{})
var StorageOSVolumeSourceBlank = (&StorageOSVolumeSourceDie{}).DieFeed(corev1.StorageOSVolumeSource{})
var SysctlBlank = (&SysctlDie{}).DieFeed(corev1.Sysctl{})
var TCPSocketActionBlank = (&TCPSocketActionDie{}).DieFeed(corev1.TCPSocketAction{})
var TaintBlank = (&TaintDie{}).DieFeed(corev1.Taint{})
var TolerationBlank = (&TolerationDie{}).DieFeed(corev1.Toleration{})
var TopologySelectorLabelRequirementBlank = (&TopologySelectorLabelRequirementDie{}).DieFeed(corev1.TopologySelectorLabelRequirement{})
var TopologySelectorTermBlank = (&TopologySelectorTermDie{}).DieFeed(corev1.TopologySelectorTerm{})
var TopologySpreadConstraintBlank = (&TopologySpreadConstraintDie{}).DieFeed(corev1.TopologySpreadConstraint{})
var TypedLocalObjectReferenceBlank = (&TypedLocalObjectReferenceDie{}).DieFeed(corev1.TypedLocalObjectReference{})
var TypedObjectReferenceBlank = (&TypedObjectReferenceDie{}).DieFeed(corev1.TypedObjectReference{})
var VolumeBlank = (&VolumeDie{}).DieFeed(corev1.Volume{})
var VolumeDeviceBlank = (&VolumeDeviceDie{}).DieFeed(corev1.VolumeDevice{})
var VolumeMountBlank = (&VolumeMountDie{}).DieFeed(corev1.VolumeMount{})
var VolumeNodeAffinityBlank = (&VolumeNodeAffinityDie{}).DieFeed(corev1.VolumeNodeAffinity{})
var VolumeProjectionBlank = (&VolumeProjectionDie{}).DieFeed(corev1.VolumeProjection{})
var VolumeResourceRequirementsBlank = (&VolumeResourceRequirementsDie{}).DieFeed(corev1.VolumeResourceRequirements{})
var VsphereVirtualDiskVolumeSourceBlank = (&VsphereVirtualDiskVolumeSourceDie{}).DieFeed(corev1.VsphereVirtualDiskVolumeSource{})
var WindowsSecurityContextOptionsBlank = (&WindowsSecurityContextOptionsDie{}).DieFeed(corev1.WindowsSecurityContextOptions{})
Functions ¶
This section is empty.
Types ¶
type AWSElasticBlockStoreVolumeSourceDie ¶
type AWSElasticBlockStoreVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*AWSElasticBlockStoreVolumeSourceDie) DeepCopy ¶
func (d *AWSElasticBlockStoreVolumeSourceDie) DeepCopy() *AWSElasticBlockStoreVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*AWSElasticBlockStoreVolumeSourceDie) DieFeed ¶
func (d *AWSElasticBlockStoreVolumeSourceDie) DieFeed(r corev1.AWSElasticBlockStoreVolumeSource) *AWSElasticBlockStoreVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*AWSElasticBlockStoreVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *AWSElasticBlockStoreVolumeSourceDie) DieFeedJSON(j []byte) *AWSElasticBlockStoreVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*AWSElasticBlockStoreVolumeSourceDie) DieFeedPtr ¶
func (d *AWSElasticBlockStoreVolumeSourceDie) DieFeedPtr(r *corev1.AWSElasticBlockStoreVolumeSource) *AWSElasticBlockStoreVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*AWSElasticBlockStoreVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *AWSElasticBlockStoreVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *AWSElasticBlockStoreVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*AWSElasticBlockStoreVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *AWSElasticBlockStoreVolumeSourceDie) DieFeedYAML(y []byte) *AWSElasticBlockStoreVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*AWSElasticBlockStoreVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *AWSElasticBlockStoreVolumeSourceDie) DieFeedYAMLFile(name string) *AWSElasticBlockStoreVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*AWSElasticBlockStoreVolumeSourceDie) DieImmutable ¶
func (d *AWSElasticBlockStoreVolumeSourceDie) DieImmutable(immutable bool) *AWSElasticBlockStoreVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*AWSElasticBlockStoreVolumeSourceDie) DieRelease ¶
func (d *AWSElasticBlockStoreVolumeSourceDie) DieRelease() corev1.AWSElasticBlockStoreVolumeSource
DieRelease returns the resource managed by the die.
func (*AWSElasticBlockStoreVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *AWSElasticBlockStoreVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*AWSElasticBlockStoreVolumeSourceDie) DieReleasePtr ¶
func (d *AWSElasticBlockStoreVolumeSourceDie) DieReleasePtr() *corev1.AWSElasticBlockStoreVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*AWSElasticBlockStoreVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *AWSElasticBlockStoreVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*AWSElasticBlockStoreVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *AWSElasticBlockStoreVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*AWSElasticBlockStoreVolumeSourceDie) DieStamp ¶
func (d *AWSElasticBlockStoreVolumeSourceDie) DieStamp(fn func(r *corev1.AWSElasticBlockStoreVolumeSource)) *AWSElasticBlockStoreVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*AWSElasticBlockStoreVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *AWSElasticBlockStoreVolumeSourceDie) DieStampAt(jp string, fn interface{}) *AWSElasticBlockStoreVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*AWSElasticBlockStoreVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *AWSElasticBlockStoreVolumeSourceDie) DieWith(fns ...func(d *AWSElasticBlockStoreVolumeSourceDie)) *AWSElasticBlockStoreVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*AWSElasticBlockStoreVolumeSourceDie) FSType ¶
func (d *AWSElasticBlockStoreVolumeSourceDie) FSType(v string) *AWSElasticBlockStoreVolumeSourceDie
fsType is the filesystem type of the volume that you want to mount.
Tip: Ensure that the filesystem type is supported by the host operating system.
Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
TODO: how do we prevent errors in the filesystem from compromising the machine
func (*AWSElasticBlockStoreVolumeSourceDie) Partition ¶
func (d *AWSElasticBlockStoreVolumeSourceDie) Partition(v int32) *AWSElasticBlockStoreVolumeSourceDie
partition is the partition in the volume that you want to mount.
If omitted, the default is to mount by volume name.
Examples: For volume /dev/sda1, you specify the partition as "1".
Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
func (*AWSElasticBlockStoreVolumeSourceDie) ReadOnly ¶
func (d *AWSElasticBlockStoreVolumeSourceDie) ReadOnly(v bool) *AWSElasticBlockStoreVolumeSourceDie
readOnly value true will force the readOnly setting in VolumeMounts.
More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
func (*AWSElasticBlockStoreVolumeSourceDie) VolumeID ¶
func (d *AWSElasticBlockStoreVolumeSourceDie) VolumeID(v string) *AWSElasticBlockStoreVolumeSourceDie
volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).
More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
type AttachedVolumeDie ¶
type AttachedVolumeDie struct {
// contains filtered or unexported fields
}
func (*AttachedVolumeDie) DeepCopy ¶
func (d *AttachedVolumeDie) DeepCopy() *AttachedVolumeDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*AttachedVolumeDie) DevicePath ¶
func (d *AttachedVolumeDie) DevicePath(v string) *AttachedVolumeDie
DevicePath represents the device path where the volume should be available
func (*AttachedVolumeDie) DieFeed ¶
func (d *AttachedVolumeDie) DieFeed(r corev1.AttachedVolume) *AttachedVolumeDie
DieFeed returns a new die with the provided resource.
func (*AttachedVolumeDie) DieFeedJSON ¶ added in v0.8.0
func (d *AttachedVolumeDie) DieFeedJSON(j []byte) *AttachedVolumeDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*AttachedVolumeDie) DieFeedPtr ¶
func (d *AttachedVolumeDie) DieFeedPtr(r *corev1.AttachedVolume) *AttachedVolumeDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*AttachedVolumeDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *AttachedVolumeDie) DieFeedRawExtension(raw runtime.RawExtension) *AttachedVolumeDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*AttachedVolumeDie) DieFeedYAML ¶ added in v0.8.0
func (d *AttachedVolumeDie) DieFeedYAML(y []byte) *AttachedVolumeDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*AttachedVolumeDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *AttachedVolumeDie) DieFeedYAMLFile(name string) *AttachedVolumeDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*AttachedVolumeDie) DieImmutable ¶
func (d *AttachedVolumeDie) DieImmutable(immutable bool) *AttachedVolumeDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*AttachedVolumeDie) DieRelease ¶
func (d *AttachedVolumeDie) DieRelease() corev1.AttachedVolume
DieRelease returns the resource managed by the die.
func (*AttachedVolumeDie) DieReleaseJSON ¶ added in v0.8.0
func (d *AttachedVolumeDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*AttachedVolumeDie) DieReleasePtr ¶
func (d *AttachedVolumeDie) DieReleasePtr() *corev1.AttachedVolume
DieReleasePtr returns a pointer to the resource managed by the die.
func (*AttachedVolumeDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *AttachedVolumeDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*AttachedVolumeDie) DieReleaseYAML ¶ added in v0.8.0
func (d *AttachedVolumeDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*AttachedVolumeDie) DieStamp ¶
func (d *AttachedVolumeDie) DieStamp(fn func(r *corev1.AttachedVolume)) *AttachedVolumeDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*AttachedVolumeDie) DieStampAt ¶ added in v0.8.0
func (d *AttachedVolumeDie) DieStampAt(jp string, fn interface{}) *AttachedVolumeDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*AttachedVolumeDie) DieWith ¶ added in v0.9.0
func (d *AttachedVolumeDie) DieWith(fns ...func(d *AttachedVolumeDie)) *AttachedVolumeDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*AttachedVolumeDie) Name ¶
func (d *AttachedVolumeDie) Name(v corev1.UniqueVolumeName) *AttachedVolumeDie
Name of the attached volume
type AzureDiskVolumeSourceDie ¶
type AzureDiskVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*AzureDiskVolumeSourceDie) CachingMode ¶
func (d *AzureDiskVolumeSourceDie) CachingMode(v *corev1.AzureDataDiskCachingMode) *AzureDiskVolumeSourceDie
cachingMode is the Host Caching mode: None, Read Only, Read Write.
func (*AzureDiskVolumeSourceDie) DataDiskURI ¶
func (d *AzureDiskVolumeSourceDie) DataDiskURI(v string) *AzureDiskVolumeSourceDie
diskURI is the URI of data disk in the blob storage
func (*AzureDiskVolumeSourceDie) DeepCopy ¶
func (d *AzureDiskVolumeSourceDie) DeepCopy() *AzureDiskVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*AzureDiskVolumeSourceDie) DieFeed ¶
func (d *AzureDiskVolumeSourceDie) DieFeed(r corev1.AzureDiskVolumeSource) *AzureDiskVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*AzureDiskVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *AzureDiskVolumeSourceDie) DieFeedJSON(j []byte) *AzureDiskVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*AzureDiskVolumeSourceDie) DieFeedPtr ¶
func (d *AzureDiskVolumeSourceDie) DieFeedPtr(r *corev1.AzureDiskVolumeSource) *AzureDiskVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*AzureDiskVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *AzureDiskVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *AzureDiskVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*AzureDiskVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *AzureDiskVolumeSourceDie) DieFeedYAML(y []byte) *AzureDiskVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*AzureDiskVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *AzureDiskVolumeSourceDie) DieFeedYAMLFile(name string) *AzureDiskVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*AzureDiskVolumeSourceDie) DieImmutable ¶
func (d *AzureDiskVolumeSourceDie) DieImmutable(immutable bool) *AzureDiskVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*AzureDiskVolumeSourceDie) DieRelease ¶
func (d *AzureDiskVolumeSourceDie) DieRelease() corev1.AzureDiskVolumeSource
DieRelease returns the resource managed by the die.
func (*AzureDiskVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *AzureDiskVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*AzureDiskVolumeSourceDie) DieReleasePtr ¶
func (d *AzureDiskVolumeSourceDie) DieReleasePtr() *corev1.AzureDiskVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*AzureDiskVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *AzureDiskVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*AzureDiskVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *AzureDiskVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*AzureDiskVolumeSourceDie) DieStamp ¶
func (d *AzureDiskVolumeSourceDie) DieStamp(fn func(r *corev1.AzureDiskVolumeSource)) *AzureDiskVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*AzureDiskVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *AzureDiskVolumeSourceDie) DieStampAt(jp string, fn interface{}) *AzureDiskVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*AzureDiskVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *AzureDiskVolumeSourceDie) DieWith(fns ...func(d *AzureDiskVolumeSourceDie)) *AzureDiskVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*AzureDiskVolumeSourceDie) DiskName ¶
func (d *AzureDiskVolumeSourceDie) DiskName(v string) *AzureDiskVolumeSourceDie
diskName is the Name of the data disk in the blob storage
func (*AzureDiskVolumeSourceDie) FSType ¶
func (d *AzureDiskVolumeSourceDie) FSType(v *string) *AzureDiskVolumeSourceDie
fsType is Filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
func (*AzureDiskVolumeSourceDie) Kind ¶
func (d *AzureDiskVolumeSourceDie) Kind(v *corev1.AzureDataDiskKind) *AzureDiskVolumeSourceDie
kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared
func (*AzureDiskVolumeSourceDie) ReadOnly ¶
func (d *AzureDiskVolumeSourceDie) ReadOnly(v *bool) *AzureDiskVolumeSourceDie
readOnly Defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
type AzureFilePersistentVolumeSourceDie ¶
type AzureFilePersistentVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*AzureFilePersistentVolumeSourceDie) DeepCopy ¶
func (d *AzureFilePersistentVolumeSourceDie) DeepCopy() *AzureFilePersistentVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*AzureFilePersistentVolumeSourceDie) DieFeed ¶
func (d *AzureFilePersistentVolumeSourceDie) DieFeed(r corev1.AzureFilePersistentVolumeSource) *AzureFilePersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*AzureFilePersistentVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *AzureFilePersistentVolumeSourceDie) DieFeedJSON(j []byte) *AzureFilePersistentVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*AzureFilePersistentVolumeSourceDie) DieFeedPtr ¶
func (d *AzureFilePersistentVolumeSourceDie) DieFeedPtr(r *corev1.AzureFilePersistentVolumeSource) *AzureFilePersistentVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*AzureFilePersistentVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *AzureFilePersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *AzureFilePersistentVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*AzureFilePersistentVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *AzureFilePersistentVolumeSourceDie) DieFeedYAML(y []byte) *AzureFilePersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*AzureFilePersistentVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *AzureFilePersistentVolumeSourceDie) DieFeedYAMLFile(name string) *AzureFilePersistentVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*AzureFilePersistentVolumeSourceDie) DieImmutable ¶
func (d *AzureFilePersistentVolumeSourceDie) DieImmutable(immutable bool) *AzureFilePersistentVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*AzureFilePersistentVolumeSourceDie) DieRelease ¶
func (d *AzureFilePersistentVolumeSourceDie) DieRelease() corev1.AzureFilePersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*AzureFilePersistentVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *AzureFilePersistentVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*AzureFilePersistentVolumeSourceDie) DieReleasePtr ¶
func (d *AzureFilePersistentVolumeSourceDie) DieReleasePtr() *corev1.AzureFilePersistentVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*AzureFilePersistentVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *AzureFilePersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*AzureFilePersistentVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *AzureFilePersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*AzureFilePersistentVolumeSourceDie) DieStamp ¶
func (d *AzureFilePersistentVolumeSourceDie) DieStamp(fn func(r *corev1.AzureFilePersistentVolumeSource)) *AzureFilePersistentVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*AzureFilePersistentVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *AzureFilePersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *AzureFilePersistentVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*AzureFilePersistentVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *AzureFilePersistentVolumeSourceDie) DieWith(fns ...func(d *AzureFilePersistentVolumeSourceDie)) *AzureFilePersistentVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*AzureFilePersistentVolumeSourceDie) ReadOnly ¶
func (d *AzureFilePersistentVolumeSourceDie) ReadOnly(v bool) *AzureFilePersistentVolumeSourceDie
readOnly defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
func (*AzureFilePersistentVolumeSourceDie) SecretName ¶
func (d *AzureFilePersistentVolumeSourceDie) SecretName(v string) *AzureFilePersistentVolumeSourceDie
secretName is the name of secret that contains Azure Storage Account Name and Key
func (*AzureFilePersistentVolumeSourceDie) SecretNamespace ¶
func (d *AzureFilePersistentVolumeSourceDie) SecretNamespace(v *string) *AzureFilePersistentVolumeSourceDie
secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key
default is the same as the Pod
func (*AzureFilePersistentVolumeSourceDie) ShareName ¶
func (d *AzureFilePersistentVolumeSourceDie) ShareName(v string) *AzureFilePersistentVolumeSourceDie
shareName is the azure Share Name
type AzureFileVolumeSourceDie ¶
type AzureFileVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*AzureFileVolumeSourceDie) DeepCopy ¶
func (d *AzureFileVolumeSourceDie) DeepCopy() *AzureFileVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*AzureFileVolumeSourceDie) DieFeed ¶
func (d *AzureFileVolumeSourceDie) DieFeed(r corev1.AzureFileVolumeSource) *AzureFileVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*AzureFileVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *AzureFileVolumeSourceDie) DieFeedJSON(j []byte) *AzureFileVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*AzureFileVolumeSourceDie) DieFeedPtr ¶
func (d *AzureFileVolumeSourceDie) DieFeedPtr(r *corev1.AzureFileVolumeSource) *AzureFileVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*AzureFileVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *AzureFileVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *AzureFileVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*AzureFileVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *AzureFileVolumeSourceDie) DieFeedYAML(y []byte) *AzureFileVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*AzureFileVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *AzureFileVolumeSourceDie) DieFeedYAMLFile(name string) *AzureFileVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*AzureFileVolumeSourceDie) DieImmutable ¶
func (d *AzureFileVolumeSourceDie) DieImmutable(immutable bool) *AzureFileVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*AzureFileVolumeSourceDie) DieRelease ¶
func (d *AzureFileVolumeSourceDie) DieRelease() corev1.AzureFileVolumeSource
DieRelease returns the resource managed by the die.
func (*AzureFileVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *AzureFileVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*AzureFileVolumeSourceDie) DieReleasePtr ¶
func (d *AzureFileVolumeSourceDie) DieReleasePtr() *corev1.AzureFileVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*AzureFileVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *AzureFileVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*AzureFileVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *AzureFileVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*AzureFileVolumeSourceDie) DieStamp ¶
func (d *AzureFileVolumeSourceDie) DieStamp(fn func(r *corev1.AzureFileVolumeSource)) *AzureFileVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*AzureFileVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *AzureFileVolumeSourceDie) DieStampAt(jp string, fn interface{}) *AzureFileVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*AzureFileVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *AzureFileVolumeSourceDie) DieWith(fns ...func(d *AzureFileVolumeSourceDie)) *AzureFileVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*AzureFileVolumeSourceDie) ReadOnly ¶
func (d *AzureFileVolumeSourceDie) ReadOnly(v bool) *AzureFileVolumeSourceDie
readOnly defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
func (*AzureFileVolumeSourceDie) SecretName ¶
func (d *AzureFileVolumeSourceDie) SecretName(v string) *AzureFileVolumeSourceDie
secretName is the name of secret that contains Azure Storage Account Name and Key
func (*AzureFileVolumeSourceDie) ShareName ¶
func (d *AzureFileVolumeSourceDie) ShareName(v string) *AzureFileVolumeSourceDie
shareName is the azure share Name
type BindingDie ¶ added in v0.3.0
type BindingDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*BindingDie) APIVersion ¶ added in v0.5.0
func (d *BindingDie) APIVersion(v string) *BindingDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*BindingDie) DeepCopy ¶ added in v0.3.0
func (d *BindingDie) DeepCopy() *BindingDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*BindingDie) DeepCopyObject ¶ added in v0.3.0
func (d *BindingDie) DeepCopyObject() runtime.Object
func (*BindingDie) DieFeed ¶ added in v0.3.0
func (d *BindingDie) DieFeed(r corev1.Binding) *BindingDie
DieFeed returns a new die with the provided resource.
func (*BindingDie) DieFeedJSON ¶ added in v0.8.0
func (d *BindingDie) DieFeedJSON(j []byte) *BindingDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*BindingDie) DieFeedPtr ¶ added in v0.3.0
func (d *BindingDie) DieFeedPtr(r *corev1.Binding) *BindingDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*BindingDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *BindingDie) DieFeedRawExtension(raw runtime.RawExtension) *BindingDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*BindingDie) DieFeedYAML ¶ added in v0.8.0
func (d *BindingDie) DieFeedYAML(y []byte) *BindingDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*BindingDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *BindingDie) DieFeedYAMLFile(name string) *BindingDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*BindingDie) DieImmutable ¶ added in v0.3.0
func (d *BindingDie) DieImmutable(immutable bool) *BindingDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*BindingDie) DieRelease ¶ added in v0.3.0
func (d *BindingDie) DieRelease() corev1.Binding
DieRelease returns the resource managed by the die.
func (*BindingDie) DieReleaseJSON ¶ added in v0.8.0
func (d *BindingDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*BindingDie) DieReleasePtr ¶ added in v0.3.0
func (d *BindingDie) DieReleasePtr() *corev1.Binding
DieReleasePtr returns a pointer to the resource managed by the die.
func (*BindingDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *BindingDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*BindingDie) DieReleaseUnstructured ¶ added in v0.3.0
func (d *BindingDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*BindingDie) DieReleaseYAML ¶ added in v0.8.0
func (d *BindingDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*BindingDie) DieStamp ¶ added in v0.3.0
func (d *BindingDie) DieStamp(fn func(r *corev1.Binding)) *BindingDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*BindingDie) DieStampAt ¶ added in v0.8.0
func (d *BindingDie) DieStampAt(jp string, fn interface{}) *BindingDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*BindingDie) DieWith ¶ added in v0.9.0
func (d *BindingDie) DieWith(fns ...func(d *BindingDie)) *BindingDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*BindingDie) GetObjectKind ¶ added in v0.3.0
func (d *BindingDie) GetObjectKind() schema.ObjectKind
func (*BindingDie) Kind ¶ added in v0.5.0
func (d *BindingDie) Kind(v string) *BindingDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*BindingDie) MarshalJSON ¶ added in v0.3.0
func (d *BindingDie) MarshalJSON() ([]byte, error)
func (*BindingDie) MetadataDie ¶ added in v0.3.0
func (d *BindingDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *BindingDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*BindingDie) Target ¶ added in v0.3.0
func (d *BindingDie) Target(v corev1.ObjectReference) *BindingDie
The target object that you want to bind to the standard object.
func (*BindingDie) TargetDie ¶ added in v0.3.0
func (d *BindingDie) TargetDie(fn func(d *ObjectReferenceDie)) *BindingDie
func (*BindingDie) UnmarshalJSON ¶ added in v0.3.0
func (d *BindingDie) UnmarshalJSON(b []byte) error
type CSIPersistentVolumeSourceDie ¶
type CSIPersistentVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*CSIPersistentVolumeSourceDie) AddVolumeAttributes ¶
func (d *CSIPersistentVolumeSourceDie) AddVolumeAttributes(key, value string) *CSIPersistentVolumeSourceDie
func (*CSIPersistentVolumeSourceDie) ControllerExpandSecretRef ¶
func (d *CSIPersistentVolumeSourceDie) ControllerExpandSecretRef(v *corev1.SecretReference) *CSIPersistentVolumeSourceDie
controllerExpandSecretRef is a reference to the secret object containing
sensitive information to pass to the CSI driver to complete the CSI
ControllerExpandVolume call.
This field is optional, and may be empty if no secret is required. If the
secret object contains more than one secret, all secrets are passed.
func (*CSIPersistentVolumeSourceDie) ControllerExpandSecretRefDie ¶
func (d *CSIPersistentVolumeSourceDie) ControllerExpandSecretRefDie(fn func(d *SecretReferenceDie)) *CSIPersistentVolumeSourceDie
func (*CSIPersistentVolumeSourceDie) ControllerPublishSecretRef ¶
func (d *CSIPersistentVolumeSourceDie) ControllerPublishSecretRef(v *corev1.SecretReference) *CSIPersistentVolumeSourceDie
controllerPublishSecretRef is a reference to the secret object containing
sensitive information to pass to the CSI driver to complete the CSI
ControllerPublishVolume and ControllerUnpublishVolume calls.
This field is optional, and may be empty if no secret is required. If the
secret object contains more than one secret, all secrets are passed.
func (*CSIPersistentVolumeSourceDie) ControllerPublishSecretRefDie ¶
func (d *CSIPersistentVolumeSourceDie) ControllerPublishSecretRefDie(fn func(d *SecretReferenceDie)) *CSIPersistentVolumeSourceDie
func (*CSIPersistentVolumeSourceDie) DeepCopy ¶
func (d *CSIPersistentVolumeSourceDie) DeepCopy() *CSIPersistentVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*CSIPersistentVolumeSourceDie) DieFeed ¶
func (d *CSIPersistentVolumeSourceDie) DieFeed(r corev1.CSIPersistentVolumeSource) *CSIPersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*CSIPersistentVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *CSIPersistentVolumeSourceDie) DieFeedJSON(j []byte) *CSIPersistentVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*CSIPersistentVolumeSourceDie) DieFeedPtr ¶
func (d *CSIPersistentVolumeSourceDie) DieFeedPtr(r *corev1.CSIPersistentVolumeSource) *CSIPersistentVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*CSIPersistentVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *CSIPersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *CSIPersistentVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CSIPersistentVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *CSIPersistentVolumeSourceDie) DieFeedYAML(y []byte) *CSIPersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*CSIPersistentVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *CSIPersistentVolumeSourceDie) DieFeedYAMLFile(name string) *CSIPersistentVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*CSIPersistentVolumeSourceDie) DieImmutable ¶
func (d *CSIPersistentVolumeSourceDie) DieImmutable(immutable bool) *CSIPersistentVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*CSIPersistentVolumeSourceDie) DieRelease ¶
func (d *CSIPersistentVolumeSourceDie) DieRelease() corev1.CSIPersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*CSIPersistentVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *CSIPersistentVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*CSIPersistentVolumeSourceDie) DieReleasePtr ¶
func (d *CSIPersistentVolumeSourceDie) DieReleasePtr() *corev1.CSIPersistentVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*CSIPersistentVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *CSIPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CSIPersistentVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *CSIPersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*CSIPersistentVolumeSourceDie) DieStamp ¶
func (d *CSIPersistentVolumeSourceDie) DieStamp(fn func(r *corev1.CSIPersistentVolumeSource)) *CSIPersistentVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*CSIPersistentVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *CSIPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *CSIPersistentVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*CSIPersistentVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *CSIPersistentVolumeSourceDie) DieWith(fns ...func(d *CSIPersistentVolumeSourceDie)) *CSIPersistentVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*CSIPersistentVolumeSourceDie) Driver ¶
func (d *CSIPersistentVolumeSourceDie) Driver(v string) *CSIPersistentVolumeSourceDie
driver is the name of the driver to use for this volume.
Required.
func (*CSIPersistentVolumeSourceDie) FSType ¶
func (d *CSIPersistentVolumeSourceDie) FSType(v string) *CSIPersistentVolumeSourceDie
fsType to mount. Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs", "ntfs".
func (*CSIPersistentVolumeSourceDie) NodeExpandSecretRef ¶ added in v0.6.0
func (d *CSIPersistentVolumeSourceDie) NodeExpandSecretRef(v *corev1.SecretReference) *CSIPersistentVolumeSourceDie
nodeExpandSecretRef is a reference to the secret object containing
sensitive information to pass to the CSI driver to complete the CSI
NodeExpandVolume call.
This field is optional, may be omitted if no secret is required. If the
secret object contains more than one secret, all secrets are passed.
func (*CSIPersistentVolumeSourceDie) NodeExpandSecretRefDie ¶ added in v0.6.0
func (d *CSIPersistentVolumeSourceDie) NodeExpandSecretRefDie(fn func(d *SecretReferenceDie)) *CSIPersistentVolumeSourceDie
func (*CSIPersistentVolumeSourceDie) NodePublishSecretRef ¶
func (d *CSIPersistentVolumeSourceDie) NodePublishSecretRef(v *corev1.SecretReference) *CSIPersistentVolumeSourceDie
nodePublishSecretRef is a reference to the secret object containing
sensitive information to pass to the CSI driver to complete the CSI
NodePublishVolume and NodeUnpublishVolume calls.
This field is optional, and may be empty if no secret is required. If the
secret object contains more than one secret, all secrets are passed.
func (*CSIPersistentVolumeSourceDie) NodePublishSecretRefDie ¶
func (d *CSIPersistentVolumeSourceDie) NodePublishSecretRefDie(fn func(d *SecretReferenceDie)) *CSIPersistentVolumeSourceDie
func (*CSIPersistentVolumeSourceDie) NodeStageSecretRef ¶
func (d *CSIPersistentVolumeSourceDie) NodeStageSecretRef(v *corev1.SecretReference) *CSIPersistentVolumeSourceDie
nodeStageSecretRef is a reference to the secret object containing sensitive
information to pass to the CSI driver to complete the CSI NodeStageVolume
and NodeStageVolume and NodeUnstageVolume calls.
This field is optional, and may be empty if no secret is required. If the
secret object contains more than one secret, all secrets are passed.
func (*CSIPersistentVolumeSourceDie) NodeStageSecretRefDie ¶
func (d *CSIPersistentVolumeSourceDie) NodeStageSecretRefDie(fn func(d *SecretReferenceDie)) *CSIPersistentVolumeSourceDie
func (*CSIPersistentVolumeSourceDie) ReadOnly ¶
func (d *CSIPersistentVolumeSourceDie) ReadOnly(v bool) *CSIPersistentVolumeSourceDie
readOnly value to pass to ControllerPublishVolumeRequest.
Defaults to false (read/write).
func (*CSIPersistentVolumeSourceDie) VolumeAttributes ¶
func (d *CSIPersistentVolumeSourceDie) VolumeAttributes(v map[string]string) *CSIPersistentVolumeSourceDie
volumeAttributes of the volume to publish.
func (*CSIPersistentVolumeSourceDie) VolumeHandle ¶
func (d *CSIPersistentVolumeSourceDie) VolumeHandle(v string) *CSIPersistentVolumeSourceDie
volumeHandle is the unique volume name returned by the CSI volume
plugin’s CreateVolume to refer to the volume on all subsequent calls.
Required.
type CSIVolumeSourceDie ¶
type CSIVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*CSIVolumeSourceDie) DeepCopy ¶
func (d *CSIVolumeSourceDie) DeepCopy() *CSIVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*CSIVolumeSourceDie) DieFeed ¶
func (d *CSIVolumeSourceDie) DieFeed(r corev1.CSIVolumeSource) *CSIVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*CSIVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *CSIVolumeSourceDie) DieFeedJSON(j []byte) *CSIVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*CSIVolumeSourceDie) DieFeedPtr ¶
func (d *CSIVolumeSourceDie) DieFeedPtr(r *corev1.CSIVolumeSource) *CSIVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*CSIVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *CSIVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *CSIVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CSIVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *CSIVolumeSourceDie) DieFeedYAML(y []byte) *CSIVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*CSIVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *CSIVolumeSourceDie) DieFeedYAMLFile(name string) *CSIVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*CSIVolumeSourceDie) DieImmutable ¶
func (d *CSIVolumeSourceDie) DieImmutable(immutable bool) *CSIVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*CSIVolumeSourceDie) DieRelease ¶
func (d *CSIVolumeSourceDie) DieRelease() corev1.CSIVolumeSource
DieRelease returns the resource managed by the die.
func (*CSIVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *CSIVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*CSIVolumeSourceDie) DieReleasePtr ¶
func (d *CSIVolumeSourceDie) DieReleasePtr() *corev1.CSIVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*CSIVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *CSIVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CSIVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *CSIVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*CSIVolumeSourceDie) DieStamp ¶
func (d *CSIVolumeSourceDie) DieStamp(fn func(r *corev1.CSIVolumeSource)) *CSIVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*CSIVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *CSIVolumeSourceDie) DieStampAt(jp string, fn interface{}) *CSIVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*CSIVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *CSIVolumeSourceDie) DieWith(fns ...func(d *CSIVolumeSourceDie)) *CSIVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*CSIVolumeSourceDie) Driver ¶
func (d *CSIVolumeSourceDie) Driver(v string) *CSIVolumeSourceDie
driver is the name of the CSI driver that handles this volume.
Consult with your admin for the correct name as registered in the cluster.
func (*CSIVolumeSourceDie) FSType ¶
func (d *CSIVolumeSourceDie) FSType(v *string) *CSIVolumeSourceDie
fsType to mount. Ex. "ext4", "xfs", "ntfs".
If not provided, the empty value is passed to the associated CSI driver ¶
which will determine the default filesystem to apply.
func (*CSIVolumeSourceDie) NodePublishSecretRef ¶
func (d *CSIVolumeSourceDie) NodePublishSecretRef(v *corev1.LocalObjectReference) *CSIVolumeSourceDie
nodePublishSecretRef is a reference to the secret object containing
sensitive information to pass to the CSI driver to complete the CSI
NodePublishVolume and NodeUnpublishVolume calls.
This field is optional, and may be empty if no secret is required. If the
secret object contains more than one secret, all secret references are passed.
func (*CSIVolumeSourceDie) NodePublishSecretRefDie ¶
func (d *CSIVolumeSourceDie) NodePublishSecretRefDie(fn func(d *LocalObjectReferenceDie)) *CSIVolumeSourceDie
func (*CSIVolumeSourceDie) ReadOnly ¶
func (d *CSIVolumeSourceDie) ReadOnly(v *bool) *CSIVolumeSourceDie
readOnly specifies a read-only configuration for the volume.
Defaults to false (read/write).
func (*CSIVolumeSourceDie) VolumeAttribute ¶
func (d *CSIVolumeSourceDie) VolumeAttribute(key, value string) *CSIVolumeSourceDie
func (*CSIVolumeSourceDie) VolumeAttributes ¶
func (d *CSIVolumeSourceDie) VolumeAttributes(v map[string]string) *CSIVolumeSourceDie
volumeAttributes stores driver-specific properties that are passed to the CSI
driver. Consult your driver's documentation for supported values.
type CapabilitiesDie ¶
type CapabilitiesDie struct {
// contains filtered or unexported fields
}
func (*CapabilitiesDie) Add ¶
func (d *CapabilitiesDie) Add(v ...corev1.Capability) *CapabilitiesDie
Added capabilities
func (*CapabilitiesDie) DeepCopy ¶
func (d *CapabilitiesDie) DeepCopy() *CapabilitiesDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*CapabilitiesDie) DieFeed ¶
func (d *CapabilitiesDie) DieFeed(r corev1.Capabilities) *CapabilitiesDie
DieFeed returns a new die with the provided resource.
func (*CapabilitiesDie) DieFeedJSON ¶ added in v0.8.0
func (d *CapabilitiesDie) DieFeedJSON(j []byte) *CapabilitiesDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*CapabilitiesDie) DieFeedPtr ¶
func (d *CapabilitiesDie) DieFeedPtr(r *corev1.Capabilities) *CapabilitiesDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*CapabilitiesDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *CapabilitiesDie) DieFeedRawExtension(raw runtime.RawExtension) *CapabilitiesDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CapabilitiesDie) DieFeedYAML ¶ added in v0.8.0
func (d *CapabilitiesDie) DieFeedYAML(y []byte) *CapabilitiesDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*CapabilitiesDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *CapabilitiesDie) DieFeedYAMLFile(name string) *CapabilitiesDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*CapabilitiesDie) DieImmutable ¶
func (d *CapabilitiesDie) DieImmutable(immutable bool) *CapabilitiesDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*CapabilitiesDie) DieRelease ¶
func (d *CapabilitiesDie) DieRelease() corev1.Capabilities
DieRelease returns the resource managed by the die.
func (*CapabilitiesDie) DieReleaseJSON ¶ added in v0.8.0
func (d *CapabilitiesDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*CapabilitiesDie) DieReleasePtr ¶
func (d *CapabilitiesDie) DieReleasePtr() *corev1.Capabilities
DieReleasePtr returns a pointer to the resource managed by the die.
func (*CapabilitiesDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *CapabilitiesDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CapabilitiesDie) DieReleaseYAML ¶ added in v0.8.0
func (d *CapabilitiesDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*CapabilitiesDie) DieStamp ¶
func (d *CapabilitiesDie) DieStamp(fn func(r *corev1.Capabilities)) *CapabilitiesDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*CapabilitiesDie) DieStampAt ¶ added in v0.8.0
func (d *CapabilitiesDie) DieStampAt(jp string, fn interface{}) *CapabilitiesDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*CapabilitiesDie) DieWith ¶ added in v0.9.0
func (d *CapabilitiesDie) DieWith(fns ...func(d *CapabilitiesDie)) *CapabilitiesDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*CapabilitiesDie) Drop ¶
func (d *CapabilitiesDie) Drop(v ...corev1.Capability) *CapabilitiesDie
Removed capabilities
type CephFSPersistentVolumeSourceDie ¶
type CephFSPersistentVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*CephFSPersistentVolumeSourceDie) DeepCopy ¶
func (d *CephFSPersistentVolumeSourceDie) DeepCopy() *CephFSPersistentVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*CephFSPersistentVolumeSourceDie) DieFeed ¶
func (d *CephFSPersistentVolumeSourceDie) DieFeed(r corev1.CephFSPersistentVolumeSource) *CephFSPersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*CephFSPersistentVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *CephFSPersistentVolumeSourceDie) DieFeedJSON(j []byte) *CephFSPersistentVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*CephFSPersistentVolumeSourceDie) DieFeedPtr ¶
func (d *CephFSPersistentVolumeSourceDie) DieFeedPtr(r *corev1.CephFSPersistentVolumeSource) *CephFSPersistentVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*CephFSPersistentVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *CephFSPersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *CephFSPersistentVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CephFSPersistentVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *CephFSPersistentVolumeSourceDie) DieFeedYAML(y []byte) *CephFSPersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*CephFSPersistentVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *CephFSPersistentVolumeSourceDie) DieFeedYAMLFile(name string) *CephFSPersistentVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*CephFSPersistentVolumeSourceDie) DieImmutable ¶
func (d *CephFSPersistentVolumeSourceDie) DieImmutable(immutable bool) *CephFSPersistentVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*CephFSPersistentVolumeSourceDie) DieRelease ¶
func (d *CephFSPersistentVolumeSourceDie) DieRelease() corev1.CephFSPersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*CephFSPersistentVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *CephFSPersistentVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*CephFSPersistentVolumeSourceDie) DieReleasePtr ¶
func (d *CephFSPersistentVolumeSourceDie) DieReleasePtr() *corev1.CephFSPersistentVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*CephFSPersistentVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *CephFSPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CephFSPersistentVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *CephFSPersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*CephFSPersistentVolumeSourceDie) DieStamp ¶
func (d *CephFSPersistentVolumeSourceDie) DieStamp(fn func(r *corev1.CephFSPersistentVolumeSource)) *CephFSPersistentVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*CephFSPersistentVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *CephFSPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *CephFSPersistentVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*CephFSPersistentVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *CephFSPersistentVolumeSourceDie) DieWith(fns ...func(d *CephFSPersistentVolumeSourceDie)) *CephFSPersistentVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*CephFSPersistentVolumeSourceDie) Monitors ¶
func (d *CephFSPersistentVolumeSourceDie) Monitors(v ...string) *CephFSPersistentVolumeSourceDie
monitors is Required: Monitors is a collection of Ceph monitors
More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
func (*CephFSPersistentVolumeSourceDie) Path ¶
func (d *CephFSPersistentVolumeSourceDie) Path(v string) *CephFSPersistentVolumeSourceDie
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
func (*CephFSPersistentVolumeSourceDie) ReadOnly ¶
func (d *CephFSPersistentVolumeSourceDie) ReadOnly(v bool) *CephFSPersistentVolumeSourceDie
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
func (*CephFSPersistentVolumeSourceDie) SecretFile ¶
func (d *CephFSPersistentVolumeSourceDie) SecretFile(v string) *CephFSPersistentVolumeSourceDie
secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
func (*CephFSPersistentVolumeSourceDie) SecretRef ¶
func (d *CephFSPersistentVolumeSourceDie) SecretRef(v *corev1.SecretReference) *CephFSPersistentVolumeSourceDie
secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.
More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
func (*CephFSPersistentVolumeSourceDie) SecretRefDie ¶
func (d *CephFSPersistentVolumeSourceDie) SecretRefDie(fn func(d *SecretReferenceDie)) *CephFSPersistentVolumeSourceDie
func (*CephFSPersistentVolumeSourceDie) User ¶
func (d *CephFSPersistentVolumeSourceDie) User(v string) *CephFSPersistentVolumeSourceDie
user is Optional: User is the rados user name, default is admin
More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
type CephFSVolumeSourceDie ¶
type CephFSVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*CephFSVolumeSourceDie) DeepCopy ¶
func (d *CephFSVolumeSourceDie) DeepCopy() *CephFSVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*CephFSVolumeSourceDie) DieFeed ¶
func (d *CephFSVolumeSourceDie) DieFeed(r corev1.CephFSVolumeSource) *CephFSVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*CephFSVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *CephFSVolumeSourceDie) DieFeedJSON(j []byte) *CephFSVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*CephFSVolumeSourceDie) DieFeedPtr ¶
func (d *CephFSVolumeSourceDie) DieFeedPtr(r *corev1.CephFSVolumeSource) *CephFSVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*CephFSVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *CephFSVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *CephFSVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CephFSVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *CephFSVolumeSourceDie) DieFeedYAML(y []byte) *CephFSVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*CephFSVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *CephFSVolumeSourceDie) DieFeedYAMLFile(name string) *CephFSVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*CephFSVolumeSourceDie) DieImmutable ¶
func (d *CephFSVolumeSourceDie) DieImmutable(immutable bool) *CephFSVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*CephFSVolumeSourceDie) DieRelease ¶
func (d *CephFSVolumeSourceDie) DieRelease() corev1.CephFSVolumeSource
DieRelease returns the resource managed by the die.
func (*CephFSVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *CephFSVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*CephFSVolumeSourceDie) DieReleasePtr ¶
func (d *CephFSVolumeSourceDie) DieReleasePtr() *corev1.CephFSVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*CephFSVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *CephFSVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CephFSVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *CephFSVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*CephFSVolumeSourceDie) DieStamp ¶
func (d *CephFSVolumeSourceDie) DieStamp(fn func(r *corev1.CephFSVolumeSource)) *CephFSVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*CephFSVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *CephFSVolumeSourceDie) DieStampAt(jp string, fn interface{}) *CephFSVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*CephFSVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *CephFSVolumeSourceDie) DieWith(fns ...func(d *CephFSVolumeSourceDie)) *CephFSVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*CephFSVolumeSourceDie) Monitors ¶
func (d *CephFSVolumeSourceDie) Monitors(v ...string) *CephFSVolumeSourceDie
monitors is Required: Monitors is a collection of Ceph monitors
More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
func (*CephFSVolumeSourceDie) Path ¶
func (d *CephFSVolumeSourceDie) Path(v string) *CephFSVolumeSourceDie
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
func (*CephFSVolumeSourceDie) ReadOnly ¶
func (d *CephFSVolumeSourceDie) ReadOnly(v bool) *CephFSVolumeSourceDie
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
func (*CephFSVolumeSourceDie) SecretFile ¶
func (d *CephFSVolumeSourceDie) SecretFile(v string) *CephFSVolumeSourceDie
secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
func (*CephFSVolumeSourceDie) SecretRef ¶
func (d *CephFSVolumeSourceDie) SecretRef(v *corev1.LocalObjectReference) *CephFSVolumeSourceDie
secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.
More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
func (*CephFSVolumeSourceDie) SecretRefDie ¶
func (d *CephFSVolumeSourceDie) SecretRefDie(fn func(d *LocalObjectReferenceDie)) *CephFSVolumeSourceDie
func (*CephFSVolumeSourceDie) User ¶
func (d *CephFSVolumeSourceDie) User(v string) *CephFSVolumeSourceDie
user is optional: User is the rados user name, default is admin
More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
type CinderPersistentVolumeSourceDie ¶
type CinderPersistentVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*CinderPersistentVolumeSourceDie) DeepCopy ¶
func (d *CinderPersistentVolumeSourceDie) DeepCopy() *CinderPersistentVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*CinderPersistentVolumeSourceDie) DieFeed ¶
func (d *CinderPersistentVolumeSourceDie) DieFeed(r corev1.CinderPersistentVolumeSource) *CinderPersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*CinderPersistentVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *CinderPersistentVolumeSourceDie) DieFeedJSON(j []byte) *CinderPersistentVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*CinderPersistentVolumeSourceDie) DieFeedPtr ¶
func (d *CinderPersistentVolumeSourceDie) DieFeedPtr(r *corev1.CinderPersistentVolumeSource) *CinderPersistentVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*CinderPersistentVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *CinderPersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *CinderPersistentVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CinderPersistentVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *CinderPersistentVolumeSourceDie) DieFeedYAML(y []byte) *CinderPersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*CinderPersistentVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *CinderPersistentVolumeSourceDie) DieFeedYAMLFile(name string) *CinderPersistentVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*CinderPersistentVolumeSourceDie) DieImmutable ¶
func (d *CinderPersistentVolumeSourceDie) DieImmutable(immutable bool) *CinderPersistentVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*CinderPersistentVolumeSourceDie) DieRelease ¶
func (d *CinderPersistentVolumeSourceDie) DieRelease() corev1.CinderPersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*CinderPersistentVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *CinderPersistentVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*CinderPersistentVolumeSourceDie) DieReleasePtr ¶
func (d *CinderPersistentVolumeSourceDie) DieReleasePtr() *corev1.CinderPersistentVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*CinderPersistentVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *CinderPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CinderPersistentVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *CinderPersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*CinderPersistentVolumeSourceDie) DieStamp ¶
func (d *CinderPersistentVolumeSourceDie) DieStamp(fn func(r *corev1.CinderPersistentVolumeSource)) *CinderPersistentVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*CinderPersistentVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *CinderPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *CinderPersistentVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*CinderPersistentVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *CinderPersistentVolumeSourceDie) DieWith(fns ...func(d *CinderPersistentVolumeSourceDie)) *CinderPersistentVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*CinderPersistentVolumeSourceDie) FSType ¶
func (d *CinderPersistentVolumeSourceDie) FSType(v string) *CinderPersistentVolumeSourceDie
fsType Filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
More info: https://examples.k8s.io/mysql-cinder-pd/README.md
func (*CinderPersistentVolumeSourceDie) ReadOnly ¶
func (d *CinderPersistentVolumeSourceDie) ReadOnly(v bool) *CinderPersistentVolumeSourceDie
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
More info: https://examples.k8s.io/mysql-cinder-pd/README.md
func (*CinderPersistentVolumeSourceDie) SecretRef ¶
func (d *CinderPersistentVolumeSourceDie) SecretRef(v *corev1.SecretReference) *CinderPersistentVolumeSourceDie
secretRef is Optional: points to a secret object containing parameters used to connect
to OpenStack.
func (*CinderPersistentVolumeSourceDie) SecretRefDie ¶
func (d *CinderPersistentVolumeSourceDie) SecretRefDie(fn func(d *SecretReferenceDie)) *CinderPersistentVolumeSourceDie
func (*CinderPersistentVolumeSourceDie) VolumeID ¶
func (d *CinderPersistentVolumeSourceDie) VolumeID(v string) *CinderPersistentVolumeSourceDie
volumeID used to identify the volume in cinder.
More info: https://examples.k8s.io/mysql-cinder-pd/README.md
type CinderVolumeSourceDie ¶
type CinderVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*CinderVolumeSourceDie) DeepCopy ¶
func (d *CinderVolumeSourceDie) DeepCopy() *CinderVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*CinderVolumeSourceDie) DieFeed ¶
func (d *CinderVolumeSourceDie) DieFeed(r corev1.CinderVolumeSource) *CinderVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*CinderVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *CinderVolumeSourceDie) DieFeedJSON(j []byte) *CinderVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*CinderVolumeSourceDie) DieFeedPtr ¶
func (d *CinderVolumeSourceDie) DieFeedPtr(r *corev1.CinderVolumeSource) *CinderVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*CinderVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *CinderVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *CinderVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CinderVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *CinderVolumeSourceDie) DieFeedYAML(y []byte) *CinderVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*CinderVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *CinderVolumeSourceDie) DieFeedYAMLFile(name string) *CinderVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*CinderVolumeSourceDie) DieImmutable ¶
func (d *CinderVolumeSourceDie) DieImmutable(immutable bool) *CinderVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*CinderVolumeSourceDie) DieRelease ¶
func (d *CinderVolumeSourceDie) DieRelease() corev1.CinderVolumeSource
DieRelease returns the resource managed by the die.
func (*CinderVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *CinderVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*CinderVolumeSourceDie) DieReleasePtr ¶
func (d *CinderVolumeSourceDie) DieReleasePtr() *corev1.CinderVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*CinderVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *CinderVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CinderVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *CinderVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*CinderVolumeSourceDie) DieStamp ¶
func (d *CinderVolumeSourceDie) DieStamp(fn func(r *corev1.CinderVolumeSource)) *CinderVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*CinderVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *CinderVolumeSourceDie) DieStampAt(jp string, fn interface{}) *CinderVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*CinderVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *CinderVolumeSourceDie) DieWith(fns ...func(d *CinderVolumeSourceDie)) *CinderVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*CinderVolumeSourceDie) FSType ¶
func (d *CinderVolumeSourceDie) FSType(v string) *CinderVolumeSourceDie
fsType is the filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
More info: https://examples.k8s.io/mysql-cinder-pd/README.md
func (*CinderVolumeSourceDie) ReadOnly ¶
func (d *CinderVolumeSourceDie) ReadOnly(v bool) *CinderVolumeSourceDie
readOnly defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
More info: https://examples.k8s.io/mysql-cinder-pd/README.md
func (*CinderVolumeSourceDie) SecretRef ¶
func (d *CinderVolumeSourceDie) SecretRef(v *corev1.LocalObjectReference) *CinderVolumeSourceDie
secretRef is optional: points to a secret object containing parameters used to connect
to OpenStack.
func (*CinderVolumeSourceDie) SecretRefDie ¶
func (d *CinderVolumeSourceDie) SecretRefDie(fn func(d *LocalObjectReferenceDie)) *CinderVolumeSourceDie
func (*CinderVolumeSourceDie) VolumeID ¶
func (d *CinderVolumeSourceDie) VolumeID(v string) *CinderVolumeSourceDie
volumeID used to identify the volume in cinder.
More info: https://examples.k8s.io/mysql-cinder-pd/README.md
type ClaimSourceDie ¶ added in v0.7.0
type ClaimSourceDie struct {
// contains filtered or unexported fields
}
func (*ClaimSourceDie) DeepCopy ¶ added in v0.7.0
func (d *ClaimSourceDie) DeepCopy() *ClaimSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ClaimSourceDie) DieFeed ¶ added in v0.7.0
func (d *ClaimSourceDie) DieFeed(r corev1.ClaimSource) *ClaimSourceDie
DieFeed returns a new die with the provided resource.
func (*ClaimSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *ClaimSourceDie) DieFeedJSON(j []byte) *ClaimSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ClaimSourceDie) DieFeedPtr ¶ added in v0.7.0
func (d *ClaimSourceDie) DieFeedPtr(r *corev1.ClaimSource) *ClaimSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ClaimSourceDie) DieFeedRawExtension ¶ added in v0.7.0
func (d *ClaimSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ClaimSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ClaimSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *ClaimSourceDie) DieFeedYAML(y []byte) *ClaimSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ClaimSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ClaimSourceDie) DieFeedYAMLFile(name string) *ClaimSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ClaimSourceDie) DieImmutable ¶ added in v0.7.0
func (d *ClaimSourceDie) DieImmutable(immutable bool) *ClaimSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ClaimSourceDie) DieRelease ¶ added in v0.7.0
func (d *ClaimSourceDie) DieRelease() corev1.ClaimSource
DieRelease returns the resource managed by the die.
func (*ClaimSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ClaimSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ClaimSourceDie) DieReleasePtr ¶ added in v0.7.0
func (d *ClaimSourceDie) DieReleasePtr() *corev1.ClaimSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ClaimSourceDie) DieReleaseRawExtension ¶ added in v0.7.0
func (d *ClaimSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ClaimSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ClaimSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ClaimSourceDie) DieStamp ¶ added in v0.7.0
func (d *ClaimSourceDie) DieStamp(fn func(r *corev1.ClaimSource)) *ClaimSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ClaimSourceDie) DieStampAt ¶ added in v0.8.0
func (d *ClaimSourceDie) DieStampAt(jp string, fn interface{}) *ClaimSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ClaimSourceDie) DieWith ¶ added in v0.9.0
func (d *ClaimSourceDie) DieWith(fns ...func(d *ClaimSourceDie)) *ClaimSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ClaimSourceDie) ResourceClaimName ¶ added in v0.7.0
func (d *ClaimSourceDie) ResourceClaimName(v *string) *ClaimSourceDie
ResourceClaimName is the name of a ResourceClaim object in the same
namespace as this pod.
func (*ClaimSourceDie) ResourceClaimTemplateName ¶ added in v0.7.0
func (d *ClaimSourceDie) ResourceClaimTemplateName(v *string) *ClaimSourceDie
ResourceClaimTemplateName is the name of a ResourceClaimTemplate
object in the same namespace as this pod.
The template will be used to create a new ResourceClaim, which will ¶
be bound to this pod. When this pod is deleted, the ResourceClaim
will also be deleted. The pod name and resource name, along with a
generated component, will be used to form a unique name for the
ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
This field is immutable and no changes will be made to the ¶
corresponding ResourceClaim by the control plane after creating the
ResourceClaim.
type ClientIPConfigDie ¶
type ClientIPConfigDie struct {
// contains filtered or unexported fields
}
func (*ClientIPConfigDie) DeepCopy ¶
func (d *ClientIPConfigDie) DeepCopy() *ClientIPConfigDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ClientIPConfigDie) DieFeed ¶
func (d *ClientIPConfigDie) DieFeed(r corev1.ClientIPConfig) *ClientIPConfigDie
DieFeed returns a new die with the provided resource.
func (*ClientIPConfigDie) DieFeedJSON ¶ added in v0.8.0
func (d *ClientIPConfigDie) DieFeedJSON(j []byte) *ClientIPConfigDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ClientIPConfigDie) DieFeedPtr ¶
func (d *ClientIPConfigDie) DieFeedPtr(r *corev1.ClientIPConfig) *ClientIPConfigDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ClientIPConfigDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ClientIPConfigDie) DieFeedRawExtension(raw runtime.RawExtension) *ClientIPConfigDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ClientIPConfigDie) DieFeedYAML ¶ added in v0.8.0
func (d *ClientIPConfigDie) DieFeedYAML(y []byte) *ClientIPConfigDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ClientIPConfigDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ClientIPConfigDie) DieFeedYAMLFile(name string) *ClientIPConfigDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ClientIPConfigDie) DieImmutable ¶
func (d *ClientIPConfigDie) DieImmutable(immutable bool) *ClientIPConfigDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ClientIPConfigDie) DieRelease ¶
func (d *ClientIPConfigDie) DieRelease() corev1.ClientIPConfig
DieRelease returns the resource managed by the die.
func (*ClientIPConfigDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ClientIPConfigDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ClientIPConfigDie) DieReleasePtr ¶
func (d *ClientIPConfigDie) DieReleasePtr() *corev1.ClientIPConfig
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ClientIPConfigDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ClientIPConfigDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ClientIPConfigDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ClientIPConfigDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ClientIPConfigDie) DieStamp ¶
func (d *ClientIPConfigDie) DieStamp(fn func(r *corev1.ClientIPConfig)) *ClientIPConfigDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ClientIPConfigDie) DieStampAt ¶ added in v0.8.0
func (d *ClientIPConfigDie) DieStampAt(jp string, fn interface{}) *ClientIPConfigDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ClientIPConfigDie) DieWith ¶ added in v0.9.0
func (d *ClientIPConfigDie) DieWith(fns ...func(d *ClientIPConfigDie)) *ClientIPConfigDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ClientIPConfigDie) TimeoutSeconds ¶
func (d *ClientIPConfigDie) TimeoutSeconds(v *int32) *ClientIPConfigDie
timeoutSeconds specifies the seconds of ClientIP type session sticky time.
The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP".
Default value is 10800(for 3 hours).
type ClusterTrustBundleProjectionDie ¶ added in v0.10.0
type ClusterTrustBundleProjectionDie struct {
// contains filtered or unexported fields
}
func (*ClusterTrustBundleProjectionDie) DeepCopy ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) DeepCopy() *ClusterTrustBundleProjectionDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ClusterTrustBundleProjectionDie) DieFeed ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) DieFeed(r corev1.ClusterTrustBundleProjection) *ClusterTrustBundleProjectionDie
DieFeed returns a new die with the provided resource.
func (*ClusterTrustBundleProjectionDie) DieFeedJSON ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) DieFeedJSON(j []byte) *ClusterTrustBundleProjectionDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ClusterTrustBundleProjectionDie) DieFeedPtr ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) DieFeedPtr(r *corev1.ClusterTrustBundleProjection) *ClusterTrustBundleProjectionDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ClusterTrustBundleProjectionDie) DieFeedRawExtension ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) DieFeedRawExtension(raw runtime.RawExtension) *ClusterTrustBundleProjectionDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ClusterTrustBundleProjectionDie) DieFeedYAML ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) DieFeedYAML(y []byte) *ClusterTrustBundleProjectionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ClusterTrustBundleProjectionDie) DieFeedYAMLFile ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) DieFeedYAMLFile(name string) *ClusterTrustBundleProjectionDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ClusterTrustBundleProjectionDie) DieImmutable ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) DieImmutable(immutable bool) *ClusterTrustBundleProjectionDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ClusterTrustBundleProjectionDie) DieRelease ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) DieRelease() corev1.ClusterTrustBundleProjection
DieRelease returns the resource managed by the die.
func (*ClusterTrustBundleProjectionDie) DieReleaseJSON ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ClusterTrustBundleProjectionDie) DieReleasePtr ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) DieReleasePtr() *corev1.ClusterTrustBundleProjection
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ClusterTrustBundleProjectionDie) DieReleaseRawExtension ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ClusterTrustBundleProjectionDie) DieReleaseYAML ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ClusterTrustBundleProjectionDie) DieStamp ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) DieStamp(fn func(r *corev1.ClusterTrustBundleProjection)) *ClusterTrustBundleProjectionDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ClusterTrustBundleProjectionDie) DieStampAt ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) DieStampAt(jp string, fn interface{}) *ClusterTrustBundleProjectionDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ClusterTrustBundleProjectionDie) DieWith ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) DieWith(fns ...func(d *ClusterTrustBundleProjectionDie)) *ClusterTrustBundleProjectionDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ClusterTrustBundleProjectionDie) LabelSelector ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) LabelSelector(v *apismetav1.LabelSelector) *ClusterTrustBundleProjectionDie
Select all ClusterTrustBundles that match this label selector. Only has
effect if signerName is set. Mutually-exclusive with name. If unset,
interpreted as "match nothing". If set but empty, interpreted as "match
everything".
func (*ClusterTrustBundleProjectionDie) LabelSelectorDie ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) LabelSelectorDie(fn func(d *diemetav1.LabelSelectorDie)) *ClusterTrustBundleProjectionDie
func (*ClusterTrustBundleProjectionDie) Name ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) Name(v *string) *ClusterTrustBundleProjectionDie
Select a single ClusterTrustBundle by object name. Mutually-exclusive
with signerName and labelSelector.
func (*ClusterTrustBundleProjectionDie) Optional ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) Optional(v *bool) *ClusterTrustBundleProjectionDie
If true, don't block pod startup if the referenced ClusterTrustBundle(s)
aren't available. If using name, then the named ClusterTrustBundle is
allowed not to exist. If using signerName, then the combination of
signerName and labelSelector is allowed to match zero
ClusterTrustBundles.
func (*ClusterTrustBundleProjectionDie) Path ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) Path(v string) *ClusterTrustBundleProjectionDie
Relative path from the volume root to write the bundle.
func (*ClusterTrustBundleProjectionDie) SignerName ¶ added in v0.10.0
func (d *ClusterTrustBundleProjectionDie) SignerName(v *string) *ClusterTrustBundleProjectionDie
Select all ClusterTrustBundles that match this signer name.
Mutually-exclusive with name. The contents of all selected
ClusterTrustBundles will be unified and deduplicated.
type ComponentStatusDie ¶ added in v0.3.0
type ComponentStatusDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*ComponentStatusDie) APIVersion ¶ added in v0.5.0
func (d *ComponentStatusDie) APIVersion(v string) *ComponentStatusDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*ComponentStatusDie) Conditions ¶ added in v0.3.0
func (d *ComponentStatusDie) Conditions(v ...corev1.ComponentCondition) *ComponentStatusDie
List of component conditions observed
func (*ComponentStatusDie) ConditionsDie ¶ added in v0.3.0
func (d *ComponentStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *ComponentStatusDie
func (*ComponentStatusDie) DeepCopy ¶ added in v0.3.0
func (d *ComponentStatusDie) DeepCopy() *ComponentStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ComponentStatusDie) DeepCopyObject ¶ added in v0.3.0
func (d *ComponentStatusDie) DeepCopyObject() runtime.Object
func (*ComponentStatusDie) DieFeed ¶ added in v0.3.0
func (d *ComponentStatusDie) DieFeed(r corev1.ComponentStatus) *ComponentStatusDie
DieFeed returns a new die with the provided resource.
func (*ComponentStatusDie) DieFeedJSON ¶ added in v0.8.0
func (d *ComponentStatusDie) DieFeedJSON(j []byte) *ComponentStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ComponentStatusDie) DieFeedPtr ¶ added in v0.3.0
func (d *ComponentStatusDie) DieFeedPtr(r *corev1.ComponentStatus) *ComponentStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ComponentStatusDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ComponentStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ComponentStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ComponentStatusDie) DieFeedYAML ¶ added in v0.8.0
func (d *ComponentStatusDie) DieFeedYAML(y []byte) *ComponentStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ComponentStatusDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ComponentStatusDie) DieFeedYAMLFile(name string) *ComponentStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ComponentStatusDie) DieImmutable ¶ added in v0.3.0
func (d *ComponentStatusDie) DieImmutable(immutable bool) *ComponentStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ComponentStatusDie) DieRelease ¶ added in v0.3.0
func (d *ComponentStatusDie) DieRelease() corev1.ComponentStatus
DieRelease returns the resource managed by the die.
func (*ComponentStatusDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ComponentStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ComponentStatusDie) DieReleasePtr ¶ added in v0.3.0
func (d *ComponentStatusDie) DieReleasePtr() *corev1.ComponentStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ComponentStatusDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ComponentStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ComponentStatusDie) DieReleaseUnstructured ¶ added in v0.3.0
func (d *ComponentStatusDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*ComponentStatusDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ComponentStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ComponentStatusDie) DieStamp ¶ added in v0.3.0
func (d *ComponentStatusDie) DieStamp(fn func(r *corev1.ComponentStatus)) *ComponentStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ComponentStatusDie) DieStampAt ¶ added in v0.8.0
func (d *ComponentStatusDie) DieStampAt(jp string, fn interface{}) *ComponentStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ComponentStatusDie) DieWith ¶ added in v0.9.0
func (d *ComponentStatusDie) DieWith(fns ...func(d *ComponentStatusDie)) *ComponentStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ComponentStatusDie) GetObjectKind ¶ added in v0.3.0
func (d *ComponentStatusDie) GetObjectKind() schema.ObjectKind
func (*ComponentStatusDie) Kind ¶ added in v0.5.0
func (d *ComponentStatusDie) Kind(v string) *ComponentStatusDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*ComponentStatusDie) MarshalJSON ¶ added in v0.3.0
func (d *ComponentStatusDie) MarshalJSON() ([]byte, error)
func (*ComponentStatusDie) MetadataDie ¶ added in v0.3.0
func (d *ComponentStatusDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ComponentStatusDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*ComponentStatusDie) UnmarshalJSON ¶ added in v0.3.0
func (d *ComponentStatusDie) UnmarshalJSON(b []byte) error
type ConfigMapDie ¶
type ConfigMapDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*ConfigMapDie) APIVersion ¶ added in v0.5.0
func (d *ConfigMapDie) APIVersion(v string) *ConfigMapDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*ConfigMapDie) AddBinaryData ¶
func (d *ConfigMapDie) AddBinaryData(key, value string) *ConfigMapDie
func (*ConfigMapDie) AddData ¶
func (d *ConfigMapDie) AddData(key, value string) *ConfigMapDie
func (*ConfigMapDie) BinaryData ¶
func (d *ConfigMapDie) BinaryData(v map[string][]byte) *ConfigMapDie
func (*ConfigMapDie) Data ¶
func (d *ConfigMapDie) Data(v map[string]string) *ConfigMapDie
func (*ConfigMapDie) DeepCopy ¶
func (d *ConfigMapDie) DeepCopy() *ConfigMapDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ConfigMapDie) DeepCopyObject ¶
func (d *ConfigMapDie) DeepCopyObject() runtime.Object
func (*ConfigMapDie) DieFeed ¶
func (d *ConfigMapDie) DieFeed(r corev1.ConfigMap) *ConfigMapDie
DieFeed returns a new die with the provided resource.
func (*ConfigMapDie) DieFeedJSON ¶ added in v0.8.0
func (d *ConfigMapDie) DieFeedJSON(j []byte) *ConfigMapDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ConfigMapDie) DieFeedPtr ¶
func (d *ConfigMapDie) DieFeedPtr(r *corev1.ConfigMap) *ConfigMapDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ConfigMapDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ConfigMapDie) DieFeedRawExtension(raw runtime.RawExtension) *ConfigMapDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ConfigMapDie) DieFeedYAML ¶ added in v0.8.0
func (d *ConfigMapDie) DieFeedYAML(y []byte) *ConfigMapDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ConfigMapDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ConfigMapDie) DieFeedYAMLFile(name string) *ConfigMapDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ConfigMapDie) DieImmutable ¶
func (d *ConfigMapDie) DieImmutable(immutable bool) *ConfigMapDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ConfigMapDie) DieRelease ¶
func (d *ConfigMapDie) DieRelease() corev1.ConfigMap
DieRelease returns the resource managed by the die.
func (*ConfigMapDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ConfigMapDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ConfigMapDie) DieReleasePtr ¶
func (d *ConfigMapDie) DieReleasePtr() *corev1.ConfigMap
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ConfigMapDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ConfigMapDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ConfigMapDie) DieReleaseUnstructured ¶
func (d *ConfigMapDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*ConfigMapDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ConfigMapDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ConfigMapDie) DieStamp ¶
func (d *ConfigMapDie) DieStamp(fn func(r *corev1.ConfigMap)) *ConfigMapDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ConfigMapDie) DieStampAt ¶ added in v0.8.0
func (d *ConfigMapDie) DieStampAt(jp string, fn interface{}) *ConfigMapDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ConfigMapDie) DieWith ¶ added in v0.9.0
func (d *ConfigMapDie) DieWith(fns ...func(d *ConfigMapDie)) *ConfigMapDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ConfigMapDie) GetObjectKind ¶
func (d *ConfigMapDie) GetObjectKind() schema.ObjectKind
func (*ConfigMapDie) Immutable ¶
func (d *ConfigMapDie) Immutable(v *bool) *ConfigMapDie
Immutable, if set to true, ensures that data stored in the ConfigMap cannot
be updated (only object metadata can be modified).
If not set to true, the field can be modified at any time.
Defaulted to nil.
func (*ConfigMapDie) Kind ¶ added in v0.5.0
func (d *ConfigMapDie) Kind(v string) *ConfigMapDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*ConfigMapDie) MarshalJSON ¶
func (d *ConfigMapDie) MarshalJSON() ([]byte, error)
func (*ConfigMapDie) MetadataDie ¶
func (d *ConfigMapDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ConfigMapDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*ConfigMapDie) UnmarshalJSON ¶
func (d *ConfigMapDie) UnmarshalJSON(b []byte) error
type ConfigMapEnvSourceDie ¶
type ConfigMapEnvSourceDie struct {
// contains filtered or unexported fields
}
func (*ConfigMapEnvSourceDie) DeepCopy ¶
func (d *ConfigMapEnvSourceDie) DeepCopy() *ConfigMapEnvSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ConfigMapEnvSourceDie) DieFeed ¶
func (d *ConfigMapEnvSourceDie) DieFeed(r corev1.ConfigMapEnvSource) *ConfigMapEnvSourceDie
DieFeed returns a new die with the provided resource.
func (*ConfigMapEnvSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *ConfigMapEnvSourceDie) DieFeedJSON(j []byte) *ConfigMapEnvSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ConfigMapEnvSourceDie) DieFeedPtr ¶
func (d *ConfigMapEnvSourceDie) DieFeedPtr(r *corev1.ConfigMapEnvSource) *ConfigMapEnvSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ConfigMapEnvSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ConfigMapEnvSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ConfigMapEnvSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ConfigMapEnvSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *ConfigMapEnvSourceDie) DieFeedYAML(y []byte) *ConfigMapEnvSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ConfigMapEnvSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ConfigMapEnvSourceDie) DieFeedYAMLFile(name string) *ConfigMapEnvSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ConfigMapEnvSourceDie) DieImmutable ¶
func (d *ConfigMapEnvSourceDie) DieImmutable(immutable bool) *ConfigMapEnvSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ConfigMapEnvSourceDie) DieRelease ¶
func (d *ConfigMapEnvSourceDie) DieRelease() corev1.ConfigMapEnvSource
DieRelease returns the resource managed by the die.
func (*ConfigMapEnvSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ConfigMapEnvSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ConfigMapEnvSourceDie) DieReleasePtr ¶
func (d *ConfigMapEnvSourceDie) DieReleasePtr() *corev1.ConfigMapEnvSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ConfigMapEnvSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ConfigMapEnvSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ConfigMapEnvSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ConfigMapEnvSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ConfigMapEnvSourceDie) DieStamp ¶
func (d *ConfigMapEnvSourceDie) DieStamp(fn func(r *corev1.ConfigMapEnvSource)) *ConfigMapEnvSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ConfigMapEnvSourceDie) DieStampAt ¶ added in v0.8.0
func (d *ConfigMapEnvSourceDie) DieStampAt(jp string, fn interface{}) *ConfigMapEnvSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ConfigMapEnvSourceDie) DieWith ¶ added in v0.9.0
func (d *ConfigMapEnvSourceDie) DieWith(fns ...func(d *ConfigMapEnvSourceDie)) *ConfigMapEnvSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ConfigMapEnvSourceDie) LocalObjectReference ¶
func (d *ConfigMapEnvSourceDie) LocalObjectReference(v corev1.LocalObjectReference) *ConfigMapEnvSourceDie
The ConfigMap to select from.
func (*ConfigMapEnvSourceDie) Name ¶
func (d *ConfigMapEnvSourceDie) Name(v string) *ConfigMapEnvSourceDie
func (*ConfigMapEnvSourceDie) Optional ¶
func (d *ConfigMapEnvSourceDie) Optional(v *bool) *ConfigMapEnvSourceDie
Specify whether the ConfigMap must be defined
type ConfigMapKeySelectorDie ¶
type ConfigMapKeySelectorDie struct {
// contains filtered or unexported fields
}
func (*ConfigMapKeySelectorDie) DeepCopy ¶
func (d *ConfigMapKeySelectorDie) DeepCopy() *ConfigMapKeySelectorDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ConfigMapKeySelectorDie) DieFeed ¶
func (d *ConfigMapKeySelectorDie) DieFeed(r corev1.ConfigMapKeySelector) *ConfigMapKeySelectorDie
DieFeed returns a new die with the provided resource.
func (*ConfigMapKeySelectorDie) DieFeedJSON ¶ added in v0.8.0
func (d *ConfigMapKeySelectorDie) DieFeedJSON(j []byte) *ConfigMapKeySelectorDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ConfigMapKeySelectorDie) DieFeedPtr ¶
func (d *ConfigMapKeySelectorDie) DieFeedPtr(r *corev1.ConfigMapKeySelector) *ConfigMapKeySelectorDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ConfigMapKeySelectorDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ConfigMapKeySelectorDie) DieFeedRawExtension(raw runtime.RawExtension) *ConfigMapKeySelectorDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ConfigMapKeySelectorDie) DieFeedYAML ¶ added in v0.8.0
func (d *ConfigMapKeySelectorDie) DieFeedYAML(y []byte) *ConfigMapKeySelectorDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ConfigMapKeySelectorDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ConfigMapKeySelectorDie) DieFeedYAMLFile(name string) *ConfigMapKeySelectorDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ConfigMapKeySelectorDie) DieImmutable ¶
func (d *ConfigMapKeySelectorDie) DieImmutable(immutable bool) *ConfigMapKeySelectorDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ConfigMapKeySelectorDie) DieRelease ¶
func (d *ConfigMapKeySelectorDie) DieRelease() corev1.ConfigMapKeySelector
DieRelease returns the resource managed by the die.
func (*ConfigMapKeySelectorDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ConfigMapKeySelectorDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ConfigMapKeySelectorDie) DieReleasePtr ¶
func (d *ConfigMapKeySelectorDie) DieReleasePtr() *corev1.ConfigMapKeySelector
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ConfigMapKeySelectorDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ConfigMapKeySelectorDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ConfigMapKeySelectorDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ConfigMapKeySelectorDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ConfigMapKeySelectorDie) DieStamp ¶
func (d *ConfigMapKeySelectorDie) DieStamp(fn func(r *corev1.ConfigMapKeySelector)) *ConfigMapKeySelectorDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ConfigMapKeySelectorDie) DieStampAt ¶ added in v0.8.0
func (d *ConfigMapKeySelectorDie) DieStampAt(jp string, fn interface{}) *ConfigMapKeySelectorDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ConfigMapKeySelectorDie) DieWith ¶ added in v0.9.0
func (d *ConfigMapKeySelectorDie) DieWith(fns ...func(d *ConfigMapKeySelectorDie)) *ConfigMapKeySelectorDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ConfigMapKeySelectorDie) Key ¶
func (d *ConfigMapKeySelectorDie) Key(v string) *ConfigMapKeySelectorDie
The key to select.
func (*ConfigMapKeySelectorDie) LocalObjectReference ¶
func (d *ConfigMapKeySelectorDie) LocalObjectReference(v corev1.LocalObjectReference) *ConfigMapKeySelectorDie
The ConfigMap to select from.
func (*ConfigMapKeySelectorDie) Name ¶
func (d *ConfigMapKeySelectorDie) Name(v string) *ConfigMapKeySelectorDie
func (*ConfigMapKeySelectorDie) Optional ¶
func (d *ConfigMapKeySelectorDie) Optional(v *bool) *ConfigMapKeySelectorDie
Specify whether the ConfigMap or its key must be defined
type ConfigMapNodeConfigSourceDie ¶
type ConfigMapNodeConfigSourceDie struct {
// contains filtered or unexported fields
}
func (*ConfigMapNodeConfigSourceDie) DeepCopy ¶
func (d *ConfigMapNodeConfigSourceDie) DeepCopy() *ConfigMapNodeConfigSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ConfigMapNodeConfigSourceDie) DieFeed ¶
func (d *ConfigMapNodeConfigSourceDie) DieFeed(r corev1.ConfigMapNodeConfigSource) *ConfigMapNodeConfigSourceDie
DieFeed returns a new die with the provided resource.
func (*ConfigMapNodeConfigSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *ConfigMapNodeConfigSourceDie) DieFeedJSON(j []byte) *ConfigMapNodeConfigSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ConfigMapNodeConfigSourceDie) DieFeedPtr ¶
func (d *ConfigMapNodeConfigSourceDie) DieFeedPtr(r *corev1.ConfigMapNodeConfigSource) *ConfigMapNodeConfigSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ConfigMapNodeConfigSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ConfigMapNodeConfigSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ConfigMapNodeConfigSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ConfigMapNodeConfigSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *ConfigMapNodeConfigSourceDie) DieFeedYAML(y []byte) *ConfigMapNodeConfigSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ConfigMapNodeConfigSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ConfigMapNodeConfigSourceDie) DieFeedYAMLFile(name string) *ConfigMapNodeConfigSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ConfigMapNodeConfigSourceDie) DieImmutable ¶
func (d *ConfigMapNodeConfigSourceDie) DieImmutable(immutable bool) *ConfigMapNodeConfigSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ConfigMapNodeConfigSourceDie) DieRelease ¶
func (d *ConfigMapNodeConfigSourceDie) DieRelease() corev1.ConfigMapNodeConfigSource
DieRelease returns the resource managed by the die.
func (*ConfigMapNodeConfigSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ConfigMapNodeConfigSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ConfigMapNodeConfigSourceDie) DieReleasePtr ¶
func (d *ConfigMapNodeConfigSourceDie) DieReleasePtr() *corev1.ConfigMapNodeConfigSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ConfigMapNodeConfigSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ConfigMapNodeConfigSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ConfigMapNodeConfigSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ConfigMapNodeConfigSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ConfigMapNodeConfigSourceDie) DieStamp ¶
func (d *ConfigMapNodeConfigSourceDie) DieStamp(fn func(r *corev1.ConfigMapNodeConfigSource)) *ConfigMapNodeConfigSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ConfigMapNodeConfigSourceDie) DieStampAt ¶ added in v0.8.0
func (d *ConfigMapNodeConfigSourceDie) DieStampAt(jp string, fn interface{}) *ConfigMapNodeConfigSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ConfigMapNodeConfigSourceDie) DieWith ¶ added in v0.9.0
func (d *ConfigMapNodeConfigSourceDie) DieWith(fns ...func(d *ConfigMapNodeConfigSourceDie)) *ConfigMapNodeConfigSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ConfigMapNodeConfigSourceDie) KubeletConfigKey ¶
func (d *ConfigMapNodeConfigSourceDie) KubeletConfigKey(v string) *ConfigMapNodeConfigSourceDie
KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure
This field is required in all cases.
func (*ConfigMapNodeConfigSourceDie) Name ¶
func (d *ConfigMapNodeConfigSourceDie) Name(v string) *ConfigMapNodeConfigSourceDie
Name is the metadata.name of the referenced ConfigMap.
This field is required in all cases.
func (*ConfigMapNodeConfigSourceDie) Namespace ¶
func (d *ConfigMapNodeConfigSourceDie) Namespace(v string) *ConfigMapNodeConfigSourceDie
Namespace is the metadata.namespace of the referenced ConfigMap.
This field is required in all cases.
func (*ConfigMapNodeConfigSourceDie) ResourceVersion ¶
func (d *ConfigMapNodeConfigSourceDie) ResourceVersion(v string) *ConfigMapNodeConfigSourceDie
ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap.
This field is forbidden in Node.Spec, and required in Node.Status.
func (*ConfigMapNodeConfigSourceDie) UID ¶
func (d *ConfigMapNodeConfigSourceDie) UID(v types.UID) *ConfigMapNodeConfigSourceDie
UID is the metadata.UID of the referenced ConfigMap.
This field is forbidden in Node.Spec, and required in Node.Status.
type ConfigMapProjectionDie ¶
type ConfigMapProjectionDie struct {
// contains filtered or unexported fields
}
func (*ConfigMapProjectionDie) DeepCopy ¶
func (d *ConfigMapProjectionDie) DeepCopy() *ConfigMapProjectionDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ConfigMapProjectionDie) DieFeed ¶
func (d *ConfigMapProjectionDie) DieFeed(r corev1.ConfigMapProjection) *ConfigMapProjectionDie
DieFeed returns a new die with the provided resource.
func (*ConfigMapProjectionDie) DieFeedJSON ¶ added in v0.8.0
func (d *ConfigMapProjectionDie) DieFeedJSON(j []byte) *ConfigMapProjectionDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ConfigMapProjectionDie) DieFeedPtr ¶
func (d *ConfigMapProjectionDie) DieFeedPtr(r *corev1.ConfigMapProjection) *ConfigMapProjectionDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ConfigMapProjectionDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ConfigMapProjectionDie) DieFeedRawExtension(raw runtime.RawExtension) *ConfigMapProjectionDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ConfigMapProjectionDie) DieFeedYAML ¶ added in v0.8.0
func (d *ConfigMapProjectionDie) DieFeedYAML(y []byte) *ConfigMapProjectionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ConfigMapProjectionDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ConfigMapProjectionDie) DieFeedYAMLFile(name string) *ConfigMapProjectionDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ConfigMapProjectionDie) DieImmutable ¶
func (d *ConfigMapProjectionDie) DieImmutable(immutable bool) *ConfigMapProjectionDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ConfigMapProjectionDie) DieRelease ¶
func (d *ConfigMapProjectionDie) DieRelease() corev1.ConfigMapProjection
DieRelease returns the resource managed by the die.
func (*ConfigMapProjectionDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ConfigMapProjectionDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ConfigMapProjectionDie) DieReleasePtr ¶
func (d *ConfigMapProjectionDie) DieReleasePtr() *corev1.ConfigMapProjection
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ConfigMapProjectionDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ConfigMapProjectionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ConfigMapProjectionDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ConfigMapProjectionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ConfigMapProjectionDie) DieStamp ¶
func (d *ConfigMapProjectionDie) DieStamp(fn func(r *corev1.ConfigMapProjection)) *ConfigMapProjectionDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ConfigMapProjectionDie) DieStampAt ¶ added in v0.8.0
func (d *ConfigMapProjectionDie) DieStampAt(jp string, fn interface{}) *ConfigMapProjectionDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ConfigMapProjectionDie) DieWith ¶ added in v0.9.0
func (d *ConfigMapProjectionDie) DieWith(fns ...func(d *ConfigMapProjectionDie)) *ConfigMapProjectionDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ConfigMapProjectionDie) ItemDie ¶
func (d *ConfigMapProjectionDie) ItemDie(key string, fn func(d *KeyToPathDie)) *ConfigMapProjectionDie
func (*ConfigMapProjectionDie) Items ¶
func (d *ConfigMapProjectionDie) Items(v ...corev1.KeyToPath) *ConfigMapProjectionDie
items if unspecified, each key-value pair in the Data field of the referenced
ConfigMap will be projected into the volume as a file whose name is the ¶
key and content is the value. If specified, the listed keys will be
projected into the specified paths, and unlisted keys will not be
present. If a key is specified which is not present in the ConfigMap,
the volume setup will error unless it is marked optional. Paths must be
relative and may not contain the '..' path or start with '..'.
func (*ConfigMapProjectionDie) LocalObjectReference ¶
func (d *ConfigMapProjectionDie) LocalObjectReference(v corev1.LocalObjectReference) *ConfigMapProjectionDie
func (*ConfigMapProjectionDie) Name ¶
func (d *ConfigMapProjectionDie) Name(v string) *ConfigMapProjectionDie
func (*ConfigMapProjectionDie) Optional ¶
func (d *ConfigMapProjectionDie) Optional(v *bool) *ConfigMapProjectionDie
optional specify whether the ConfigMap or its keys must be defined
type ConfigMapVolumeSourceDie ¶
type ConfigMapVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*ConfigMapVolumeSourceDie) DeepCopy ¶
func (d *ConfigMapVolumeSourceDie) DeepCopy() *ConfigMapVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ConfigMapVolumeSourceDie) DefaultMode ¶
func (d *ConfigMapVolumeSourceDie) DefaultMode(v *int32) *ConfigMapVolumeSourceDie
defaultMode is optional: mode bits used to set permissions on created files by default.
Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
Defaults to 0644.
Directories within the path are not affected by this setting.
This might be in conflict with other options that affect the file ¶
mode, like fsGroup, and the result can be other mode bits set.
func (*ConfigMapVolumeSourceDie) DieFeed ¶
func (d *ConfigMapVolumeSourceDie) DieFeed(r corev1.ConfigMapVolumeSource) *ConfigMapVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*ConfigMapVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *ConfigMapVolumeSourceDie) DieFeedJSON(j []byte) *ConfigMapVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ConfigMapVolumeSourceDie) DieFeedPtr ¶
func (d *ConfigMapVolumeSourceDie) DieFeedPtr(r *corev1.ConfigMapVolumeSource) *ConfigMapVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ConfigMapVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ConfigMapVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ConfigMapVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ConfigMapVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *ConfigMapVolumeSourceDie) DieFeedYAML(y []byte) *ConfigMapVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ConfigMapVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ConfigMapVolumeSourceDie) DieFeedYAMLFile(name string) *ConfigMapVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ConfigMapVolumeSourceDie) DieImmutable ¶
func (d *ConfigMapVolumeSourceDie) DieImmutable(immutable bool) *ConfigMapVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ConfigMapVolumeSourceDie) DieRelease ¶
func (d *ConfigMapVolumeSourceDie) DieRelease() corev1.ConfigMapVolumeSource
DieRelease returns the resource managed by the die.
func (*ConfigMapVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ConfigMapVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ConfigMapVolumeSourceDie) DieReleasePtr ¶
func (d *ConfigMapVolumeSourceDie) DieReleasePtr() *corev1.ConfigMapVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ConfigMapVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ConfigMapVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ConfigMapVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ConfigMapVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ConfigMapVolumeSourceDie) DieStamp ¶
func (d *ConfigMapVolumeSourceDie) DieStamp(fn func(r *corev1.ConfigMapVolumeSource)) *ConfigMapVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ConfigMapVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *ConfigMapVolumeSourceDie) DieStampAt(jp string, fn interface{}) *ConfigMapVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ConfigMapVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *ConfigMapVolumeSourceDie) DieWith(fns ...func(d *ConfigMapVolumeSourceDie)) *ConfigMapVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ConfigMapVolumeSourceDie) ItemDie ¶
func (d *ConfigMapVolumeSourceDie) ItemDie(key string, fn func(d *KeyToPathDie)) *ConfigMapVolumeSourceDie
func (*ConfigMapVolumeSourceDie) Items ¶
func (d *ConfigMapVolumeSourceDie) Items(v ...corev1.KeyToPath) *ConfigMapVolumeSourceDie
items if unspecified, each key-value pair in the Data field of the referenced
ConfigMap will be projected into the volume as a file whose name is the ¶
key and content is the value. If specified, the listed keys will be
projected into the specified paths, and unlisted keys will not be
present. If a key is specified which is not present in the ConfigMap,
the volume setup will error unless it is marked optional. Paths must be
relative and may not contain the '..' path or start with '..'.
func (*ConfigMapVolumeSourceDie) LocalObjectReference ¶
func (d *ConfigMapVolumeSourceDie) LocalObjectReference(v corev1.LocalObjectReference) *ConfigMapVolumeSourceDie
func (*ConfigMapVolumeSourceDie) Name ¶
func (d *ConfigMapVolumeSourceDie) Name(v string) *ConfigMapVolumeSourceDie
func (*ConfigMapVolumeSourceDie) Optional ¶
func (d *ConfigMapVolumeSourceDie) Optional(v *bool) *ConfigMapVolumeSourceDie
optional specify whether the ConfigMap or its keys must be defined
type ContainerDie ¶
type ContainerDie struct {
// contains filtered or unexported fields
}
func (*ContainerDie) Args ¶
func (d *ContainerDie) Args(v ...string) *ContainerDie
Arguments to the entrypoint.
The container image's CMD is used if this is not provided.
Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
of whether the variable exists or not. Cannot be updated.
func (*ContainerDie) Command ¶
func (d *ContainerDie) Command(v ...string) *ContainerDie
Entrypoint array. Not executed within a shell.
The container image's ENTRYPOINT is used if this is not provided.
Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
of whether the variable exists or not. Cannot be updated.
func (*ContainerDie) DeepCopy ¶
func (d *ContainerDie) DeepCopy() *ContainerDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ContainerDie) DieFeed ¶
func (d *ContainerDie) DieFeed(r corev1.Container) *ContainerDie
DieFeed returns a new die with the provided resource.
func (*ContainerDie) DieFeedJSON ¶ added in v0.8.0
func (d *ContainerDie) DieFeedJSON(j []byte) *ContainerDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ContainerDie) DieFeedPtr ¶
func (d *ContainerDie) DieFeedPtr(r *corev1.Container) *ContainerDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ContainerDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ContainerDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerDie) DieFeedYAML ¶ added in v0.8.0
func (d *ContainerDie) DieFeedYAML(y []byte) *ContainerDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ContainerDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ContainerDie) DieFeedYAMLFile(name string) *ContainerDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ContainerDie) DieImmutable ¶
func (d *ContainerDie) DieImmutable(immutable bool) *ContainerDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ContainerDie) DieRelease ¶
func (d *ContainerDie) DieRelease() corev1.Container
DieRelease returns the resource managed by the die.
func (*ContainerDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ContainerDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ContainerDie) DieReleasePtr ¶
func (d *ContainerDie) DieReleasePtr() *corev1.Container
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ContainerDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ContainerDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ContainerDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ContainerDie) DieStamp ¶
func (d *ContainerDie) DieStamp(fn func(r *corev1.Container)) *ContainerDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ContainerDie) DieStampAt ¶ added in v0.8.0
func (d *ContainerDie) DieStampAt(jp string, fn interface{}) *ContainerDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ContainerDie) DieWith ¶ added in v0.9.0
func (d *ContainerDie) DieWith(fns ...func(d *ContainerDie)) *ContainerDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ContainerDie) Env ¶
func (d *ContainerDie) Env(v ...corev1.EnvVar) *ContainerDie
List of environment variables to set in the container.
Cannot be updated.
func (*ContainerDie) EnvDie ¶
func (d *ContainerDie) EnvDie(name string, fn func(d *EnvVarDie)) *ContainerDie
func (*ContainerDie) EnvFrom ¶
func (d *ContainerDie) EnvFrom(v ...corev1.EnvFromSource) *ContainerDie
List of sources to populate environment variables in the container.
The keys defined within a source must be a C_IDENTIFIER. All invalid keys
will be reported as an event when the container is starting. When a key exists in multiple
sources, the value associated with the last source will take precedence.
Values defined by an Env with a duplicate key will take precedence.
Cannot be updated.
func (*ContainerDie) EnvFromDie ¶
func (d *ContainerDie) EnvFromDie(prefix string, fn func(d *EnvFromSourceDie)) *ContainerDie
func (*ContainerDie) Image ¶
func (d *ContainerDie) Image(v string) *ContainerDie
Container image name.
More info: https://kubernetes.io/docs/concepts/containers/images
This field is optional to allow higher level config management to default or override ¶
container images in workload controllers like Deployments and StatefulSets.
func (*ContainerDie) ImagePullPolicy ¶
func (d *ContainerDie) ImagePullPolicy(v corev1.PullPolicy) *ContainerDie
Image pull policy.
One of Always, Never, IfNotPresent.
Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
Cannot be updated.
More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
func (*ContainerDie) Lifecycle ¶
func (d *ContainerDie) Lifecycle(v *corev1.Lifecycle) *ContainerDie
Actions that the management system should take in response to container lifecycle events.
Cannot be updated.
func (*ContainerDie) LifecycleDie ¶
func (d *ContainerDie) LifecycleDie(fn func(d *LifecycleDie)) *ContainerDie
func (*ContainerDie) LivenessProbe ¶
func (d *ContainerDie) LivenessProbe(v *corev1.Probe) *ContainerDie
Periodic probe of container liveness.
Container will be restarted if the probe fails.
Cannot be updated.
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
func (*ContainerDie) LivenessProbeDie ¶
func (d *ContainerDie) LivenessProbeDie(fn func(d *ProbeDie)) *ContainerDie
func (*ContainerDie) Name ¶
func (d *ContainerDie) Name(v string) *ContainerDie
Name of the container specified as a DNS_LABEL.
Each container in a pod must have a unique name (DNS_LABEL).
Cannot be updated.
func (*ContainerDie) Ports ¶
func (d *ContainerDie) Ports(v ...corev1.ContainerPort) *ContainerDie
List of ports to expose from the container. Not specifying a port here
DOES NOT prevent that port from being exposed. Any port which is
listening on the default "0.0.0.0" address inside a container will be
accessible from the network.
Modifying this array with strategic merge patch may corrupt the data.
For more information See https://github.com/kubernetes/kubernetes/issues/108255.
Cannot be updated.
func (*ContainerDie) PortsDie ¶
func (d *ContainerDie) PortsDie(ports ...*ContainerPortDie) *ContainerDie
func (*ContainerDie) ReadinessProbe ¶
func (d *ContainerDie) ReadinessProbe(v *corev1.Probe) *ContainerDie
Periodic probe of container service readiness.
Container will be removed from service endpoints if the probe fails.
Cannot be updated.
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
func (*ContainerDie) ReadinessProbeDie ¶
func (d *ContainerDie) ReadinessProbeDie(fn func(d *ProbeDie)) *ContainerDie
func (*ContainerDie) ResizePolicy ¶ added in v0.8.0
func (d *ContainerDie) ResizePolicy(v ...corev1.ContainerResizePolicy) *ContainerDie
Resources resize policy for the container.
func (*ContainerDie) ResizePolicyDie ¶ added in v0.8.0
func (d *ContainerDie) ResizePolicyDie(name corev1.ResourceName, fn func(d *ContainerResizePolicyDie)) *ContainerDie
func (*ContainerDie) Resources ¶
func (d *ContainerDie) Resources(v corev1.ResourceRequirements) *ContainerDie
Compute Resources required by this container.
Cannot be updated.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
func (*ContainerDie) ResourcesDie ¶
func (d *ContainerDie) ResourcesDie(fn func(d *ResourceRequirementsDie)) *ContainerDie
func (*ContainerDie) RestartPolicy ¶ added in v0.9.0
func (d *ContainerDie) RestartPolicy(v *corev1.ContainerRestartPolicy) *ContainerDie
RestartPolicy defines the restart behavior of individual containers in a pod.
This field may only be set for init containers, and the only allowed value is "Always".
For non-init containers or when this field is not specified,
the restart behavior is defined by the Pod's restart policy and the container type.
Setting the RestartPolicy as "Always" for the init container will have the following effect:
this init container will be continually restarted on
exit until all regular containers have terminated. Once all regular
containers have completed, all init containers with restartPolicy "Always"
will be shut down. This lifecycle differs from normal init containers and
is often referred to as a "sidecar" container. Although this init
container still starts in the init container sequence, it does not wait
for the container to complete before proceeding to the next init
container. Instead, the next init container starts immediately after this
init container is started, or after any startupProbe has successfully
completed.
func (*ContainerDie) SecurityContext ¶
func (d *ContainerDie) SecurityContext(v *corev1.SecurityContext) *ContainerDie
SecurityContext defines the security options the container should be run with.
If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.
More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
func (*ContainerDie) SecurityContextDie ¶
func (d *ContainerDie) SecurityContextDie(fn func(d *SecurityContextDie)) *ContainerDie
func (*ContainerDie) StartupProbe ¶
func (d *ContainerDie) StartupProbe(v *corev1.Probe) *ContainerDie
StartupProbe indicates that the Pod has successfully initialized.
If specified, no other probes are executed until this completes successfully.
If this probe fails, the Pod will be restarted, just as if the livenessProbe failed.
This can be used to provide different probe parameters at the beginning of a Pod's lifecycle,
when it might take a long time to load data or warm a cache, than during steady-state operation.
This cannot be updated.
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
func (*ContainerDie) StartupProbeDie ¶
func (d *ContainerDie) StartupProbeDie(fn func(d *ProbeDie)) *ContainerDie
func (*ContainerDie) Stdin ¶
func (d *ContainerDie) Stdin(v bool) *ContainerDie
Whether this container should allocate a buffer for stdin in the container runtime. If this
is not set, reads from stdin in the container will always result in EOF.
Default is false.
func (*ContainerDie) StdinOnce ¶
func (d *ContainerDie) StdinOnce(v bool) *ContainerDie
Whether the container runtime should close the stdin channel after it has been opened by
a single attach. When stdin is true the stdin stream will remain open across multiple attach
sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the
first client attaches to stdin, and then remains open and accepts data until the client disconnects,
at which time stdin is closed and remains closed until the container is restarted. If this
flag is false, a container processes that reads from stdin will never receive an EOF.
Default is false
func (*ContainerDie) TTY ¶
func (d *ContainerDie) TTY(v bool) *ContainerDie
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
Default is false.
func (*ContainerDie) TerminationMessagePath ¶
func (d *ContainerDie) TerminationMessagePath(v string) *ContainerDie
Optional: Path at which the file to which the container's termination message
will be written is mounted into the container's filesystem.
Message written is intended to be brief final status, such as an assertion failure message.
Will be truncated by the node if greater than 4096 bytes. The total message length across
all containers will be limited to 12kb.
Defaults to /dev/termination-log.
Cannot be updated.
func (*ContainerDie) TerminationMessagePolicy ¶
func (d *ContainerDie) TerminationMessagePolicy(v corev1.TerminationMessagePolicy) *ContainerDie
Indicate how the termination message should be populated. File will use the contents of
terminationMessagePath to populate the container status message on both success and failure.
FallbackToLogsOnError will use the last chunk of container log output if the termination ¶
message file is empty and the container exited with an error.
The log output is limited to 2048 bytes or 80 lines, whichever is smaller.
Defaults to File.
Cannot be updated.
func (*ContainerDie) VolumeDeviceDie ¶
func (d *ContainerDie) VolumeDeviceDie(name string, fn func(d *VolumeDeviceDie)) *ContainerDie
func (*ContainerDie) VolumeDevices ¶
func (d *ContainerDie) VolumeDevices(v ...corev1.VolumeDevice) *ContainerDie
volumeDevices is the list of block devices to be used by the container.
func (*ContainerDie) VolumeMountDie ¶
func (d *ContainerDie) VolumeMountDie(name string, fn func(d *VolumeMountDie)) *ContainerDie
func (*ContainerDie) VolumeMounts ¶
func (d *ContainerDie) VolumeMounts(v ...corev1.VolumeMount) *ContainerDie
Pod volumes to mount into the container's filesystem.
Cannot be updated.
func (*ContainerDie) WorkingDir ¶
func (d *ContainerDie) WorkingDir(v string) *ContainerDie
Container's working directory.
If not specified, the container runtime's default will be used, which ¶
might be configured in the container image.
Cannot be updated.
type ContainerImageDie ¶
type ContainerImageDie struct {
// contains filtered or unexported fields
}
func (*ContainerImageDie) DeepCopy ¶
func (d *ContainerImageDie) DeepCopy() *ContainerImageDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ContainerImageDie) DieFeed ¶
func (d *ContainerImageDie) DieFeed(r corev1.ContainerImage) *ContainerImageDie
DieFeed returns a new die with the provided resource.
func (*ContainerImageDie) DieFeedJSON ¶ added in v0.8.0
func (d *ContainerImageDie) DieFeedJSON(j []byte) *ContainerImageDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ContainerImageDie) DieFeedPtr ¶
func (d *ContainerImageDie) DieFeedPtr(r *corev1.ContainerImage) *ContainerImageDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ContainerImageDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ContainerImageDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerImageDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerImageDie) DieFeedYAML ¶ added in v0.8.0
func (d *ContainerImageDie) DieFeedYAML(y []byte) *ContainerImageDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ContainerImageDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ContainerImageDie) DieFeedYAMLFile(name string) *ContainerImageDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ContainerImageDie) DieImmutable ¶
func (d *ContainerImageDie) DieImmutable(immutable bool) *ContainerImageDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ContainerImageDie) DieRelease ¶
func (d *ContainerImageDie) DieRelease() corev1.ContainerImage
DieRelease returns the resource managed by the die.
func (*ContainerImageDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ContainerImageDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ContainerImageDie) DieReleasePtr ¶
func (d *ContainerImageDie) DieReleasePtr() *corev1.ContainerImage
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ContainerImageDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ContainerImageDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerImageDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ContainerImageDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ContainerImageDie) DieStamp ¶
func (d *ContainerImageDie) DieStamp(fn func(r *corev1.ContainerImage)) *ContainerImageDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ContainerImageDie) DieStampAt ¶ added in v0.8.0
func (d *ContainerImageDie) DieStampAt(jp string, fn interface{}) *ContainerImageDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ContainerImageDie) DieWith ¶ added in v0.9.0
func (d *ContainerImageDie) DieWith(fns ...func(d *ContainerImageDie)) *ContainerImageDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ContainerImageDie) Names ¶
func (d *ContainerImageDie) Names(v ...string) *ContainerImageDie
Names by which this image is known.
e.g. ["kubernetes.example/hyperkube:v1.0.7", "cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7"]
func (*ContainerImageDie) SizeBytes ¶
func (d *ContainerImageDie) SizeBytes(v int64) *ContainerImageDie
The size of the image in bytes.
type ContainerPortDie ¶
type ContainerPortDie struct {
// contains filtered or unexported fields
}
func (*ContainerPortDie) ContainerPort ¶
func (d *ContainerPortDie) ContainerPort(v int32) *ContainerPortDie
Number of port to expose on the pod's IP address.
This must be a valid port number, 0 < x < 65536.
func (*ContainerPortDie) DeepCopy ¶
func (d *ContainerPortDie) DeepCopy() *ContainerPortDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ContainerPortDie) DieFeed ¶
func (d *ContainerPortDie) DieFeed(r corev1.ContainerPort) *ContainerPortDie
DieFeed returns a new die with the provided resource.
func (*ContainerPortDie) DieFeedJSON ¶ added in v0.8.0
func (d *ContainerPortDie) DieFeedJSON(j []byte) *ContainerPortDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ContainerPortDie) DieFeedPtr ¶
func (d *ContainerPortDie) DieFeedPtr(r *corev1.ContainerPort) *ContainerPortDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ContainerPortDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ContainerPortDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerPortDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerPortDie) DieFeedYAML ¶ added in v0.8.0
func (d *ContainerPortDie) DieFeedYAML(y []byte) *ContainerPortDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ContainerPortDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ContainerPortDie) DieFeedYAMLFile(name string) *ContainerPortDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ContainerPortDie) DieImmutable ¶
func (d *ContainerPortDie) DieImmutable(immutable bool) *ContainerPortDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ContainerPortDie) DieRelease ¶
func (d *ContainerPortDie) DieRelease() corev1.ContainerPort
DieRelease returns the resource managed by the die.
func (*ContainerPortDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ContainerPortDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ContainerPortDie) DieReleasePtr ¶
func (d *ContainerPortDie) DieReleasePtr() *corev1.ContainerPort
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ContainerPortDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ContainerPortDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerPortDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ContainerPortDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ContainerPortDie) DieStamp ¶
func (d *ContainerPortDie) DieStamp(fn func(r *corev1.ContainerPort)) *ContainerPortDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ContainerPortDie) DieStampAt ¶ added in v0.8.0
func (d *ContainerPortDie) DieStampAt(jp string, fn interface{}) *ContainerPortDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ContainerPortDie) DieWith ¶ added in v0.9.0
func (d *ContainerPortDie) DieWith(fns ...func(d *ContainerPortDie)) *ContainerPortDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ContainerPortDie) HostIP ¶
func (d *ContainerPortDie) HostIP(v string) *ContainerPortDie
What host IP to bind the external port to.
func (*ContainerPortDie) HostPort ¶
func (d *ContainerPortDie) HostPort(v int32) *ContainerPortDie
Number of port to expose on the host.
If specified, this must be a valid port number, 0 < x < 65536.
If HostNetwork is specified, this must match ContainerPort.
Most containers do not need this.
func (*ContainerPortDie) Name ¶
func (d *ContainerPortDie) Name(v string) *ContainerPortDie
If specified, this must be an IANA_SVC_NAME and unique within the pod. Each
named port in a pod must have a unique name. Name for the port that can be
referred to by services.
func (*ContainerPortDie) Protocol ¶
func (d *ContainerPortDie) Protocol(v corev1.Protocol) *ContainerPortDie
Protocol for port. Must be UDP, TCP, or SCTP.
Defaults to "TCP".
type ContainerResizePolicyDie ¶ added in v0.8.0
type ContainerResizePolicyDie struct {
// contains filtered or unexported fields
}
func (*ContainerResizePolicyDie) DeepCopy ¶ added in v0.8.0
func (d *ContainerResizePolicyDie) DeepCopy() *ContainerResizePolicyDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ContainerResizePolicyDie) DieFeed ¶ added in v0.8.0
func (d *ContainerResizePolicyDie) DieFeed(r corev1.ContainerResizePolicy) *ContainerResizePolicyDie
DieFeed returns a new die with the provided resource.
func (*ContainerResizePolicyDie) DieFeedJSON ¶ added in v0.8.0
func (d *ContainerResizePolicyDie) DieFeedJSON(j []byte) *ContainerResizePolicyDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ContainerResizePolicyDie) DieFeedPtr ¶ added in v0.8.0
func (d *ContainerResizePolicyDie) DieFeedPtr(r *corev1.ContainerResizePolicy) *ContainerResizePolicyDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ContainerResizePolicyDie) DieFeedRawExtension ¶ added in v0.8.0
func (d *ContainerResizePolicyDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerResizePolicyDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerResizePolicyDie) DieFeedYAML ¶ added in v0.8.0
func (d *ContainerResizePolicyDie) DieFeedYAML(y []byte) *ContainerResizePolicyDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ContainerResizePolicyDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ContainerResizePolicyDie) DieFeedYAMLFile(name string) *ContainerResizePolicyDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ContainerResizePolicyDie) DieImmutable ¶ added in v0.8.0
func (d *ContainerResizePolicyDie) DieImmutable(immutable bool) *ContainerResizePolicyDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ContainerResizePolicyDie) DieRelease ¶ added in v0.8.0
func (d *ContainerResizePolicyDie) DieRelease() corev1.ContainerResizePolicy
DieRelease returns the resource managed by the die.
func (*ContainerResizePolicyDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ContainerResizePolicyDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ContainerResizePolicyDie) DieReleasePtr ¶ added in v0.8.0
func (d *ContainerResizePolicyDie) DieReleasePtr() *corev1.ContainerResizePolicy
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ContainerResizePolicyDie) DieReleaseRawExtension ¶ added in v0.8.0
func (d *ContainerResizePolicyDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerResizePolicyDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ContainerResizePolicyDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ContainerResizePolicyDie) DieStamp ¶ added in v0.8.0
func (d *ContainerResizePolicyDie) DieStamp(fn func(r *corev1.ContainerResizePolicy)) *ContainerResizePolicyDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ContainerResizePolicyDie) DieStampAt ¶ added in v0.8.0
func (d *ContainerResizePolicyDie) DieStampAt(jp string, fn interface{}) *ContainerResizePolicyDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ContainerResizePolicyDie) DieWith ¶ added in v0.9.0
func (d *ContainerResizePolicyDie) DieWith(fns ...func(d *ContainerResizePolicyDie)) *ContainerResizePolicyDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ContainerResizePolicyDie) ResourceName ¶ added in v0.8.0
func (d *ContainerResizePolicyDie) ResourceName(v corev1.ResourceName) *ContainerResizePolicyDie
Name of the resource to which this resource resize policy applies.
Supported values: cpu, memory.
func (*ContainerResizePolicyDie) RestartPolicy ¶ added in v0.8.0
func (d *ContainerResizePolicyDie) RestartPolicy(v corev1.ResourceResizeRestartPolicy) *ContainerResizePolicyDie
Restart policy to apply when specified resource is resized.
If not specified, it defaults to NotRequired.
type ContainerStateDie ¶
type ContainerStateDie struct {
// contains filtered or unexported fields
}
func (*ContainerStateDie) DeepCopy ¶
func (d *ContainerStateDie) DeepCopy() *ContainerStateDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ContainerStateDie) DieFeed ¶
func (d *ContainerStateDie) DieFeed(r corev1.ContainerState) *ContainerStateDie
DieFeed returns a new die with the provided resource.
func (*ContainerStateDie) DieFeedJSON ¶ added in v0.8.0
func (d *ContainerStateDie) DieFeedJSON(j []byte) *ContainerStateDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ContainerStateDie) DieFeedPtr ¶
func (d *ContainerStateDie) DieFeedPtr(r *corev1.ContainerState) *ContainerStateDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ContainerStateDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ContainerStateDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerStateDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerStateDie) DieFeedYAML ¶ added in v0.8.0
func (d *ContainerStateDie) DieFeedYAML(y []byte) *ContainerStateDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ContainerStateDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ContainerStateDie) DieFeedYAMLFile(name string) *ContainerStateDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ContainerStateDie) DieImmutable ¶
func (d *ContainerStateDie) DieImmutable(immutable bool) *ContainerStateDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ContainerStateDie) DieRelease ¶
func (d *ContainerStateDie) DieRelease() corev1.ContainerState
DieRelease returns the resource managed by the die.
func (*ContainerStateDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ContainerStateDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ContainerStateDie) DieReleasePtr ¶
func (d *ContainerStateDie) DieReleasePtr() *corev1.ContainerState
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ContainerStateDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ContainerStateDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerStateDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ContainerStateDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ContainerStateDie) DieStamp ¶
func (d *ContainerStateDie) DieStamp(fn func(r *corev1.ContainerState)) *ContainerStateDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ContainerStateDie) DieStampAt ¶ added in v0.8.0
func (d *ContainerStateDie) DieStampAt(jp string, fn interface{}) *ContainerStateDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ContainerStateDie) DieWith ¶ added in v0.9.0
func (d *ContainerStateDie) DieWith(fns ...func(d *ContainerStateDie)) *ContainerStateDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ContainerStateDie) Running ¶
func (d *ContainerStateDie) Running(v *corev1.ContainerStateRunning) *ContainerStateDie
Details about a running container
func (*ContainerStateDie) RunningDie ¶
func (d *ContainerStateDie) RunningDie(fn func(d *ContainerStateRunningDie)) *ContainerStateDie
func (*ContainerStateDie) Terminated ¶
func (d *ContainerStateDie) Terminated(v *corev1.ContainerStateTerminated) *ContainerStateDie
Details about a terminated container
func (*ContainerStateDie) TerminatedDie ¶
func (d *ContainerStateDie) TerminatedDie(fn func(d *ContainerStateTerminatedDie)) *ContainerStateDie
func (*ContainerStateDie) Waiting ¶
func (d *ContainerStateDie) Waiting(v *corev1.ContainerStateWaiting) *ContainerStateDie
Details about a waiting container
func (*ContainerStateDie) WaitingDie ¶
func (d *ContainerStateDie) WaitingDie(fn func(d *ContainerStateWaitingDie)) *ContainerStateDie
type ContainerStateRunningDie ¶
type ContainerStateRunningDie struct {
// contains filtered or unexported fields
}
func (*ContainerStateRunningDie) DeepCopy ¶
func (d *ContainerStateRunningDie) DeepCopy() *ContainerStateRunningDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ContainerStateRunningDie) DieFeed ¶
func (d *ContainerStateRunningDie) DieFeed(r corev1.ContainerStateRunning) *ContainerStateRunningDie
DieFeed returns a new die with the provided resource.
func (*ContainerStateRunningDie) DieFeedJSON ¶ added in v0.8.0
func (d *ContainerStateRunningDie) DieFeedJSON(j []byte) *ContainerStateRunningDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ContainerStateRunningDie) DieFeedPtr ¶
func (d *ContainerStateRunningDie) DieFeedPtr(r *corev1.ContainerStateRunning) *ContainerStateRunningDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ContainerStateRunningDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ContainerStateRunningDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerStateRunningDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerStateRunningDie) DieFeedYAML ¶ added in v0.8.0
func (d *ContainerStateRunningDie) DieFeedYAML(y []byte) *ContainerStateRunningDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ContainerStateRunningDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ContainerStateRunningDie) DieFeedYAMLFile(name string) *ContainerStateRunningDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ContainerStateRunningDie) DieImmutable ¶
func (d *ContainerStateRunningDie) DieImmutable(immutable bool) *ContainerStateRunningDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ContainerStateRunningDie) DieRelease ¶
func (d *ContainerStateRunningDie) DieRelease() corev1.ContainerStateRunning
DieRelease returns the resource managed by the die.
func (*ContainerStateRunningDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ContainerStateRunningDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ContainerStateRunningDie) DieReleasePtr ¶
func (d *ContainerStateRunningDie) DieReleasePtr() *corev1.ContainerStateRunning
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ContainerStateRunningDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ContainerStateRunningDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerStateRunningDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ContainerStateRunningDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ContainerStateRunningDie) DieStamp ¶
func (d *ContainerStateRunningDie) DieStamp(fn func(r *corev1.ContainerStateRunning)) *ContainerStateRunningDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ContainerStateRunningDie) DieStampAt ¶ added in v0.8.0
func (d *ContainerStateRunningDie) DieStampAt(jp string, fn interface{}) *ContainerStateRunningDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ContainerStateRunningDie) DieWith ¶ added in v0.9.0
func (d *ContainerStateRunningDie) DieWith(fns ...func(d *ContainerStateRunningDie)) *ContainerStateRunningDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ContainerStateRunningDie) StartedAt ¶
func (d *ContainerStateRunningDie) StartedAt(v apismetav1.Time) *ContainerStateRunningDie
Time at which the container was last (re-)started
type ContainerStateTerminatedDie ¶
type ContainerStateTerminatedDie struct {
// contains filtered or unexported fields
}
func (*ContainerStateTerminatedDie) ContainerID ¶
func (d *ContainerStateTerminatedDie) ContainerID(v string) *ContainerStateTerminatedDie
Container's ID in the format '<type>://<container_id>'
func (*ContainerStateTerminatedDie) DeepCopy ¶
func (d *ContainerStateTerminatedDie) DeepCopy() *ContainerStateTerminatedDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ContainerStateTerminatedDie) DieFeed ¶
func (d *ContainerStateTerminatedDie) DieFeed(r corev1.ContainerStateTerminated) *ContainerStateTerminatedDie
DieFeed returns a new die with the provided resource.
func (*ContainerStateTerminatedDie) DieFeedJSON ¶ added in v0.8.0
func (d *ContainerStateTerminatedDie) DieFeedJSON(j []byte) *ContainerStateTerminatedDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ContainerStateTerminatedDie) DieFeedPtr ¶
func (d *ContainerStateTerminatedDie) DieFeedPtr(r *corev1.ContainerStateTerminated) *ContainerStateTerminatedDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ContainerStateTerminatedDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ContainerStateTerminatedDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerStateTerminatedDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerStateTerminatedDie) DieFeedYAML ¶ added in v0.8.0
func (d *ContainerStateTerminatedDie) DieFeedYAML(y []byte) *ContainerStateTerminatedDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ContainerStateTerminatedDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ContainerStateTerminatedDie) DieFeedYAMLFile(name string) *ContainerStateTerminatedDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ContainerStateTerminatedDie) DieImmutable ¶
func (d *ContainerStateTerminatedDie) DieImmutable(immutable bool) *ContainerStateTerminatedDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ContainerStateTerminatedDie) DieRelease ¶
func (d *ContainerStateTerminatedDie) DieRelease() corev1.ContainerStateTerminated
DieRelease returns the resource managed by the die.
func (*ContainerStateTerminatedDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ContainerStateTerminatedDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ContainerStateTerminatedDie) DieReleasePtr ¶
func (d *ContainerStateTerminatedDie) DieReleasePtr() *corev1.ContainerStateTerminated
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ContainerStateTerminatedDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ContainerStateTerminatedDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerStateTerminatedDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ContainerStateTerminatedDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ContainerStateTerminatedDie) DieStamp ¶
func (d *ContainerStateTerminatedDie) DieStamp(fn func(r *corev1.ContainerStateTerminated)) *ContainerStateTerminatedDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ContainerStateTerminatedDie) DieStampAt ¶ added in v0.8.0
func (d *ContainerStateTerminatedDie) DieStampAt(jp string, fn interface{}) *ContainerStateTerminatedDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ContainerStateTerminatedDie) DieWith ¶ added in v0.9.0
func (d *ContainerStateTerminatedDie) DieWith(fns ...func(d *ContainerStateTerminatedDie)) *ContainerStateTerminatedDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ContainerStateTerminatedDie) ExitCode ¶
func (d *ContainerStateTerminatedDie) ExitCode(v int32) *ContainerStateTerminatedDie
Exit status from the last termination of the container
func (*ContainerStateTerminatedDie) FinishedAt ¶
func (d *ContainerStateTerminatedDie) FinishedAt(v apismetav1.Time) *ContainerStateTerminatedDie
Time at which the container last terminated
func (*ContainerStateTerminatedDie) Message ¶
func (d *ContainerStateTerminatedDie) Message(v string) *ContainerStateTerminatedDie
Message regarding the last termination of the container
func (*ContainerStateTerminatedDie) Reason ¶
func (d *ContainerStateTerminatedDie) Reason(v string) *ContainerStateTerminatedDie
(brief) reason from the last termination of the container
func (*ContainerStateTerminatedDie) Signal ¶
func (d *ContainerStateTerminatedDie) Signal(v int32) *ContainerStateTerminatedDie
Signal from the last termination of the container
func (*ContainerStateTerminatedDie) StartedAt ¶
func (d *ContainerStateTerminatedDie) StartedAt(v apismetav1.Time) *ContainerStateTerminatedDie
Time at which previous execution of the container started
type ContainerStateWaitingDie ¶
type ContainerStateWaitingDie struct {
// contains filtered or unexported fields
}
func (*ContainerStateWaitingDie) DeepCopy ¶
func (d *ContainerStateWaitingDie) DeepCopy() *ContainerStateWaitingDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ContainerStateWaitingDie) DieFeed ¶
func (d *ContainerStateWaitingDie) DieFeed(r corev1.ContainerStateWaiting) *ContainerStateWaitingDie
DieFeed returns a new die with the provided resource.
func (*ContainerStateWaitingDie) DieFeedJSON ¶ added in v0.8.0
func (d *ContainerStateWaitingDie) DieFeedJSON(j []byte) *ContainerStateWaitingDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ContainerStateWaitingDie) DieFeedPtr ¶
func (d *ContainerStateWaitingDie) DieFeedPtr(r *corev1.ContainerStateWaiting) *ContainerStateWaitingDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ContainerStateWaitingDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ContainerStateWaitingDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerStateWaitingDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerStateWaitingDie) DieFeedYAML ¶ added in v0.8.0
func (d *ContainerStateWaitingDie) DieFeedYAML(y []byte) *ContainerStateWaitingDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ContainerStateWaitingDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ContainerStateWaitingDie) DieFeedYAMLFile(name string) *ContainerStateWaitingDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ContainerStateWaitingDie) DieImmutable ¶
func (d *ContainerStateWaitingDie) DieImmutable(immutable bool) *ContainerStateWaitingDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ContainerStateWaitingDie) DieRelease ¶
func (d *ContainerStateWaitingDie) DieRelease() corev1.ContainerStateWaiting
DieRelease returns the resource managed by the die.
func (*ContainerStateWaitingDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ContainerStateWaitingDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ContainerStateWaitingDie) DieReleasePtr ¶
func (d *ContainerStateWaitingDie) DieReleasePtr() *corev1.ContainerStateWaiting
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ContainerStateWaitingDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ContainerStateWaitingDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerStateWaitingDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ContainerStateWaitingDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ContainerStateWaitingDie) DieStamp ¶
func (d *ContainerStateWaitingDie) DieStamp(fn func(r *corev1.ContainerStateWaiting)) *ContainerStateWaitingDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ContainerStateWaitingDie) DieStampAt ¶ added in v0.8.0
func (d *ContainerStateWaitingDie) DieStampAt(jp string, fn interface{}) *ContainerStateWaitingDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ContainerStateWaitingDie) DieWith ¶ added in v0.9.0
func (d *ContainerStateWaitingDie) DieWith(fns ...func(d *ContainerStateWaitingDie)) *ContainerStateWaitingDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ContainerStateWaitingDie) Message ¶
func (d *ContainerStateWaitingDie) Message(v string) *ContainerStateWaitingDie
Message regarding why the container is not yet running.
func (*ContainerStateWaitingDie) Reason ¶
func (d *ContainerStateWaitingDie) Reason(v string) *ContainerStateWaitingDie
(brief) reason the container is not yet running.
type ContainerStatusDie ¶
type ContainerStatusDie struct {
// contains filtered or unexported fields
}
func (*ContainerStatusDie) AddAllocatedResource ¶ added in v0.8.0
func (d *ContainerStatusDie) AddAllocatedResource(name corev1.ResourceName, quantity resource.Quantity) *ContainerStatusDie
func (*ContainerStatusDie) AddAllocatedResourceString ¶ added in v0.8.0
func (d *ContainerStatusDie) AddAllocatedResourceString(name corev1.ResourceName, quantity string) *ContainerStatusDie
func (*ContainerStatusDie) AllocatedResources ¶ added in v0.8.0
func (d *ContainerStatusDie) AllocatedResources(v corev1.ResourceList) *ContainerStatusDie
AllocatedResources represents the compute resources allocated for this container by the
node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission
and after successfully admitting desired pod resize.
func (*ContainerStatusDie) ContainerID ¶
func (d *ContainerStatusDie) ContainerID(v string) *ContainerStatusDie
ContainerID is the ID of the container in the format '<type>://<container_id>'.
Where type is a container runtime identifier, returned from Version call of CRI API ¶
(for example "containerd").
func (*ContainerStatusDie) DeepCopy ¶
func (d *ContainerStatusDie) DeepCopy() *ContainerStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ContainerStatusDie) DieFeed ¶
func (d *ContainerStatusDie) DieFeed(r corev1.ContainerStatus) *ContainerStatusDie
DieFeed returns a new die with the provided resource.
func (*ContainerStatusDie) DieFeedJSON ¶ added in v0.8.0
func (d *ContainerStatusDie) DieFeedJSON(j []byte) *ContainerStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ContainerStatusDie) DieFeedPtr ¶
func (d *ContainerStatusDie) DieFeedPtr(r *corev1.ContainerStatus) *ContainerStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ContainerStatusDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ContainerStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerStatusDie) DieFeedYAML ¶ added in v0.8.0
func (d *ContainerStatusDie) DieFeedYAML(y []byte) *ContainerStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ContainerStatusDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ContainerStatusDie) DieFeedYAMLFile(name string) *ContainerStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ContainerStatusDie) DieImmutable ¶
func (d *ContainerStatusDie) DieImmutable(immutable bool) *ContainerStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ContainerStatusDie) DieRelease ¶
func (d *ContainerStatusDie) DieRelease() corev1.ContainerStatus
DieRelease returns the resource managed by the die.
func (*ContainerStatusDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ContainerStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ContainerStatusDie) DieReleasePtr ¶
func (d *ContainerStatusDie) DieReleasePtr() *corev1.ContainerStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ContainerStatusDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ContainerStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerStatusDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ContainerStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ContainerStatusDie) DieStamp ¶
func (d *ContainerStatusDie) DieStamp(fn func(r *corev1.ContainerStatus)) *ContainerStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ContainerStatusDie) DieStampAt ¶ added in v0.8.0
func (d *ContainerStatusDie) DieStampAt(jp string, fn interface{}) *ContainerStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ContainerStatusDie) DieWith ¶ added in v0.9.0
func (d *ContainerStatusDie) DieWith(fns ...func(d *ContainerStatusDie)) *ContainerStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ContainerStatusDie) Image ¶
func (d *ContainerStatusDie) Image(v string) *ContainerStatusDie
Image is the name of container image that the container is running.
The container image may not match the image used in the PodSpec,
as it may have been resolved by the runtime.
More info: https://kubernetes.io/docs/concepts/containers/images.
func (*ContainerStatusDie) ImageID ¶
func (d *ContainerStatusDie) ImageID(v string) *ContainerStatusDie
ImageID is the image ID of the container's image. The image ID may not
match the image ID of the image used in the PodSpec, as it may have been
resolved by the runtime.
func (*ContainerStatusDie) LastTerminationState ¶
func (d *ContainerStatusDie) LastTerminationState(v corev1.ContainerState) *ContainerStatusDie
LastTerminationState holds the last termination state of the container to
help debug container crashes and restarts. This field is not
populated if the container is still running and RestartCount is 0.
func (*ContainerStatusDie) LastTerminationStateDie ¶
func (d *ContainerStatusDie) LastTerminationStateDie(fn func(d *ContainerStateDie)) *ContainerStatusDie
func (*ContainerStatusDie) Name ¶
func (d *ContainerStatusDie) Name(v string) *ContainerStatusDie
Name is a DNS_LABEL representing the unique name of the container.
Each container in a pod must have a unique name across all container types.
Cannot be updated.
func (*ContainerStatusDie) Ready ¶
func (d *ContainerStatusDie) Ready(v bool) *ContainerStatusDie
Ready specifies whether the container is currently passing its readiness check.
The value will change as readiness probes keep executing. If no readiness
probes are specified, this field defaults to true once the container is
fully started (see Started field).
The value is typically used to determine whether a container is ready to ¶
accept traffic.
func (*ContainerStatusDie) Resources ¶ added in v0.8.0
func (d *ContainerStatusDie) Resources(v *corev1.ResourceRequirements) *ContainerStatusDie
Resources represents the compute resource requests and limits that have been successfully
enacted on the running container after it has been started or has been successfully resized.
func (*ContainerStatusDie) ResourcesDie ¶ added in v0.8.0
func (d *ContainerStatusDie) ResourcesDie(fn func(d *ResourceRequirementsDie)) *ContainerStatusDie
func (*ContainerStatusDie) RestartCount ¶
func (d *ContainerStatusDie) RestartCount(v int32) *ContainerStatusDie
RestartCount holds the number of times the container has been restarted.
Kubelet makes an effort to always increment the value, but there ¶
are cases when the state may be lost due to node restarts and then the value
may be reset to 0. The value is never negative.
func (*ContainerStatusDie) Started ¶
func (d *ContainerStatusDie) Started(v *bool) *ContainerStatusDie
Started indicates whether the container has finished its postStart lifecycle hook
and passed its startup probe.
Initialized as false, becomes true after startupProbe is considered ¶
successful. Resets to false when the container is restarted, or if kubelet
loses state temporarily. In both cases, startup probes will run again.
Is always true when no startupProbe is defined and container is running and ¶
has passed the postStart lifecycle hook. The null value must be treated the
same as false.
func (*ContainerStatusDie) State ¶
func (d *ContainerStatusDie) State(v corev1.ContainerState) *ContainerStatusDie
State holds details about the container's current condition.
func (*ContainerStatusDie) StateDie ¶
func (d *ContainerStatusDie) StateDie(fn func(d *ContainerStateDie)) *ContainerStatusDie
type DaemonEndpointDie ¶
type DaemonEndpointDie struct {
// contains filtered or unexported fields
}
func (*DaemonEndpointDie) DeepCopy ¶
func (d *DaemonEndpointDie) DeepCopy() *DaemonEndpointDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*DaemonEndpointDie) DieFeed ¶
func (d *DaemonEndpointDie) DieFeed(r corev1.DaemonEndpoint) *DaemonEndpointDie
DieFeed returns a new die with the provided resource.
func (*DaemonEndpointDie) DieFeedJSON ¶ added in v0.8.0
func (d *DaemonEndpointDie) DieFeedJSON(j []byte) *DaemonEndpointDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*DaemonEndpointDie) DieFeedPtr ¶
func (d *DaemonEndpointDie) DieFeedPtr(r *corev1.DaemonEndpoint) *DaemonEndpointDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*DaemonEndpointDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *DaemonEndpointDie) DieFeedRawExtension(raw runtime.RawExtension) *DaemonEndpointDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DaemonEndpointDie) DieFeedYAML ¶ added in v0.8.0
func (d *DaemonEndpointDie) DieFeedYAML(y []byte) *DaemonEndpointDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*DaemonEndpointDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *DaemonEndpointDie) DieFeedYAMLFile(name string) *DaemonEndpointDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*DaemonEndpointDie) DieImmutable ¶
func (d *DaemonEndpointDie) DieImmutable(immutable bool) *DaemonEndpointDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*DaemonEndpointDie) DieRelease ¶
func (d *DaemonEndpointDie) DieRelease() corev1.DaemonEndpoint
DieRelease returns the resource managed by the die.
func (*DaemonEndpointDie) DieReleaseJSON ¶ added in v0.8.0
func (d *DaemonEndpointDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*DaemonEndpointDie) DieReleasePtr ¶
func (d *DaemonEndpointDie) DieReleasePtr() *corev1.DaemonEndpoint
DieReleasePtr returns a pointer to the resource managed by the die.
func (*DaemonEndpointDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *DaemonEndpointDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DaemonEndpointDie) DieReleaseYAML ¶ added in v0.8.0
func (d *DaemonEndpointDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*DaemonEndpointDie) DieStamp ¶
func (d *DaemonEndpointDie) DieStamp(fn func(r *corev1.DaemonEndpoint)) *DaemonEndpointDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*DaemonEndpointDie) DieStampAt ¶ added in v0.8.0
func (d *DaemonEndpointDie) DieStampAt(jp string, fn interface{}) *DaemonEndpointDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*DaemonEndpointDie) DieWith ¶ added in v0.9.0
func (d *DaemonEndpointDie) DieWith(fns ...func(d *DaemonEndpointDie)) *DaemonEndpointDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*DaemonEndpointDie) Port ¶
func (d *DaemonEndpointDie) Port(v int32) *DaemonEndpointDie
Port number of the given endpoint.
type DownwardAPIProjectionDie ¶
type DownwardAPIProjectionDie struct {
// contains filtered or unexported fields
}
func (*DownwardAPIProjectionDie) DeepCopy ¶
func (d *DownwardAPIProjectionDie) DeepCopy() *DownwardAPIProjectionDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*DownwardAPIProjectionDie) DieFeed ¶
func (d *DownwardAPIProjectionDie) DieFeed(r corev1.DownwardAPIProjection) *DownwardAPIProjectionDie
DieFeed returns a new die with the provided resource.
func (*DownwardAPIProjectionDie) DieFeedJSON ¶ added in v0.8.0
func (d *DownwardAPIProjectionDie) DieFeedJSON(j []byte) *DownwardAPIProjectionDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*DownwardAPIProjectionDie) DieFeedPtr ¶
func (d *DownwardAPIProjectionDie) DieFeedPtr(r *corev1.DownwardAPIProjection) *DownwardAPIProjectionDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*DownwardAPIProjectionDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *DownwardAPIProjectionDie) DieFeedRawExtension(raw runtime.RawExtension) *DownwardAPIProjectionDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DownwardAPIProjectionDie) DieFeedYAML ¶ added in v0.8.0
func (d *DownwardAPIProjectionDie) DieFeedYAML(y []byte) *DownwardAPIProjectionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*DownwardAPIProjectionDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *DownwardAPIProjectionDie) DieFeedYAMLFile(name string) *DownwardAPIProjectionDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*DownwardAPIProjectionDie) DieImmutable ¶
func (d *DownwardAPIProjectionDie) DieImmutable(immutable bool) *DownwardAPIProjectionDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*DownwardAPIProjectionDie) DieRelease ¶
func (d *DownwardAPIProjectionDie) DieRelease() corev1.DownwardAPIProjection
DieRelease returns the resource managed by the die.
func (*DownwardAPIProjectionDie) DieReleaseJSON ¶ added in v0.8.0
func (d *DownwardAPIProjectionDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*DownwardAPIProjectionDie) DieReleasePtr ¶
func (d *DownwardAPIProjectionDie) DieReleasePtr() *corev1.DownwardAPIProjection
DieReleasePtr returns a pointer to the resource managed by the die.
func (*DownwardAPIProjectionDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *DownwardAPIProjectionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DownwardAPIProjectionDie) DieReleaseYAML ¶ added in v0.8.0
func (d *DownwardAPIProjectionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*DownwardAPIProjectionDie) DieStamp ¶
func (d *DownwardAPIProjectionDie) DieStamp(fn func(r *corev1.DownwardAPIProjection)) *DownwardAPIProjectionDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*DownwardAPIProjectionDie) DieStampAt ¶ added in v0.8.0
func (d *DownwardAPIProjectionDie) DieStampAt(jp string, fn interface{}) *DownwardAPIProjectionDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*DownwardAPIProjectionDie) DieWith ¶ added in v0.9.0
func (d *DownwardAPIProjectionDie) DieWith(fns ...func(d *DownwardAPIProjectionDie)) *DownwardAPIProjectionDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*DownwardAPIProjectionDie) ItemDie ¶
func (d *DownwardAPIProjectionDie) ItemDie(path string, fn func(d *DownwardAPIVolumeFileDie)) *DownwardAPIProjectionDie
func (*DownwardAPIProjectionDie) Items ¶
func (d *DownwardAPIProjectionDie) Items(v ...corev1.DownwardAPIVolumeFile) *DownwardAPIProjectionDie
Items is a list of DownwardAPIVolume file
type DownwardAPIVolumeFileDie ¶
type DownwardAPIVolumeFileDie struct {
// contains filtered or unexported fields
}
func (*DownwardAPIVolumeFileDie) DeepCopy ¶
func (d *DownwardAPIVolumeFileDie) DeepCopy() *DownwardAPIVolumeFileDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*DownwardAPIVolumeFileDie) DieFeed ¶
func (d *DownwardAPIVolumeFileDie) DieFeed(r corev1.DownwardAPIVolumeFile) *DownwardAPIVolumeFileDie
DieFeed returns a new die with the provided resource.
func (*DownwardAPIVolumeFileDie) DieFeedJSON ¶ added in v0.8.0
func (d *DownwardAPIVolumeFileDie) DieFeedJSON(j []byte) *DownwardAPIVolumeFileDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*DownwardAPIVolumeFileDie) DieFeedPtr ¶
func (d *DownwardAPIVolumeFileDie) DieFeedPtr(r *corev1.DownwardAPIVolumeFile) *DownwardAPIVolumeFileDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*DownwardAPIVolumeFileDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *DownwardAPIVolumeFileDie) DieFeedRawExtension(raw runtime.RawExtension) *DownwardAPIVolumeFileDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DownwardAPIVolumeFileDie) DieFeedYAML ¶ added in v0.8.0
func (d *DownwardAPIVolumeFileDie) DieFeedYAML(y []byte) *DownwardAPIVolumeFileDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*DownwardAPIVolumeFileDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *DownwardAPIVolumeFileDie) DieFeedYAMLFile(name string) *DownwardAPIVolumeFileDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*DownwardAPIVolumeFileDie) DieImmutable ¶
func (d *DownwardAPIVolumeFileDie) DieImmutable(immutable bool) *DownwardAPIVolumeFileDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*DownwardAPIVolumeFileDie) DieRelease ¶
func (d *DownwardAPIVolumeFileDie) DieRelease() corev1.DownwardAPIVolumeFile
DieRelease returns the resource managed by the die.
func (*DownwardAPIVolumeFileDie) DieReleaseJSON ¶ added in v0.8.0
func (d *DownwardAPIVolumeFileDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*DownwardAPIVolumeFileDie) DieReleasePtr ¶
func (d *DownwardAPIVolumeFileDie) DieReleasePtr() *corev1.DownwardAPIVolumeFile
DieReleasePtr returns a pointer to the resource managed by the die.
func (*DownwardAPIVolumeFileDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *DownwardAPIVolumeFileDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DownwardAPIVolumeFileDie) DieReleaseYAML ¶ added in v0.8.0
func (d *DownwardAPIVolumeFileDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*DownwardAPIVolumeFileDie) DieStamp ¶
func (d *DownwardAPIVolumeFileDie) DieStamp(fn func(r *corev1.DownwardAPIVolumeFile)) *DownwardAPIVolumeFileDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*DownwardAPIVolumeFileDie) DieStampAt ¶ added in v0.8.0
func (d *DownwardAPIVolumeFileDie) DieStampAt(jp string, fn interface{}) *DownwardAPIVolumeFileDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*DownwardAPIVolumeFileDie) DieWith ¶ added in v0.9.0
func (d *DownwardAPIVolumeFileDie) DieWith(fns ...func(d *DownwardAPIVolumeFileDie)) *DownwardAPIVolumeFileDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*DownwardAPIVolumeFileDie) FieldRef ¶
func (d *DownwardAPIVolumeFileDie) FieldRef(v *corev1.ObjectFieldSelector) *DownwardAPIVolumeFileDie
Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
func (*DownwardAPIVolumeFileDie) FieldRefDie ¶
func (d *DownwardAPIVolumeFileDie) FieldRefDie(fn func(d *ObjectFieldSelectorDie)) *DownwardAPIVolumeFileDie
func (*DownwardAPIVolumeFileDie) Mode ¶
func (d *DownwardAPIVolumeFileDie) Mode(v *int32) *DownwardAPIVolumeFileDie
Optional: mode bits used to set permissions on this file, must be an octal value
between 0000 and 0777 or a decimal value between 0 and 511.
YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
If not specified, the volume defaultMode will be used.
This might be in conflict with other options that affect the file ¶
mode, like fsGroup, and the result can be other mode bits set.
func (*DownwardAPIVolumeFileDie) Path ¶
func (d *DownwardAPIVolumeFileDie) Path(v string) *DownwardAPIVolumeFileDie
Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
func (*DownwardAPIVolumeFileDie) ResourceFieldRef ¶
func (d *DownwardAPIVolumeFileDie) ResourceFieldRef(v *corev1.ResourceFieldSelector) *DownwardAPIVolumeFileDie
Selects a resource of the container: only resources limits and requests
(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
func (*DownwardAPIVolumeFileDie) ResourceFieldRefDie ¶
func (d *DownwardAPIVolumeFileDie) ResourceFieldRefDie(fn func(d *ResourceFieldSelectorDie)) *DownwardAPIVolumeFileDie
type DownwardAPIVolumeSourceDie ¶
type DownwardAPIVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*DownwardAPIVolumeSourceDie) DeepCopy ¶
func (d *DownwardAPIVolumeSourceDie) DeepCopy() *DownwardAPIVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*DownwardAPIVolumeSourceDie) DefaultMode ¶
func (d *DownwardAPIVolumeSourceDie) DefaultMode(v *int32) *DownwardAPIVolumeSourceDie
Optional: mode bits to use on created files by default. Must be a
Optional: mode bits used to set permissions on created files by default.
Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
Defaults to 0644.
Directories within the path are not affected by this setting.
This might be in conflict with other options that affect the file ¶
mode, like fsGroup, and the result can be other mode bits set.
func (*DownwardAPIVolumeSourceDie) DieFeed ¶
func (d *DownwardAPIVolumeSourceDie) DieFeed(r corev1.DownwardAPIVolumeSource) *DownwardAPIVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*DownwardAPIVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *DownwardAPIVolumeSourceDie) DieFeedJSON(j []byte) *DownwardAPIVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*DownwardAPIVolumeSourceDie) DieFeedPtr ¶
func (d *DownwardAPIVolumeSourceDie) DieFeedPtr(r *corev1.DownwardAPIVolumeSource) *DownwardAPIVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*DownwardAPIVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *DownwardAPIVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *DownwardAPIVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DownwardAPIVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *DownwardAPIVolumeSourceDie) DieFeedYAML(y []byte) *DownwardAPIVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*DownwardAPIVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *DownwardAPIVolumeSourceDie) DieFeedYAMLFile(name string) *DownwardAPIVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*DownwardAPIVolumeSourceDie) DieImmutable ¶
func (d *DownwardAPIVolumeSourceDie) DieImmutable(immutable bool) *DownwardAPIVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*DownwardAPIVolumeSourceDie) DieRelease ¶
func (d *DownwardAPIVolumeSourceDie) DieRelease() corev1.DownwardAPIVolumeSource
DieRelease returns the resource managed by the die.
func (*DownwardAPIVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *DownwardAPIVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*DownwardAPIVolumeSourceDie) DieReleasePtr ¶
func (d *DownwardAPIVolumeSourceDie) DieReleasePtr() *corev1.DownwardAPIVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*DownwardAPIVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *DownwardAPIVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DownwardAPIVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *DownwardAPIVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*DownwardAPIVolumeSourceDie) DieStamp ¶
func (d *DownwardAPIVolumeSourceDie) DieStamp(fn func(r *corev1.DownwardAPIVolumeSource)) *DownwardAPIVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*DownwardAPIVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *DownwardAPIVolumeSourceDie) DieStampAt(jp string, fn interface{}) *DownwardAPIVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*DownwardAPIVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *DownwardAPIVolumeSourceDie) DieWith(fns ...func(d *DownwardAPIVolumeSourceDie)) *DownwardAPIVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*DownwardAPIVolumeSourceDie) ItemDie ¶
func (d *DownwardAPIVolumeSourceDie) ItemDie(path string, fn func(d *DownwardAPIVolumeFileDie)) *DownwardAPIVolumeSourceDie
func (*DownwardAPIVolumeSourceDie) Items ¶
func (d *DownwardAPIVolumeSourceDie) Items(v ...corev1.DownwardAPIVolumeFile) *DownwardAPIVolumeSourceDie
Items is a list of downward API volume file
type EmptyDirVolumeSourceDie ¶
type EmptyDirVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*EmptyDirVolumeSourceDie) DeepCopy ¶
func (d *EmptyDirVolumeSourceDie) DeepCopy() *EmptyDirVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*EmptyDirVolumeSourceDie) DieFeed ¶
func (d *EmptyDirVolumeSourceDie) DieFeed(r corev1.EmptyDirVolumeSource) *EmptyDirVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*EmptyDirVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *EmptyDirVolumeSourceDie) DieFeedJSON(j []byte) *EmptyDirVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*EmptyDirVolumeSourceDie) DieFeedPtr ¶
func (d *EmptyDirVolumeSourceDie) DieFeedPtr(r *corev1.EmptyDirVolumeSource) *EmptyDirVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*EmptyDirVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *EmptyDirVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *EmptyDirVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EmptyDirVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *EmptyDirVolumeSourceDie) DieFeedYAML(y []byte) *EmptyDirVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EmptyDirVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *EmptyDirVolumeSourceDie) DieFeedYAMLFile(name string) *EmptyDirVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*EmptyDirVolumeSourceDie) DieImmutable ¶
func (d *EmptyDirVolumeSourceDie) DieImmutable(immutable bool) *EmptyDirVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*EmptyDirVolumeSourceDie) DieRelease ¶
func (d *EmptyDirVolumeSourceDie) DieRelease() corev1.EmptyDirVolumeSource
DieRelease returns the resource managed by the die.
func (*EmptyDirVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *EmptyDirVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*EmptyDirVolumeSourceDie) DieReleasePtr ¶
func (d *EmptyDirVolumeSourceDie) DieReleasePtr() *corev1.EmptyDirVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*EmptyDirVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *EmptyDirVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EmptyDirVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *EmptyDirVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EmptyDirVolumeSourceDie) DieStamp ¶
func (d *EmptyDirVolumeSourceDie) DieStamp(fn func(r *corev1.EmptyDirVolumeSource)) *EmptyDirVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*EmptyDirVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *EmptyDirVolumeSourceDie) DieStampAt(jp string, fn interface{}) *EmptyDirVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*EmptyDirVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *EmptyDirVolumeSourceDie) DieWith(fns ...func(d *EmptyDirVolumeSourceDie)) *EmptyDirVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*EmptyDirVolumeSourceDie) Medium ¶
func (d *EmptyDirVolumeSourceDie) Medium(v corev1.StorageMedium) *EmptyDirVolumeSourceDie
medium represents what type of storage medium should back this directory.
The default is "" which means to use the node's default medium.
Must be an empty string (default) or Memory.
More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
func (*EmptyDirVolumeSourceDie) SizeLimit ¶
func (d *EmptyDirVolumeSourceDie) SizeLimit(v *resource.Quantity) *EmptyDirVolumeSourceDie
sizeLimit is the total amount of local storage required for this EmptyDir volume.
The size limit is also applicable for memory medium.
The maximum usage on memory medium EmptyDir would be the minimum value between ¶
the SizeLimit specified here and the sum of memory limits of all containers in a pod.
The default is nil which means that the limit is undefined.
More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
type EndpointAddressDie ¶
type EndpointAddressDie struct {
// contains filtered or unexported fields
}
func (*EndpointAddressDie) DeepCopy ¶
func (d *EndpointAddressDie) DeepCopy() *EndpointAddressDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*EndpointAddressDie) DieFeed ¶
func (d *EndpointAddressDie) DieFeed(r corev1.EndpointAddress) *EndpointAddressDie
DieFeed returns a new die with the provided resource.
func (*EndpointAddressDie) DieFeedJSON ¶ added in v0.8.0
func (d *EndpointAddressDie) DieFeedJSON(j []byte) *EndpointAddressDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*EndpointAddressDie) DieFeedPtr ¶
func (d *EndpointAddressDie) DieFeedPtr(r *corev1.EndpointAddress) *EndpointAddressDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*EndpointAddressDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *EndpointAddressDie) DieFeedRawExtension(raw runtime.RawExtension) *EndpointAddressDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EndpointAddressDie) DieFeedYAML ¶ added in v0.8.0
func (d *EndpointAddressDie) DieFeedYAML(y []byte) *EndpointAddressDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EndpointAddressDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *EndpointAddressDie) DieFeedYAMLFile(name string) *EndpointAddressDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*EndpointAddressDie) DieImmutable ¶
func (d *EndpointAddressDie) DieImmutable(immutable bool) *EndpointAddressDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*EndpointAddressDie) DieRelease ¶
func (d *EndpointAddressDie) DieRelease() corev1.EndpointAddress
DieRelease returns the resource managed by the die.
func (*EndpointAddressDie) DieReleaseJSON ¶ added in v0.8.0
func (d *EndpointAddressDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*EndpointAddressDie) DieReleasePtr ¶
func (d *EndpointAddressDie) DieReleasePtr() *corev1.EndpointAddress
DieReleasePtr returns a pointer to the resource managed by the die.
func (*EndpointAddressDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *EndpointAddressDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EndpointAddressDie) DieReleaseYAML ¶ added in v0.8.0
func (d *EndpointAddressDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EndpointAddressDie) DieStamp ¶
func (d *EndpointAddressDie) DieStamp(fn func(r *corev1.EndpointAddress)) *EndpointAddressDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*EndpointAddressDie) DieStampAt ¶ added in v0.8.0
func (d *EndpointAddressDie) DieStampAt(jp string, fn interface{}) *EndpointAddressDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*EndpointAddressDie) DieWith ¶ added in v0.9.0
func (d *EndpointAddressDie) DieWith(fns ...func(d *EndpointAddressDie)) *EndpointAddressDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*EndpointAddressDie) Hostname ¶
func (d *EndpointAddressDie) Hostname(v string) *EndpointAddressDie
The Hostname of this endpoint
func (*EndpointAddressDie) IP ¶
func (d *EndpointAddressDie) IP(v string) *EndpointAddressDie
The IP of this endpoint.
May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10),
or link-local multicast (224.0.0.0/24 or ff02::/16).
func (*EndpointAddressDie) NodeName ¶
func (d *EndpointAddressDie) NodeName(v *string) *EndpointAddressDie
Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.
func (*EndpointAddressDie) TargetRef ¶
func (d *EndpointAddressDie) TargetRef(v *corev1.ObjectReference) *EndpointAddressDie
Reference to object providing the endpoint.
func (*EndpointAddressDie) TargetRefDie ¶
func (d *EndpointAddressDie) TargetRefDie(fn func(d *ObjectReferenceDie)) *EndpointAddressDie
type EndpointPortDie ¶
type EndpointPortDie struct {
// contains filtered or unexported fields
}
func (*EndpointPortDie) AppProtocol ¶
func (d *EndpointPortDie) AppProtocol(v *string) *EndpointPortDie
The application protocol for this port.
This is used as a hint for implementations to offer richer behavior for protocols that they understand.
This field follows standard Kubernetes label syntax.
Valid values are either:
* Un-prefixed protocol names - reserved for IANA standard service names (as per
RFC-6335 and https://www.iana.org/assignments/service-names).
* Kubernetes-defined prefixed names:
* 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-
* 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455
* 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455
* Other protocols should use implementation-defined prefixed names such as
mycompany.com/my-custom-protocol.
func (*EndpointPortDie) DeepCopy ¶
func (d *EndpointPortDie) DeepCopy() *EndpointPortDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*EndpointPortDie) DieFeed ¶
func (d *EndpointPortDie) DieFeed(r corev1.EndpointPort) *EndpointPortDie
DieFeed returns a new die with the provided resource.
func (*EndpointPortDie) DieFeedJSON ¶ added in v0.8.0
func (d *EndpointPortDie) DieFeedJSON(j []byte) *EndpointPortDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*EndpointPortDie) DieFeedPtr ¶
func (d *EndpointPortDie) DieFeedPtr(r *corev1.EndpointPort) *EndpointPortDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*EndpointPortDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *EndpointPortDie) DieFeedRawExtension(raw runtime.RawExtension) *EndpointPortDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EndpointPortDie) DieFeedYAML ¶ added in v0.8.0
func (d *EndpointPortDie) DieFeedYAML(y []byte) *EndpointPortDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EndpointPortDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *EndpointPortDie) DieFeedYAMLFile(name string) *EndpointPortDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*EndpointPortDie) DieImmutable ¶
func (d *EndpointPortDie) DieImmutable(immutable bool) *EndpointPortDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*EndpointPortDie) DieRelease ¶
func (d *EndpointPortDie) DieRelease() corev1.EndpointPort
DieRelease returns the resource managed by the die.
func (*EndpointPortDie) DieReleaseJSON ¶ added in v0.8.0
func (d *EndpointPortDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*EndpointPortDie) DieReleasePtr ¶
func (d *EndpointPortDie) DieReleasePtr() *corev1.EndpointPort
DieReleasePtr returns a pointer to the resource managed by the die.
func (*EndpointPortDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *EndpointPortDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EndpointPortDie) DieReleaseYAML ¶ added in v0.8.0
func (d *EndpointPortDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EndpointPortDie) DieStamp ¶
func (d *EndpointPortDie) DieStamp(fn func(r *corev1.EndpointPort)) *EndpointPortDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*EndpointPortDie) DieStampAt ¶ added in v0.8.0
func (d *EndpointPortDie) DieStampAt(jp string, fn interface{}) *EndpointPortDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*EndpointPortDie) DieWith ¶ added in v0.9.0
func (d *EndpointPortDie) DieWith(fns ...func(d *EndpointPortDie)) *EndpointPortDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*EndpointPortDie) Name ¶
func (d *EndpointPortDie) Name(v string) *EndpointPortDie
The name of this port. This must match the 'name' field in the
corresponding ServicePort.
Must be a DNS_LABEL.
Optional only if one port is defined.
func (*EndpointPortDie) Port ¶
func (d *EndpointPortDie) Port(v int32) *EndpointPortDie
The port number of the endpoint.
func (*EndpointPortDie) Protocol ¶
func (d *EndpointPortDie) Protocol(v corev1.Protocol) *EndpointPortDie
The IP protocol for this port.
Must be UDP, TCP, or SCTP.
Default is TCP.
type EndpointSubsetDie ¶
type EndpointSubsetDie struct {
// contains filtered or unexported fields
}
func (*EndpointSubsetDie) Addresses ¶
func (d *EndpointSubsetDie) Addresses(v ...corev1.EndpointAddress) *EndpointSubsetDie
IP addresses which offer the related ports that are marked as ready. These endpoints
should be considered safe for load balancers and clients to utilize.
func (*EndpointSubsetDie) AddressesDie ¶
func (d *EndpointSubsetDie) AddressesDie(addresses ...*EndpointAddressDie) *EndpointSubsetDie
func (*EndpointSubsetDie) DeepCopy ¶
func (d *EndpointSubsetDie) DeepCopy() *EndpointSubsetDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*EndpointSubsetDie) DieFeed ¶
func (d *EndpointSubsetDie) DieFeed(r corev1.EndpointSubset) *EndpointSubsetDie
DieFeed returns a new die with the provided resource.
func (*EndpointSubsetDie) DieFeedJSON ¶ added in v0.8.0
func (d *EndpointSubsetDie) DieFeedJSON(j []byte) *EndpointSubsetDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*EndpointSubsetDie) DieFeedPtr ¶
func (d *EndpointSubsetDie) DieFeedPtr(r *corev1.EndpointSubset) *EndpointSubsetDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*EndpointSubsetDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *EndpointSubsetDie) DieFeedRawExtension(raw runtime.RawExtension) *EndpointSubsetDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EndpointSubsetDie) DieFeedYAML ¶ added in v0.8.0
func (d *EndpointSubsetDie) DieFeedYAML(y []byte) *EndpointSubsetDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EndpointSubsetDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *EndpointSubsetDie) DieFeedYAMLFile(name string) *EndpointSubsetDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*EndpointSubsetDie) DieImmutable ¶
func (d *EndpointSubsetDie) DieImmutable(immutable bool) *EndpointSubsetDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*EndpointSubsetDie) DieRelease ¶
func (d *EndpointSubsetDie) DieRelease() corev1.EndpointSubset
DieRelease returns the resource managed by the die.
func (*EndpointSubsetDie) DieReleaseJSON ¶ added in v0.8.0
func (d *EndpointSubsetDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*EndpointSubsetDie) DieReleasePtr ¶
func (d *EndpointSubsetDie) DieReleasePtr() *corev1.EndpointSubset
DieReleasePtr returns a pointer to the resource managed by the die.
func (*EndpointSubsetDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *EndpointSubsetDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EndpointSubsetDie) DieReleaseYAML ¶ added in v0.8.0
func (d *EndpointSubsetDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EndpointSubsetDie) DieStamp ¶
func (d *EndpointSubsetDie) DieStamp(fn func(r *corev1.EndpointSubset)) *EndpointSubsetDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*EndpointSubsetDie) DieStampAt ¶ added in v0.8.0
func (d *EndpointSubsetDie) DieStampAt(jp string, fn interface{}) *EndpointSubsetDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*EndpointSubsetDie) DieWith ¶ added in v0.9.0
func (d *EndpointSubsetDie) DieWith(fns ...func(d *EndpointSubsetDie)) *EndpointSubsetDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*EndpointSubsetDie) NotReadyAddresses ¶
func (d *EndpointSubsetDie) NotReadyAddresses(v ...corev1.EndpointAddress) *EndpointSubsetDie
IP addresses which offer the related ports but are not currently marked as ready
because they have not yet finished starting, have recently failed a readiness check,
or have recently failed a liveness check.
func (*EndpointSubsetDie) NotReadyAddressesDie ¶
func (d *EndpointSubsetDie) NotReadyAddressesDie(addresses ...*EndpointAddressDie) *EndpointSubsetDie
func (*EndpointSubsetDie) Ports ¶
func (d *EndpointSubsetDie) Ports(v ...corev1.EndpointPort) *EndpointSubsetDie
Port numbers available on the related IP addresses.
func (*EndpointSubsetDie) PortsDie ¶
func (d *EndpointSubsetDie) PortsDie(ports ...*EndpointPortDie) *EndpointSubsetDie
type EndpointsDie ¶
type EndpointsDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*EndpointsDie) APIVersion ¶ added in v0.5.0
func (d *EndpointsDie) APIVersion(v string) *EndpointsDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*EndpointsDie) DeepCopy ¶
func (d *EndpointsDie) DeepCopy() *EndpointsDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*EndpointsDie) DeepCopyObject ¶
func (d *EndpointsDie) DeepCopyObject() runtime.Object
func (*EndpointsDie) DieFeed ¶
func (d *EndpointsDie) DieFeed(r corev1.Endpoints) *EndpointsDie
DieFeed returns a new die with the provided resource.
func (*EndpointsDie) DieFeedJSON ¶ added in v0.8.0
func (d *EndpointsDie) DieFeedJSON(j []byte) *EndpointsDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*EndpointsDie) DieFeedPtr ¶
func (d *EndpointsDie) DieFeedPtr(r *corev1.Endpoints) *EndpointsDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*EndpointsDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *EndpointsDie) DieFeedRawExtension(raw runtime.RawExtension) *EndpointsDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EndpointsDie) DieFeedYAML ¶ added in v0.8.0
func (d *EndpointsDie) DieFeedYAML(y []byte) *EndpointsDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EndpointsDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *EndpointsDie) DieFeedYAMLFile(name string) *EndpointsDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*EndpointsDie) DieImmutable ¶
func (d *EndpointsDie) DieImmutable(immutable bool) *EndpointsDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*EndpointsDie) DieRelease ¶
func (d *EndpointsDie) DieRelease() corev1.Endpoints
DieRelease returns the resource managed by the die.
func (*EndpointsDie) DieReleaseJSON ¶ added in v0.8.0
func (d *EndpointsDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*EndpointsDie) DieReleasePtr ¶
func (d *EndpointsDie) DieReleasePtr() *corev1.Endpoints
DieReleasePtr returns a pointer to the resource managed by the die.
func (*EndpointsDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *EndpointsDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EndpointsDie) DieReleaseUnstructured ¶
func (d *EndpointsDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*EndpointsDie) DieReleaseYAML ¶ added in v0.8.0
func (d *EndpointsDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EndpointsDie) DieStamp ¶
func (d *EndpointsDie) DieStamp(fn func(r *corev1.Endpoints)) *EndpointsDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*EndpointsDie) DieStampAt ¶ added in v0.8.0
func (d *EndpointsDie) DieStampAt(jp string, fn interface{}) *EndpointsDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*EndpointsDie) DieWith ¶ added in v0.9.0
func (d *EndpointsDie) DieWith(fns ...func(d *EndpointsDie)) *EndpointsDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*EndpointsDie) GetObjectKind ¶
func (d *EndpointsDie) GetObjectKind() schema.ObjectKind
func (*EndpointsDie) Kind ¶ added in v0.5.0
func (d *EndpointsDie) Kind(v string) *EndpointsDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*EndpointsDie) MarshalJSON ¶
func (d *EndpointsDie) MarshalJSON() ([]byte, error)
func (*EndpointsDie) MetadataDie ¶
func (d *EndpointsDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *EndpointsDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*EndpointsDie) Subsets ¶
func (d *EndpointsDie) Subsets(v ...corev1.EndpointSubset) *EndpointsDie
The set of all endpoints is the union of all subsets. Addresses are placed into
subsets according to the IPs they share. A single address with multiple ports,
some of which are ready and some of which are not (because they come from
different containers) will result in the address being displayed in different
subsets for the different ports. No address will appear in both Addresses and
NotReadyAddresses in the same subset.
Sets of addresses and ports that comprise a service.
func (*EndpointsDie) SubsetsDie ¶
func (d *EndpointsDie) SubsetsDie(subsets ...*EndpointSubsetDie) *EndpointsDie
func (*EndpointsDie) UnmarshalJSON ¶
func (d *EndpointsDie) UnmarshalJSON(b []byte) error
type EnvFromSourceDie ¶
type EnvFromSourceDie struct {
// contains filtered or unexported fields
}
func (*EnvFromSourceDie) ConfigMapRef ¶
func (d *EnvFromSourceDie) ConfigMapRef(v *corev1.ConfigMapEnvSource) *EnvFromSourceDie
The ConfigMap to select from
func (*EnvFromSourceDie) ConfigMapRefDie ¶
func (d *EnvFromSourceDie) ConfigMapRefDie(fn func(d *ConfigMapEnvSourceDie)) *EnvFromSourceDie
func (*EnvFromSourceDie) DeepCopy ¶
func (d *EnvFromSourceDie) DeepCopy() *EnvFromSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*EnvFromSourceDie) DieFeed ¶
func (d *EnvFromSourceDie) DieFeed(r corev1.EnvFromSource) *EnvFromSourceDie
DieFeed returns a new die with the provided resource.
func (*EnvFromSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *EnvFromSourceDie) DieFeedJSON(j []byte) *EnvFromSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*EnvFromSourceDie) DieFeedPtr ¶
func (d *EnvFromSourceDie) DieFeedPtr(r *corev1.EnvFromSource) *EnvFromSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*EnvFromSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *EnvFromSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *EnvFromSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EnvFromSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *EnvFromSourceDie) DieFeedYAML(y []byte) *EnvFromSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EnvFromSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *EnvFromSourceDie) DieFeedYAMLFile(name string) *EnvFromSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*EnvFromSourceDie) DieImmutable ¶
func (d *EnvFromSourceDie) DieImmutable(immutable bool) *EnvFromSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*EnvFromSourceDie) DieRelease ¶
func (d *EnvFromSourceDie) DieRelease() corev1.EnvFromSource
DieRelease returns the resource managed by the die.
func (*EnvFromSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *EnvFromSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*EnvFromSourceDie) DieReleasePtr ¶
func (d *EnvFromSourceDie) DieReleasePtr() *corev1.EnvFromSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*EnvFromSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *EnvFromSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EnvFromSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *EnvFromSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EnvFromSourceDie) DieStamp ¶
func (d *EnvFromSourceDie) DieStamp(fn func(r *corev1.EnvFromSource)) *EnvFromSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*EnvFromSourceDie) DieStampAt ¶ added in v0.8.0
func (d *EnvFromSourceDie) DieStampAt(jp string, fn interface{}) *EnvFromSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*EnvFromSourceDie) DieWith ¶ added in v0.9.0
func (d *EnvFromSourceDie) DieWith(fns ...func(d *EnvFromSourceDie)) *EnvFromSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*EnvFromSourceDie) Prefix ¶
func (d *EnvFromSourceDie) Prefix(v string) *EnvFromSourceDie
An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.
func (*EnvFromSourceDie) SecretRef ¶
func (d *EnvFromSourceDie) SecretRef(v *corev1.SecretEnvSource) *EnvFromSourceDie
The Secret to select from
func (*EnvFromSourceDie) SecretRefDie ¶
func (d *EnvFromSourceDie) SecretRefDie(fn func(d *SecretEnvSourceDie)) *EnvFromSourceDie
type EnvVarDie ¶
type EnvVarDie struct {
// contains filtered or unexported fields
}
func (*EnvVarDie) DeepCopy ¶
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*EnvVarDie) DieFeedJSON ¶ added in v0.8.0
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*EnvVarDie) DieFeedPtr ¶
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*EnvVarDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *EnvVarDie) DieFeedRawExtension(raw runtime.RawExtension) *EnvVarDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EnvVarDie) DieFeedYAML ¶ added in v0.8.0
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EnvVarDie) DieFeedYAMLFile ¶ added in v0.8.0
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*EnvVarDie) DieImmutable ¶
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*EnvVarDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*EnvVarDie) DieReleaseJSON ¶ added in v0.8.0
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*EnvVarDie) DieReleasePtr ¶
DieReleasePtr returns a pointer to the resource managed by the die.
func (*EnvVarDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *EnvVarDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EnvVarDie) DieReleaseYAML ¶ added in v0.8.0
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EnvVarDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*EnvVarDie) DieStampAt ¶ added in v0.8.0
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*EnvVarDie) DieWith ¶ added in v0.9.0
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*EnvVarDie) Value ¶
Variable references $(VAR_NAME) are expanded
using the previously defined environment variables in the container and
any service environment variables. If a variable cannot be resolved,
the reference in the input string will be unchanged. Double $$ are reduced
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
"$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
Escaped references will never be expanded, regardless of whether the variable ¶
exists or not.
Defaults to "".
func (*EnvVarDie) ValueFrom ¶
func (d *EnvVarDie) ValueFrom(v *corev1.EnvVarSource) *EnvVarDie
Source for the environment variable's value. Cannot be used if value is not empty.
func (*EnvVarDie) ValueFromDie ¶
func (d *EnvVarDie) ValueFromDie(fn func(d *EnvVarSourceDie)) *EnvVarDie
type EnvVarSourceDie ¶
type EnvVarSourceDie struct {
// contains filtered or unexported fields
}
func (*EnvVarSourceDie) ConfigMapKeyRef ¶
func (d *EnvVarSourceDie) ConfigMapKeyRef(v *corev1.ConfigMapKeySelector) *EnvVarSourceDie
Selects a key of a ConfigMap.
func (*EnvVarSourceDie) ConfigMapKeyRefDie ¶
func (d *EnvVarSourceDie) ConfigMapKeyRefDie(fn func(d *ConfigMapKeySelectorDie)) *EnvVarSourceDie
func (*EnvVarSourceDie) DeepCopy ¶
func (d *EnvVarSourceDie) DeepCopy() *EnvVarSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*EnvVarSourceDie) DieFeed ¶
func (d *EnvVarSourceDie) DieFeed(r corev1.EnvVarSource) *EnvVarSourceDie
DieFeed returns a new die with the provided resource.
func (*EnvVarSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *EnvVarSourceDie) DieFeedJSON(j []byte) *EnvVarSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*EnvVarSourceDie) DieFeedPtr ¶
func (d *EnvVarSourceDie) DieFeedPtr(r *corev1.EnvVarSource) *EnvVarSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*EnvVarSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *EnvVarSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *EnvVarSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EnvVarSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *EnvVarSourceDie) DieFeedYAML(y []byte) *EnvVarSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EnvVarSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *EnvVarSourceDie) DieFeedYAMLFile(name string) *EnvVarSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*EnvVarSourceDie) DieImmutable ¶
func (d *EnvVarSourceDie) DieImmutable(immutable bool) *EnvVarSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*EnvVarSourceDie) DieRelease ¶
func (d *EnvVarSourceDie) DieRelease() corev1.EnvVarSource
DieRelease returns the resource managed by the die.
func (*EnvVarSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *EnvVarSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*EnvVarSourceDie) DieReleasePtr ¶
func (d *EnvVarSourceDie) DieReleasePtr() *corev1.EnvVarSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*EnvVarSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *EnvVarSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EnvVarSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *EnvVarSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EnvVarSourceDie) DieStamp ¶
func (d *EnvVarSourceDie) DieStamp(fn func(r *corev1.EnvVarSource)) *EnvVarSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*EnvVarSourceDie) DieStampAt ¶ added in v0.8.0
func (d *EnvVarSourceDie) DieStampAt(jp string, fn interface{}) *EnvVarSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*EnvVarSourceDie) DieWith ¶ added in v0.9.0
func (d *EnvVarSourceDie) DieWith(fns ...func(d *EnvVarSourceDie)) *EnvVarSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*EnvVarSourceDie) FieldRef ¶
func (d *EnvVarSourceDie) FieldRef(v *corev1.ObjectFieldSelector) *EnvVarSourceDie
Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
func (*EnvVarSourceDie) FieldRefDie ¶
func (d *EnvVarSourceDie) FieldRefDie(fn func(d *ObjectFieldSelectorDie)) *EnvVarSourceDie
func (*EnvVarSourceDie) ResourceFieldRef ¶
func (d *EnvVarSourceDie) ResourceFieldRef(v *corev1.ResourceFieldSelector) *EnvVarSourceDie
Selects a resource of the container: only resources limits and requests
(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
func (*EnvVarSourceDie) ResourceFieldRefDie ¶
func (d *EnvVarSourceDie) ResourceFieldRefDie(fn func(d *ResourceFieldSelectorDie)) *EnvVarSourceDie
func (*EnvVarSourceDie) SecretKeyRef ¶
func (d *EnvVarSourceDie) SecretKeyRef(v *corev1.SecretKeySelector) *EnvVarSourceDie
Selects a key of a secret in the pod's namespace
func (*EnvVarSourceDie) SecretKeyRefDie ¶
func (d *EnvVarSourceDie) SecretKeyRefDie(fn func(d *SecretKeySelectorDie)) *EnvVarSourceDie
type EphemeralVolumeSourceDie ¶
type EphemeralVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*EphemeralVolumeSourceDie) DeepCopy ¶
func (d *EphemeralVolumeSourceDie) DeepCopy() *EphemeralVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*EphemeralVolumeSourceDie) DieFeed ¶
func (d *EphemeralVolumeSourceDie) DieFeed(r corev1.EphemeralVolumeSource) *EphemeralVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*EphemeralVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *EphemeralVolumeSourceDie) DieFeedJSON(j []byte) *EphemeralVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*EphemeralVolumeSourceDie) DieFeedPtr ¶
func (d *EphemeralVolumeSourceDie) DieFeedPtr(r *corev1.EphemeralVolumeSource) *EphemeralVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*EphemeralVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *EphemeralVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *EphemeralVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EphemeralVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *EphemeralVolumeSourceDie) DieFeedYAML(y []byte) *EphemeralVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EphemeralVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *EphemeralVolumeSourceDie) DieFeedYAMLFile(name string) *EphemeralVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*EphemeralVolumeSourceDie) DieImmutable ¶
func (d *EphemeralVolumeSourceDie) DieImmutable(immutable bool) *EphemeralVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*EphemeralVolumeSourceDie) DieRelease ¶
func (d *EphemeralVolumeSourceDie) DieRelease() corev1.EphemeralVolumeSource
DieRelease returns the resource managed by the die.
func (*EphemeralVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *EphemeralVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*EphemeralVolumeSourceDie) DieReleasePtr ¶
func (d *EphemeralVolumeSourceDie) DieReleasePtr() *corev1.EphemeralVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*EphemeralVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *EphemeralVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EphemeralVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *EphemeralVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EphemeralVolumeSourceDie) DieStamp ¶
func (d *EphemeralVolumeSourceDie) DieStamp(fn func(r *corev1.EphemeralVolumeSource)) *EphemeralVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*EphemeralVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *EphemeralVolumeSourceDie) DieStampAt(jp string, fn interface{}) *EphemeralVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*EphemeralVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *EphemeralVolumeSourceDie) DieWith(fns ...func(d *EphemeralVolumeSourceDie)) *EphemeralVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*EphemeralVolumeSourceDie) VolumeClaimTemplate ¶
func (d *EphemeralVolumeSourceDie) VolumeClaimTemplate(v *corev1.PersistentVolumeClaimTemplate) *EphemeralVolumeSourceDie
Will be used to create a stand-alone PVC to provision the volume.
The pod in which this EphemeralVolumeSource is embedded will be the ¶
owner of the PVC, i.e. the PVC will be deleted together with the
pod. The name of the PVC will be `<pod name>-<volume name>` where
`<volume name>` is the name from the `PodSpec.Volumes` array
entry. Pod validation will reject the pod if the concatenated name
is not valid for a PVC (for example, too long).
An existing PVC with that name that is not owned by the pod ¶
will *not* be used for the pod to avoid using an unrelated
volume by mistake. Starting the pod is then blocked until
the unrelated PVC is removed. If such a pre-created PVC is
meant to be used by the pod, the PVC has to updated with an
owner reference to the pod once the pod exists. Normally
this should not be necessary, but it may be useful when
manually reconstructing a broken cluster.
This field is read-only and no changes will be made by Kubernetes ¶
to the PVC after it has been created.
Required, must not be nil.
func (*EphemeralVolumeSourceDie) VolumeClaimTemplateDie ¶
func (d *EphemeralVolumeSourceDie) VolumeClaimTemplateDie(fn func(d *PersistentVolumeClaimTemplateDie)) *EphemeralVolumeSourceDie
type EventDie ¶
type EventDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*EventDie) APIVersion ¶ added in v0.5.0
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*EventDie) DeepCopy ¶
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*EventDie) DeepCopyObject ¶
func (*EventDie) DieFeedJSON ¶ added in v0.8.0
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*EventDie) DieFeedPtr ¶
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*EventDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *EventDie) DieFeedRawExtension(raw runtime.RawExtension) *EventDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EventDie) DieFeedYAML ¶ added in v0.8.0
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EventDie) DieFeedYAMLFile ¶ added in v0.8.0
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*EventDie) DieImmutable ¶
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*EventDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*EventDie) DieReleaseJSON ¶ added in v0.8.0
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*EventDie) DieReleasePtr ¶
DieReleasePtr returns a pointer to the resource managed by the die.
func (*EventDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *EventDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EventDie) DieReleaseUnstructured ¶
func (d *EventDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*EventDie) DieReleaseYAML ¶ added in v0.8.0
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EventDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*EventDie) DieStampAt ¶ added in v0.8.0
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*EventDie) DieWith ¶ added in v0.9.0
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*EventDie) EventTime ¶
func (d *EventDie) EventTime(v apismetav1.MicroTime) *EventDie
Time when this Event was first observed.
func (*EventDie) FirstTimestamp ¶
func (d *EventDie) FirstTimestamp(v apismetav1.Time) *EventDie
The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)
func (*EventDie) GetObjectKind ¶
func (d *EventDie) GetObjectKind() schema.ObjectKind
func (*EventDie) InvolvedObject ¶
func (d *EventDie) InvolvedObject(v corev1.ObjectReference) *EventDie
The object that this event is about.
func (*EventDie) InvolvedObjectDie ¶
func (d *EventDie) InvolvedObjectDie(fn func(d *ObjectReferenceDie)) *EventDie
func (*EventDie) Kind ¶ added in v0.5.0
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*EventDie) LastTimestamp ¶
func (d *EventDie) LastTimestamp(v apismetav1.Time) *EventDie
The time at which the most recent occurrence of this event was recorded.
func (*EventDie) MarshalJSON ¶
func (*EventDie) Message ¶
A human-readable description of the status of this operation.
TODO: decide on maximum length.
func (*EventDie) MetadataDie ¶
func (d *EventDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *EventDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*EventDie) Reason ¶
This should be a short, machine understandable string that gives the reason
for the transition into the object's current status.
TODO: provide exact specification for format.
func (*EventDie) Related ¶
func (d *EventDie) Related(v *corev1.ObjectReference) *EventDie
Optional secondary object for more complex actions.
func (*EventDie) RelatedDie ¶
func (d *EventDie) RelatedDie(fn func(d *ObjectReferenceDie)) *EventDie
func (*EventDie) ReportingController ¶
Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.
func (*EventDie) ReportingInstance ¶
ID of the controller instance, e.g. `kubelet-xyzf`.
func (*EventDie) Series ¶
func (d *EventDie) Series(v *corev1.EventSeries) *EventDie
Data about the Event series this event represents or nil if it's a singleton Event.
func (*EventDie) SeriesDie ¶
func (d *EventDie) SeriesDie(fn func(d *EventSeriesDie)) *EventDie
func (*EventDie) Source ¶
func (d *EventDie) Source(v corev1.EventSource) *EventDie
The component reporting this event. Should be a short machine understandable string.
func (*EventDie) SourceDie ¶
func (d *EventDie) SourceDie(fn func(d *EventSourceDie)) *EventDie
func (*EventDie) Type ¶
Type of this event (Normal, Warning), new types could be added in the future
func (*EventDie) UnmarshalJSON ¶
type EventSeriesDie ¶
type EventSeriesDie struct {
// contains filtered or unexported fields
}
func (*EventSeriesDie) Count ¶
func (d *EventSeriesDie) Count(v int32) *EventSeriesDie
Number of occurrences in this series up to the last heartbeat time
func (*EventSeriesDie) DeepCopy ¶
func (d *EventSeriesDie) DeepCopy() *EventSeriesDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*EventSeriesDie) DieFeed ¶
func (d *EventSeriesDie) DieFeed(r corev1.EventSeries) *EventSeriesDie
DieFeed returns a new die with the provided resource.
func (*EventSeriesDie) DieFeedJSON ¶ added in v0.8.0
func (d *EventSeriesDie) DieFeedJSON(j []byte) *EventSeriesDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*EventSeriesDie) DieFeedPtr ¶
func (d *EventSeriesDie) DieFeedPtr(r *corev1.EventSeries) *EventSeriesDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*EventSeriesDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *EventSeriesDie) DieFeedRawExtension(raw runtime.RawExtension) *EventSeriesDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EventSeriesDie) DieFeedYAML ¶ added in v0.8.0
func (d *EventSeriesDie) DieFeedYAML(y []byte) *EventSeriesDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EventSeriesDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *EventSeriesDie) DieFeedYAMLFile(name string) *EventSeriesDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*EventSeriesDie) DieImmutable ¶
func (d *EventSeriesDie) DieImmutable(immutable bool) *EventSeriesDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*EventSeriesDie) DieRelease ¶
func (d *EventSeriesDie) DieRelease() corev1.EventSeries
DieRelease returns the resource managed by the die.
func (*EventSeriesDie) DieReleaseJSON ¶ added in v0.8.0
func (d *EventSeriesDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*EventSeriesDie) DieReleasePtr ¶
func (d *EventSeriesDie) DieReleasePtr() *corev1.EventSeries
DieReleasePtr returns a pointer to the resource managed by the die.
func (*EventSeriesDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *EventSeriesDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EventSeriesDie) DieReleaseYAML ¶ added in v0.8.0
func (d *EventSeriesDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EventSeriesDie) DieStamp ¶
func (d *EventSeriesDie) DieStamp(fn func(r *corev1.EventSeries)) *EventSeriesDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*EventSeriesDie) DieStampAt ¶ added in v0.8.0
func (d *EventSeriesDie) DieStampAt(jp string, fn interface{}) *EventSeriesDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*EventSeriesDie) DieWith ¶ added in v0.9.0
func (d *EventSeriesDie) DieWith(fns ...func(d *EventSeriesDie)) *EventSeriesDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*EventSeriesDie) LastObservedTime ¶
func (d *EventSeriesDie) LastObservedTime(v apismetav1.MicroTime) *EventSeriesDie
Time of the last occurrence observed
type EventSourceDie ¶
type EventSourceDie struct {
// contains filtered or unexported fields
}
func (*EventSourceDie) Component ¶
func (d *EventSourceDie) Component(v string) *EventSourceDie
Component from which the event is generated.
func (*EventSourceDie) DeepCopy ¶
func (d *EventSourceDie) DeepCopy() *EventSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*EventSourceDie) DieFeed ¶
func (d *EventSourceDie) DieFeed(r corev1.EventSource) *EventSourceDie
DieFeed returns a new die with the provided resource.
func (*EventSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *EventSourceDie) DieFeedJSON(j []byte) *EventSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*EventSourceDie) DieFeedPtr ¶
func (d *EventSourceDie) DieFeedPtr(r *corev1.EventSource) *EventSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*EventSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *EventSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *EventSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EventSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *EventSourceDie) DieFeedYAML(y []byte) *EventSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EventSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *EventSourceDie) DieFeedYAMLFile(name string) *EventSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*EventSourceDie) DieImmutable ¶
func (d *EventSourceDie) DieImmutable(immutable bool) *EventSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*EventSourceDie) DieRelease ¶
func (d *EventSourceDie) DieRelease() corev1.EventSource
DieRelease returns the resource managed by the die.
func (*EventSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *EventSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*EventSourceDie) DieReleasePtr ¶
func (d *EventSourceDie) DieReleasePtr() *corev1.EventSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*EventSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *EventSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EventSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *EventSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EventSourceDie) DieStamp ¶
func (d *EventSourceDie) DieStamp(fn func(r *corev1.EventSource)) *EventSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*EventSourceDie) DieStampAt ¶ added in v0.8.0
func (d *EventSourceDie) DieStampAt(jp string, fn interface{}) *EventSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*EventSourceDie) DieWith ¶ added in v0.9.0
func (d *EventSourceDie) DieWith(fns ...func(d *EventSourceDie)) *EventSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*EventSourceDie) Host ¶
func (d *EventSourceDie) Host(v string) *EventSourceDie
Node name on which the event is generated.
type ExecActionDie ¶
type ExecActionDie struct {
// contains filtered or unexported fields
}
func (*ExecActionDie) Command ¶
func (d *ExecActionDie) Command(v ...string) *ExecActionDie
Command is the command line to execute inside the container, the working directory for the
command is root ('/') in the container's filesystem. The command is simply exec'd, it is
not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
a shell, you need to explicitly call out to that shell.
Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
func (*ExecActionDie) DeepCopy ¶
func (d *ExecActionDie) DeepCopy() *ExecActionDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ExecActionDie) DieFeed ¶
func (d *ExecActionDie) DieFeed(r corev1.ExecAction) *ExecActionDie
DieFeed returns a new die with the provided resource.
func (*ExecActionDie) DieFeedJSON ¶ added in v0.8.0
func (d *ExecActionDie) DieFeedJSON(j []byte) *ExecActionDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ExecActionDie) DieFeedPtr ¶
func (d *ExecActionDie) DieFeedPtr(r *corev1.ExecAction) *ExecActionDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ExecActionDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ExecActionDie) DieFeedRawExtension(raw runtime.RawExtension) *ExecActionDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ExecActionDie) DieFeedYAML ¶ added in v0.8.0
func (d *ExecActionDie) DieFeedYAML(y []byte) *ExecActionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ExecActionDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ExecActionDie) DieFeedYAMLFile(name string) *ExecActionDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ExecActionDie) DieImmutable ¶
func (d *ExecActionDie) DieImmutable(immutable bool) *ExecActionDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ExecActionDie) DieRelease ¶
func (d *ExecActionDie) DieRelease() corev1.ExecAction
DieRelease returns the resource managed by the die.
func (*ExecActionDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ExecActionDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ExecActionDie) DieReleasePtr ¶
func (d *ExecActionDie) DieReleasePtr() *corev1.ExecAction
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ExecActionDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ExecActionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ExecActionDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ExecActionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ExecActionDie) DieStamp ¶
func (d *ExecActionDie) DieStamp(fn func(r *corev1.ExecAction)) *ExecActionDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ExecActionDie) DieStampAt ¶ added in v0.8.0
func (d *ExecActionDie) DieStampAt(jp string, fn interface{}) *ExecActionDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ExecActionDie) DieWith ¶ added in v0.9.0
func (d *ExecActionDie) DieWith(fns ...func(d *ExecActionDie)) *ExecActionDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
type FCVolumeSourceDie ¶
type FCVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*FCVolumeSourceDie) DeepCopy ¶
func (d *FCVolumeSourceDie) DeepCopy() *FCVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*FCVolumeSourceDie) DieFeed ¶
func (d *FCVolumeSourceDie) DieFeed(r corev1.FCVolumeSource) *FCVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*FCVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *FCVolumeSourceDie) DieFeedJSON(j []byte) *FCVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*FCVolumeSourceDie) DieFeedPtr ¶
func (d *FCVolumeSourceDie) DieFeedPtr(r *corev1.FCVolumeSource) *FCVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*FCVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *FCVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *FCVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FCVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *FCVolumeSourceDie) DieFeedYAML(y []byte) *FCVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*FCVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *FCVolumeSourceDie) DieFeedYAMLFile(name string) *FCVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*FCVolumeSourceDie) DieImmutable ¶
func (d *FCVolumeSourceDie) DieImmutable(immutable bool) *FCVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*FCVolumeSourceDie) DieRelease ¶
func (d *FCVolumeSourceDie) DieRelease() corev1.FCVolumeSource
DieRelease returns the resource managed by the die.
func (*FCVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *FCVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*FCVolumeSourceDie) DieReleasePtr ¶
func (d *FCVolumeSourceDie) DieReleasePtr() *corev1.FCVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*FCVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *FCVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FCVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *FCVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*FCVolumeSourceDie) DieStamp ¶
func (d *FCVolumeSourceDie) DieStamp(fn func(r *corev1.FCVolumeSource)) *FCVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*FCVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *FCVolumeSourceDie) DieStampAt(jp string, fn interface{}) *FCVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*FCVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *FCVolumeSourceDie) DieWith(fns ...func(d *FCVolumeSourceDie)) *FCVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*FCVolumeSourceDie) FSType ¶
func (d *FCVolumeSourceDie) FSType(v string) *FCVolumeSourceDie
fsType is the filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
TODO: how do we prevent errors in the filesystem from compromising the machine
func (*FCVolumeSourceDie) Lun ¶
func (d *FCVolumeSourceDie) Lun(v *int32) *FCVolumeSourceDie
lun is Optional: FC target lun number
func (*FCVolumeSourceDie) ReadOnly ¶
func (d *FCVolumeSourceDie) ReadOnly(v bool) *FCVolumeSourceDie
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
func (*FCVolumeSourceDie) TargetWWNs ¶
func (d *FCVolumeSourceDie) TargetWWNs(v ...string) *FCVolumeSourceDie
targetWWNs is Optional: FC target worldwide names (WWNs)
func (*FCVolumeSourceDie) WWIDs ¶
func (d *FCVolumeSourceDie) WWIDs(v ...string) *FCVolumeSourceDie
wwids Optional: FC volume world wide identifiers (wwids)
Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
type FlexPersistentVolumeSourceDie ¶
type FlexPersistentVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*FlexPersistentVolumeSourceDie) DeepCopy ¶
func (d *FlexPersistentVolumeSourceDie) DeepCopy() *FlexPersistentVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*FlexPersistentVolumeSourceDie) DieFeed ¶
func (d *FlexPersistentVolumeSourceDie) DieFeed(r corev1.FlexPersistentVolumeSource) *FlexPersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*FlexPersistentVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *FlexPersistentVolumeSourceDie) DieFeedJSON(j []byte) *FlexPersistentVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*FlexPersistentVolumeSourceDie) DieFeedPtr ¶
func (d *FlexPersistentVolumeSourceDie) DieFeedPtr(r *corev1.FlexPersistentVolumeSource) *FlexPersistentVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*FlexPersistentVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *FlexPersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *FlexPersistentVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FlexPersistentVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *FlexPersistentVolumeSourceDie) DieFeedYAML(y []byte) *FlexPersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*FlexPersistentVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *FlexPersistentVolumeSourceDie) DieFeedYAMLFile(name string) *FlexPersistentVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*FlexPersistentVolumeSourceDie) DieImmutable ¶
func (d *FlexPersistentVolumeSourceDie) DieImmutable(immutable bool) *FlexPersistentVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*FlexPersistentVolumeSourceDie) DieRelease ¶
func (d *FlexPersistentVolumeSourceDie) DieRelease() corev1.FlexPersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*FlexPersistentVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *FlexPersistentVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*FlexPersistentVolumeSourceDie) DieReleasePtr ¶
func (d *FlexPersistentVolumeSourceDie) DieReleasePtr() *corev1.FlexPersistentVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*FlexPersistentVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *FlexPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FlexPersistentVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *FlexPersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*FlexPersistentVolumeSourceDie) DieStamp ¶
func (d *FlexPersistentVolumeSourceDie) DieStamp(fn func(r *corev1.FlexPersistentVolumeSource)) *FlexPersistentVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*FlexPersistentVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *FlexPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *FlexPersistentVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*FlexPersistentVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *FlexPersistentVolumeSourceDie) DieWith(fns ...func(d *FlexPersistentVolumeSourceDie)) *FlexPersistentVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*FlexPersistentVolumeSourceDie) Driver ¶
func (d *FlexPersistentVolumeSourceDie) Driver(v string) *FlexPersistentVolumeSourceDie
driver is the name of the driver to use for this volume.
func (*FlexPersistentVolumeSourceDie) FSType ¶
func (d *FlexPersistentVolumeSourceDie) FSType(v string) *FlexPersistentVolumeSourceDie
fsType is the Filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
func (*FlexPersistentVolumeSourceDie) Options ¶
func (d *FlexPersistentVolumeSourceDie) Options(v map[string]string) *FlexPersistentVolumeSourceDie
options is Optional: this field holds extra command options if any.
func (*FlexPersistentVolumeSourceDie) ReadOnly ¶
func (d *FlexPersistentVolumeSourceDie) ReadOnly(v bool) *FlexPersistentVolumeSourceDie
readOnly is Optional: defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
func (*FlexPersistentVolumeSourceDie) SecretRef ¶
func (d *FlexPersistentVolumeSourceDie) SecretRef(v *corev1.SecretReference) *FlexPersistentVolumeSourceDie
secretRef is Optional: SecretRef is reference to the secret object containing
sensitive information to pass to the plugin scripts. This may be
empty if no secret object is specified. If the secret object
contains more than one secret, all secrets are passed to the plugin
scripts.
func (*FlexPersistentVolumeSourceDie) SecretRefDie ¶
func (d *FlexPersistentVolumeSourceDie) SecretRefDie(fn func(d *SecretReferenceDie)) *FlexPersistentVolumeSourceDie
type FlexVolumeSourceDie ¶
type FlexVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*FlexVolumeSourceDie) DeepCopy ¶
func (d *FlexVolumeSourceDie) DeepCopy() *FlexVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*FlexVolumeSourceDie) DieFeed ¶
func (d *FlexVolumeSourceDie) DieFeed(r corev1.FlexVolumeSource) *FlexVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*FlexVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *FlexVolumeSourceDie) DieFeedJSON(j []byte) *FlexVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*FlexVolumeSourceDie) DieFeedPtr ¶
func (d *FlexVolumeSourceDie) DieFeedPtr(r *corev1.FlexVolumeSource) *FlexVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*FlexVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *FlexVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *FlexVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FlexVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *FlexVolumeSourceDie) DieFeedYAML(y []byte) *FlexVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*FlexVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *FlexVolumeSourceDie) DieFeedYAMLFile(name string) *FlexVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*FlexVolumeSourceDie) DieImmutable ¶
func (d *FlexVolumeSourceDie) DieImmutable(immutable bool) *FlexVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*FlexVolumeSourceDie) DieRelease ¶
func (d *FlexVolumeSourceDie) DieRelease() corev1.FlexVolumeSource
DieRelease returns the resource managed by the die.
func (*FlexVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *FlexVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*FlexVolumeSourceDie) DieReleasePtr ¶
func (d *FlexVolumeSourceDie) DieReleasePtr() *corev1.FlexVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*FlexVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *FlexVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FlexVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *FlexVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*FlexVolumeSourceDie) DieStamp ¶
func (d *FlexVolumeSourceDie) DieStamp(fn func(r *corev1.FlexVolumeSource)) *FlexVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*FlexVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *FlexVolumeSourceDie) DieStampAt(jp string, fn interface{}) *FlexVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*FlexVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *FlexVolumeSourceDie) DieWith(fns ...func(d *FlexVolumeSourceDie)) *FlexVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*FlexVolumeSourceDie) Driver ¶
func (d *FlexVolumeSourceDie) Driver(v string) *FlexVolumeSourceDie
driver is the name of the driver to use for this volume.
func (*FlexVolumeSourceDie) FSType ¶
func (d *FlexVolumeSourceDie) FSType(v string) *FlexVolumeSourceDie
fsType is the filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
func (*FlexVolumeSourceDie) Options ¶
func (d *FlexVolumeSourceDie) Options(v map[string]string) *FlexVolumeSourceDie
options is Optional: this field holds extra command options if any.
func (*FlexVolumeSourceDie) ReadOnly ¶
func (d *FlexVolumeSourceDie) ReadOnly(v bool) *FlexVolumeSourceDie
readOnly is Optional: defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
func (*FlexVolumeSourceDie) SecretRef ¶
func (d *FlexVolumeSourceDie) SecretRef(v *corev1.LocalObjectReference) *FlexVolumeSourceDie
secretRef is Optional: secretRef is reference to the secret object containing
sensitive information to pass to the plugin scripts. This may be
empty if no secret object is specified. If the secret object
contains more than one secret, all secrets are passed to the plugin
scripts.
func (*FlexVolumeSourceDie) SecretRefDie ¶
func (d *FlexVolumeSourceDie) SecretRefDie(fn func(d *LocalObjectReferenceDie)) *FlexVolumeSourceDie
type FlockerVolumeSourceDie ¶
type FlockerVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*FlockerVolumeSourceDie) DatasetName ¶
func (d *FlockerVolumeSourceDie) DatasetName(v string) *FlockerVolumeSourceDie
datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker
should be considered as deprecated
func (*FlockerVolumeSourceDie) DatasetUUID ¶
func (d *FlockerVolumeSourceDie) DatasetUUID(v string) *FlockerVolumeSourceDie
datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset
func (*FlockerVolumeSourceDie) DeepCopy ¶
func (d *FlockerVolumeSourceDie) DeepCopy() *FlockerVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*FlockerVolumeSourceDie) DieFeed ¶
func (d *FlockerVolumeSourceDie) DieFeed(r corev1.FlockerVolumeSource) *FlockerVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*FlockerVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *FlockerVolumeSourceDie) DieFeedJSON(j []byte) *FlockerVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*FlockerVolumeSourceDie) DieFeedPtr ¶
func (d *FlockerVolumeSourceDie) DieFeedPtr(r *corev1.FlockerVolumeSource) *FlockerVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*FlockerVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *FlockerVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *FlockerVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FlockerVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *FlockerVolumeSourceDie) DieFeedYAML(y []byte) *FlockerVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*FlockerVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *FlockerVolumeSourceDie) DieFeedYAMLFile(name string) *FlockerVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*FlockerVolumeSourceDie) DieImmutable ¶
func (d *FlockerVolumeSourceDie) DieImmutable(immutable bool) *FlockerVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*FlockerVolumeSourceDie) DieRelease ¶
func (d *FlockerVolumeSourceDie) DieRelease() corev1.FlockerVolumeSource
DieRelease returns the resource managed by the die.
func (*FlockerVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *FlockerVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*FlockerVolumeSourceDie) DieReleasePtr ¶
func (d *FlockerVolumeSourceDie) DieReleasePtr() *corev1.FlockerVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*FlockerVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *FlockerVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FlockerVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *FlockerVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*FlockerVolumeSourceDie) DieStamp ¶
func (d *FlockerVolumeSourceDie) DieStamp(fn func(r *corev1.FlockerVolumeSource)) *FlockerVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*FlockerVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *FlockerVolumeSourceDie) DieStampAt(jp string, fn interface{}) *FlockerVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*FlockerVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *FlockerVolumeSourceDie) DieWith(fns ...func(d *FlockerVolumeSourceDie)) *FlockerVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
type GCEPersistentDiskVolumeSourceDie ¶
type GCEPersistentDiskVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*GCEPersistentDiskVolumeSourceDie) DeepCopy ¶
func (d *GCEPersistentDiskVolumeSourceDie) DeepCopy() *GCEPersistentDiskVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*GCEPersistentDiskVolumeSourceDie) DieFeed ¶
func (d *GCEPersistentDiskVolumeSourceDie) DieFeed(r corev1.GCEPersistentDiskVolumeSource) *GCEPersistentDiskVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*GCEPersistentDiskVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *GCEPersistentDiskVolumeSourceDie) DieFeedJSON(j []byte) *GCEPersistentDiskVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*GCEPersistentDiskVolumeSourceDie) DieFeedPtr ¶
func (d *GCEPersistentDiskVolumeSourceDie) DieFeedPtr(r *corev1.GCEPersistentDiskVolumeSource) *GCEPersistentDiskVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*GCEPersistentDiskVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *GCEPersistentDiskVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *GCEPersistentDiskVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GCEPersistentDiskVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *GCEPersistentDiskVolumeSourceDie) DieFeedYAML(y []byte) *GCEPersistentDiskVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*GCEPersistentDiskVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *GCEPersistentDiskVolumeSourceDie) DieFeedYAMLFile(name string) *GCEPersistentDiskVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*GCEPersistentDiskVolumeSourceDie) DieImmutable ¶
func (d *GCEPersistentDiskVolumeSourceDie) DieImmutable(immutable bool) *GCEPersistentDiskVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*GCEPersistentDiskVolumeSourceDie) DieRelease ¶
func (d *GCEPersistentDiskVolumeSourceDie) DieRelease() corev1.GCEPersistentDiskVolumeSource
DieRelease returns the resource managed by the die.
func (*GCEPersistentDiskVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *GCEPersistentDiskVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*GCEPersistentDiskVolumeSourceDie) DieReleasePtr ¶
func (d *GCEPersistentDiskVolumeSourceDie) DieReleasePtr() *corev1.GCEPersistentDiskVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*GCEPersistentDiskVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *GCEPersistentDiskVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GCEPersistentDiskVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *GCEPersistentDiskVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*GCEPersistentDiskVolumeSourceDie) DieStamp ¶
func (d *GCEPersistentDiskVolumeSourceDie) DieStamp(fn func(r *corev1.GCEPersistentDiskVolumeSource)) *GCEPersistentDiskVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*GCEPersistentDiskVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *GCEPersistentDiskVolumeSourceDie) DieStampAt(jp string, fn interface{}) *GCEPersistentDiskVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*GCEPersistentDiskVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *GCEPersistentDiskVolumeSourceDie) DieWith(fns ...func(d *GCEPersistentDiskVolumeSourceDie)) *GCEPersistentDiskVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*GCEPersistentDiskVolumeSourceDie) FSType ¶
func (d *GCEPersistentDiskVolumeSourceDie) FSType(v string) *GCEPersistentDiskVolumeSourceDie
fsType is filesystem type of the volume that you want to mount.
Tip: Ensure that the filesystem type is supported by the host operating system.
Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
TODO: how do we prevent errors in the filesystem from compromising the machine
func (*GCEPersistentDiskVolumeSourceDie) PDName ¶
func (d *GCEPersistentDiskVolumeSourceDie) PDName(v string) *GCEPersistentDiskVolumeSourceDie
pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE.
More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
func (*GCEPersistentDiskVolumeSourceDie) Partition ¶
func (d *GCEPersistentDiskVolumeSourceDie) Partition(v int32) *GCEPersistentDiskVolumeSourceDie
partition is the partition in the volume that you want to mount.
If omitted, the default is to mount by volume name.
Examples: For volume /dev/sda1, you specify the partition as "1".
Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
func (*GCEPersistentDiskVolumeSourceDie) ReadOnly ¶
func (d *GCEPersistentDiskVolumeSourceDie) ReadOnly(v bool) *GCEPersistentDiskVolumeSourceDie
readOnly here will force the ReadOnly setting in VolumeMounts.
Defaults to false.
More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
type GRPCActionDie ¶ added in v0.2.0
type GRPCActionDie struct {
// contains filtered or unexported fields
}
func (*GRPCActionDie) DeepCopy ¶ added in v0.2.0
func (d *GRPCActionDie) DeepCopy() *GRPCActionDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*GRPCActionDie) DieFeed ¶ added in v0.2.0
func (d *GRPCActionDie) DieFeed(r corev1.GRPCAction) *GRPCActionDie
DieFeed returns a new die with the provided resource.
func (*GRPCActionDie) DieFeedJSON ¶ added in v0.8.0
func (d *GRPCActionDie) DieFeedJSON(j []byte) *GRPCActionDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*GRPCActionDie) DieFeedPtr ¶ added in v0.2.0
func (d *GRPCActionDie) DieFeedPtr(r *corev1.GRPCAction) *GRPCActionDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*GRPCActionDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *GRPCActionDie) DieFeedRawExtension(raw runtime.RawExtension) *GRPCActionDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GRPCActionDie) DieFeedYAML ¶ added in v0.8.0
func (d *GRPCActionDie) DieFeedYAML(y []byte) *GRPCActionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*GRPCActionDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *GRPCActionDie) DieFeedYAMLFile(name string) *GRPCActionDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*GRPCActionDie) DieImmutable ¶ added in v0.2.0
func (d *GRPCActionDie) DieImmutable(immutable bool) *GRPCActionDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*GRPCActionDie) DieRelease ¶ added in v0.2.0
func (d *GRPCActionDie) DieRelease() corev1.GRPCAction
DieRelease returns the resource managed by the die.
func (*GRPCActionDie) DieReleaseJSON ¶ added in v0.8.0
func (d *GRPCActionDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*GRPCActionDie) DieReleasePtr ¶ added in v0.2.0
func (d *GRPCActionDie) DieReleasePtr() *corev1.GRPCAction
DieReleasePtr returns a pointer to the resource managed by the die.
func (*GRPCActionDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *GRPCActionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GRPCActionDie) DieReleaseYAML ¶ added in v0.8.0
func (d *GRPCActionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*GRPCActionDie) DieStamp ¶ added in v0.2.0
func (d *GRPCActionDie) DieStamp(fn func(r *corev1.GRPCAction)) *GRPCActionDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*GRPCActionDie) DieStampAt ¶ added in v0.8.0
func (d *GRPCActionDie) DieStampAt(jp string, fn interface{}) *GRPCActionDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*GRPCActionDie) DieWith ¶ added in v0.9.0
func (d *GRPCActionDie) DieWith(fns ...func(d *GRPCActionDie)) *GRPCActionDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*GRPCActionDie) Port ¶ added in v0.2.0
func (d *GRPCActionDie) Port(v int32) *GRPCActionDie
Port number of the gRPC service. Number must be in the range 1 to 65535.
func (*GRPCActionDie) Service ¶ added in v0.2.0
func (d *GRPCActionDie) Service(v *string) *GRPCActionDie
Service is the name of the service to place in the gRPC HealthCheckRequest
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
If this is not specified, the default behavior is defined by gRPC.
type GitRepoVolumeSourceDie ¶
type GitRepoVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*GitRepoVolumeSourceDie) DeepCopy ¶
func (d *GitRepoVolumeSourceDie) DeepCopy() *GitRepoVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*GitRepoVolumeSourceDie) DieFeed ¶
func (d *GitRepoVolumeSourceDie) DieFeed(r corev1.GitRepoVolumeSource) *GitRepoVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*GitRepoVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *GitRepoVolumeSourceDie) DieFeedJSON(j []byte) *GitRepoVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*GitRepoVolumeSourceDie) DieFeedPtr ¶
func (d *GitRepoVolumeSourceDie) DieFeedPtr(r *corev1.GitRepoVolumeSource) *GitRepoVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*GitRepoVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *GitRepoVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *GitRepoVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GitRepoVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *GitRepoVolumeSourceDie) DieFeedYAML(y []byte) *GitRepoVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*GitRepoVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *GitRepoVolumeSourceDie) DieFeedYAMLFile(name string) *GitRepoVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*GitRepoVolumeSourceDie) DieImmutable ¶
func (d *GitRepoVolumeSourceDie) DieImmutable(immutable bool) *GitRepoVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*GitRepoVolumeSourceDie) DieRelease ¶
func (d *GitRepoVolumeSourceDie) DieRelease() corev1.GitRepoVolumeSource
DieRelease returns the resource managed by the die.
func (*GitRepoVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *GitRepoVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*GitRepoVolumeSourceDie) DieReleasePtr ¶
func (d *GitRepoVolumeSourceDie) DieReleasePtr() *corev1.GitRepoVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*GitRepoVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *GitRepoVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GitRepoVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *GitRepoVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*GitRepoVolumeSourceDie) DieStamp ¶
func (d *GitRepoVolumeSourceDie) DieStamp(fn func(r *corev1.GitRepoVolumeSource)) *GitRepoVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*GitRepoVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *GitRepoVolumeSourceDie) DieStampAt(jp string, fn interface{}) *GitRepoVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*GitRepoVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *GitRepoVolumeSourceDie) DieWith(fns ...func(d *GitRepoVolumeSourceDie)) *GitRepoVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*GitRepoVolumeSourceDie) Directory ¶
func (d *GitRepoVolumeSourceDie) Directory(v string) *GitRepoVolumeSourceDie
directory is the target directory name.
Must not contain or start with '..'. If '.' is supplied, the volume directory will be the
git repository. Otherwise, if specified, the volume will contain the git repository in
the subdirectory with the given name.
func (*GitRepoVolumeSourceDie) Repository ¶
func (d *GitRepoVolumeSourceDie) Repository(v string) *GitRepoVolumeSourceDie
repository is the URL
func (*GitRepoVolumeSourceDie) Revision ¶
func (d *GitRepoVolumeSourceDie) Revision(v string) *GitRepoVolumeSourceDie
revision is the commit hash for the specified revision.
type GlusterfsPersistentVolumeSourceDie ¶
type GlusterfsPersistentVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*GlusterfsPersistentVolumeSourceDie) DeepCopy ¶
func (d *GlusterfsPersistentVolumeSourceDie) DeepCopy() *GlusterfsPersistentVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*GlusterfsPersistentVolumeSourceDie) DieFeed ¶
func (d *GlusterfsPersistentVolumeSourceDie) DieFeed(r corev1.GlusterfsPersistentVolumeSource) *GlusterfsPersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*GlusterfsPersistentVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *GlusterfsPersistentVolumeSourceDie) DieFeedJSON(j []byte) *GlusterfsPersistentVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*GlusterfsPersistentVolumeSourceDie) DieFeedPtr ¶
func (d *GlusterfsPersistentVolumeSourceDie) DieFeedPtr(r *corev1.GlusterfsPersistentVolumeSource) *GlusterfsPersistentVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*GlusterfsPersistentVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *GlusterfsPersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *GlusterfsPersistentVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GlusterfsPersistentVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *GlusterfsPersistentVolumeSourceDie) DieFeedYAML(y []byte) *GlusterfsPersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*GlusterfsPersistentVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *GlusterfsPersistentVolumeSourceDie) DieFeedYAMLFile(name string) *GlusterfsPersistentVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*GlusterfsPersistentVolumeSourceDie) DieImmutable ¶
func (d *GlusterfsPersistentVolumeSourceDie) DieImmutable(immutable bool) *GlusterfsPersistentVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*GlusterfsPersistentVolumeSourceDie) DieRelease ¶
func (d *GlusterfsPersistentVolumeSourceDie) DieRelease() corev1.GlusterfsPersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*GlusterfsPersistentVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *GlusterfsPersistentVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*GlusterfsPersistentVolumeSourceDie) DieReleasePtr ¶
func (d *GlusterfsPersistentVolumeSourceDie) DieReleasePtr() *corev1.GlusterfsPersistentVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*GlusterfsPersistentVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *GlusterfsPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GlusterfsPersistentVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *GlusterfsPersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*GlusterfsPersistentVolumeSourceDie) DieStamp ¶
func (d *GlusterfsPersistentVolumeSourceDie) DieStamp(fn func(r *corev1.GlusterfsPersistentVolumeSource)) *GlusterfsPersistentVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*GlusterfsPersistentVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *GlusterfsPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *GlusterfsPersistentVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*GlusterfsPersistentVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *GlusterfsPersistentVolumeSourceDie) DieWith(fns ...func(d *GlusterfsPersistentVolumeSourceDie)) *GlusterfsPersistentVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*GlusterfsPersistentVolumeSourceDie) EndpointsName ¶
func (d *GlusterfsPersistentVolumeSourceDie) EndpointsName(v string) *GlusterfsPersistentVolumeSourceDie
endpoints is the endpoint name that details Glusterfs topology.
More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
func (*GlusterfsPersistentVolumeSourceDie) EndpointsNamespace ¶
func (d *GlusterfsPersistentVolumeSourceDie) EndpointsNamespace(v *string) *GlusterfsPersistentVolumeSourceDie
endpointsNamespace is the namespace that contains Glusterfs endpoint.
If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC.
More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
func (*GlusterfsPersistentVolumeSourceDie) Path ¶
func (d *GlusterfsPersistentVolumeSourceDie) Path(v string) *GlusterfsPersistentVolumeSourceDie
path is the Glusterfs volume path.
More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
func (*GlusterfsPersistentVolumeSourceDie) ReadOnly ¶
func (d *GlusterfsPersistentVolumeSourceDie) ReadOnly(v bool) *GlusterfsPersistentVolumeSourceDie
readOnly here will force the Glusterfs volume to be mounted with read-only permissions.
Defaults to false.
More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
type GlusterfsVolumeSourceDie ¶
type GlusterfsVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*GlusterfsVolumeSourceDie) DeepCopy ¶
func (d *GlusterfsVolumeSourceDie) DeepCopy() *GlusterfsVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*GlusterfsVolumeSourceDie) DieFeed ¶
func (d *GlusterfsVolumeSourceDie) DieFeed(r corev1.GlusterfsVolumeSource) *GlusterfsVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*GlusterfsVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *GlusterfsVolumeSourceDie) DieFeedJSON(j []byte) *GlusterfsVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*GlusterfsVolumeSourceDie) DieFeedPtr ¶
func (d *GlusterfsVolumeSourceDie) DieFeedPtr(r *corev1.GlusterfsVolumeSource) *GlusterfsVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*GlusterfsVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *GlusterfsVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *GlusterfsVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GlusterfsVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *GlusterfsVolumeSourceDie) DieFeedYAML(y []byte) *GlusterfsVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*GlusterfsVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *GlusterfsVolumeSourceDie) DieFeedYAMLFile(name string) *GlusterfsVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*GlusterfsVolumeSourceDie) DieImmutable ¶
func (d *GlusterfsVolumeSourceDie) DieImmutable(immutable bool) *GlusterfsVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*GlusterfsVolumeSourceDie) DieRelease ¶
func (d *GlusterfsVolumeSourceDie) DieRelease() corev1.GlusterfsVolumeSource
DieRelease returns the resource managed by the die.
func (*GlusterfsVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *GlusterfsVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*GlusterfsVolumeSourceDie) DieReleasePtr ¶
func (d *GlusterfsVolumeSourceDie) DieReleasePtr() *corev1.GlusterfsVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*GlusterfsVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *GlusterfsVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GlusterfsVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *GlusterfsVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*GlusterfsVolumeSourceDie) DieStamp ¶
func (d *GlusterfsVolumeSourceDie) DieStamp(fn func(r *corev1.GlusterfsVolumeSource)) *GlusterfsVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*GlusterfsVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *GlusterfsVolumeSourceDie) DieStampAt(jp string, fn interface{}) *GlusterfsVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*GlusterfsVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *GlusterfsVolumeSourceDie) DieWith(fns ...func(d *GlusterfsVolumeSourceDie)) *GlusterfsVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*GlusterfsVolumeSourceDie) EndpointsName ¶
func (d *GlusterfsVolumeSourceDie) EndpointsName(v string) *GlusterfsVolumeSourceDie
endpoints is the endpoint name that details Glusterfs topology.
More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
func (*GlusterfsVolumeSourceDie) Path ¶
func (d *GlusterfsVolumeSourceDie) Path(v string) *GlusterfsVolumeSourceDie
path is the Glusterfs volume path.
More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
func (*GlusterfsVolumeSourceDie) ReadOnly ¶
func (d *GlusterfsVolumeSourceDie) ReadOnly(v bool) *GlusterfsVolumeSourceDie
readOnly here will force the Glusterfs volume to be mounted with read-only permissions.
Defaults to false.
More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
type HTTPGetActionDie ¶
type HTTPGetActionDie struct {
// contains filtered or unexported fields
}
func (*HTTPGetActionDie) DeepCopy ¶
func (d *HTTPGetActionDie) DeepCopy() *HTTPGetActionDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*HTTPGetActionDie) DieFeed ¶
func (d *HTTPGetActionDie) DieFeed(r corev1.HTTPGetAction) *HTTPGetActionDie
DieFeed returns a new die with the provided resource.
func (*HTTPGetActionDie) DieFeedJSON ¶ added in v0.8.0
func (d *HTTPGetActionDie) DieFeedJSON(j []byte) *HTTPGetActionDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*HTTPGetActionDie) DieFeedPtr ¶
func (d *HTTPGetActionDie) DieFeedPtr(r *corev1.HTTPGetAction) *HTTPGetActionDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*HTTPGetActionDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *HTTPGetActionDie) DieFeedRawExtension(raw runtime.RawExtension) *HTTPGetActionDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*HTTPGetActionDie) DieFeedYAML ¶ added in v0.8.0
func (d *HTTPGetActionDie) DieFeedYAML(y []byte) *HTTPGetActionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*HTTPGetActionDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *HTTPGetActionDie) DieFeedYAMLFile(name string) *HTTPGetActionDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*HTTPGetActionDie) DieImmutable ¶
func (d *HTTPGetActionDie) DieImmutable(immutable bool) *HTTPGetActionDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*HTTPGetActionDie) DieRelease ¶
func (d *HTTPGetActionDie) DieRelease() corev1.HTTPGetAction
DieRelease returns the resource managed by the die.
func (*HTTPGetActionDie) DieReleaseJSON ¶ added in v0.8.0
func (d *HTTPGetActionDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*HTTPGetActionDie) DieReleasePtr ¶
func (d *HTTPGetActionDie) DieReleasePtr() *corev1.HTTPGetAction
DieReleasePtr returns a pointer to the resource managed by the die.
func (*HTTPGetActionDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *HTTPGetActionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*HTTPGetActionDie) DieReleaseYAML ¶ added in v0.8.0
func (d *HTTPGetActionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*HTTPGetActionDie) DieStamp ¶
func (d *HTTPGetActionDie) DieStamp(fn func(r *corev1.HTTPGetAction)) *HTTPGetActionDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*HTTPGetActionDie) DieStampAt ¶ added in v0.8.0
func (d *HTTPGetActionDie) DieStampAt(jp string, fn interface{}) *HTTPGetActionDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*HTTPGetActionDie) DieWith ¶ added in v0.9.0
func (d *HTTPGetActionDie) DieWith(fns ...func(d *HTTPGetActionDie)) *HTTPGetActionDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*HTTPGetActionDie) HTTPHeaders ¶
func (d *HTTPGetActionDie) HTTPHeaders(v ...corev1.HTTPHeader) *HTTPGetActionDie
Custom headers to set in the request. HTTP allows repeated headers.
func (*HTTPGetActionDie) HTTPHeadersDie ¶
func (d *HTTPGetActionDie) HTTPHeadersDie(headers ...*HTTPHeaderDie) *HTTPGetActionDie
func (*HTTPGetActionDie) Host ¶
func (d *HTTPGetActionDie) Host(v string) *HTTPGetActionDie
Host name to connect to, defaults to the pod IP. You probably want to set
"Host" in httpHeaders instead.
func (*HTTPGetActionDie) Path ¶
func (d *HTTPGetActionDie) Path(v string) *HTTPGetActionDie
Path to access on the HTTP server.
func (*HTTPGetActionDie) Port ¶
func (d *HTTPGetActionDie) Port(v intstr.IntOrString) *HTTPGetActionDie
Name or number of the port to access on the container.
Number must be in the range 1 to 65535.
Name must be an IANA_SVC_NAME.
func (*HTTPGetActionDie) PortInt ¶
func (d *HTTPGetActionDie) PortInt(i int) *HTTPGetActionDie
func (*HTTPGetActionDie) PortString ¶
func (d *HTTPGetActionDie) PortString(s string) *HTTPGetActionDie
func (*HTTPGetActionDie) Scheme ¶
func (d *HTTPGetActionDie) Scheme(v corev1.URIScheme) *HTTPGetActionDie
Scheme to use for connecting to the host.
Defaults to HTTP.
type HTTPHeaderDie ¶
type HTTPHeaderDie struct {
// contains filtered or unexported fields
}
func (*HTTPHeaderDie) DeepCopy ¶
func (d *HTTPHeaderDie) DeepCopy() *HTTPHeaderDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*HTTPHeaderDie) DieFeed ¶
func (d *HTTPHeaderDie) DieFeed(r corev1.HTTPHeader) *HTTPHeaderDie
DieFeed returns a new die with the provided resource.
func (*HTTPHeaderDie) DieFeedJSON ¶ added in v0.8.0
func (d *HTTPHeaderDie) DieFeedJSON(j []byte) *HTTPHeaderDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*HTTPHeaderDie) DieFeedPtr ¶
func (d *HTTPHeaderDie) DieFeedPtr(r *corev1.HTTPHeader) *HTTPHeaderDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*HTTPHeaderDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *HTTPHeaderDie) DieFeedRawExtension(raw runtime.RawExtension) *HTTPHeaderDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*HTTPHeaderDie) DieFeedYAML ¶ added in v0.8.0
func (d *HTTPHeaderDie) DieFeedYAML(y []byte) *HTTPHeaderDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*HTTPHeaderDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *HTTPHeaderDie) DieFeedYAMLFile(name string) *HTTPHeaderDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*HTTPHeaderDie) DieImmutable ¶
func (d *HTTPHeaderDie) DieImmutable(immutable bool) *HTTPHeaderDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*HTTPHeaderDie) DieRelease ¶
func (d *HTTPHeaderDie) DieRelease() corev1.HTTPHeader
DieRelease returns the resource managed by the die.
func (*HTTPHeaderDie) DieReleaseJSON ¶ added in v0.8.0
func (d *HTTPHeaderDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*HTTPHeaderDie) DieReleasePtr ¶
func (d *HTTPHeaderDie) DieReleasePtr() *corev1.HTTPHeader
DieReleasePtr returns a pointer to the resource managed by the die.
func (*HTTPHeaderDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *HTTPHeaderDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*HTTPHeaderDie) DieReleaseYAML ¶ added in v0.8.0
func (d *HTTPHeaderDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*HTTPHeaderDie) DieStamp ¶
func (d *HTTPHeaderDie) DieStamp(fn func(r *corev1.HTTPHeader)) *HTTPHeaderDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*HTTPHeaderDie) DieStampAt ¶ added in v0.8.0
func (d *HTTPHeaderDie) DieStampAt(jp string, fn interface{}) *HTTPHeaderDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*HTTPHeaderDie) DieWith ¶ added in v0.9.0
func (d *HTTPHeaderDie) DieWith(fns ...func(d *HTTPHeaderDie)) *HTTPHeaderDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*HTTPHeaderDie) Name ¶
func (d *HTTPHeaderDie) Name(v string) *HTTPHeaderDie
The header field name.
This will be canonicalized upon output, so case-variant names will be understood as the same header.
func (*HTTPHeaderDie) Value ¶
func (d *HTTPHeaderDie) Value(v string) *HTTPHeaderDie
The header field value
type HostAliasDie ¶
type HostAliasDie struct {
// contains filtered or unexported fields
}
func (*HostAliasDie) DeepCopy ¶
func (d *HostAliasDie) DeepCopy() *HostAliasDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*HostAliasDie) DieFeed ¶
func (d *HostAliasDie) DieFeed(r corev1.HostAlias) *HostAliasDie
DieFeed returns a new die with the provided resource.
func (*HostAliasDie) DieFeedJSON ¶ added in v0.8.0
func (d *HostAliasDie) DieFeedJSON(j []byte) *HostAliasDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*HostAliasDie) DieFeedPtr ¶
func (d *HostAliasDie) DieFeedPtr(r *corev1.HostAlias) *HostAliasDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*HostAliasDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *HostAliasDie) DieFeedRawExtension(raw runtime.RawExtension) *HostAliasDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*HostAliasDie) DieFeedYAML ¶ added in v0.8.0
func (d *HostAliasDie) DieFeedYAML(y []byte) *HostAliasDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*HostAliasDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *HostAliasDie) DieFeedYAMLFile(name string) *HostAliasDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*HostAliasDie) DieImmutable ¶
func (d *HostAliasDie) DieImmutable(immutable bool) *HostAliasDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*HostAliasDie) DieRelease ¶
func (d *HostAliasDie) DieRelease() corev1.HostAlias
DieRelease returns the resource managed by the die.
func (*HostAliasDie) DieReleaseJSON ¶ added in v0.8.0
func (d *HostAliasDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*HostAliasDie) DieReleasePtr ¶
func (d *HostAliasDie) DieReleasePtr() *corev1.HostAlias
DieReleasePtr returns a pointer to the resource managed by the die.
func (*HostAliasDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *HostAliasDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*HostAliasDie) DieReleaseYAML ¶ added in v0.8.0
func (d *HostAliasDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*HostAliasDie) DieStamp ¶
func (d *HostAliasDie) DieStamp(fn func(r *corev1.HostAlias)) *HostAliasDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*HostAliasDie) DieStampAt ¶ added in v0.8.0
func (d *HostAliasDie) DieStampAt(jp string, fn interface{}) *HostAliasDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*HostAliasDie) DieWith ¶ added in v0.9.0
func (d *HostAliasDie) DieWith(fns ...func(d *HostAliasDie)) *HostAliasDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*HostAliasDie) Hostnames ¶
func (d *HostAliasDie) Hostnames(v ...string) *HostAliasDie
Hostnames for the above IP address.
func (*HostAliasDie) IP ¶
func (d *HostAliasDie) IP(v string) *HostAliasDie
IP address of the host file entry.
type HostPathVolumeSourceDie ¶
type HostPathVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*HostPathVolumeSourceDie) DeepCopy ¶
func (d *HostPathVolumeSourceDie) DeepCopy() *HostPathVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*HostPathVolumeSourceDie) DieFeed ¶
func (d *HostPathVolumeSourceDie) DieFeed(r corev1.HostPathVolumeSource) *HostPathVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*HostPathVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *HostPathVolumeSourceDie) DieFeedJSON(j []byte) *HostPathVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*HostPathVolumeSourceDie) DieFeedPtr ¶
func (d *HostPathVolumeSourceDie) DieFeedPtr(r *corev1.HostPathVolumeSource) *HostPathVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*HostPathVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *HostPathVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *HostPathVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*HostPathVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *HostPathVolumeSourceDie) DieFeedYAML(y []byte) *HostPathVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*HostPathVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *HostPathVolumeSourceDie) DieFeedYAMLFile(name string) *HostPathVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*HostPathVolumeSourceDie) DieImmutable ¶
func (d *HostPathVolumeSourceDie) DieImmutable(immutable bool) *HostPathVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*HostPathVolumeSourceDie) DieRelease ¶
func (d *HostPathVolumeSourceDie) DieRelease() corev1.HostPathVolumeSource
DieRelease returns the resource managed by the die.
func (*HostPathVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *HostPathVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*HostPathVolumeSourceDie) DieReleasePtr ¶
func (d *HostPathVolumeSourceDie) DieReleasePtr() *corev1.HostPathVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*HostPathVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *HostPathVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*HostPathVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *HostPathVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*HostPathVolumeSourceDie) DieStamp ¶
func (d *HostPathVolumeSourceDie) DieStamp(fn func(r *corev1.HostPathVolumeSource)) *HostPathVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*HostPathVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *HostPathVolumeSourceDie) DieStampAt(jp string, fn interface{}) *HostPathVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*HostPathVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *HostPathVolumeSourceDie) DieWith(fns ...func(d *HostPathVolumeSourceDie)) *HostPathVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*HostPathVolumeSourceDie) Path ¶
func (d *HostPathVolumeSourceDie) Path(v string) *HostPathVolumeSourceDie
path of the directory on the host.
If the path is a symlink, it will follow the link to the real path.
More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
func (*HostPathVolumeSourceDie) Type ¶
func (d *HostPathVolumeSourceDie) Type(v *corev1.HostPathType) *HostPathVolumeSourceDie
type for HostPath Volume
Defaults to ""
More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
type ISCSIPersistentVolumeSourceDie ¶
type ISCSIPersistentVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*ISCSIPersistentVolumeSourceDie) DeepCopy ¶
func (d *ISCSIPersistentVolumeSourceDie) DeepCopy() *ISCSIPersistentVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ISCSIPersistentVolumeSourceDie) DieFeed ¶
func (d *ISCSIPersistentVolumeSourceDie) DieFeed(r corev1.ISCSIPersistentVolumeSource) *ISCSIPersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*ISCSIPersistentVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *ISCSIPersistentVolumeSourceDie) DieFeedJSON(j []byte) *ISCSIPersistentVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ISCSIPersistentVolumeSourceDie) DieFeedPtr ¶
func (d *ISCSIPersistentVolumeSourceDie) DieFeedPtr(r *corev1.ISCSIPersistentVolumeSource) *ISCSIPersistentVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ISCSIPersistentVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ISCSIPersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ISCSIPersistentVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ISCSIPersistentVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *ISCSIPersistentVolumeSourceDie) DieFeedYAML(y []byte) *ISCSIPersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ISCSIPersistentVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ISCSIPersistentVolumeSourceDie) DieFeedYAMLFile(name string) *ISCSIPersistentVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ISCSIPersistentVolumeSourceDie) DieImmutable ¶
func (d *ISCSIPersistentVolumeSourceDie) DieImmutable(immutable bool) *ISCSIPersistentVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ISCSIPersistentVolumeSourceDie) DieRelease ¶
func (d *ISCSIPersistentVolumeSourceDie) DieRelease() corev1.ISCSIPersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*ISCSIPersistentVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ISCSIPersistentVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ISCSIPersistentVolumeSourceDie) DieReleasePtr ¶
func (d *ISCSIPersistentVolumeSourceDie) DieReleasePtr() *corev1.ISCSIPersistentVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ISCSIPersistentVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ISCSIPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ISCSIPersistentVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ISCSIPersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ISCSIPersistentVolumeSourceDie) DieStamp ¶
func (d *ISCSIPersistentVolumeSourceDie) DieStamp(fn func(r *corev1.ISCSIPersistentVolumeSource)) *ISCSIPersistentVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ISCSIPersistentVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *ISCSIPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *ISCSIPersistentVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ISCSIPersistentVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *ISCSIPersistentVolumeSourceDie) DieWith(fns ...func(d *ISCSIPersistentVolumeSourceDie)) *ISCSIPersistentVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ISCSIPersistentVolumeSourceDie) DiscoveryCHAPAuth ¶
func (d *ISCSIPersistentVolumeSourceDie) DiscoveryCHAPAuth(v bool) *ISCSIPersistentVolumeSourceDie
chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
func (*ISCSIPersistentVolumeSourceDie) FSType ¶
func (d *ISCSIPersistentVolumeSourceDie) FSType(v string) *ISCSIPersistentVolumeSourceDie
fsType is the filesystem type of the volume that you want to mount.
Tip: Ensure that the filesystem type is supported by the host operating system.
Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
TODO: how do we prevent errors in the filesystem from compromising the machine
func (*ISCSIPersistentVolumeSourceDie) IQN ¶
func (d *ISCSIPersistentVolumeSourceDie) IQN(v string) *ISCSIPersistentVolumeSourceDie
iqn is Target iSCSI Qualified Name.
func (*ISCSIPersistentVolumeSourceDie) ISCSIInterface ¶
func (d *ISCSIPersistentVolumeSourceDie) ISCSIInterface(v string) *ISCSIPersistentVolumeSourceDie
iscsiInterface is the interface Name that uses an iSCSI transport.
Defaults to 'default' (tcp).
func (*ISCSIPersistentVolumeSourceDie) InitiatorName ¶
func (d *ISCSIPersistentVolumeSourceDie) InitiatorName(v *string) *ISCSIPersistentVolumeSourceDie
initiatorName is the custom iSCSI Initiator Name.
If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface ¶
<target portal>:<volume name> will be created for the connection.
func (*ISCSIPersistentVolumeSourceDie) Lun ¶
func (d *ISCSIPersistentVolumeSourceDie) Lun(v int32) *ISCSIPersistentVolumeSourceDie
lun is iSCSI Target Lun number.
func (*ISCSIPersistentVolumeSourceDie) Portals ¶
func (d *ISCSIPersistentVolumeSourceDie) Portals(v ...string) *ISCSIPersistentVolumeSourceDie
portals is the iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port
is other than default (typically TCP ports 860 and 3260).
func (*ISCSIPersistentVolumeSourceDie) ReadOnly ¶
func (d *ISCSIPersistentVolumeSourceDie) ReadOnly(v bool) *ISCSIPersistentVolumeSourceDie
readOnly here will force the ReadOnly setting in VolumeMounts.
Defaults to false.
func (*ISCSIPersistentVolumeSourceDie) SecretRef ¶
func (d *ISCSIPersistentVolumeSourceDie) SecretRef(v *corev1.SecretReference) *ISCSIPersistentVolumeSourceDie
secretRef is the CHAP Secret for iSCSI target and initiator authentication
func (*ISCSIPersistentVolumeSourceDie) SecretRefDie ¶
func (d *ISCSIPersistentVolumeSourceDie) SecretRefDie(fn func(d *SecretReferenceDie)) *ISCSIPersistentVolumeSourceDie
func (*ISCSIPersistentVolumeSourceDie) SessionCHAPAuth ¶
func (d *ISCSIPersistentVolumeSourceDie) SessionCHAPAuth(v bool) *ISCSIPersistentVolumeSourceDie
chapAuthSession defines whether support iSCSI Session CHAP authentication
func (*ISCSIPersistentVolumeSourceDie) TargetPortal ¶
func (d *ISCSIPersistentVolumeSourceDie) TargetPortal(v string) *ISCSIPersistentVolumeSourceDie
targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port
is other than default (typically TCP ports 860 and 3260).
type ISCSIVolumeSourceDie ¶
type ISCSIVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*ISCSIVolumeSourceDie) DeepCopy ¶
func (d *ISCSIVolumeSourceDie) DeepCopy() *ISCSIVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ISCSIVolumeSourceDie) DieFeed ¶
func (d *ISCSIVolumeSourceDie) DieFeed(r corev1.ISCSIVolumeSource) *ISCSIVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*ISCSIVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *ISCSIVolumeSourceDie) DieFeedJSON(j []byte) *ISCSIVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ISCSIVolumeSourceDie) DieFeedPtr ¶
func (d *ISCSIVolumeSourceDie) DieFeedPtr(r *corev1.ISCSIVolumeSource) *ISCSIVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ISCSIVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ISCSIVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ISCSIVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ISCSIVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *ISCSIVolumeSourceDie) DieFeedYAML(y []byte) *ISCSIVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ISCSIVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ISCSIVolumeSourceDie) DieFeedYAMLFile(name string) *ISCSIVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ISCSIVolumeSourceDie) DieImmutable ¶
func (d *ISCSIVolumeSourceDie) DieImmutable(immutable bool) *ISCSIVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ISCSIVolumeSourceDie) DieRelease ¶
func (d *ISCSIVolumeSourceDie) DieRelease() corev1.ISCSIVolumeSource
DieRelease returns the resource managed by the die.
func (*ISCSIVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ISCSIVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ISCSIVolumeSourceDie) DieReleasePtr ¶
func (d *ISCSIVolumeSourceDie) DieReleasePtr() *corev1.ISCSIVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ISCSIVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ISCSIVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ISCSIVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ISCSIVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ISCSIVolumeSourceDie) DieStamp ¶
func (d *ISCSIVolumeSourceDie) DieStamp(fn func(r *corev1.ISCSIVolumeSource)) *ISCSIVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ISCSIVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *ISCSIVolumeSourceDie) DieStampAt(jp string, fn interface{}) *ISCSIVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ISCSIVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *ISCSIVolumeSourceDie) DieWith(fns ...func(d *ISCSIVolumeSourceDie)) *ISCSIVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ISCSIVolumeSourceDie) DiscoveryCHAPAuth ¶
func (d *ISCSIVolumeSourceDie) DiscoveryCHAPAuth(v bool) *ISCSIVolumeSourceDie
chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
func (*ISCSIVolumeSourceDie) FSType ¶
func (d *ISCSIVolumeSourceDie) FSType(v string) *ISCSIVolumeSourceDie
fsType is the filesystem type of the volume that you want to mount.
Tip: Ensure that the filesystem type is supported by the host operating system.
Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
TODO: how do we prevent errors in the filesystem from compromising the machine
func (*ISCSIVolumeSourceDie) IQN ¶
func (d *ISCSIVolumeSourceDie) IQN(v string) *ISCSIVolumeSourceDie
iqn is the target iSCSI Qualified Name.
func (*ISCSIVolumeSourceDie) ISCSIInterface ¶
func (d *ISCSIVolumeSourceDie) ISCSIInterface(v string) *ISCSIVolumeSourceDie
iscsiInterface is the interface Name that uses an iSCSI transport.
Defaults to 'default' (tcp).
func (*ISCSIVolumeSourceDie) InitiatorName ¶
func (d *ISCSIVolumeSourceDie) InitiatorName(v *string) *ISCSIVolumeSourceDie
initiatorName is the custom iSCSI Initiator Name.
If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface ¶
<target portal>:<volume name> will be created for the connection.
func (*ISCSIVolumeSourceDie) Lun ¶
func (d *ISCSIVolumeSourceDie) Lun(v int32) *ISCSIVolumeSourceDie
lun represents iSCSI Target Lun number.
func (*ISCSIVolumeSourceDie) Portals ¶
func (d *ISCSIVolumeSourceDie) Portals(v ...string) *ISCSIVolumeSourceDie
portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port
is other than default (typically TCP ports 860 and 3260).
func (*ISCSIVolumeSourceDie) ReadOnly ¶
func (d *ISCSIVolumeSourceDie) ReadOnly(v bool) *ISCSIVolumeSourceDie
readOnly here will force the ReadOnly setting in VolumeMounts.
Defaults to false.
func (*ISCSIVolumeSourceDie) SecretRef ¶
func (d *ISCSIVolumeSourceDie) SecretRef(v *corev1.LocalObjectReference) *ISCSIVolumeSourceDie
secretRef is the CHAP Secret for iSCSI target and initiator authentication
func (*ISCSIVolumeSourceDie) SecretRefDie ¶
func (d *ISCSIVolumeSourceDie) SecretRefDie(fn func(d *LocalObjectReferenceDie)) *ISCSIVolumeSourceDie
func (*ISCSIVolumeSourceDie) SessionCHAPAuth ¶
func (d *ISCSIVolumeSourceDie) SessionCHAPAuth(v bool) *ISCSIVolumeSourceDie
chapAuthSession defines whether support iSCSI Session CHAP authentication
func (*ISCSIVolumeSourceDie) TargetPortal ¶
func (d *ISCSIVolumeSourceDie) TargetPortal(v string) *ISCSIVolumeSourceDie
targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port
is other than default (typically TCP ports 860 and 3260).
type KeyToPathDie ¶
type KeyToPathDie struct {
// contains filtered or unexported fields
}
func (*KeyToPathDie) DeepCopy ¶
func (d *KeyToPathDie) DeepCopy() *KeyToPathDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*KeyToPathDie) DieFeed ¶
func (d *KeyToPathDie) DieFeed(r corev1.KeyToPath) *KeyToPathDie
DieFeed returns a new die with the provided resource.
func (*KeyToPathDie) DieFeedJSON ¶ added in v0.8.0
func (d *KeyToPathDie) DieFeedJSON(j []byte) *KeyToPathDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*KeyToPathDie) DieFeedPtr ¶
func (d *KeyToPathDie) DieFeedPtr(r *corev1.KeyToPath) *KeyToPathDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*KeyToPathDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *KeyToPathDie) DieFeedRawExtension(raw runtime.RawExtension) *KeyToPathDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*KeyToPathDie) DieFeedYAML ¶ added in v0.8.0
func (d *KeyToPathDie) DieFeedYAML(y []byte) *KeyToPathDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*KeyToPathDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *KeyToPathDie) DieFeedYAMLFile(name string) *KeyToPathDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*KeyToPathDie) DieImmutable ¶
func (d *KeyToPathDie) DieImmutable(immutable bool) *KeyToPathDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*KeyToPathDie) DieRelease ¶
func (d *KeyToPathDie) DieRelease() corev1.KeyToPath
DieRelease returns the resource managed by the die.
func (*KeyToPathDie) DieReleaseJSON ¶ added in v0.8.0
func (d *KeyToPathDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*KeyToPathDie) DieReleasePtr ¶
func (d *KeyToPathDie) DieReleasePtr() *corev1.KeyToPath
DieReleasePtr returns a pointer to the resource managed by the die.
func (*KeyToPathDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *KeyToPathDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*KeyToPathDie) DieReleaseYAML ¶ added in v0.8.0
func (d *KeyToPathDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*KeyToPathDie) DieStamp ¶
func (d *KeyToPathDie) DieStamp(fn func(r *corev1.KeyToPath)) *KeyToPathDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*KeyToPathDie) DieStampAt ¶ added in v0.8.0
func (d *KeyToPathDie) DieStampAt(jp string, fn interface{}) *KeyToPathDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*KeyToPathDie) DieWith ¶ added in v0.9.0
func (d *KeyToPathDie) DieWith(fns ...func(d *KeyToPathDie)) *KeyToPathDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*KeyToPathDie) Key ¶
func (d *KeyToPathDie) Key(v string) *KeyToPathDie
key is the key to project.
func (*KeyToPathDie) Mode ¶
func (d *KeyToPathDie) Mode(v *int32) *KeyToPathDie
mode is Optional: mode bits used to set permissions on this file.
Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
If not specified, the volume defaultMode will be used.
This might be in conflict with other options that affect the file ¶
mode, like fsGroup, and the result can be other mode bits set.
func (*KeyToPathDie) Path ¶
func (d *KeyToPathDie) Path(v string) *KeyToPathDie
path is the relative path of the file to map the key to.
May not be an absolute path.
May not contain the path element '..'.
May not start with the string '..'.
type LifecycleDie ¶
type LifecycleDie struct {
// contains filtered or unexported fields
}
func (*LifecycleDie) DeepCopy ¶
func (d *LifecycleDie) DeepCopy() *LifecycleDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*LifecycleDie) DieFeed ¶
func (d *LifecycleDie) DieFeed(r corev1.Lifecycle) *LifecycleDie
DieFeed returns a new die with the provided resource.
func (*LifecycleDie) DieFeedJSON ¶ added in v0.8.0
func (d *LifecycleDie) DieFeedJSON(j []byte) *LifecycleDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*LifecycleDie) DieFeedPtr ¶
func (d *LifecycleDie) DieFeedPtr(r *corev1.Lifecycle) *LifecycleDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*LifecycleDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *LifecycleDie) DieFeedRawExtension(raw runtime.RawExtension) *LifecycleDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LifecycleDie) DieFeedYAML ¶ added in v0.8.0
func (d *LifecycleDie) DieFeedYAML(y []byte) *LifecycleDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LifecycleDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *LifecycleDie) DieFeedYAMLFile(name string) *LifecycleDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*LifecycleDie) DieImmutable ¶
func (d *LifecycleDie) DieImmutable(immutable bool) *LifecycleDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*LifecycleDie) DieRelease ¶
func (d *LifecycleDie) DieRelease() corev1.Lifecycle
DieRelease returns the resource managed by the die.
func (*LifecycleDie) DieReleaseJSON ¶ added in v0.8.0
func (d *LifecycleDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*LifecycleDie) DieReleasePtr ¶
func (d *LifecycleDie) DieReleasePtr() *corev1.Lifecycle
DieReleasePtr returns a pointer to the resource managed by the die.
func (*LifecycleDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *LifecycleDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LifecycleDie) DieReleaseYAML ¶ added in v0.8.0
func (d *LifecycleDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LifecycleDie) DieStamp ¶
func (d *LifecycleDie) DieStamp(fn func(r *corev1.Lifecycle)) *LifecycleDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*LifecycleDie) DieStampAt ¶ added in v0.8.0
func (d *LifecycleDie) DieStampAt(jp string, fn interface{}) *LifecycleDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*LifecycleDie) DieWith ¶ added in v0.9.0
func (d *LifecycleDie) DieWith(fns ...func(d *LifecycleDie)) *LifecycleDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*LifecycleDie) PostStart ¶
func (d *LifecycleDie) PostStart(v *corev1.LifecycleHandler) *LifecycleDie
PostStart is called immediately after a container is created. If the handler fails,
the container is terminated and restarted according to its restart policy.
Other management of the container blocks until the hook completes.
More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
func (*LifecycleDie) PostStartDie ¶
func (d *LifecycleDie) PostStartDie(fn func(d *LifecycleHandlerDie)) *LifecycleDie
func (*LifecycleDie) PreStop ¶
func (d *LifecycleDie) PreStop(v *corev1.LifecycleHandler) *LifecycleDie
PreStop is called immediately before a container is terminated due to an
API request or management event such as liveness/startup probe failure,
preemption, resource contention, etc. The handler is not called if the
container crashes or exits. The Pod's termination grace period countdown begins before the
PreStop hook is executed. Regardless of the outcome of the handler, the
container will eventually terminate within the Pod's termination grace
period (unless delayed by finalizers). Other management of the container blocks until the hook completes
or until the termination grace period is reached.
More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
func (*LifecycleDie) PreStopDie ¶
func (d *LifecycleDie) PreStopDie(fn func(d *LifecycleHandlerDie)) *LifecycleDie
type LifecycleHandlerDie ¶ added in v0.2.0
type LifecycleHandlerDie struct {
// contains filtered or unexported fields
}
func (*LifecycleHandlerDie) DeepCopy ¶ added in v0.2.0
func (d *LifecycleHandlerDie) DeepCopy() *LifecycleHandlerDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*LifecycleHandlerDie) DieFeed ¶ added in v0.2.0
func (d *LifecycleHandlerDie) DieFeed(r corev1.LifecycleHandler) *LifecycleHandlerDie
DieFeed returns a new die with the provided resource.
func (*LifecycleHandlerDie) DieFeedJSON ¶ added in v0.8.0
func (d *LifecycleHandlerDie) DieFeedJSON(j []byte) *LifecycleHandlerDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*LifecycleHandlerDie) DieFeedPtr ¶ added in v0.2.0
func (d *LifecycleHandlerDie) DieFeedPtr(r *corev1.LifecycleHandler) *LifecycleHandlerDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*LifecycleHandlerDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *LifecycleHandlerDie) DieFeedRawExtension(raw runtime.RawExtension) *LifecycleHandlerDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LifecycleHandlerDie) DieFeedYAML ¶ added in v0.8.0
func (d *LifecycleHandlerDie) DieFeedYAML(y []byte) *LifecycleHandlerDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LifecycleHandlerDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *LifecycleHandlerDie) DieFeedYAMLFile(name string) *LifecycleHandlerDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*LifecycleHandlerDie) DieImmutable ¶ added in v0.2.0
func (d *LifecycleHandlerDie) DieImmutable(immutable bool) *LifecycleHandlerDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*LifecycleHandlerDie) DieRelease ¶ added in v0.2.0
func (d *LifecycleHandlerDie) DieRelease() corev1.LifecycleHandler
DieRelease returns the resource managed by the die.
func (*LifecycleHandlerDie) DieReleaseJSON ¶ added in v0.8.0
func (d *LifecycleHandlerDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*LifecycleHandlerDie) DieReleasePtr ¶ added in v0.2.0
func (d *LifecycleHandlerDie) DieReleasePtr() *corev1.LifecycleHandler
DieReleasePtr returns a pointer to the resource managed by the die.
func (*LifecycleHandlerDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *LifecycleHandlerDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LifecycleHandlerDie) DieReleaseYAML ¶ added in v0.8.0
func (d *LifecycleHandlerDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LifecycleHandlerDie) DieStamp ¶ added in v0.2.0
func (d *LifecycleHandlerDie) DieStamp(fn func(r *corev1.LifecycleHandler)) *LifecycleHandlerDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*LifecycleHandlerDie) DieStampAt ¶ added in v0.8.0
func (d *LifecycleHandlerDie) DieStampAt(jp string, fn interface{}) *LifecycleHandlerDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*LifecycleHandlerDie) DieWith ¶ added in v0.9.0
func (d *LifecycleHandlerDie) DieWith(fns ...func(d *LifecycleHandlerDie)) *LifecycleHandlerDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*LifecycleHandlerDie) Exec ¶ added in v0.2.0
func (d *LifecycleHandlerDie) Exec(v *corev1.ExecAction) *LifecycleHandlerDie
Exec specifies the action to take.
func (*LifecycleHandlerDie) ExecDie ¶ added in v0.2.0
func (d *LifecycleHandlerDie) ExecDie(fn func(d *ExecActionDie)) *LifecycleHandlerDie
func (*LifecycleHandlerDie) HTTPGet ¶ added in v0.2.0
func (d *LifecycleHandlerDie) HTTPGet(v *corev1.HTTPGetAction) *LifecycleHandlerDie
HTTPGet specifies the http request to perform.
func (*LifecycleHandlerDie) HTTPGetDie ¶ added in v0.2.0
func (d *LifecycleHandlerDie) HTTPGetDie(fn func(d *HTTPGetActionDie)) *LifecycleHandlerDie
func (*LifecycleHandlerDie) Sleep ¶ added in v0.10.0
func (d *LifecycleHandlerDie) Sleep(v *corev1.SleepAction) *LifecycleHandlerDie
Sleep represents the duration that the container should sleep before being terminated.
func (*LifecycleHandlerDie) SleepDie ¶ added in v0.10.0
func (d *LifecycleHandlerDie) SleepDie(fn func(d *SleepActionDie)) *LifecycleHandlerDie
func (*LifecycleHandlerDie) TCPSocket ¶ added in v0.2.0
func (d *LifecycleHandlerDie) TCPSocket(v *corev1.TCPSocketAction) *LifecycleHandlerDie
Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept
for the backward compatibility. There are no validation of this field and
lifecycle hooks will fail in runtime when tcp handler is specified.
func (*LifecycleHandlerDie) TCPSocketDie ¶ added in v0.2.0
func (d *LifecycleHandlerDie) TCPSocketDie(fn func(d *TCPSocketActionDie)) *LifecycleHandlerDie
type LimitRangeDie ¶
type LimitRangeDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*LimitRangeDie) APIVersion ¶ added in v0.5.0
func (d *LimitRangeDie) APIVersion(v string) *LimitRangeDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*LimitRangeDie) DeepCopy ¶
func (d *LimitRangeDie) DeepCopy() *LimitRangeDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*LimitRangeDie) DeepCopyObject ¶
func (d *LimitRangeDie) DeepCopyObject() runtime.Object
func (*LimitRangeDie) DieFeed ¶
func (d *LimitRangeDie) DieFeed(r corev1.LimitRange) *LimitRangeDie
DieFeed returns a new die with the provided resource.
func (*LimitRangeDie) DieFeedJSON ¶ added in v0.8.0
func (d *LimitRangeDie) DieFeedJSON(j []byte) *LimitRangeDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*LimitRangeDie) DieFeedPtr ¶
func (d *LimitRangeDie) DieFeedPtr(r *corev1.LimitRange) *LimitRangeDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*LimitRangeDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *LimitRangeDie) DieFeedRawExtension(raw runtime.RawExtension) *LimitRangeDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LimitRangeDie) DieFeedYAML ¶ added in v0.8.0
func (d *LimitRangeDie) DieFeedYAML(y []byte) *LimitRangeDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LimitRangeDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *LimitRangeDie) DieFeedYAMLFile(name string) *LimitRangeDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*LimitRangeDie) DieImmutable ¶
func (d *LimitRangeDie) DieImmutable(immutable bool) *LimitRangeDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*LimitRangeDie) DieRelease ¶
func (d *LimitRangeDie) DieRelease() corev1.LimitRange
DieRelease returns the resource managed by the die.
func (*LimitRangeDie) DieReleaseJSON ¶ added in v0.8.0
func (d *LimitRangeDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*LimitRangeDie) DieReleasePtr ¶
func (d *LimitRangeDie) DieReleasePtr() *corev1.LimitRange
DieReleasePtr returns a pointer to the resource managed by the die.
func (*LimitRangeDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *LimitRangeDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LimitRangeDie) DieReleaseUnstructured ¶
func (d *LimitRangeDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*LimitRangeDie) DieReleaseYAML ¶ added in v0.8.0
func (d *LimitRangeDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LimitRangeDie) DieStamp ¶
func (d *LimitRangeDie) DieStamp(fn func(r *corev1.LimitRange)) *LimitRangeDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*LimitRangeDie) DieStampAt ¶ added in v0.8.0
func (d *LimitRangeDie) DieStampAt(jp string, fn interface{}) *LimitRangeDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*LimitRangeDie) DieWith ¶ added in v0.9.0
func (d *LimitRangeDie) DieWith(fns ...func(d *LimitRangeDie)) *LimitRangeDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*LimitRangeDie) GetObjectKind ¶
func (d *LimitRangeDie) GetObjectKind() schema.ObjectKind
func (*LimitRangeDie) Kind ¶ added in v0.5.0
func (d *LimitRangeDie) Kind(v string) *LimitRangeDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*LimitRangeDie) MarshalJSON ¶
func (d *LimitRangeDie) MarshalJSON() ([]byte, error)
func (*LimitRangeDie) MetadataDie ¶
func (d *LimitRangeDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *LimitRangeDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*LimitRangeDie) Spec ¶
func (d *LimitRangeDie) Spec(v corev1.LimitRangeSpec) *LimitRangeDie
Spec defines the limits enforced.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*LimitRangeDie) SpecDie ¶
func (d *LimitRangeDie) SpecDie(fn func(d *LimitRangeSpecDie)) *LimitRangeDie
SpecDie stamps the resource's spec field with a mutable die.
func (*LimitRangeDie) UnmarshalJSON ¶
func (d *LimitRangeDie) UnmarshalJSON(b []byte) error
type LimitRangeItemDie ¶
type LimitRangeItemDie struct {
// contains filtered or unexported fields
}
func (*LimitRangeItemDie) AddDefault ¶
func (d *LimitRangeItemDie) AddDefault(name corev1.ResourceName, quantity resource.Quantity) *LimitRangeItemDie
func (*LimitRangeItemDie) AddDefaultRequest ¶
func (d *LimitRangeItemDie) AddDefaultRequest(name corev1.ResourceName, quantity resource.Quantity) *LimitRangeItemDie
func (*LimitRangeItemDie) AddDefaultRequestString ¶
func (d *LimitRangeItemDie) AddDefaultRequestString(name corev1.ResourceName, quantity string) *LimitRangeItemDie
func (*LimitRangeItemDie) AddDefaultString ¶
func (d *LimitRangeItemDie) AddDefaultString(name corev1.ResourceName, quantity string) *LimitRangeItemDie
func (*LimitRangeItemDie) AddMax ¶
func (d *LimitRangeItemDie) AddMax(name corev1.ResourceName, quantity resource.Quantity) *LimitRangeItemDie
func (*LimitRangeItemDie) AddMaxLimitRequestRatio ¶
func (d *LimitRangeItemDie) AddMaxLimitRequestRatio(name corev1.ResourceName, quantity resource.Quantity) *LimitRangeItemDie
func (*LimitRangeItemDie) AddMaxLimitRequestRatioString ¶
func (d *LimitRangeItemDie) AddMaxLimitRequestRatioString(name corev1.ResourceName, quantity string) *LimitRangeItemDie
func (*LimitRangeItemDie) AddMaxString ¶
func (d *LimitRangeItemDie) AddMaxString(name corev1.ResourceName, quantity string) *LimitRangeItemDie
func (*LimitRangeItemDie) AddMin ¶
func (d *LimitRangeItemDie) AddMin(name corev1.ResourceName, quantity resource.Quantity) *LimitRangeItemDie
func (*LimitRangeItemDie) AddMinString ¶
func (d *LimitRangeItemDie) AddMinString(name corev1.ResourceName, quantity string) *LimitRangeItemDie
func (*LimitRangeItemDie) DeepCopy ¶
func (d *LimitRangeItemDie) DeepCopy() *LimitRangeItemDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*LimitRangeItemDie) Default ¶
func (d *LimitRangeItemDie) Default(v corev1.ResourceList) *LimitRangeItemDie
Default resource requirement limit value by resource name if resource limit is omitted.
func (*LimitRangeItemDie) DefaultRequest ¶
func (d *LimitRangeItemDie) DefaultRequest(v corev1.ResourceList) *LimitRangeItemDie
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
func (*LimitRangeItemDie) DieFeed ¶
func (d *LimitRangeItemDie) DieFeed(r corev1.LimitRangeItem) *LimitRangeItemDie
DieFeed returns a new die with the provided resource.
func (*LimitRangeItemDie) DieFeedJSON ¶ added in v0.8.0
func (d *LimitRangeItemDie) DieFeedJSON(j []byte) *LimitRangeItemDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*LimitRangeItemDie) DieFeedPtr ¶
func (d *LimitRangeItemDie) DieFeedPtr(r *corev1.LimitRangeItem) *LimitRangeItemDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*LimitRangeItemDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *LimitRangeItemDie) DieFeedRawExtension(raw runtime.RawExtension) *LimitRangeItemDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LimitRangeItemDie) DieFeedYAML ¶ added in v0.8.0
func (d *LimitRangeItemDie) DieFeedYAML(y []byte) *LimitRangeItemDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LimitRangeItemDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *LimitRangeItemDie) DieFeedYAMLFile(name string) *LimitRangeItemDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*LimitRangeItemDie) DieImmutable ¶
func (d *LimitRangeItemDie) DieImmutable(immutable bool) *LimitRangeItemDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*LimitRangeItemDie) DieRelease ¶
func (d *LimitRangeItemDie) DieRelease() corev1.LimitRangeItem
DieRelease returns the resource managed by the die.
func (*LimitRangeItemDie) DieReleaseJSON ¶ added in v0.8.0
func (d *LimitRangeItemDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*LimitRangeItemDie) DieReleasePtr ¶
func (d *LimitRangeItemDie) DieReleasePtr() *corev1.LimitRangeItem
DieReleasePtr returns a pointer to the resource managed by the die.
func (*LimitRangeItemDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *LimitRangeItemDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LimitRangeItemDie) DieReleaseYAML ¶ added in v0.8.0
func (d *LimitRangeItemDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LimitRangeItemDie) DieStamp ¶
func (d *LimitRangeItemDie) DieStamp(fn func(r *corev1.LimitRangeItem)) *LimitRangeItemDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*LimitRangeItemDie) DieStampAt ¶ added in v0.8.0
func (d *LimitRangeItemDie) DieStampAt(jp string, fn interface{}) *LimitRangeItemDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*LimitRangeItemDie) DieWith ¶ added in v0.9.0
func (d *LimitRangeItemDie) DieWith(fns ...func(d *LimitRangeItemDie)) *LimitRangeItemDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*LimitRangeItemDie) Max ¶
func (d *LimitRangeItemDie) Max(v corev1.ResourceList) *LimitRangeItemDie
Max usage constraints on this kind by resource name.
func (*LimitRangeItemDie) MaxLimitRequestRatio ¶
func (d *LimitRangeItemDie) MaxLimitRequestRatio(v corev1.ResourceList) *LimitRangeItemDie
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
func (*LimitRangeItemDie) Min ¶
func (d *LimitRangeItemDie) Min(v corev1.ResourceList) *LimitRangeItemDie
Min usage constraints on this kind by resource name.
func (*LimitRangeItemDie) Type ¶
func (d *LimitRangeItemDie) Type(v corev1.LimitType) *LimitRangeItemDie
Type of resource that this limit applies to.
type LimitRangeSpecDie ¶
type LimitRangeSpecDie struct {
// contains filtered or unexported fields
}
func (*LimitRangeSpecDie) DeepCopy ¶
func (d *LimitRangeSpecDie) DeepCopy() *LimitRangeSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*LimitRangeSpecDie) DieFeed ¶
func (d *LimitRangeSpecDie) DieFeed(r corev1.LimitRangeSpec) *LimitRangeSpecDie
DieFeed returns a new die with the provided resource.
func (*LimitRangeSpecDie) DieFeedJSON ¶ added in v0.8.0
func (d *LimitRangeSpecDie) DieFeedJSON(j []byte) *LimitRangeSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*LimitRangeSpecDie) DieFeedPtr ¶
func (d *LimitRangeSpecDie) DieFeedPtr(r *corev1.LimitRangeSpec) *LimitRangeSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*LimitRangeSpecDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *LimitRangeSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *LimitRangeSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LimitRangeSpecDie) DieFeedYAML ¶ added in v0.8.0
func (d *LimitRangeSpecDie) DieFeedYAML(y []byte) *LimitRangeSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LimitRangeSpecDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *LimitRangeSpecDie) DieFeedYAMLFile(name string) *LimitRangeSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*LimitRangeSpecDie) DieImmutable ¶
func (d *LimitRangeSpecDie) DieImmutable(immutable bool) *LimitRangeSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*LimitRangeSpecDie) DieRelease ¶
func (d *LimitRangeSpecDie) DieRelease() corev1.LimitRangeSpec
DieRelease returns the resource managed by the die.
func (*LimitRangeSpecDie) DieReleaseJSON ¶ added in v0.8.0
func (d *LimitRangeSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*LimitRangeSpecDie) DieReleasePtr ¶
func (d *LimitRangeSpecDie) DieReleasePtr() *corev1.LimitRangeSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*LimitRangeSpecDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *LimitRangeSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LimitRangeSpecDie) DieReleaseYAML ¶ added in v0.8.0
func (d *LimitRangeSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LimitRangeSpecDie) DieStamp ¶
func (d *LimitRangeSpecDie) DieStamp(fn func(r *corev1.LimitRangeSpec)) *LimitRangeSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*LimitRangeSpecDie) DieStampAt ¶ added in v0.8.0
func (d *LimitRangeSpecDie) DieStampAt(jp string, fn interface{}) *LimitRangeSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*LimitRangeSpecDie) DieWith ¶ added in v0.9.0
func (d *LimitRangeSpecDie) DieWith(fns ...func(d *LimitRangeSpecDie)) *LimitRangeSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*LimitRangeSpecDie) Limits ¶
func (d *LimitRangeSpecDie) Limits(v ...corev1.LimitRangeItem) *LimitRangeSpecDie
Limits is the list of LimitRangeItem objects that are enforced.
func (*LimitRangeSpecDie) LimitsDie ¶
func (d *LimitRangeSpecDie) LimitsDie(limits ...*LimitRangeItemDie) *LimitRangeSpecDie
type LoadBalancerIngressDie ¶
type LoadBalancerIngressDie struct {
// contains filtered or unexported fields
}
func (*LoadBalancerIngressDie) DeepCopy ¶
func (d *LoadBalancerIngressDie) DeepCopy() *LoadBalancerIngressDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*LoadBalancerIngressDie) DieFeed ¶
func (d *LoadBalancerIngressDie) DieFeed(r corev1.LoadBalancerIngress) *LoadBalancerIngressDie
DieFeed returns a new die with the provided resource.
func (*LoadBalancerIngressDie) DieFeedJSON ¶ added in v0.8.0
func (d *LoadBalancerIngressDie) DieFeedJSON(j []byte) *LoadBalancerIngressDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*LoadBalancerIngressDie) DieFeedPtr ¶
func (d *LoadBalancerIngressDie) DieFeedPtr(r *corev1.LoadBalancerIngress) *LoadBalancerIngressDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*LoadBalancerIngressDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *LoadBalancerIngressDie) DieFeedRawExtension(raw runtime.RawExtension) *LoadBalancerIngressDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LoadBalancerIngressDie) DieFeedYAML ¶ added in v0.8.0
func (d *LoadBalancerIngressDie) DieFeedYAML(y []byte) *LoadBalancerIngressDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LoadBalancerIngressDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *LoadBalancerIngressDie) DieFeedYAMLFile(name string) *LoadBalancerIngressDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*LoadBalancerIngressDie) DieImmutable ¶
func (d *LoadBalancerIngressDie) DieImmutable(immutable bool) *LoadBalancerIngressDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*LoadBalancerIngressDie) DieRelease ¶
func (d *LoadBalancerIngressDie) DieRelease() corev1.LoadBalancerIngress
DieRelease returns the resource managed by the die.
func (*LoadBalancerIngressDie) DieReleaseJSON ¶ added in v0.8.0
func (d *LoadBalancerIngressDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*LoadBalancerIngressDie) DieReleasePtr ¶
func (d *LoadBalancerIngressDie) DieReleasePtr() *corev1.LoadBalancerIngress
DieReleasePtr returns a pointer to the resource managed by the die.
func (*LoadBalancerIngressDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *LoadBalancerIngressDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LoadBalancerIngressDie) DieReleaseYAML ¶ added in v0.8.0
func (d *LoadBalancerIngressDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LoadBalancerIngressDie) DieStamp ¶
func (d *LoadBalancerIngressDie) DieStamp(fn func(r *corev1.LoadBalancerIngress)) *LoadBalancerIngressDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*LoadBalancerIngressDie) DieStampAt ¶ added in v0.8.0
func (d *LoadBalancerIngressDie) DieStampAt(jp string, fn interface{}) *LoadBalancerIngressDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*LoadBalancerIngressDie) DieWith ¶ added in v0.9.0
func (d *LoadBalancerIngressDie) DieWith(fns ...func(d *LoadBalancerIngressDie)) *LoadBalancerIngressDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*LoadBalancerIngressDie) Hostname ¶
func (d *LoadBalancerIngressDie) Hostname(v string) *LoadBalancerIngressDie
Hostname is set for load-balancer ingress points that are DNS based
(typically AWS load-balancers)
func (*LoadBalancerIngressDie) IP ¶
func (d *LoadBalancerIngressDie) IP(v string) *LoadBalancerIngressDie
IP is set for load-balancer ingress points that are IP based
(typically GCE or OpenStack load-balancers)
func (*LoadBalancerIngressDie) IPMode ¶ added in v0.10.0
func (d *LoadBalancerIngressDie) IPMode(v *corev1.LoadBalancerIPMode) *LoadBalancerIngressDie
IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified.
Setting this to "VIP" indicates that traffic is delivered to the node with
the destination set to the load-balancer's IP and port.
Setting this to "Proxy" indicates that traffic is delivered to the node or pod with
the destination set to the node's IP and node port or the pod's IP and port.
Service implementations may use this information to adjust traffic routing.
func (*LoadBalancerIngressDie) Ports ¶
func (d *LoadBalancerIngressDie) Ports(v ...corev1.PortStatus) *LoadBalancerIngressDie
Ports is a list of records of service ports
If used, every port defined in the service should have an entry in it
func (*LoadBalancerIngressDie) PortsDie ¶
func (d *LoadBalancerIngressDie) PortsDie(ports ...*PortStatusDie) *LoadBalancerIngressDie
type LoadBalancerStatusDie ¶
type LoadBalancerStatusDie struct {
// contains filtered or unexported fields
}
func (*LoadBalancerStatusDie) DeepCopy ¶
func (d *LoadBalancerStatusDie) DeepCopy() *LoadBalancerStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*LoadBalancerStatusDie) DieFeed ¶
func (d *LoadBalancerStatusDie) DieFeed(r corev1.LoadBalancerStatus) *LoadBalancerStatusDie
DieFeed returns a new die with the provided resource.
func (*LoadBalancerStatusDie) DieFeedJSON ¶ added in v0.8.0
func (d *LoadBalancerStatusDie) DieFeedJSON(j []byte) *LoadBalancerStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*LoadBalancerStatusDie) DieFeedPtr ¶
func (d *LoadBalancerStatusDie) DieFeedPtr(r *corev1.LoadBalancerStatus) *LoadBalancerStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*LoadBalancerStatusDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *LoadBalancerStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *LoadBalancerStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LoadBalancerStatusDie) DieFeedYAML ¶ added in v0.8.0
func (d *LoadBalancerStatusDie) DieFeedYAML(y []byte) *LoadBalancerStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LoadBalancerStatusDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *LoadBalancerStatusDie) DieFeedYAMLFile(name string) *LoadBalancerStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*LoadBalancerStatusDie) DieImmutable ¶
func (d *LoadBalancerStatusDie) DieImmutable(immutable bool) *LoadBalancerStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*LoadBalancerStatusDie) DieRelease ¶
func (d *LoadBalancerStatusDie) DieRelease() corev1.LoadBalancerStatus
DieRelease returns the resource managed by the die.
func (*LoadBalancerStatusDie) DieReleaseJSON ¶ added in v0.8.0
func (d *LoadBalancerStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*LoadBalancerStatusDie) DieReleasePtr ¶
func (d *LoadBalancerStatusDie) DieReleasePtr() *corev1.LoadBalancerStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*LoadBalancerStatusDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *LoadBalancerStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LoadBalancerStatusDie) DieReleaseYAML ¶ added in v0.8.0
func (d *LoadBalancerStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LoadBalancerStatusDie) DieStamp ¶
func (d *LoadBalancerStatusDie) DieStamp(fn func(r *corev1.LoadBalancerStatus)) *LoadBalancerStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*LoadBalancerStatusDie) DieStampAt ¶ added in v0.8.0
func (d *LoadBalancerStatusDie) DieStampAt(jp string, fn interface{}) *LoadBalancerStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*LoadBalancerStatusDie) DieWith ¶ added in v0.9.0
func (d *LoadBalancerStatusDie) DieWith(fns ...func(d *LoadBalancerStatusDie)) *LoadBalancerStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*LoadBalancerStatusDie) Ingress ¶
func (d *LoadBalancerStatusDie) Ingress(v ...corev1.LoadBalancerIngress) *LoadBalancerStatusDie
Ingress is a list containing ingress points for the load-balancer.
Traffic intended for the service should be sent to these ingress points.
func (*LoadBalancerStatusDie) LoadBalancerDie ¶
func (d *LoadBalancerStatusDie) LoadBalancerDie(ingress ...*LoadBalancerIngressDie) *LoadBalancerStatusDie
type LocalObjectReferenceDie ¶
type LocalObjectReferenceDie struct {
// contains filtered or unexported fields
}
func (*LocalObjectReferenceDie) DeepCopy ¶
func (d *LocalObjectReferenceDie) DeepCopy() *LocalObjectReferenceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*LocalObjectReferenceDie) DieFeed ¶
func (d *LocalObjectReferenceDie) DieFeed(r corev1.LocalObjectReference) *LocalObjectReferenceDie
DieFeed returns a new die with the provided resource.
func (*LocalObjectReferenceDie) DieFeedJSON ¶ added in v0.8.0
func (d *LocalObjectReferenceDie) DieFeedJSON(j []byte) *LocalObjectReferenceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*LocalObjectReferenceDie) DieFeedPtr ¶
func (d *LocalObjectReferenceDie) DieFeedPtr(r *corev1.LocalObjectReference) *LocalObjectReferenceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*LocalObjectReferenceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *LocalObjectReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *LocalObjectReferenceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LocalObjectReferenceDie) DieFeedYAML ¶ added in v0.8.0
func (d *LocalObjectReferenceDie) DieFeedYAML(y []byte) *LocalObjectReferenceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LocalObjectReferenceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *LocalObjectReferenceDie) DieFeedYAMLFile(name string) *LocalObjectReferenceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*LocalObjectReferenceDie) DieImmutable ¶
func (d *LocalObjectReferenceDie) DieImmutable(immutable bool) *LocalObjectReferenceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*LocalObjectReferenceDie) DieRelease ¶
func (d *LocalObjectReferenceDie) DieRelease() corev1.LocalObjectReference
DieRelease returns the resource managed by the die.
func (*LocalObjectReferenceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *LocalObjectReferenceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*LocalObjectReferenceDie) DieReleasePtr ¶
func (d *LocalObjectReferenceDie) DieReleasePtr() *corev1.LocalObjectReference
DieReleasePtr returns a pointer to the resource managed by the die.
func (*LocalObjectReferenceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *LocalObjectReferenceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LocalObjectReferenceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *LocalObjectReferenceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LocalObjectReferenceDie) DieStamp ¶
func (d *LocalObjectReferenceDie) DieStamp(fn func(r *corev1.LocalObjectReference)) *LocalObjectReferenceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*LocalObjectReferenceDie) DieStampAt ¶ added in v0.8.0
func (d *LocalObjectReferenceDie) DieStampAt(jp string, fn interface{}) *LocalObjectReferenceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*LocalObjectReferenceDie) DieWith ¶ added in v0.9.0
func (d *LocalObjectReferenceDie) DieWith(fns ...func(d *LocalObjectReferenceDie)) *LocalObjectReferenceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*LocalObjectReferenceDie) Name ¶
func (d *LocalObjectReferenceDie) Name(v string) *LocalObjectReferenceDie
Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?
type LocalVolumeSourceDie ¶
type LocalVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*LocalVolumeSourceDie) DeepCopy ¶
func (d *LocalVolumeSourceDie) DeepCopy() *LocalVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*LocalVolumeSourceDie) DieFeed ¶
func (d *LocalVolumeSourceDie) DieFeed(r corev1.LocalVolumeSource) *LocalVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*LocalVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *LocalVolumeSourceDie) DieFeedJSON(j []byte) *LocalVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*LocalVolumeSourceDie) DieFeedPtr ¶
func (d *LocalVolumeSourceDie) DieFeedPtr(r *corev1.LocalVolumeSource) *LocalVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*LocalVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *LocalVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *LocalVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LocalVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *LocalVolumeSourceDie) DieFeedYAML(y []byte) *LocalVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LocalVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *LocalVolumeSourceDie) DieFeedYAMLFile(name string) *LocalVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*LocalVolumeSourceDie) DieImmutable ¶
func (d *LocalVolumeSourceDie) DieImmutable(immutable bool) *LocalVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*LocalVolumeSourceDie) DieRelease ¶
func (d *LocalVolumeSourceDie) DieRelease() corev1.LocalVolumeSource
DieRelease returns the resource managed by the die.
func (*LocalVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *LocalVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*LocalVolumeSourceDie) DieReleasePtr ¶
func (d *LocalVolumeSourceDie) DieReleasePtr() *corev1.LocalVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*LocalVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *LocalVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LocalVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *LocalVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LocalVolumeSourceDie) DieStamp ¶
func (d *LocalVolumeSourceDie) DieStamp(fn func(r *corev1.LocalVolumeSource)) *LocalVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*LocalVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *LocalVolumeSourceDie) DieStampAt(jp string, fn interface{}) *LocalVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*LocalVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *LocalVolumeSourceDie) DieWith(fns ...func(d *LocalVolumeSourceDie)) *LocalVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*LocalVolumeSourceDie) FSType ¶
func (d *LocalVolumeSourceDie) FSType(v *string) *LocalVolumeSourceDie
fsType is the filesystem type to mount.
It applies only when the Path is a block device.
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a filesystem if unspecified.
func (*LocalVolumeSourceDie) Path ¶
func (d *LocalVolumeSourceDie) Path(v string) *LocalVolumeSourceDie
path of the full path to the volume on the node.
It can be either a directory or block device (disk, partition, ...).
type ModifyVolumeStatusDie ¶ added in v0.10.0
type ModifyVolumeStatusDie struct {
// contains filtered or unexported fields
}
func (*ModifyVolumeStatusDie) DeepCopy ¶ added in v0.10.0
func (d *ModifyVolumeStatusDie) DeepCopy() *ModifyVolumeStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ModifyVolumeStatusDie) DieFeed ¶ added in v0.10.0
func (d *ModifyVolumeStatusDie) DieFeed(r corev1.ModifyVolumeStatus) *ModifyVolumeStatusDie
DieFeed returns a new die with the provided resource.
func (*ModifyVolumeStatusDie) DieFeedJSON ¶ added in v0.10.0
func (d *ModifyVolumeStatusDie) DieFeedJSON(j []byte) *ModifyVolumeStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ModifyVolumeStatusDie) DieFeedPtr ¶ added in v0.10.0
func (d *ModifyVolumeStatusDie) DieFeedPtr(r *corev1.ModifyVolumeStatus) *ModifyVolumeStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ModifyVolumeStatusDie) DieFeedRawExtension ¶ added in v0.10.0
func (d *ModifyVolumeStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ModifyVolumeStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ModifyVolumeStatusDie) DieFeedYAML ¶ added in v0.10.0
func (d *ModifyVolumeStatusDie) DieFeedYAML(y []byte) *ModifyVolumeStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ModifyVolumeStatusDie) DieFeedYAMLFile ¶ added in v0.10.0
func (d *ModifyVolumeStatusDie) DieFeedYAMLFile(name string) *ModifyVolumeStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ModifyVolumeStatusDie) DieImmutable ¶ added in v0.10.0
func (d *ModifyVolumeStatusDie) DieImmutable(immutable bool) *ModifyVolumeStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ModifyVolumeStatusDie) DieRelease ¶ added in v0.10.0
func (d *ModifyVolumeStatusDie) DieRelease() corev1.ModifyVolumeStatus
DieRelease returns the resource managed by the die.
func (*ModifyVolumeStatusDie) DieReleaseJSON ¶ added in v0.10.0
func (d *ModifyVolumeStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ModifyVolumeStatusDie) DieReleasePtr ¶ added in v0.10.0
func (d *ModifyVolumeStatusDie) DieReleasePtr() *corev1.ModifyVolumeStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ModifyVolumeStatusDie) DieReleaseRawExtension ¶ added in v0.10.0
func (d *ModifyVolumeStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ModifyVolumeStatusDie) DieReleaseYAML ¶ added in v0.10.0
func (d *ModifyVolumeStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ModifyVolumeStatusDie) DieStamp ¶ added in v0.10.0
func (d *ModifyVolumeStatusDie) DieStamp(fn func(r *corev1.ModifyVolumeStatus)) *ModifyVolumeStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ModifyVolumeStatusDie) DieStampAt ¶ added in v0.10.0
func (d *ModifyVolumeStatusDie) DieStampAt(jp string, fn interface{}) *ModifyVolumeStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ModifyVolumeStatusDie) DieWith ¶ added in v0.10.0
func (d *ModifyVolumeStatusDie) DieWith(fns ...func(d *ModifyVolumeStatusDie)) *ModifyVolumeStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ModifyVolumeStatusDie) Status ¶ added in v0.10.0
func (d *ModifyVolumeStatusDie) Status(v corev1.PersistentVolumeClaimModifyVolumeStatus) *ModifyVolumeStatusDie
status is the status of the ControllerModifyVolume operation. It can be in any of following states:
- Pending
Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as ¶
the specified VolumeAttributesClass not existing.
- InProgress
InProgress indicates that the volume is being modified.
- Infeasible
Infeasible indicates that the request has been rejected as invalid by the CSI driver. To
resolve the error, a valid VolumeAttributesClass needs to be specified.
Note: New statuses can be added in the future. Consumers should check for unknown statuses and fail appropriately.
func (*ModifyVolumeStatusDie) TargetVolumeAttributesClassName ¶ added in v0.10.0
func (d *ModifyVolumeStatusDie) TargetVolumeAttributesClassName(v string) *ModifyVolumeStatusDie
targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled
type NFSVolumeSourceDie ¶
type NFSVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*NFSVolumeSourceDie) DeepCopy ¶
func (d *NFSVolumeSourceDie) DeepCopy() *NFSVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NFSVolumeSourceDie) DieFeed ¶
func (d *NFSVolumeSourceDie) DieFeed(r corev1.NFSVolumeSource) *NFSVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*NFSVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *NFSVolumeSourceDie) DieFeedJSON(j []byte) *NFSVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NFSVolumeSourceDie) DieFeedPtr ¶
func (d *NFSVolumeSourceDie) DieFeedPtr(r *corev1.NFSVolumeSource) *NFSVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NFSVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *NFSVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *NFSVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NFSVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *NFSVolumeSourceDie) DieFeedYAML(y []byte) *NFSVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NFSVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *NFSVolumeSourceDie) DieFeedYAMLFile(name string) *NFSVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*NFSVolumeSourceDie) DieImmutable ¶
func (d *NFSVolumeSourceDie) DieImmutable(immutable bool) *NFSVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*NFSVolumeSourceDie) DieRelease ¶
func (d *NFSVolumeSourceDie) DieRelease() corev1.NFSVolumeSource
DieRelease returns the resource managed by the die.
func (*NFSVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *NFSVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NFSVolumeSourceDie) DieReleasePtr ¶
func (d *NFSVolumeSourceDie) DieReleasePtr() *corev1.NFSVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NFSVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *NFSVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NFSVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *NFSVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NFSVolumeSourceDie) DieStamp ¶
func (d *NFSVolumeSourceDie) DieStamp(fn func(r *corev1.NFSVolumeSource)) *NFSVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NFSVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *NFSVolumeSourceDie) DieStampAt(jp string, fn interface{}) *NFSVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*NFSVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *NFSVolumeSourceDie) DieWith(fns ...func(d *NFSVolumeSourceDie)) *NFSVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NFSVolumeSourceDie) Path ¶
func (d *NFSVolumeSourceDie) Path(v string) *NFSVolumeSourceDie
path that is exported by the NFS server.
More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
func (*NFSVolumeSourceDie) ReadOnly ¶
func (d *NFSVolumeSourceDie) ReadOnly(v bool) *NFSVolumeSourceDie
readOnly here will force the NFS export to be mounted with read-only permissions.
Defaults to false.
More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
func (*NFSVolumeSourceDie) Server ¶
func (d *NFSVolumeSourceDie) Server(v string) *NFSVolumeSourceDie
server is the hostname or IP address of the NFS server.
More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
type NamespaceDie ¶
type NamespaceDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*NamespaceDie) APIVersion ¶ added in v0.5.0
func (d *NamespaceDie) APIVersion(v string) *NamespaceDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*NamespaceDie) DeepCopy ¶
func (d *NamespaceDie) DeepCopy() *NamespaceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NamespaceDie) DeepCopyObject ¶
func (d *NamespaceDie) DeepCopyObject() runtime.Object
func (*NamespaceDie) DieFeed ¶
func (d *NamespaceDie) DieFeed(r corev1.Namespace) *NamespaceDie
DieFeed returns a new die with the provided resource.
func (*NamespaceDie) DieFeedJSON ¶ added in v0.8.0
func (d *NamespaceDie) DieFeedJSON(j []byte) *NamespaceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NamespaceDie) DieFeedPtr ¶
func (d *NamespaceDie) DieFeedPtr(r *corev1.Namespace) *NamespaceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NamespaceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *NamespaceDie) DieFeedRawExtension(raw runtime.RawExtension) *NamespaceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NamespaceDie) DieFeedYAML ¶ added in v0.8.0
func (d *NamespaceDie) DieFeedYAML(y []byte) *NamespaceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NamespaceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *NamespaceDie) DieFeedYAMLFile(name string) *NamespaceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*NamespaceDie) DieImmutable ¶
func (d *NamespaceDie) DieImmutable(immutable bool) *NamespaceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*NamespaceDie) DieRelease ¶
func (d *NamespaceDie) DieRelease() corev1.Namespace
DieRelease returns the resource managed by the die.
func (*NamespaceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *NamespaceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NamespaceDie) DieReleasePtr ¶
func (d *NamespaceDie) DieReleasePtr() *corev1.Namespace
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NamespaceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *NamespaceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NamespaceDie) DieReleaseUnstructured ¶
func (d *NamespaceDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*NamespaceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *NamespaceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NamespaceDie) DieStamp ¶
func (d *NamespaceDie) DieStamp(fn func(r *corev1.Namespace)) *NamespaceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NamespaceDie) DieStampAt ¶ added in v0.8.0
func (d *NamespaceDie) DieStampAt(jp string, fn interface{}) *NamespaceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*NamespaceDie) DieWith ¶ added in v0.9.0
func (d *NamespaceDie) DieWith(fns ...func(d *NamespaceDie)) *NamespaceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NamespaceDie) GetObjectKind ¶
func (d *NamespaceDie) GetObjectKind() schema.ObjectKind
func (*NamespaceDie) Kind ¶ added in v0.5.0
func (d *NamespaceDie) Kind(v string) *NamespaceDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*NamespaceDie) MarshalJSON ¶
func (d *NamespaceDie) MarshalJSON() ([]byte, error)
func (*NamespaceDie) MetadataDie ¶
func (d *NamespaceDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *NamespaceDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*NamespaceDie) Spec ¶
func (d *NamespaceDie) Spec(v corev1.NamespaceSpec) *NamespaceDie
Spec defines the behavior of the Namespace.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*NamespaceDie) SpecDie ¶
func (d *NamespaceDie) SpecDie(fn func(d *NamespaceSpecDie)) *NamespaceDie
SpecDie stamps the resource's spec field with a mutable die.
func (*NamespaceDie) Status ¶
func (d *NamespaceDie) Status(v corev1.NamespaceStatus) *NamespaceDie
Status describes the current status of a Namespace.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*NamespaceDie) StatusDie ¶
func (d *NamespaceDie) StatusDie(fn func(d *NamespaceStatusDie)) *NamespaceDie
StatusDie stamps the resource's status field with a mutable die.
func (*NamespaceDie) UnmarshalJSON ¶
func (d *NamespaceDie) UnmarshalJSON(b []byte) error
type NamespaceSpecDie ¶
type NamespaceSpecDie struct {
// contains filtered or unexported fields
}
func (*NamespaceSpecDie) DeepCopy ¶
func (d *NamespaceSpecDie) DeepCopy() *NamespaceSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NamespaceSpecDie) DieFeed ¶
func (d *NamespaceSpecDie) DieFeed(r corev1.NamespaceSpec) *NamespaceSpecDie
DieFeed returns a new die with the provided resource.
func (*NamespaceSpecDie) DieFeedJSON ¶ added in v0.8.0
func (d *NamespaceSpecDie) DieFeedJSON(j []byte) *NamespaceSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NamespaceSpecDie) DieFeedPtr ¶
func (d *NamespaceSpecDie) DieFeedPtr(r *corev1.NamespaceSpec) *NamespaceSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NamespaceSpecDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *NamespaceSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *NamespaceSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NamespaceSpecDie) DieFeedYAML ¶ added in v0.8.0
func (d *NamespaceSpecDie) DieFeedYAML(y []byte) *NamespaceSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NamespaceSpecDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *NamespaceSpecDie) DieFeedYAMLFile(name string) *NamespaceSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*NamespaceSpecDie) DieImmutable ¶
func (d *NamespaceSpecDie) DieImmutable(immutable bool) *NamespaceSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*NamespaceSpecDie) DieRelease ¶
func (d *NamespaceSpecDie) DieRelease() corev1.NamespaceSpec
DieRelease returns the resource managed by the die.
func (*NamespaceSpecDie) DieReleaseJSON ¶ added in v0.8.0
func (d *NamespaceSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NamespaceSpecDie) DieReleasePtr ¶
func (d *NamespaceSpecDie) DieReleasePtr() *corev1.NamespaceSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NamespaceSpecDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *NamespaceSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NamespaceSpecDie) DieReleaseYAML ¶ added in v0.8.0
func (d *NamespaceSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NamespaceSpecDie) DieStamp ¶
func (d *NamespaceSpecDie) DieStamp(fn func(r *corev1.NamespaceSpec)) *NamespaceSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NamespaceSpecDie) DieStampAt ¶ added in v0.8.0
func (d *NamespaceSpecDie) DieStampAt(jp string, fn interface{}) *NamespaceSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*NamespaceSpecDie) DieWith ¶ added in v0.9.0
func (d *NamespaceSpecDie) DieWith(fns ...func(d *NamespaceSpecDie)) *NamespaceSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NamespaceSpecDie) Finalizers ¶
func (d *NamespaceSpecDie) Finalizers(v ...corev1.FinalizerName) *NamespaceSpecDie
Finalizers is an opaque list of values that must be empty to permanently remove object from storage.
More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
type NamespaceStatusDie ¶
type NamespaceStatusDie struct {
// contains filtered or unexported fields
}
func (*NamespaceStatusDie) Conditions ¶
func (d *NamespaceStatusDie) Conditions(v ...corev1.NamespaceCondition) *NamespaceStatusDie
Represents the latest available observations of a namespace's current state.
func (*NamespaceStatusDie) ConditionsDie ¶
func (d *NamespaceStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *NamespaceStatusDie
func (*NamespaceStatusDie) DeepCopy ¶
func (d *NamespaceStatusDie) DeepCopy() *NamespaceStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NamespaceStatusDie) DieFeed ¶
func (d *NamespaceStatusDie) DieFeed(r corev1.NamespaceStatus) *NamespaceStatusDie
DieFeed returns a new die with the provided resource.
func (*NamespaceStatusDie) DieFeedJSON ¶ added in v0.8.0
func (d *NamespaceStatusDie) DieFeedJSON(j []byte) *NamespaceStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NamespaceStatusDie) DieFeedPtr ¶
func (d *NamespaceStatusDie) DieFeedPtr(r *corev1.NamespaceStatus) *NamespaceStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NamespaceStatusDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *NamespaceStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *NamespaceStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NamespaceStatusDie) DieFeedYAML ¶ added in v0.8.0
func (d *NamespaceStatusDie) DieFeedYAML(y []byte) *NamespaceStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NamespaceStatusDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *NamespaceStatusDie) DieFeedYAMLFile(name string) *NamespaceStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*NamespaceStatusDie) DieImmutable ¶
func (d *NamespaceStatusDie) DieImmutable(immutable bool) *NamespaceStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*NamespaceStatusDie) DieRelease ¶
func (d *NamespaceStatusDie) DieRelease() corev1.NamespaceStatus
DieRelease returns the resource managed by the die.
func (*NamespaceStatusDie) DieReleaseJSON ¶ added in v0.8.0
func (d *NamespaceStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NamespaceStatusDie) DieReleasePtr ¶
func (d *NamespaceStatusDie) DieReleasePtr() *corev1.NamespaceStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NamespaceStatusDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *NamespaceStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NamespaceStatusDie) DieReleaseYAML ¶ added in v0.8.0
func (d *NamespaceStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NamespaceStatusDie) DieStamp ¶
func (d *NamespaceStatusDie) DieStamp(fn func(r *corev1.NamespaceStatus)) *NamespaceStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NamespaceStatusDie) DieStampAt ¶ added in v0.8.0
func (d *NamespaceStatusDie) DieStampAt(jp string, fn interface{}) *NamespaceStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*NamespaceStatusDie) DieWith ¶ added in v0.9.0
func (d *NamespaceStatusDie) DieWith(fns ...func(d *NamespaceStatusDie)) *NamespaceStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NamespaceStatusDie) Phase ¶
func (d *NamespaceStatusDie) Phase(v corev1.NamespacePhase) *NamespaceStatusDie
Phase is the current lifecycle phase of the namespace.
More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
type NodeAddressDie ¶
type NodeAddressDie struct {
// contains filtered or unexported fields
}
func (*NodeAddressDie) Address ¶
func (d *NodeAddressDie) Address(v string) *NodeAddressDie
The node address.
func (*NodeAddressDie) DeepCopy ¶
func (d *NodeAddressDie) DeepCopy() *NodeAddressDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NodeAddressDie) DieFeed ¶
func (d *NodeAddressDie) DieFeed(r corev1.NodeAddress) *NodeAddressDie
DieFeed returns a new die with the provided resource.
func (*NodeAddressDie) DieFeedJSON ¶ added in v0.8.0
func (d *NodeAddressDie) DieFeedJSON(j []byte) *NodeAddressDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NodeAddressDie) DieFeedPtr ¶
func (d *NodeAddressDie) DieFeedPtr(r *corev1.NodeAddress) *NodeAddressDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NodeAddressDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *NodeAddressDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeAddressDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeAddressDie) DieFeedYAML ¶ added in v0.8.0
func (d *NodeAddressDie) DieFeedYAML(y []byte) *NodeAddressDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeAddressDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *NodeAddressDie) DieFeedYAMLFile(name string) *NodeAddressDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*NodeAddressDie) DieImmutable ¶
func (d *NodeAddressDie) DieImmutable(immutable bool) *NodeAddressDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*NodeAddressDie) DieRelease ¶
func (d *NodeAddressDie) DieRelease() corev1.NodeAddress
DieRelease returns the resource managed by the die.
func (*NodeAddressDie) DieReleaseJSON ¶ added in v0.8.0
func (d *NodeAddressDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NodeAddressDie) DieReleasePtr ¶
func (d *NodeAddressDie) DieReleasePtr() *corev1.NodeAddress
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NodeAddressDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *NodeAddressDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeAddressDie) DieReleaseYAML ¶ added in v0.8.0
func (d *NodeAddressDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeAddressDie) DieStamp ¶
func (d *NodeAddressDie) DieStamp(fn func(r *corev1.NodeAddress)) *NodeAddressDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NodeAddressDie) DieStampAt ¶ added in v0.8.0
func (d *NodeAddressDie) DieStampAt(jp string, fn interface{}) *NodeAddressDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*NodeAddressDie) DieWith ¶ added in v0.9.0
func (d *NodeAddressDie) DieWith(fns ...func(d *NodeAddressDie)) *NodeAddressDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NodeAddressDie) Type ¶
func (d *NodeAddressDie) Type(v corev1.NodeAddressType) *NodeAddressDie
Node address type, one of Hostname, ExternalIP or InternalIP.
type NodeConfigSourceDie ¶
type NodeConfigSourceDie struct {
// contains filtered or unexported fields
}
func (*NodeConfigSourceDie) ConfigMap ¶
func (d *NodeConfigSourceDie) ConfigMap(v *corev1.ConfigMapNodeConfigSource) *NodeConfigSourceDie
ConfigMap is a reference to a Node's ConfigMap
func (*NodeConfigSourceDie) ConfigMapDie ¶
func (d *NodeConfigSourceDie) ConfigMapDie(fn func(d *ConfigMapNodeConfigSourceDie)) *NodeConfigSourceDie
func (*NodeConfigSourceDie) DeepCopy ¶
func (d *NodeConfigSourceDie) DeepCopy() *NodeConfigSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NodeConfigSourceDie) DieFeed ¶
func (d *NodeConfigSourceDie) DieFeed(r corev1.NodeConfigSource) *NodeConfigSourceDie
DieFeed returns a new die with the provided resource.
func (*NodeConfigSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *NodeConfigSourceDie) DieFeedJSON(j []byte) *NodeConfigSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NodeConfigSourceDie) DieFeedPtr ¶
func (d *NodeConfigSourceDie) DieFeedPtr(r *corev1.NodeConfigSource) *NodeConfigSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NodeConfigSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *NodeConfigSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeConfigSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeConfigSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *NodeConfigSourceDie) DieFeedYAML(y []byte) *NodeConfigSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeConfigSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *NodeConfigSourceDie) DieFeedYAMLFile(name string) *NodeConfigSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*NodeConfigSourceDie) DieImmutable ¶
func (d *NodeConfigSourceDie) DieImmutable(immutable bool) *NodeConfigSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*NodeConfigSourceDie) DieRelease ¶
func (d *NodeConfigSourceDie) DieRelease() corev1.NodeConfigSource
DieRelease returns the resource managed by the die.
func (*NodeConfigSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *NodeConfigSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NodeConfigSourceDie) DieReleasePtr ¶
func (d *NodeConfigSourceDie) DieReleasePtr() *corev1.NodeConfigSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NodeConfigSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *NodeConfigSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeConfigSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *NodeConfigSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeConfigSourceDie) DieStamp ¶
func (d *NodeConfigSourceDie) DieStamp(fn func(r *corev1.NodeConfigSource)) *NodeConfigSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NodeConfigSourceDie) DieStampAt ¶ added in v0.8.0
func (d *NodeConfigSourceDie) DieStampAt(jp string, fn interface{}) *NodeConfigSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*NodeConfigSourceDie) DieWith ¶ added in v0.9.0
func (d *NodeConfigSourceDie) DieWith(fns ...func(d *NodeConfigSourceDie)) *NodeConfigSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
type NodeConfigStatusDie ¶
type NodeConfigStatusDie struct {
// contains filtered or unexported fields
}
func (*NodeConfigStatusDie) Active ¶
func (d *NodeConfigStatusDie) Active(v *corev1.NodeConfigSource) *NodeConfigStatusDie
Active reports the checkpointed config the node is actively using.
Active will represent either the current version of the Assigned config,
or the current LastKnownGood config, depending on whether attempting to use the
Assigned config results in an error.
func (*NodeConfigStatusDie) ActiveDie ¶
func (d *NodeConfigStatusDie) ActiveDie(fn func(d *NodeConfigSourceDie)) *NodeConfigStatusDie
func (*NodeConfigStatusDie) Assigned ¶
func (d *NodeConfigStatusDie) Assigned(v *corev1.NodeConfigSource) *NodeConfigStatusDie
Assigned reports the checkpointed config the node will try to use.
When Node.Spec.ConfigSource is updated, the node checkpoints the associated ¶
config payload to local disk, along with a record indicating intended
config. The node refers to this record to choose its config checkpoint, and
reports this record in Assigned. Assigned only updates in the status after
the record has been checkpointed to disk. When the Kubelet is restarted,
it tries to make the Assigned config the Active config by loading and
validating the checkpointed payload identified by Assigned.
func (*NodeConfigStatusDie) AssignedDie ¶
func (d *NodeConfigStatusDie) AssignedDie(fn func(d *NodeConfigSourceDie)) *NodeConfigStatusDie
func (*NodeConfigStatusDie) DeepCopy ¶
func (d *NodeConfigStatusDie) DeepCopy() *NodeConfigStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NodeConfigStatusDie) DieFeed ¶
func (d *NodeConfigStatusDie) DieFeed(r corev1.NodeConfigStatus) *NodeConfigStatusDie
DieFeed returns a new die with the provided resource.
func (*NodeConfigStatusDie) DieFeedJSON ¶ added in v0.8.0
func (d *NodeConfigStatusDie) DieFeedJSON(j []byte) *NodeConfigStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NodeConfigStatusDie) DieFeedPtr ¶
func (d *NodeConfigStatusDie) DieFeedPtr(r *corev1.NodeConfigStatus) *NodeConfigStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NodeConfigStatusDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *NodeConfigStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeConfigStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeConfigStatusDie) DieFeedYAML ¶ added in v0.8.0
func (d *NodeConfigStatusDie) DieFeedYAML(y []byte) *NodeConfigStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeConfigStatusDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *NodeConfigStatusDie) DieFeedYAMLFile(name string) *NodeConfigStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*NodeConfigStatusDie) DieImmutable ¶
func (d *NodeConfigStatusDie) DieImmutable(immutable bool) *NodeConfigStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*NodeConfigStatusDie) DieRelease ¶
func (d *NodeConfigStatusDie) DieRelease() corev1.NodeConfigStatus
DieRelease returns the resource managed by the die.
func (*NodeConfigStatusDie) DieReleaseJSON ¶ added in v0.8.0
func (d *NodeConfigStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NodeConfigStatusDie) DieReleasePtr ¶
func (d *NodeConfigStatusDie) DieReleasePtr() *corev1.NodeConfigStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NodeConfigStatusDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *NodeConfigStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeConfigStatusDie) DieReleaseYAML ¶ added in v0.8.0
func (d *NodeConfigStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeConfigStatusDie) DieStamp ¶
func (d *NodeConfigStatusDie) DieStamp(fn func(r *corev1.NodeConfigStatus)) *NodeConfigStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NodeConfigStatusDie) DieStampAt ¶ added in v0.8.0
func (d *NodeConfigStatusDie) DieStampAt(jp string, fn interface{}) *NodeConfigStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*NodeConfigStatusDie) DieWith ¶ added in v0.9.0
func (d *NodeConfigStatusDie) DieWith(fns ...func(d *NodeConfigStatusDie)) *NodeConfigStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NodeConfigStatusDie) Error ¶
func (d *NodeConfigStatusDie) Error(v string) *NodeConfigStatusDie
Error describes any problems reconciling the Spec.ConfigSource to the Active config.
Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned ¶
record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting
to load or validate the Assigned config, etc.
Errors may occur at different points while syncing config. Earlier errors (e.g. download or
checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across
Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in
a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error
by fixing the config assigned in Spec.ConfigSource.
You can find additional information for debugging by searching the error message in the Kubelet log.
Error is a human-readable description of the error state; machines can check whether or not Error
is empty, but should not rely on the stability of the Error text across Kubelet versions.
func (*NodeConfigStatusDie) LastKnownGood ¶
func (d *NodeConfigStatusDie) LastKnownGood(v *corev1.NodeConfigSource) *NodeConfigStatusDie
LastKnownGood reports the checkpointed config the node will fall back to
when it encounters an error attempting to use the Assigned config.
The Assigned config becomes the LastKnownGood config when the node determines ¶
that the Assigned config is stable and correct.
This is currently implemented as a 10-minute soak period starting when the local ¶
record of Assigned config is updated. If the Assigned config is Active at the end
of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is
reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil,
because the local default config is always assumed good.
You should not make assumptions about the node's method of determining config stability ¶
and correctness, as this may change or become configurable in the future.
func (*NodeConfigStatusDie) LastKnownGoodDie ¶
func (d *NodeConfigStatusDie) LastKnownGoodDie(fn func(d *NodeConfigSourceDie)) *NodeConfigStatusDie
type NodeDaemonEndpointsDie ¶
type NodeDaemonEndpointsDie struct {
// contains filtered or unexported fields
}
func (*NodeDaemonEndpointsDie) DeepCopy ¶
func (d *NodeDaemonEndpointsDie) DeepCopy() *NodeDaemonEndpointsDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NodeDaemonEndpointsDie) DieFeed ¶
func (d *NodeDaemonEndpointsDie) DieFeed(r corev1.NodeDaemonEndpoints) *NodeDaemonEndpointsDie
DieFeed returns a new die with the provided resource.
func (*NodeDaemonEndpointsDie) DieFeedJSON ¶ added in v0.8.0
func (d *NodeDaemonEndpointsDie) DieFeedJSON(j []byte) *NodeDaemonEndpointsDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NodeDaemonEndpointsDie) DieFeedPtr ¶
func (d *NodeDaemonEndpointsDie) DieFeedPtr(r *corev1.NodeDaemonEndpoints) *NodeDaemonEndpointsDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NodeDaemonEndpointsDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *NodeDaemonEndpointsDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeDaemonEndpointsDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeDaemonEndpointsDie) DieFeedYAML ¶ added in v0.8.0
func (d *NodeDaemonEndpointsDie) DieFeedYAML(y []byte) *NodeDaemonEndpointsDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeDaemonEndpointsDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *NodeDaemonEndpointsDie) DieFeedYAMLFile(name string) *NodeDaemonEndpointsDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*NodeDaemonEndpointsDie) DieImmutable ¶
func (d *NodeDaemonEndpointsDie) DieImmutable(immutable bool) *NodeDaemonEndpointsDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*NodeDaemonEndpointsDie) DieRelease ¶
func (d *NodeDaemonEndpointsDie) DieRelease() corev1.NodeDaemonEndpoints
DieRelease returns the resource managed by the die.
func (*NodeDaemonEndpointsDie) DieReleaseJSON ¶ added in v0.8.0
func (d *NodeDaemonEndpointsDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NodeDaemonEndpointsDie) DieReleasePtr ¶
func (d *NodeDaemonEndpointsDie) DieReleasePtr() *corev1.NodeDaemonEndpoints
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NodeDaemonEndpointsDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *NodeDaemonEndpointsDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeDaemonEndpointsDie) DieReleaseYAML ¶ added in v0.8.0
func (d *NodeDaemonEndpointsDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeDaemonEndpointsDie) DieStamp ¶
func (d *NodeDaemonEndpointsDie) DieStamp(fn func(r *corev1.NodeDaemonEndpoints)) *NodeDaemonEndpointsDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NodeDaemonEndpointsDie) DieStampAt ¶ added in v0.8.0
func (d *NodeDaemonEndpointsDie) DieStampAt(jp string, fn interface{}) *NodeDaemonEndpointsDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*NodeDaemonEndpointsDie) DieWith ¶ added in v0.9.0
func (d *NodeDaemonEndpointsDie) DieWith(fns ...func(d *NodeDaemonEndpointsDie)) *NodeDaemonEndpointsDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NodeDaemonEndpointsDie) KubeletEndpoint ¶
func (d *NodeDaemonEndpointsDie) KubeletEndpoint(v corev1.DaemonEndpoint) *NodeDaemonEndpointsDie
Endpoint on which Kubelet is listening.
func (*NodeDaemonEndpointsDie) KubeletEndpointDie ¶
func (d *NodeDaemonEndpointsDie) KubeletEndpointDie(fn func(d *DaemonEndpointDie)) *NodeDaemonEndpointsDie
type NodeDie ¶
type NodeDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*NodeDie) APIVersion ¶ added in v0.5.0
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*NodeDie) DeepCopy ¶
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NodeDie) DeepCopyObject ¶
func (*NodeDie) DieFeedJSON ¶ added in v0.8.0
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NodeDie) DieFeedPtr ¶
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NodeDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *NodeDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeDie) DieFeedYAML ¶ added in v0.8.0
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeDie) DieFeedYAMLFile ¶ added in v0.8.0
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*NodeDie) DieImmutable ¶
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*NodeDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*NodeDie) DieReleaseJSON ¶ added in v0.8.0
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NodeDie) DieReleasePtr ¶
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NodeDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *NodeDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeDie) DieReleaseUnstructured ¶
func (d *NodeDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*NodeDie) DieReleaseYAML ¶ added in v0.8.0
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NodeDie) DieStampAt ¶ added in v0.8.0
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*NodeDie) DieWith ¶ added in v0.9.0
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NodeDie) GetObjectKind ¶
func (d *NodeDie) GetObjectKind() schema.ObjectKind
func (*NodeDie) Kind ¶ added in v0.5.0
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*NodeDie) MarshalJSON ¶
func (*NodeDie) MetadataDie ¶
func (d *NodeDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *NodeDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*NodeDie) Spec ¶
Spec defines the behavior of a node.
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*NodeDie) SpecDie ¶
func (d *NodeDie) SpecDie(fn func(d *NodeSpecDie)) *NodeDie
SpecDie stamps the resource's spec field with a mutable die.
func (*NodeDie) Status ¶
func (d *NodeDie) Status(v corev1.NodeStatus) *NodeDie
Most recently observed status of the node.
Populated by the system.
Read-only.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*NodeDie) StatusDie ¶
func (d *NodeDie) StatusDie(fn func(d *NodeStatusDie)) *NodeDie
StatusDie stamps the resource's status field with a mutable die.
func (*NodeDie) UnmarshalJSON ¶
type NodeSelectorDie ¶
type NodeSelectorDie struct {
// contains filtered or unexported fields
}
func (*NodeSelectorDie) DeepCopy ¶
func (d *NodeSelectorDie) DeepCopy() *NodeSelectorDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NodeSelectorDie) DieFeed ¶
func (d *NodeSelectorDie) DieFeed(r corev1.NodeSelector) *NodeSelectorDie
DieFeed returns a new die with the provided resource.
func (*NodeSelectorDie) DieFeedJSON ¶ added in v0.8.0
func (d *NodeSelectorDie) DieFeedJSON(j []byte) *NodeSelectorDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NodeSelectorDie) DieFeedPtr ¶
func (d *NodeSelectorDie) DieFeedPtr(r *corev1.NodeSelector) *NodeSelectorDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NodeSelectorDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *NodeSelectorDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeSelectorDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeSelectorDie) DieFeedYAML ¶ added in v0.8.0
func (d *NodeSelectorDie) DieFeedYAML(y []byte) *NodeSelectorDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeSelectorDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *NodeSelectorDie) DieFeedYAMLFile(name string) *NodeSelectorDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*NodeSelectorDie) DieImmutable ¶
func (d *NodeSelectorDie) DieImmutable(immutable bool) *NodeSelectorDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*NodeSelectorDie) DieRelease ¶
func (d *NodeSelectorDie) DieRelease() corev1.NodeSelector
DieRelease returns the resource managed by the die.
func (*NodeSelectorDie) DieReleaseJSON ¶ added in v0.8.0
func (d *NodeSelectorDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NodeSelectorDie) DieReleasePtr ¶
func (d *NodeSelectorDie) DieReleasePtr() *corev1.NodeSelector
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NodeSelectorDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *NodeSelectorDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeSelectorDie) DieReleaseYAML ¶ added in v0.8.0
func (d *NodeSelectorDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeSelectorDie) DieStamp ¶
func (d *NodeSelectorDie) DieStamp(fn func(r *corev1.NodeSelector)) *NodeSelectorDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NodeSelectorDie) DieStampAt ¶ added in v0.8.0
func (d *NodeSelectorDie) DieStampAt(jp string, fn interface{}) *NodeSelectorDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*NodeSelectorDie) DieWith ¶ added in v0.9.0
func (d *NodeSelectorDie) DieWith(fns ...func(d *NodeSelectorDie)) *NodeSelectorDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NodeSelectorDie) NodeSelectorTerms ¶
func (d *NodeSelectorDie) NodeSelectorTerms(v ...corev1.NodeSelectorTerm) *NodeSelectorDie
Required. A list of node selector terms. The terms are ORed.
func (*NodeSelectorDie) NodeSelectorTermsDie ¶
func (d *NodeSelectorDie) NodeSelectorTermsDie(terms ...*NodeSelectorTermDie) *NodeSelectorDie
type NodeSelectorRequirementDie ¶
type NodeSelectorRequirementDie struct {
// contains filtered or unexported fields
}
func (*NodeSelectorRequirementDie) DeepCopy ¶
func (d *NodeSelectorRequirementDie) DeepCopy() *NodeSelectorRequirementDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NodeSelectorRequirementDie) DieFeed ¶
func (d *NodeSelectorRequirementDie) DieFeed(r corev1.NodeSelectorRequirement) *NodeSelectorRequirementDie
DieFeed returns a new die with the provided resource.
func (*NodeSelectorRequirementDie) DieFeedJSON ¶ added in v0.8.0
func (d *NodeSelectorRequirementDie) DieFeedJSON(j []byte) *NodeSelectorRequirementDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NodeSelectorRequirementDie) DieFeedPtr ¶
func (d *NodeSelectorRequirementDie) DieFeedPtr(r *corev1.NodeSelectorRequirement) *NodeSelectorRequirementDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NodeSelectorRequirementDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *NodeSelectorRequirementDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeSelectorRequirementDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeSelectorRequirementDie) DieFeedYAML ¶ added in v0.8.0
func (d *NodeSelectorRequirementDie) DieFeedYAML(y []byte) *NodeSelectorRequirementDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeSelectorRequirementDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *NodeSelectorRequirementDie) DieFeedYAMLFile(name string) *NodeSelectorRequirementDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*NodeSelectorRequirementDie) DieImmutable ¶
func (d *NodeSelectorRequirementDie) DieImmutable(immutable bool) *NodeSelectorRequirementDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*NodeSelectorRequirementDie) DieRelease ¶
func (d *NodeSelectorRequirementDie) DieRelease() corev1.NodeSelectorRequirement
DieRelease returns the resource managed by the die.
func (*NodeSelectorRequirementDie) DieReleaseJSON ¶ added in v0.8.0
func (d *NodeSelectorRequirementDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NodeSelectorRequirementDie) DieReleasePtr ¶
func (d *NodeSelectorRequirementDie) DieReleasePtr() *corev1.NodeSelectorRequirement
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NodeSelectorRequirementDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *NodeSelectorRequirementDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeSelectorRequirementDie) DieReleaseYAML ¶ added in v0.8.0
func (d *NodeSelectorRequirementDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeSelectorRequirementDie) DieStamp ¶
func (d *NodeSelectorRequirementDie) DieStamp(fn func(r *corev1.NodeSelectorRequirement)) *NodeSelectorRequirementDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NodeSelectorRequirementDie) DieStampAt ¶ added in v0.8.0
func (d *NodeSelectorRequirementDie) DieStampAt(jp string, fn interface{}) *NodeSelectorRequirementDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*NodeSelectorRequirementDie) DieWith ¶ added in v0.9.0
func (d *NodeSelectorRequirementDie) DieWith(fns ...func(d *NodeSelectorRequirementDie)) *NodeSelectorRequirementDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NodeSelectorRequirementDie) Key ¶
func (d *NodeSelectorRequirementDie) Key(v string) *NodeSelectorRequirementDie
The label key that the selector applies to.
func (*NodeSelectorRequirementDie) Operator ¶
func (d *NodeSelectorRequirementDie) Operator(v corev1.NodeSelectorOperator) *NodeSelectorRequirementDie
Represents a key's relationship to a set of values.
Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
func (*NodeSelectorRequirementDie) Values ¶
func (d *NodeSelectorRequirementDie) Values(v ...string) *NodeSelectorRequirementDie
An array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. If the operator is Gt or Lt, the values
array must have a single element, which will be interpreted as an integer.
This array is replaced during a strategic merge patch.
type NodeSelectorTermDie ¶
type NodeSelectorTermDie struct {
// contains filtered or unexported fields
}
func (*NodeSelectorTermDie) DeepCopy ¶
func (d *NodeSelectorTermDie) DeepCopy() *NodeSelectorTermDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NodeSelectorTermDie) DieFeed ¶
func (d *NodeSelectorTermDie) DieFeed(r corev1.NodeSelectorTerm) *NodeSelectorTermDie
DieFeed returns a new die with the provided resource.
func (*NodeSelectorTermDie) DieFeedJSON ¶ added in v0.8.0
func (d *NodeSelectorTermDie) DieFeedJSON(j []byte) *NodeSelectorTermDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NodeSelectorTermDie) DieFeedPtr ¶
func (d *NodeSelectorTermDie) DieFeedPtr(r *corev1.NodeSelectorTerm) *NodeSelectorTermDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NodeSelectorTermDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *NodeSelectorTermDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeSelectorTermDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeSelectorTermDie) DieFeedYAML ¶ added in v0.8.0
func (d *NodeSelectorTermDie) DieFeedYAML(y []byte) *NodeSelectorTermDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeSelectorTermDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *NodeSelectorTermDie) DieFeedYAMLFile(name string) *NodeSelectorTermDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*NodeSelectorTermDie) DieImmutable ¶
func (d *NodeSelectorTermDie) DieImmutable(immutable bool) *NodeSelectorTermDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*NodeSelectorTermDie) DieRelease ¶
func (d *NodeSelectorTermDie) DieRelease() corev1.NodeSelectorTerm
DieRelease returns the resource managed by the die.
func (*NodeSelectorTermDie) DieReleaseJSON ¶ added in v0.8.0
func (d *NodeSelectorTermDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NodeSelectorTermDie) DieReleasePtr ¶
func (d *NodeSelectorTermDie) DieReleasePtr() *corev1.NodeSelectorTerm
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NodeSelectorTermDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *NodeSelectorTermDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeSelectorTermDie) DieReleaseYAML ¶ added in v0.8.0
func (d *NodeSelectorTermDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeSelectorTermDie) DieStamp ¶
func (d *NodeSelectorTermDie) DieStamp(fn func(r *corev1.NodeSelectorTerm)) *NodeSelectorTermDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NodeSelectorTermDie) DieStampAt ¶ added in v0.8.0
func (d *NodeSelectorTermDie) DieStampAt(jp string, fn interface{}) *NodeSelectorTermDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*NodeSelectorTermDie) DieWith ¶ added in v0.9.0
func (d *NodeSelectorTermDie) DieWith(fns ...func(d *NodeSelectorTermDie)) *NodeSelectorTermDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NodeSelectorTermDie) MatchExpressionDie ¶
func (d *NodeSelectorTermDie) MatchExpressionDie(key string, fn func(d *NodeSelectorRequirementDie)) *NodeSelectorTermDie
func (*NodeSelectorTermDie) MatchExpressions ¶
func (d *NodeSelectorTermDie) MatchExpressions(v ...corev1.NodeSelectorRequirement) *NodeSelectorTermDie
A list of node selector requirements by node's labels.
func (*NodeSelectorTermDie) MatchFields ¶
func (d *NodeSelectorTermDie) MatchFields(v ...corev1.NodeSelectorRequirement) *NodeSelectorTermDie
A list of node selector requirements by node's fields.
func (*NodeSelectorTermDie) MatchFieldsDie ¶
func (d *NodeSelectorTermDie) MatchFieldsDie(key string, fn func(d *NodeSelectorRequirementDie)) *NodeSelectorTermDie
type NodeSpecDie ¶
type NodeSpecDie struct {
// contains filtered or unexported fields
}
func (*NodeSpecDie) ConfigSource
deprecated
func (d *NodeSpecDie) ConfigSource(v *corev1.NodeConfigSource) *NodeSpecDie
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed.
func (*NodeSpecDie) ConfigSourceDie ¶
func (d *NodeSpecDie) ConfigSourceDie(fn func(d *NodeConfigSourceDie)) *NodeSpecDie
func (*NodeSpecDie) DeepCopy ¶
func (d *NodeSpecDie) DeepCopy() *NodeSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NodeSpecDie) DieFeed ¶
func (d *NodeSpecDie) DieFeed(r corev1.NodeSpec) *NodeSpecDie
DieFeed returns a new die with the provided resource.
func (*NodeSpecDie) DieFeedJSON ¶ added in v0.8.0
func (d *NodeSpecDie) DieFeedJSON(j []byte) *NodeSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NodeSpecDie) DieFeedPtr ¶
func (d *NodeSpecDie) DieFeedPtr(r *corev1.NodeSpec) *NodeSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NodeSpecDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *NodeSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeSpecDie) DieFeedYAML ¶ added in v0.8.0
func (d *NodeSpecDie) DieFeedYAML(y []byte) *NodeSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeSpecDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *NodeSpecDie) DieFeedYAMLFile(name string) *NodeSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*NodeSpecDie) DieImmutable ¶
func (d *NodeSpecDie) DieImmutable(immutable bool) *NodeSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*NodeSpecDie) DieRelease ¶
func (d *NodeSpecDie) DieRelease() corev1.NodeSpec
DieRelease returns the resource managed by the die.
func (*NodeSpecDie) DieReleaseJSON ¶ added in v0.8.0
func (d *NodeSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NodeSpecDie) DieReleasePtr ¶
func (d *NodeSpecDie) DieReleasePtr() *corev1.NodeSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NodeSpecDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *NodeSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeSpecDie) DieReleaseYAML ¶ added in v0.8.0
func (d *NodeSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeSpecDie) DieStamp ¶
func (d *NodeSpecDie) DieStamp(fn func(r *corev1.NodeSpec)) *NodeSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NodeSpecDie) DieStampAt ¶ added in v0.8.0
func (d *NodeSpecDie) DieStampAt(jp string, fn interface{}) *NodeSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*NodeSpecDie) DieWith ¶ added in v0.9.0
func (d *NodeSpecDie) DieWith(fns ...func(d *NodeSpecDie)) *NodeSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NodeSpecDie) DoNotUseExternalID ¶
func (d *NodeSpecDie) DoNotUseExternalID(v string) *NodeSpecDie
Deprecated. Not all kubelets will set this field. Remove field after 1.13.
func (*NodeSpecDie) PodCIDR ¶
func (d *NodeSpecDie) PodCIDR(v string) *NodeSpecDie
PodCIDR represents the pod IP range assigned to the node.
func (*NodeSpecDie) PodCIDRs ¶
func (d *NodeSpecDie) PodCIDRs(v ...string) *NodeSpecDie
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this
field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for
each of IPv4 and IPv6.
func (*NodeSpecDie) ProviderID ¶
func (d *NodeSpecDie) ProviderID(v string) *NodeSpecDie
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
func (*NodeSpecDie) TaintDie ¶
func (d *NodeSpecDie) TaintDie(key string, fn func(d *TaintDie)) *NodeSpecDie
func (*NodeSpecDie) Taints ¶
func (d *NodeSpecDie) Taints(v ...corev1.Taint) *NodeSpecDie
If specified, the node's taints.
func (*NodeSpecDie) Unschedulable ¶
func (d *NodeSpecDie) Unschedulable(v bool) *NodeSpecDie
Unschedulable controls node schedulability of new pods. By default, node is schedulable.
More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration
type NodeStatusDie ¶
type NodeStatusDie struct {
// contains filtered or unexported fields
}
func (*NodeStatusDie) AddAllocatable ¶
func (d *NodeStatusDie) AddAllocatable(name corev1.ResourceName, quantity resource.Quantity) *NodeStatusDie
func (*NodeStatusDie) AddAllocatableString ¶
func (d *NodeStatusDie) AddAllocatableString(name corev1.ResourceName, quantity string) *NodeStatusDie
func (*NodeStatusDie) AddCapacity ¶
func (d *NodeStatusDie) AddCapacity(name corev1.ResourceName, quantity resource.Quantity) *NodeStatusDie
func (*NodeStatusDie) AddCapacityString ¶
func (d *NodeStatusDie) AddCapacityString(name corev1.ResourceName, quantity string) *NodeStatusDie
func (*NodeStatusDie) Addresses ¶
func (d *NodeStatusDie) Addresses(v ...corev1.NodeAddress) *NodeStatusDie
List of addresses reachable to the node.
Queried from cloud provider, if available.
More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses
Note: This field is declared as mergeable, but the merge key is not sufficiently
unique, which can cause data corruption when it is merged. Callers should instead
use a full-replacement patch. See https://pr.k8s.io/79391 for an example.
Consumers should assume that addresses can change during the ¶
lifetime of a Node. However, there are some exceptions where this may not
be possible, such as Pods that inherit a Node's address in its own status or
consumers of the downward API (status.hostIP).
func (*NodeStatusDie) AddresssDie ¶
func (d *NodeStatusDie) AddresssDie(addresses ...*NodeAddressDie) *NodeStatusDie
func (*NodeStatusDie) Allocatable ¶
func (d *NodeStatusDie) Allocatable(v corev1.ResourceList) *NodeStatusDie
Allocatable represents the resources of a node that are available for scheduling.
Defaults to Capacity.
func (*NodeStatusDie) Capacity ¶
func (d *NodeStatusDie) Capacity(v corev1.ResourceList) *NodeStatusDie
Capacity represents the total resources of a node.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
func (*NodeStatusDie) Conditions ¶
func (d *NodeStatusDie) Conditions(v ...corev1.NodeCondition) *NodeStatusDie
Conditions is an array of current observed node conditions.
More info: https://kubernetes.io/docs/concepts/nodes/node/#condition
func (*NodeStatusDie) ConditionsDie ¶
func (d *NodeStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *NodeStatusDie
func (*NodeStatusDie) Config ¶
func (d *NodeStatusDie) Config(v *corev1.NodeConfigStatus) *NodeStatusDie
Status of the config assigned to the node via the dynamic Kubelet config feature.
func (*NodeStatusDie) ConfigDie ¶
func (d *NodeStatusDie) ConfigDie(fn func(d *NodeConfigStatusDie)) *NodeStatusDie
func (*NodeStatusDie) DaemonEndpoints ¶
func (d *NodeStatusDie) DaemonEndpoints(v corev1.NodeDaemonEndpoints) *NodeStatusDie
Endpoints of daemons running on the Node.
func (*NodeStatusDie) DaemonEndpointsDie ¶
func (d *NodeStatusDie) DaemonEndpointsDie(fn func(d *NodeDaemonEndpointsDie)) *NodeStatusDie
func (*NodeStatusDie) DeepCopy ¶
func (d *NodeStatusDie) DeepCopy() *NodeStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NodeStatusDie) DieFeed ¶
func (d *NodeStatusDie) DieFeed(r corev1.NodeStatus) *NodeStatusDie
DieFeed returns a new die with the provided resource.
func (*NodeStatusDie) DieFeedJSON ¶ added in v0.8.0
func (d *NodeStatusDie) DieFeedJSON(j []byte) *NodeStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NodeStatusDie) DieFeedPtr ¶
func (d *NodeStatusDie) DieFeedPtr(r *corev1.NodeStatus) *NodeStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NodeStatusDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *NodeStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeStatusDie) DieFeedYAML ¶ added in v0.8.0
func (d *NodeStatusDie) DieFeedYAML(y []byte) *NodeStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeStatusDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *NodeStatusDie) DieFeedYAMLFile(name string) *NodeStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*NodeStatusDie) DieImmutable ¶
func (d *NodeStatusDie) DieImmutable(immutable bool) *NodeStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*NodeStatusDie) DieRelease ¶
func (d *NodeStatusDie) DieRelease() corev1.NodeStatus
DieRelease returns the resource managed by the die.
func (*NodeStatusDie) DieReleaseJSON ¶ added in v0.8.0
func (d *NodeStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NodeStatusDie) DieReleasePtr ¶
func (d *NodeStatusDie) DieReleasePtr() *corev1.NodeStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NodeStatusDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *NodeStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeStatusDie) DieReleaseYAML ¶ added in v0.8.0
func (d *NodeStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeStatusDie) DieStamp ¶
func (d *NodeStatusDie) DieStamp(fn func(r *corev1.NodeStatus)) *NodeStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NodeStatusDie) DieStampAt ¶ added in v0.8.0
func (d *NodeStatusDie) DieStampAt(jp string, fn interface{}) *NodeStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*NodeStatusDie) DieWith ¶ added in v0.9.0
func (d *NodeStatusDie) DieWith(fns ...func(d *NodeStatusDie)) *NodeStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NodeStatusDie) Images ¶
func (d *NodeStatusDie) Images(v ...corev1.ContainerImage) *NodeStatusDie
List of container images on this node
func (*NodeStatusDie) ImagesDie ¶
func (d *NodeStatusDie) ImagesDie(images ...*ContainerImageDie) *NodeStatusDie
func (*NodeStatusDie) NodeInfo ¶
func (d *NodeStatusDie) NodeInfo(v corev1.NodeSystemInfo) *NodeStatusDie
Set of ids/uuids to uniquely identify the node.
More info: https://kubernetes.io/docs/concepts/nodes/node/#info
func (*NodeStatusDie) NodeInfoDie ¶
func (d *NodeStatusDie) NodeInfoDie(fn func(d *NodeSystemInfoDie)) *NodeStatusDie
func (*NodeStatusDie) Phase ¶
func (d *NodeStatusDie) Phase(v corev1.NodePhase) *NodeStatusDie
NodePhase is the recently observed lifecycle phase of the node.
More info: https://kubernetes.io/docs/concepts/nodes/node/#phase
The field is never populated, and now is deprecated.
func (*NodeStatusDie) VolumeAttachedDie ¶
func (d *NodeStatusDie) VolumeAttachedDie(name corev1.UniqueVolumeName, fn func(d *AttachedVolumeDie)) *NodeStatusDie
func (*NodeStatusDie) VolumesAttached ¶
func (d *NodeStatusDie) VolumesAttached(v ...corev1.AttachedVolume) *NodeStatusDie
List of volumes that are attached to the node.
func (*NodeStatusDie) VolumesInUse ¶
func (d *NodeStatusDie) VolumesInUse(v ...corev1.UniqueVolumeName) *NodeStatusDie
List of attachable volumes in use (mounted) by the node.
type NodeSystemInfoDie ¶
type NodeSystemInfoDie struct {
// contains filtered or unexported fields
}
func (*NodeSystemInfoDie) Architecture ¶
func (d *NodeSystemInfoDie) Architecture(v string) *NodeSystemInfoDie
The Architecture reported by the node
func (*NodeSystemInfoDie) BootID ¶
func (d *NodeSystemInfoDie) BootID(v string) *NodeSystemInfoDie
Boot ID reported by the node.
func (*NodeSystemInfoDie) ContainerRuntimeVersion ¶
func (d *NodeSystemInfoDie) ContainerRuntimeVersion(v string) *NodeSystemInfoDie
ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2).
func (*NodeSystemInfoDie) DeepCopy ¶
func (d *NodeSystemInfoDie) DeepCopy() *NodeSystemInfoDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NodeSystemInfoDie) DieFeed ¶
func (d *NodeSystemInfoDie) DieFeed(r corev1.NodeSystemInfo) *NodeSystemInfoDie
DieFeed returns a new die with the provided resource.
func (*NodeSystemInfoDie) DieFeedJSON ¶ added in v0.8.0
func (d *NodeSystemInfoDie) DieFeedJSON(j []byte) *NodeSystemInfoDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NodeSystemInfoDie) DieFeedPtr ¶
func (d *NodeSystemInfoDie) DieFeedPtr(r *corev1.NodeSystemInfo) *NodeSystemInfoDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NodeSystemInfoDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *NodeSystemInfoDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeSystemInfoDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeSystemInfoDie) DieFeedYAML ¶ added in v0.8.0
func (d *NodeSystemInfoDie) DieFeedYAML(y []byte) *NodeSystemInfoDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeSystemInfoDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *NodeSystemInfoDie) DieFeedYAMLFile(name string) *NodeSystemInfoDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*NodeSystemInfoDie) DieImmutable ¶
func (d *NodeSystemInfoDie) DieImmutable(immutable bool) *NodeSystemInfoDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*NodeSystemInfoDie) DieRelease ¶
func (d *NodeSystemInfoDie) DieRelease() corev1.NodeSystemInfo
DieRelease returns the resource managed by the die.
func (*NodeSystemInfoDie) DieReleaseJSON ¶ added in v0.8.0
func (d *NodeSystemInfoDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NodeSystemInfoDie) DieReleasePtr ¶
func (d *NodeSystemInfoDie) DieReleasePtr() *corev1.NodeSystemInfo
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NodeSystemInfoDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *NodeSystemInfoDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeSystemInfoDie) DieReleaseYAML ¶ added in v0.8.0
func (d *NodeSystemInfoDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeSystemInfoDie) DieStamp ¶
func (d *NodeSystemInfoDie) DieStamp(fn func(r *corev1.NodeSystemInfo)) *NodeSystemInfoDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NodeSystemInfoDie) DieStampAt ¶ added in v0.8.0
func (d *NodeSystemInfoDie) DieStampAt(jp string, fn interface{}) *NodeSystemInfoDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*NodeSystemInfoDie) DieWith ¶ added in v0.9.0
func (d *NodeSystemInfoDie) DieWith(fns ...func(d *NodeSystemInfoDie)) *NodeSystemInfoDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NodeSystemInfoDie) KernelVersion ¶
func (d *NodeSystemInfoDie) KernelVersion(v string) *NodeSystemInfoDie
Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).
func (*NodeSystemInfoDie) KubeProxyVersion ¶
func (d *NodeSystemInfoDie) KubeProxyVersion(v string) *NodeSystemInfoDie
KubeProxy Version reported by the node.
func (*NodeSystemInfoDie) KubeletVersion ¶
func (d *NodeSystemInfoDie) KubeletVersion(v string) *NodeSystemInfoDie
Kubelet Version reported by the node.
func (*NodeSystemInfoDie) MachineID ¶
func (d *NodeSystemInfoDie) MachineID(v string) *NodeSystemInfoDie
MachineID reported by the node. For unique machine identification
in the cluster this field is preferred. Learn more from man(5)
machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html
func (*NodeSystemInfoDie) OSImage ¶
func (d *NodeSystemInfoDie) OSImage(v string) *NodeSystemInfoDie
OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).
func (*NodeSystemInfoDie) OperatingSystem ¶
func (d *NodeSystemInfoDie) OperatingSystem(v string) *NodeSystemInfoDie
The Operating System reported by the node
func (*NodeSystemInfoDie) SystemUUID ¶
func (d *NodeSystemInfoDie) SystemUUID(v string) *NodeSystemInfoDie
SystemUUID reported by the node. For unique machine identification
MachineID is preferred. This field is specific to Red Hat hosts
https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid
type ObjectFieldSelectorDie ¶
type ObjectFieldSelectorDie struct {
// contains filtered or unexported fields
}
func (*ObjectFieldSelectorDie) APIVersion ¶
func (d *ObjectFieldSelectorDie) APIVersion(v string) *ObjectFieldSelectorDie
Version of the schema the FieldPath is written in terms of, defaults to "v1".
func (*ObjectFieldSelectorDie) DeepCopy ¶
func (d *ObjectFieldSelectorDie) DeepCopy() *ObjectFieldSelectorDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ObjectFieldSelectorDie) DieFeed ¶
func (d *ObjectFieldSelectorDie) DieFeed(r corev1.ObjectFieldSelector) *ObjectFieldSelectorDie
DieFeed returns a new die with the provided resource.
func (*ObjectFieldSelectorDie) DieFeedJSON ¶ added in v0.8.0
func (d *ObjectFieldSelectorDie) DieFeedJSON(j []byte) *ObjectFieldSelectorDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ObjectFieldSelectorDie) DieFeedPtr ¶
func (d *ObjectFieldSelectorDie) DieFeedPtr(r *corev1.ObjectFieldSelector) *ObjectFieldSelectorDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ObjectFieldSelectorDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ObjectFieldSelectorDie) DieFeedRawExtension(raw runtime.RawExtension) *ObjectFieldSelectorDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ObjectFieldSelectorDie) DieFeedYAML ¶ added in v0.8.0
func (d *ObjectFieldSelectorDie) DieFeedYAML(y []byte) *ObjectFieldSelectorDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ObjectFieldSelectorDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ObjectFieldSelectorDie) DieFeedYAMLFile(name string) *ObjectFieldSelectorDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ObjectFieldSelectorDie) DieImmutable ¶
func (d *ObjectFieldSelectorDie) DieImmutable(immutable bool) *ObjectFieldSelectorDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ObjectFieldSelectorDie) DieRelease ¶
func (d *ObjectFieldSelectorDie) DieRelease() corev1.ObjectFieldSelector
DieRelease returns the resource managed by the die.
func (*ObjectFieldSelectorDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ObjectFieldSelectorDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ObjectFieldSelectorDie) DieReleasePtr ¶
func (d *ObjectFieldSelectorDie) DieReleasePtr() *corev1.ObjectFieldSelector
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ObjectFieldSelectorDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ObjectFieldSelectorDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ObjectFieldSelectorDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ObjectFieldSelectorDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ObjectFieldSelectorDie) DieStamp ¶
func (d *ObjectFieldSelectorDie) DieStamp(fn func(r *corev1.ObjectFieldSelector)) *ObjectFieldSelectorDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ObjectFieldSelectorDie) DieStampAt ¶ added in v0.8.0
func (d *ObjectFieldSelectorDie) DieStampAt(jp string, fn interface{}) *ObjectFieldSelectorDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ObjectFieldSelectorDie) DieWith ¶ added in v0.9.0
func (d *ObjectFieldSelectorDie) DieWith(fns ...func(d *ObjectFieldSelectorDie)) *ObjectFieldSelectorDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ObjectFieldSelectorDie) FieldPath ¶
func (d *ObjectFieldSelectorDie) FieldPath(v string) *ObjectFieldSelectorDie
Path of the field to select in the specified API version.
type ObjectReferenceDie ¶
type ObjectReferenceDie struct {
// contains filtered or unexported fields
}
func (*ObjectReferenceDie) APIVersion ¶
func (d *ObjectReferenceDie) APIVersion(v string) *ObjectReferenceDie
API version of the referent.
func (*ObjectReferenceDie) DeepCopy ¶
func (d *ObjectReferenceDie) DeepCopy() *ObjectReferenceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ObjectReferenceDie) DieFeed ¶
func (d *ObjectReferenceDie) DieFeed(r corev1.ObjectReference) *ObjectReferenceDie
DieFeed returns a new die with the provided resource.
func (*ObjectReferenceDie) DieFeedJSON ¶ added in v0.8.0
func (d *ObjectReferenceDie) DieFeedJSON(j []byte) *ObjectReferenceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ObjectReferenceDie) DieFeedPtr ¶
func (d *ObjectReferenceDie) DieFeedPtr(r *corev1.ObjectReference) *ObjectReferenceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ObjectReferenceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ObjectReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *ObjectReferenceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ObjectReferenceDie) DieFeedYAML ¶ added in v0.8.0
func (d *ObjectReferenceDie) DieFeedYAML(y []byte) *ObjectReferenceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ObjectReferenceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ObjectReferenceDie) DieFeedYAMLFile(name string) *ObjectReferenceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ObjectReferenceDie) DieImmutable ¶
func (d *ObjectReferenceDie) DieImmutable(immutable bool) *ObjectReferenceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ObjectReferenceDie) DieRelease ¶
func (d *ObjectReferenceDie) DieRelease() corev1.ObjectReference
DieRelease returns the resource managed by the die.
func (*ObjectReferenceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ObjectReferenceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ObjectReferenceDie) DieReleasePtr ¶
func (d *ObjectReferenceDie) DieReleasePtr() *corev1.ObjectReference
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ObjectReferenceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ObjectReferenceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ObjectReferenceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ObjectReferenceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ObjectReferenceDie) DieStamp ¶
func (d *ObjectReferenceDie) DieStamp(fn func(r *corev1.ObjectReference)) *ObjectReferenceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ObjectReferenceDie) DieStampAt ¶ added in v0.8.0
func (d *ObjectReferenceDie) DieStampAt(jp string, fn interface{}) *ObjectReferenceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ObjectReferenceDie) DieWith ¶ added in v0.9.0
func (d *ObjectReferenceDie) DieWith(fns ...func(d *ObjectReferenceDie)) *ObjectReferenceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ObjectReferenceDie) FieldPath ¶
func (d *ObjectReferenceDie) FieldPath(v string) *ObjectReferenceDie
If referring to a piece of an object instead of an entire object, this string
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
For example, if the object reference is to a container within a pod, this would take on a value like:
"spec.containers{name}" (where "name" refers to the name of the container that triggered
the event) or if no container name is specified "spec.containers[2]" (container with
index 2 in this pod). This syntax is chosen only to have some well-defined way of
referencing a part of an object.
TODO: this design is not final and this field is subject to change in the future.
func (*ObjectReferenceDie) Kind ¶
func (d *ObjectReferenceDie) Kind(v string) *ObjectReferenceDie
Kind of the referent.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*ObjectReferenceDie) Name ¶
func (d *ObjectReferenceDie) Name(v string) *ObjectReferenceDie
Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
func (*ObjectReferenceDie) Namespace ¶
func (d *ObjectReferenceDie) Namespace(v string) *ObjectReferenceDie
Namespace of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
func (*ObjectReferenceDie) ResourceVersion ¶
func (d *ObjectReferenceDie) ResourceVersion(v string) *ObjectReferenceDie
Specific resourceVersion to which this reference is made, if any.
func (*ObjectReferenceDie) UID ¶
func (d *ObjectReferenceDie) UID(v types.UID) *ObjectReferenceDie
UID of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
type PersistentVolumeClaimDie ¶
type PersistentVolumeClaimDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*PersistentVolumeClaimDie) APIVersion ¶ added in v0.5.0
func (d *PersistentVolumeClaimDie) APIVersion(v string) *PersistentVolumeClaimDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*PersistentVolumeClaimDie) DeepCopy ¶
func (d *PersistentVolumeClaimDie) DeepCopy() *PersistentVolumeClaimDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PersistentVolumeClaimDie) DeepCopyObject ¶
func (d *PersistentVolumeClaimDie) DeepCopyObject() runtime.Object
func (*PersistentVolumeClaimDie) DieFeed ¶
func (d *PersistentVolumeClaimDie) DieFeed(r corev1.PersistentVolumeClaim) *PersistentVolumeClaimDie
DieFeed returns a new die with the provided resource.
func (*PersistentVolumeClaimDie) DieFeedJSON ¶ added in v0.8.0
func (d *PersistentVolumeClaimDie) DieFeedJSON(j []byte) *PersistentVolumeClaimDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PersistentVolumeClaimDie) DieFeedPtr ¶
func (d *PersistentVolumeClaimDie) DieFeedPtr(r *corev1.PersistentVolumeClaim) *PersistentVolumeClaimDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PersistentVolumeClaimDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PersistentVolumeClaimDie) DieFeedRawExtension(raw runtime.RawExtension) *PersistentVolumeClaimDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeClaimDie) DieFeedYAML ¶ added in v0.8.0
func (d *PersistentVolumeClaimDie) DieFeedYAML(y []byte) *PersistentVolumeClaimDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PersistentVolumeClaimDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PersistentVolumeClaimDie) DieFeedYAMLFile(name string) *PersistentVolumeClaimDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PersistentVolumeClaimDie) DieImmutable ¶
func (d *PersistentVolumeClaimDie) DieImmutable(immutable bool) *PersistentVolumeClaimDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PersistentVolumeClaimDie) DieRelease ¶
func (d *PersistentVolumeClaimDie) DieRelease() corev1.PersistentVolumeClaim
DieRelease returns the resource managed by the die.
func (*PersistentVolumeClaimDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PersistentVolumeClaimDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PersistentVolumeClaimDie) DieReleasePtr ¶
func (d *PersistentVolumeClaimDie) DieReleasePtr() *corev1.PersistentVolumeClaim
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PersistentVolumeClaimDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PersistentVolumeClaimDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeClaimDie) DieReleaseUnstructured ¶
func (d *PersistentVolumeClaimDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*PersistentVolumeClaimDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PersistentVolumeClaimDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PersistentVolumeClaimDie) DieStamp ¶
func (d *PersistentVolumeClaimDie) DieStamp(fn func(r *corev1.PersistentVolumeClaim)) *PersistentVolumeClaimDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PersistentVolumeClaimDie) DieStampAt ¶ added in v0.8.0
func (d *PersistentVolumeClaimDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeClaimDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PersistentVolumeClaimDie) DieWith ¶ added in v0.9.0
func (d *PersistentVolumeClaimDie) DieWith(fns ...func(d *PersistentVolumeClaimDie)) *PersistentVolumeClaimDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PersistentVolumeClaimDie) GetObjectKind ¶
func (d *PersistentVolumeClaimDie) GetObjectKind() schema.ObjectKind
func (*PersistentVolumeClaimDie) Kind ¶ added in v0.5.0
func (d *PersistentVolumeClaimDie) Kind(v string) *PersistentVolumeClaimDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*PersistentVolumeClaimDie) MarshalJSON ¶
func (d *PersistentVolumeClaimDie) MarshalJSON() ([]byte, error)
func (*PersistentVolumeClaimDie) MetadataDie ¶
func (d *PersistentVolumeClaimDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *PersistentVolumeClaimDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*PersistentVolumeClaimDie) Spec ¶
func (d *PersistentVolumeClaimDie) Spec(v corev1.PersistentVolumeClaimSpec) *PersistentVolumeClaimDie
spec defines the desired characteristics of a volume requested by a pod author.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
func (*PersistentVolumeClaimDie) SpecDie ¶
func (d *PersistentVolumeClaimDie) SpecDie(fn func(d *PersistentVolumeClaimSpecDie)) *PersistentVolumeClaimDie
SpecDie stamps the resource's spec field with a mutable die.
func (*PersistentVolumeClaimDie) Status ¶
func (d *PersistentVolumeClaimDie) Status(v corev1.PersistentVolumeClaimStatus) *PersistentVolumeClaimDie
status represents the current information/status of a persistent volume claim.
Read-only.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
func (*PersistentVolumeClaimDie) StatusDie ¶
func (d *PersistentVolumeClaimDie) StatusDie(fn func(d *PersistentVolumeClaimStatusDie)) *PersistentVolumeClaimDie
StatusDie stamps the resource's status field with a mutable die.
func (*PersistentVolumeClaimDie) UnmarshalJSON ¶
func (d *PersistentVolumeClaimDie) UnmarshalJSON(b []byte) error
type PersistentVolumeClaimSpecDie ¶
type PersistentVolumeClaimSpecDie struct {
// contains filtered or unexported fields
}
func (*PersistentVolumeClaimSpecDie) AccessModes ¶
func (d *PersistentVolumeClaimSpecDie) AccessModes(v ...corev1.PersistentVolumeAccessMode) *PersistentVolumeClaimSpecDie
accessModes contains the desired access modes the volume should have.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
func (*PersistentVolumeClaimSpecDie) DataSource ¶
func (d *PersistentVolumeClaimSpecDie) DataSource(v *corev1.TypedLocalObjectReference) *PersistentVolumeClaimSpecDie
dataSource field can be used to specify either:
* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)
* An existing PVC (PersistentVolumeClaim)
If the provisioner or an external controller can support the specified data source,
it will create a new volume based on the contents of the specified data source.
When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,
and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.
If the namespace is specified, then dataSourceRef will not be copied to dataSource.
func (*PersistentVolumeClaimSpecDie) DataSourceDie ¶
func (d *PersistentVolumeClaimSpecDie) DataSourceDie(fn func(d *TypedLocalObjectReferenceDie)) *PersistentVolumeClaimSpecDie
func (*PersistentVolumeClaimSpecDie) DataSourceRef ¶
func (d *PersistentVolumeClaimSpecDie) DataSourceRef(v *corev1.TypedObjectReference) *PersistentVolumeClaimSpecDie
dataSourceRef specifies the object from which to populate the volume with data, if a non-empty
volume is desired. This may be any object from a non-empty API group (non
core object) or a PersistentVolumeClaim object.
When this field is specified, volume binding will only succeed if the type of ¶
the specified object matches some installed volume populator or dynamic
provisioner.
This field will replace the functionality of the dataSource field and as such ¶
if both fields are non-empty, they must have the same value. For backwards
compatibility, when namespace isn't specified in dataSourceRef,
both fields (dataSource and dataSourceRef) will be set to the same
value automatically if one of them is empty and the other is non-empty.
When namespace is specified in dataSourceRef,
dataSource isn't set to the same value and must be empty.
There are three important differences between dataSource and dataSourceRef:
* While dataSource only allows two specific types of objects, dataSourceRef
allows any non-core object, as well as PersistentVolumeClaim objects.
* While dataSource ignores disallowed values (dropping them), dataSourceRef
preserves all values, and generates an error if a disallowed value is
specified.
* While dataSource only allows local objects, dataSourceRef allows objects
in any namespaces.
(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.
(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
func (*PersistentVolumeClaimSpecDie) DataSourceRefDie ¶
func (d *PersistentVolumeClaimSpecDie) DataSourceRefDie(fn func(d *TypedObjectReferenceDie)) *PersistentVolumeClaimSpecDie
func (*PersistentVolumeClaimSpecDie) DeepCopy ¶
func (d *PersistentVolumeClaimSpecDie) DeepCopy() *PersistentVolumeClaimSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PersistentVolumeClaimSpecDie) DieFeed ¶
func (d *PersistentVolumeClaimSpecDie) DieFeed(r corev1.PersistentVolumeClaimSpec) *PersistentVolumeClaimSpecDie
DieFeed returns a new die with the provided resource.
func (*PersistentVolumeClaimSpecDie) DieFeedJSON ¶ added in v0.8.0
func (d *PersistentVolumeClaimSpecDie) DieFeedJSON(j []byte) *PersistentVolumeClaimSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PersistentVolumeClaimSpecDie) DieFeedPtr ¶
func (d *PersistentVolumeClaimSpecDie) DieFeedPtr(r *corev1.PersistentVolumeClaimSpec) *PersistentVolumeClaimSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PersistentVolumeClaimSpecDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PersistentVolumeClaimSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *PersistentVolumeClaimSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeClaimSpecDie) DieFeedYAML ¶ added in v0.8.0
func (d *PersistentVolumeClaimSpecDie) DieFeedYAML(y []byte) *PersistentVolumeClaimSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PersistentVolumeClaimSpecDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PersistentVolumeClaimSpecDie) DieFeedYAMLFile(name string) *PersistentVolumeClaimSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PersistentVolumeClaimSpecDie) DieImmutable ¶
func (d *PersistentVolumeClaimSpecDie) DieImmutable(immutable bool) *PersistentVolumeClaimSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PersistentVolumeClaimSpecDie) DieRelease ¶
func (d *PersistentVolumeClaimSpecDie) DieRelease() corev1.PersistentVolumeClaimSpec
DieRelease returns the resource managed by the die.
func (*PersistentVolumeClaimSpecDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PersistentVolumeClaimSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PersistentVolumeClaimSpecDie) DieReleasePtr ¶
func (d *PersistentVolumeClaimSpecDie) DieReleasePtr() *corev1.PersistentVolumeClaimSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PersistentVolumeClaimSpecDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PersistentVolumeClaimSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeClaimSpecDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PersistentVolumeClaimSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PersistentVolumeClaimSpecDie) DieStamp ¶
func (d *PersistentVolumeClaimSpecDie) DieStamp(fn func(r *corev1.PersistentVolumeClaimSpec)) *PersistentVolumeClaimSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PersistentVolumeClaimSpecDie) DieStampAt ¶ added in v0.8.0
func (d *PersistentVolumeClaimSpecDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeClaimSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PersistentVolumeClaimSpecDie) DieWith ¶ added in v0.9.0
func (d *PersistentVolumeClaimSpecDie) DieWith(fns ...func(d *PersistentVolumeClaimSpecDie)) *PersistentVolumeClaimSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PersistentVolumeClaimSpecDie) Resources ¶
func (d *PersistentVolumeClaimSpecDie) Resources(v corev1.VolumeResourceRequirements) *PersistentVolumeClaimSpecDie
resources represents the minimum resources the volume should have.
If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements ¶
that are lower than previous value but must still be higher than capacity recorded in the
status field of the claim.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
func (*PersistentVolumeClaimSpecDie) ResourcesDie ¶
func (d *PersistentVolumeClaimSpecDie) ResourcesDie(fn func(d *VolumeResourceRequirementsDie)) *PersistentVolumeClaimSpecDie
func (*PersistentVolumeClaimSpecDie) Selector ¶
func (d *PersistentVolumeClaimSpecDie) Selector(v *apismetav1.LabelSelector) *PersistentVolumeClaimSpecDie
selector is a label query over volumes to consider for binding.
func (*PersistentVolumeClaimSpecDie) SelectorDie ¶
func (d *PersistentVolumeClaimSpecDie) SelectorDie(fn func(d *diemetav1.LabelSelectorDie)) *PersistentVolumeClaimSpecDie
func (*PersistentVolumeClaimSpecDie) StorageClassName ¶
func (d *PersistentVolumeClaimSpecDie) StorageClassName(v *string) *PersistentVolumeClaimSpecDie
storageClassName is the name of the StorageClass required by the claim.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
func (*PersistentVolumeClaimSpecDie) VolumeAttributesClassName ¶ added in v0.10.0
func (d *PersistentVolumeClaimSpecDie) VolumeAttributesClassName(v *string) *PersistentVolumeClaimSpecDie
volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.
If specified, the CSI driver will create or update the volume with the attributes defined ¶
in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,
it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass
will be applied to the claim but it's not allowed to reset this field to empty string once it is set.
If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass ¶
will be set by the persistentvolume controller if it exists.
If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be ¶
set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource
exists.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass
(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.
func (*PersistentVolumeClaimSpecDie) VolumeMode ¶
func (d *PersistentVolumeClaimSpecDie) VolumeMode(v *corev1.PersistentVolumeMode) *PersistentVolumeClaimSpecDie
volumeMode defines what type of volume is required by the claim.
Value of Filesystem is implied when not included in claim spec.
func (*PersistentVolumeClaimSpecDie) VolumeName ¶
func (d *PersistentVolumeClaimSpecDie) VolumeName(v string) *PersistentVolumeClaimSpecDie
volumeName is the binding reference to the PersistentVolume backing this claim.
type PersistentVolumeClaimStatusDie ¶
type PersistentVolumeClaimStatusDie struct {
// contains filtered or unexported fields
}
func (*PersistentVolumeClaimStatusDie) AccessModes ¶
func (d *PersistentVolumeClaimStatusDie) AccessModes(v ...corev1.PersistentVolumeAccessMode) *PersistentVolumeClaimStatusDie
accessModes contains the actual access modes the volume backing the PVC has.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
func (*PersistentVolumeClaimStatusDie) AddAllocatedResourceStatus ¶ added in v0.9.0
func (d *PersistentVolumeClaimStatusDie) AddAllocatedResourceStatus(name corev1.ResourceName, status corev1.ClaimResourceStatus) *PersistentVolumeClaimStatusDie
func (*PersistentVolumeClaimStatusDie) AddAllocatedResources ¶ added in v0.2.0
func (d *PersistentVolumeClaimStatusDie) AddAllocatedResources(name corev1.ResourceName, quantity resource.Quantity) *PersistentVolumeClaimStatusDie
func (*PersistentVolumeClaimStatusDie) AddAllocatedResourcesString ¶ added in v0.2.0
func (d *PersistentVolumeClaimStatusDie) AddAllocatedResourcesString(name corev1.ResourceName, quantity string) *PersistentVolumeClaimStatusDie
func (*PersistentVolumeClaimStatusDie) AddCapacity ¶
func (d *PersistentVolumeClaimStatusDie) AddCapacity(name corev1.ResourceName, quantity resource.Quantity) *PersistentVolumeClaimStatusDie
func (*PersistentVolumeClaimStatusDie) AddCapacityString ¶
func (d *PersistentVolumeClaimStatusDie) AddCapacityString(name corev1.ResourceName, quantity string) *PersistentVolumeClaimStatusDie
func (*PersistentVolumeClaimStatusDie) AllocatedResourceStatuses ¶ added in v0.9.0
func (d *PersistentVolumeClaimStatusDie) AllocatedResourceStatuses(v map[corev1.ResourceName]corev1.ClaimResourceStatus) *PersistentVolumeClaimStatusDie
allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either:
- Un-prefixed keys:
- storage - the capacity of the volume.
- Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used.
ClaimResourceStatus can be in any of following states:
- ControllerResizeInProgress: State set when resize controller starts resizing the volume in control-plane.
- ControllerResizeFailed: State set when resize has failed in resize controller with a terminal error.
- NodeResizePending: State set when resize controller has finished resizing the volume but further resizing of volume is needed on the node.
- NodeResizeInProgress: State set when kubelet starts resizing the volume.
- NodeResizeFailed: State set when resizing has failed in kubelet with a terminal error. Transient errors don't set NodeResizeFailed.
For example: if expanding a PVC for more capacity - this field can be one of the following states:
- pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress"
- pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed"
- pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending"
- pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress"
- pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed"
When this field is not set, it means that no resize operation is in progress for the given PVC.
A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC.
This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
func (*PersistentVolumeClaimStatusDie) AllocatedResources ¶ added in v0.2.0
func (d *PersistentVolumeClaimStatusDie) AllocatedResources(v corev1.ResourceList) *PersistentVolumeClaimStatusDie
allocatedResources tracks the resources allocated to a PVC including its capacity.
Key names follow standard Kubernetes label syntax. Valid values are either:
* Un-prefixed keys:
- storage - the capacity of the volume.
* Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered ¶
reserved and hence may not be used.
Capacity reported here may be larger than the actual capacity when a volume expansion operation ¶
is requested.
For storage quota, the larger value from allocatedResources and PVC.spec.resources is used.
If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.
If a volume expansion capacity request is lowered, allocatedResources is only ¶
lowered if there are no expansion operations in progress and if the actual volume capacity
is equal or lower than the requested capacity.
A controller that receives PVC update with previously unknown resourceName ¶
should ignore the update for the purpose it was designed. For example - a controller that
only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
resources associated with PVC.
This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
func (*PersistentVolumeClaimStatusDie) Capacity ¶
func (d *PersistentVolumeClaimStatusDie) Capacity(v corev1.ResourceList) *PersistentVolumeClaimStatusDie
capacity represents the actual resources of the underlying volume.
func (*PersistentVolumeClaimStatusDie) Conditions ¶
func (d *PersistentVolumeClaimStatusDie) Conditions(v ...corev1.PersistentVolumeClaimCondition) *PersistentVolumeClaimStatusDie
conditions is the current Condition of persistent volume claim. If underlying persistent volume is being
resized then the Condition will be set to 'ResizeStarted'.
func (*PersistentVolumeClaimStatusDie) ConditionsDie ¶
func (d *PersistentVolumeClaimStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *PersistentVolumeClaimStatusDie
func (*PersistentVolumeClaimStatusDie) CurrentVolumeAttributesClassName ¶ added in v0.10.0
func (d *PersistentVolumeClaimStatusDie) CurrentVolumeAttributesClassName(v *string) *PersistentVolumeClaimStatusDie
currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.
When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim ¶
This is an alpha field and requires enabling VolumeAttributesClass feature.
func (*PersistentVolumeClaimStatusDie) DeepCopy ¶
func (d *PersistentVolumeClaimStatusDie) DeepCopy() *PersistentVolumeClaimStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PersistentVolumeClaimStatusDie) DieFeed ¶
func (d *PersistentVolumeClaimStatusDie) DieFeed(r corev1.PersistentVolumeClaimStatus) *PersistentVolumeClaimStatusDie
DieFeed returns a new die with the provided resource.
func (*PersistentVolumeClaimStatusDie) DieFeedJSON ¶ added in v0.8.0
func (d *PersistentVolumeClaimStatusDie) DieFeedJSON(j []byte) *PersistentVolumeClaimStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PersistentVolumeClaimStatusDie) DieFeedPtr ¶
func (d *PersistentVolumeClaimStatusDie) DieFeedPtr(r *corev1.PersistentVolumeClaimStatus) *PersistentVolumeClaimStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PersistentVolumeClaimStatusDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PersistentVolumeClaimStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *PersistentVolumeClaimStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeClaimStatusDie) DieFeedYAML ¶ added in v0.8.0
func (d *PersistentVolumeClaimStatusDie) DieFeedYAML(y []byte) *PersistentVolumeClaimStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PersistentVolumeClaimStatusDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PersistentVolumeClaimStatusDie) DieFeedYAMLFile(name string) *PersistentVolumeClaimStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PersistentVolumeClaimStatusDie) DieImmutable ¶
func (d *PersistentVolumeClaimStatusDie) DieImmutable(immutable bool) *PersistentVolumeClaimStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PersistentVolumeClaimStatusDie) DieRelease ¶
func (d *PersistentVolumeClaimStatusDie) DieRelease() corev1.PersistentVolumeClaimStatus
DieRelease returns the resource managed by the die.
func (*PersistentVolumeClaimStatusDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PersistentVolumeClaimStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PersistentVolumeClaimStatusDie) DieReleasePtr ¶
func (d *PersistentVolumeClaimStatusDie) DieReleasePtr() *corev1.PersistentVolumeClaimStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PersistentVolumeClaimStatusDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PersistentVolumeClaimStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeClaimStatusDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PersistentVolumeClaimStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PersistentVolumeClaimStatusDie) DieStamp ¶
func (d *PersistentVolumeClaimStatusDie) DieStamp(fn func(r *corev1.PersistentVolumeClaimStatus)) *PersistentVolumeClaimStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PersistentVolumeClaimStatusDie) DieStampAt ¶ added in v0.8.0
func (d *PersistentVolumeClaimStatusDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeClaimStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PersistentVolumeClaimStatusDie) DieWith ¶ added in v0.9.0
func (d *PersistentVolumeClaimStatusDie) DieWith(fns ...func(d *PersistentVolumeClaimStatusDie)) *PersistentVolumeClaimStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PersistentVolumeClaimStatusDie) ModifyVolumeStatus ¶ added in v0.10.0
func (d *PersistentVolumeClaimStatusDie) ModifyVolumeStatus(v *corev1.ModifyVolumeStatus) *PersistentVolumeClaimStatusDie
ModifyVolumeStatus represents the status object of ControllerModifyVolume operation.
When this is unset, there is no ModifyVolume operation being attempted.
This is an alpha field and requires enabling VolumeAttributesClass feature.
func (*PersistentVolumeClaimStatusDie) ModifyVolumeStatusDie ¶ added in v0.10.0
func (d *PersistentVolumeClaimStatusDie) ModifyVolumeStatusDie(fn func(d *ModifyVolumeStatusDie)) *PersistentVolumeClaimStatusDie
func (*PersistentVolumeClaimStatusDie) Phase ¶
func (d *PersistentVolumeClaimStatusDie) Phase(v corev1.PersistentVolumeClaimPhase) *PersistentVolumeClaimStatusDie
phase represents the current phase of PersistentVolumeClaim.
type PersistentVolumeClaimTemplateDie ¶
type PersistentVolumeClaimTemplateDie struct {
// contains filtered or unexported fields
}
func (*PersistentVolumeClaimTemplateDie) DeepCopy ¶
func (d *PersistentVolumeClaimTemplateDie) DeepCopy() *PersistentVolumeClaimTemplateDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PersistentVolumeClaimTemplateDie) DieFeed ¶
func (d *PersistentVolumeClaimTemplateDie) DieFeed(r corev1.PersistentVolumeClaimTemplate) *PersistentVolumeClaimTemplateDie
DieFeed returns a new die with the provided resource.
func (*PersistentVolumeClaimTemplateDie) DieFeedJSON ¶ added in v0.8.0
func (d *PersistentVolumeClaimTemplateDie) DieFeedJSON(j []byte) *PersistentVolumeClaimTemplateDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PersistentVolumeClaimTemplateDie) DieFeedPtr ¶
func (d *PersistentVolumeClaimTemplateDie) DieFeedPtr(r *corev1.PersistentVolumeClaimTemplate) *PersistentVolumeClaimTemplateDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PersistentVolumeClaimTemplateDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PersistentVolumeClaimTemplateDie) DieFeedRawExtension(raw runtime.RawExtension) *PersistentVolumeClaimTemplateDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeClaimTemplateDie) DieFeedYAML ¶ added in v0.8.0
func (d *PersistentVolumeClaimTemplateDie) DieFeedYAML(y []byte) *PersistentVolumeClaimTemplateDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PersistentVolumeClaimTemplateDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PersistentVolumeClaimTemplateDie) DieFeedYAMLFile(name string) *PersistentVolumeClaimTemplateDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PersistentVolumeClaimTemplateDie) DieImmutable ¶
func (d *PersistentVolumeClaimTemplateDie) DieImmutable(immutable bool) *PersistentVolumeClaimTemplateDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PersistentVolumeClaimTemplateDie) DieRelease ¶
func (d *PersistentVolumeClaimTemplateDie) DieRelease() corev1.PersistentVolumeClaimTemplate
DieRelease returns the resource managed by the die.
func (*PersistentVolumeClaimTemplateDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PersistentVolumeClaimTemplateDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PersistentVolumeClaimTemplateDie) DieReleasePtr ¶
func (d *PersistentVolumeClaimTemplateDie) DieReleasePtr() *corev1.PersistentVolumeClaimTemplate
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PersistentVolumeClaimTemplateDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PersistentVolumeClaimTemplateDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeClaimTemplateDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PersistentVolumeClaimTemplateDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PersistentVolumeClaimTemplateDie) DieStamp ¶
func (d *PersistentVolumeClaimTemplateDie) DieStamp(fn func(r *corev1.PersistentVolumeClaimTemplate)) *PersistentVolumeClaimTemplateDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PersistentVolumeClaimTemplateDie) DieStampAt ¶ added in v0.8.0
func (d *PersistentVolumeClaimTemplateDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeClaimTemplateDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PersistentVolumeClaimTemplateDie) DieWith ¶ added in v0.9.0
func (d *PersistentVolumeClaimTemplateDie) DieWith(fns ...func(d *PersistentVolumeClaimTemplateDie)) *PersistentVolumeClaimTemplateDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PersistentVolumeClaimTemplateDie) MetadataDie ¶
func (d *PersistentVolumeClaimTemplateDie) MetadataDie(fn func(d *diemetav1.ObjectMetaDie)) *PersistentVolumeClaimTemplateDie
func (*PersistentVolumeClaimTemplateDie) ObjectMeta ¶
func (d *PersistentVolumeClaimTemplateDie) ObjectMeta(v apismetav1.ObjectMeta) *PersistentVolumeClaimTemplateDie
May contain labels and annotations that will be copied into the PVC
when creating it. No other fields are allowed and will be rejected during
validation.
func (*PersistentVolumeClaimTemplateDie) Spec ¶
func (d *PersistentVolumeClaimTemplateDie) Spec(v corev1.PersistentVolumeClaimSpec) *PersistentVolumeClaimTemplateDie
The specification for the PersistentVolumeClaim. The entire content is
copied unchanged into the PVC that gets created from this
template. The same fields as in a PersistentVolumeClaim
are also valid here.
func (*PersistentVolumeClaimTemplateDie) SpecDie ¶
func (d *PersistentVolumeClaimTemplateDie) SpecDie(fn func(d *PersistentVolumeClaimSpecDie)) *PersistentVolumeClaimTemplateDie
type PersistentVolumeClaimVolumeSourceDie ¶
type PersistentVolumeClaimVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*PersistentVolumeClaimVolumeSourceDie) ClaimName ¶
func (d *PersistentVolumeClaimVolumeSourceDie) ClaimName(v string) *PersistentVolumeClaimVolumeSourceDie
claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
func (*PersistentVolumeClaimVolumeSourceDie) DeepCopy ¶
func (d *PersistentVolumeClaimVolumeSourceDie) DeepCopy() *PersistentVolumeClaimVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PersistentVolumeClaimVolumeSourceDie) DieFeed ¶
func (d *PersistentVolumeClaimVolumeSourceDie) DieFeed(r corev1.PersistentVolumeClaimVolumeSource) *PersistentVolumeClaimVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*PersistentVolumeClaimVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *PersistentVolumeClaimVolumeSourceDie) DieFeedJSON(j []byte) *PersistentVolumeClaimVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PersistentVolumeClaimVolumeSourceDie) DieFeedPtr ¶
func (d *PersistentVolumeClaimVolumeSourceDie) DieFeedPtr(r *corev1.PersistentVolumeClaimVolumeSource) *PersistentVolumeClaimVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PersistentVolumeClaimVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PersistentVolumeClaimVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *PersistentVolumeClaimVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeClaimVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *PersistentVolumeClaimVolumeSourceDie) DieFeedYAML(y []byte) *PersistentVolumeClaimVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PersistentVolumeClaimVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PersistentVolumeClaimVolumeSourceDie) DieFeedYAMLFile(name string) *PersistentVolumeClaimVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PersistentVolumeClaimVolumeSourceDie) DieImmutable ¶
func (d *PersistentVolumeClaimVolumeSourceDie) DieImmutable(immutable bool) *PersistentVolumeClaimVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PersistentVolumeClaimVolumeSourceDie) DieRelease ¶
func (d *PersistentVolumeClaimVolumeSourceDie) DieRelease() corev1.PersistentVolumeClaimVolumeSource
DieRelease returns the resource managed by the die.
func (*PersistentVolumeClaimVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PersistentVolumeClaimVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PersistentVolumeClaimVolumeSourceDie) DieReleasePtr ¶
func (d *PersistentVolumeClaimVolumeSourceDie) DieReleasePtr() *corev1.PersistentVolumeClaimVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PersistentVolumeClaimVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PersistentVolumeClaimVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeClaimVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PersistentVolumeClaimVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PersistentVolumeClaimVolumeSourceDie) DieStamp ¶
func (d *PersistentVolumeClaimVolumeSourceDie) DieStamp(fn func(r *corev1.PersistentVolumeClaimVolumeSource)) *PersistentVolumeClaimVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PersistentVolumeClaimVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *PersistentVolumeClaimVolumeSourceDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeClaimVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PersistentVolumeClaimVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *PersistentVolumeClaimVolumeSourceDie) DieWith(fns ...func(d *PersistentVolumeClaimVolumeSourceDie)) *PersistentVolumeClaimVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PersistentVolumeClaimVolumeSourceDie) ReadOnly ¶
func (d *PersistentVolumeClaimVolumeSourceDie) ReadOnly(v bool) *PersistentVolumeClaimVolumeSourceDie
readOnly Will force the ReadOnly setting in VolumeMounts.
Default false.
type PersistentVolumeDie ¶
type PersistentVolumeDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*PersistentVolumeDie) APIVersion ¶ added in v0.5.0
func (d *PersistentVolumeDie) APIVersion(v string) *PersistentVolumeDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*PersistentVolumeDie) DeepCopy ¶
func (d *PersistentVolumeDie) DeepCopy() *PersistentVolumeDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PersistentVolumeDie) DeepCopyObject ¶
func (d *PersistentVolumeDie) DeepCopyObject() runtime.Object
func (*PersistentVolumeDie) DieFeed ¶
func (d *PersistentVolumeDie) DieFeed(r corev1.PersistentVolume) *PersistentVolumeDie
DieFeed returns a new die with the provided resource.
func (*PersistentVolumeDie) DieFeedJSON ¶ added in v0.8.0
func (d *PersistentVolumeDie) DieFeedJSON(j []byte) *PersistentVolumeDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PersistentVolumeDie) DieFeedPtr ¶
func (d *PersistentVolumeDie) DieFeedPtr(r *corev1.PersistentVolume) *PersistentVolumeDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PersistentVolumeDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PersistentVolumeDie) DieFeedRawExtension(raw runtime.RawExtension) *PersistentVolumeDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeDie) DieFeedYAML ¶ added in v0.8.0
func (d *PersistentVolumeDie) DieFeedYAML(y []byte) *PersistentVolumeDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PersistentVolumeDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PersistentVolumeDie) DieFeedYAMLFile(name string) *PersistentVolumeDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PersistentVolumeDie) DieImmutable ¶
func (d *PersistentVolumeDie) DieImmutable(immutable bool) *PersistentVolumeDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PersistentVolumeDie) DieRelease ¶
func (d *PersistentVolumeDie) DieRelease() corev1.PersistentVolume
DieRelease returns the resource managed by the die.
func (*PersistentVolumeDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PersistentVolumeDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PersistentVolumeDie) DieReleasePtr ¶
func (d *PersistentVolumeDie) DieReleasePtr() *corev1.PersistentVolume
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PersistentVolumeDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PersistentVolumeDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeDie) DieReleaseUnstructured ¶
func (d *PersistentVolumeDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*PersistentVolumeDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PersistentVolumeDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PersistentVolumeDie) DieStamp ¶
func (d *PersistentVolumeDie) DieStamp(fn func(r *corev1.PersistentVolume)) *PersistentVolumeDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PersistentVolumeDie) DieStampAt ¶ added in v0.8.0
func (d *PersistentVolumeDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PersistentVolumeDie) DieWith ¶ added in v0.9.0
func (d *PersistentVolumeDie) DieWith(fns ...func(d *PersistentVolumeDie)) *PersistentVolumeDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PersistentVolumeDie) GetObjectKind ¶
func (d *PersistentVolumeDie) GetObjectKind() schema.ObjectKind
func (*PersistentVolumeDie) Kind ¶ added in v0.5.0
func (d *PersistentVolumeDie) Kind(v string) *PersistentVolumeDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*PersistentVolumeDie) MarshalJSON ¶
func (d *PersistentVolumeDie) MarshalJSON() ([]byte, error)
func (*PersistentVolumeDie) MetadataDie ¶
func (d *PersistentVolumeDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *PersistentVolumeDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*PersistentVolumeDie) Spec ¶
func (d *PersistentVolumeDie) Spec(v corev1.PersistentVolumeSpec) *PersistentVolumeDie
spec defines a specification of a persistent volume owned by the cluster.
Provisioned by an administrator.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes
func (*PersistentVolumeDie) SpecDie ¶
func (d *PersistentVolumeDie) SpecDie(fn func(d *PersistentVolumeSpecDie)) *PersistentVolumeDie
SpecDie stamps the resource's spec field with a mutable die.
func (*PersistentVolumeDie) Status ¶
func (d *PersistentVolumeDie) Status(v corev1.PersistentVolumeStatus) *PersistentVolumeDie
status represents the current information/status for the persistent volume.
Populated by the system.
Read-only.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes
func (*PersistentVolumeDie) StatusDie ¶
func (d *PersistentVolumeDie) StatusDie(fn func(d *PersistentVolumeStatusDie)) *PersistentVolumeDie
StatusDie stamps the resource's status field with a mutable die.
func (*PersistentVolumeDie) UnmarshalJSON ¶
func (d *PersistentVolumeDie) UnmarshalJSON(b []byte) error
type PersistentVolumeSpecDie ¶
type PersistentVolumeSpecDie struct {
// contains filtered or unexported fields
}
func (*PersistentVolumeSpecDie) AWSElasticBlockStoreDie ¶
func (d *PersistentVolumeSpecDie) AWSElasticBlockStoreDie(fn func(d *AWSElasticBlockStoreVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) AccessModes ¶
func (d *PersistentVolumeSpecDie) AccessModes(v ...corev1.PersistentVolumeAccessMode) *PersistentVolumeSpecDie
accessModes contains all ways the volume can be mounted.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
func (*PersistentVolumeSpecDie) AddCapacity ¶
func (d *PersistentVolumeSpecDie) AddCapacity(name corev1.ResourceName, quantity resource.Quantity) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) AddCapacityString ¶
func (d *PersistentVolumeSpecDie) AddCapacityString(name corev1.ResourceName, quantity string) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) AzureDiskDie ¶
func (d *PersistentVolumeSpecDie) AzureDiskDie(fn func(d *AzureDiskVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) AzureFileDie ¶
func (d *PersistentVolumeSpecDie) AzureFileDie(fn func(d *AzureFilePersistentVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) CSIDie ¶
func (d *PersistentVolumeSpecDie) CSIDie(fn func(d *CSIPersistentVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) Capacity ¶
func (d *PersistentVolumeSpecDie) Capacity(v corev1.ResourceList) *PersistentVolumeSpecDie
capacity is the description of the persistent volume's resources and capacity.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
func (*PersistentVolumeSpecDie) CephFSDie ¶
func (d *PersistentVolumeSpecDie) CephFSDie(fn func(d *CephFSPersistentVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) CinderDie ¶
func (d *PersistentVolumeSpecDie) CinderDie(fn func(d *CinderPersistentVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) ClaimRef ¶
func (d *PersistentVolumeSpecDie) ClaimRef(v *corev1.ObjectReference) *PersistentVolumeSpecDie
claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
Expected to be non-nil when bound.
claim.VolumeName is the authoritative bind between PV and PVC.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding
func (*PersistentVolumeSpecDie) ClaimRefDie ¶
func (d *PersistentVolumeSpecDie) ClaimRefDie(fn func(d *ObjectReferenceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) DeepCopy ¶
func (d *PersistentVolumeSpecDie) DeepCopy() *PersistentVolumeSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PersistentVolumeSpecDie) DieFeed ¶
func (d *PersistentVolumeSpecDie) DieFeed(r corev1.PersistentVolumeSpec) *PersistentVolumeSpecDie
DieFeed returns a new die with the provided resource.
func (*PersistentVolumeSpecDie) DieFeedJSON ¶ added in v0.8.0
func (d *PersistentVolumeSpecDie) DieFeedJSON(j []byte) *PersistentVolumeSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PersistentVolumeSpecDie) DieFeedPtr ¶
func (d *PersistentVolumeSpecDie) DieFeedPtr(r *corev1.PersistentVolumeSpec) *PersistentVolumeSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PersistentVolumeSpecDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PersistentVolumeSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *PersistentVolumeSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeSpecDie) DieFeedYAML ¶ added in v0.8.0
func (d *PersistentVolumeSpecDie) DieFeedYAML(y []byte) *PersistentVolumeSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PersistentVolumeSpecDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PersistentVolumeSpecDie) DieFeedYAMLFile(name string) *PersistentVolumeSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PersistentVolumeSpecDie) DieImmutable ¶
func (d *PersistentVolumeSpecDie) DieImmutable(immutable bool) *PersistentVolumeSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PersistentVolumeSpecDie) DieRelease ¶
func (d *PersistentVolumeSpecDie) DieRelease() corev1.PersistentVolumeSpec
DieRelease returns the resource managed by the die.
func (*PersistentVolumeSpecDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PersistentVolumeSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PersistentVolumeSpecDie) DieReleasePtr ¶
func (d *PersistentVolumeSpecDie) DieReleasePtr() *corev1.PersistentVolumeSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PersistentVolumeSpecDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PersistentVolumeSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeSpecDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PersistentVolumeSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PersistentVolumeSpecDie) DieStamp ¶
func (d *PersistentVolumeSpecDie) DieStamp(fn func(r *corev1.PersistentVolumeSpec)) *PersistentVolumeSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PersistentVolumeSpecDie) DieStampAt ¶ added in v0.8.0
func (d *PersistentVolumeSpecDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PersistentVolumeSpecDie) DieWith ¶ added in v0.9.0
func (d *PersistentVolumeSpecDie) DieWith(fns ...func(d *PersistentVolumeSpecDie)) *PersistentVolumeSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PersistentVolumeSpecDie) FCDie ¶
func (d *PersistentVolumeSpecDie) FCDie(fn func(d *FCVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) FlexVolumeDie ¶
func (d *PersistentVolumeSpecDie) FlexVolumeDie(fn func(d *FlexPersistentVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) FlockerDie ¶
func (d *PersistentVolumeSpecDie) FlockerDie(fn func(d *FlockerVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) GCEPersistentDiskDie ¶
func (d *PersistentVolumeSpecDie) GCEPersistentDiskDie(fn func(d *GCEPersistentDiskVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) GlusterfsDie ¶
func (d *PersistentVolumeSpecDie) GlusterfsDie(fn func(d *GlusterfsPersistentVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) HostPathDie ¶
func (d *PersistentVolumeSpecDie) HostPathDie(fn func(d *HostPathVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) ISCSIDie ¶
func (d *PersistentVolumeSpecDie) ISCSIDie(fn func(d *ISCSIPersistentVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) LocalDie ¶
func (d *PersistentVolumeSpecDie) LocalDie(fn func(d *LocalVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) MountOptions ¶
func (d *PersistentVolumeSpecDie) MountOptions(v ...string) *PersistentVolumeSpecDie
mountOptions is the list of mount options, e.g. ["ro", "soft"]. Not validated - mount will
simply fail if one is invalid.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options
func (*PersistentVolumeSpecDie) NFSDie ¶
func (d *PersistentVolumeSpecDie) NFSDie(fn func(d *NFSVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) NodeAffinity ¶
func (d *PersistentVolumeSpecDie) NodeAffinity(v *corev1.VolumeNodeAffinity) *PersistentVolumeSpecDie
nodeAffinity defines constraints that limit what nodes this volume can be accessed from.
This field influences the scheduling of pods that use this volume.
func (*PersistentVolumeSpecDie) NodeAffinityDie ¶
func (d *PersistentVolumeSpecDie) NodeAffinityDie(fn func(d *VolumeNodeAffinityDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) PersistentVolumeReclaimPolicy ¶
func (d *PersistentVolumeSpecDie) PersistentVolumeReclaimPolicy(v corev1.PersistentVolumeReclaimPolicy) *PersistentVolumeSpecDie
persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim.
Valid options are Retain (default for manually created PersistentVolumes), Delete (default ¶
for dynamically provisioned PersistentVolumes), and Recycle (deprecated).
Recycle must be supported by the volume plugin underlying this PersistentVolume.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming
func (*PersistentVolumeSpecDie) PersistentVolumeSource ¶
func (d *PersistentVolumeSpecDie) PersistentVolumeSource(v corev1.PersistentVolumeSource) *PersistentVolumeSpecDie
persistentVolumeSource is the actual volume backing the persistent volume.
func (*PersistentVolumeSpecDie) PhotonPersistentDiskDie ¶
func (d *PersistentVolumeSpecDie) PhotonPersistentDiskDie(fn func(d *PhotonPersistentDiskVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) PortworxVolumeDie ¶
func (d *PersistentVolumeSpecDie) PortworxVolumeDie(fn func(d *PortworxVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) QuobyteDie ¶
func (d *PersistentVolumeSpecDie) QuobyteDie(fn func(d *QuobyteVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) RBDDie ¶
func (d *PersistentVolumeSpecDie) RBDDie(fn func(d *RBDPersistentVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) ScaleIODie ¶
func (d *PersistentVolumeSpecDie) ScaleIODie(fn func(d *ScaleIOPersistentVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) StorageClassName ¶
func (d *PersistentVolumeSpecDie) StorageClassName(v string) *PersistentVolumeSpecDie
storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value
means that this volume does not belong to any StorageClass.
func (*PersistentVolumeSpecDie) StorageOSDie ¶
func (d *PersistentVolumeSpecDie) StorageOSDie(fn func(d *StorageOSPersistentVolumeSourceDie)) *PersistentVolumeSpecDie
func (*PersistentVolumeSpecDie) VolumeAttributesClassName ¶ added in v0.10.0
func (d *PersistentVolumeSpecDie) VolumeAttributesClassName(v *string) *PersistentVolumeSpecDie
Name of VolumeAttributesClass to which this persistent volume belongs. Empty value
is not allowed. When this field is not set, it indicates that this volume does not belong to any
VolumeAttributesClass. This field is mutable and can be changed by the CSI driver
after a volume has been updated successfully to a new class.
For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound ¶
PersistentVolumeClaims during the binding process.
This is an alpha field and requires enabling VolumeAttributesClass feature.
func (*PersistentVolumeSpecDie) VolumeMode ¶
func (d *PersistentVolumeSpecDie) VolumeMode(v *corev1.PersistentVolumeMode) *PersistentVolumeSpecDie
volumeMode defines if a volume is intended to be used with a formatted filesystem
or to remain in raw block state. Value of Filesystem is implied when not included in spec.
func (*PersistentVolumeSpecDie) VsphereVolumeDie ¶
func (d *PersistentVolumeSpecDie) VsphereVolumeDie(fn func(d *VsphereVirtualDiskVolumeSourceDie)) *PersistentVolumeSpecDie
type PersistentVolumeStatusDie ¶
type PersistentVolumeStatusDie struct {
// contains filtered or unexported fields
}
func (*PersistentVolumeStatusDie) DeepCopy ¶
func (d *PersistentVolumeStatusDie) DeepCopy() *PersistentVolumeStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PersistentVolumeStatusDie) DieFeed ¶
func (d *PersistentVolumeStatusDie) DieFeed(r corev1.PersistentVolumeStatus) *PersistentVolumeStatusDie
DieFeed returns a new die with the provided resource.
func (*PersistentVolumeStatusDie) DieFeedJSON ¶ added in v0.8.0
func (d *PersistentVolumeStatusDie) DieFeedJSON(j []byte) *PersistentVolumeStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PersistentVolumeStatusDie) DieFeedPtr ¶
func (d *PersistentVolumeStatusDie) DieFeedPtr(r *corev1.PersistentVolumeStatus) *PersistentVolumeStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PersistentVolumeStatusDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PersistentVolumeStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *PersistentVolumeStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeStatusDie) DieFeedYAML ¶ added in v0.8.0
func (d *PersistentVolumeStatusDie) DieFeedYAML(y []byte) *PersistentVolumeStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PersistentVolumeStatusDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PersistentVolumeStatusDie) DieFeedYAMLFile(name string) *PersistentVolumeStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PersistentVolumeStatusDie) DieImmutable ¶
func (d *PersistentVolumeStatusDie) DieImmutable(immutable bool) *PersistentVolumeStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PersistentVolumeStatusDie) DieRelease ¶
func (d *PersistentVolumeStatusDie) DieRelease() corev1.PersistentVolumeStatus
DieRelease returns the resource managed by the die.
func (*PersistentVolumeStatusDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PersistentVolumeStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PersistentVolumeStatusDie) DieReleasePtr ¶
func (d *PersistentVolumeStatusDie) DieReleasePtr() *corev1.PersistentVolumeStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PersistentVolumeStatusDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PersistentVolumeStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeStatusDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PersistentVolumeStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PersistentVolumeStatusDie) DieStamp ¶
func (d *PersistentVolumeStatusDie) DieStamp(fn func(r *corev1.PersistentVolumeStatus)) *PersistentVolumeStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PersistentVolumeStatusDie) DieStampAt ¶ added in v0.8.0
func (d *PersistentVolumeStatusDie) DieStampAt(jp string, fn interface{}) *PersistentVolumeStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PersistentVolumeStatusDie) DieWith ¶ added in v0.9.0
func (d *PersistentVolumeStatusDie) DieWith(fns ...func(d *PersistentVolumeStatusDie)) *PersistentVolumeStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PersistentVolumeStatusDie) LastPhaseTransitionTime ¶ added in v0.9.0
func (d *PersistentVolumeStatusDie) LastPhaseTransitionTime(v *apismetav1.Time) *PersistentVolumeStatusDie
lastPhaseTransitionTime is the time the phase transitioned from one to another
and automatically resets to current time everytime a volume phase transitions.
This is an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature.
func (*PersistentVolumeStatusDie) Message ¶
func (d *PersistentVolumeStatusDie) Message(v string) *PersistentVolumeStatusDie
message is a human-readable message indicating details about why the volume is in this state.
func (*PersistentVolumeStatusDie) Phase ¶
func (d *PersistentVolumeStatusDie) Phase(v corev1.PersistentVolumePhase) *PersistentVolumeStatusDie
phase indicates if a volume is available, bound to a claim, or released by a claim.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
func (*PersistentVolumeStatusDie) Reason ¶
func (d *PersistentVolumeStatusDie) Reason(v string) *PersistentVolumeStatusDie
reason is a brief CamelCase string that describes any failure and is meant
for machine parsing and tidy display in the CLI.
type PhotonPersistentDiskVolumeSourceDie ¶
type PhotonPersistentDiskVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*PhotonPersistentDiskVolumeSourceDie) DeepCopy ¶
func (d *PhotonPersistentDiskVolumeSourceDie) DeepCopy() *PhotonPersistentDiskVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PhotonPersistentDiskVolumeSourceDie) DieFeed ¶
func (d *PhotonPersistentDiskVolumeSourceDie) DieFeed(r corev1.PhotonPersistentDiskVolumeSource) *PhotonPersistentDiskVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*PhotonPersistentDiskVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *PhotonPersistentDiskVolumeSourceDie) DieFeedJSON(j []byte) *PhotonPersistentDiskVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PhotonPersistentDiskVolumeSourceDie) DieFeedPtr ¶
func (d *PhotonPersistentDiskVolumeSourceDie) DieFeedPtr(r *corev1.PhotonPersistentDiskVolumeSource) *PhotonPersistentDiskVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PhotonPersistentDiskVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PhotonPersistentDiskVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *PhotonPersistentDiskVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PhotonPersistentDiskVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *PhotonPersistentDiskVolumeSourceDie) DieFeedYAML(y []byte) *PhotonPersistentDiskVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PhotonPersistentDiskVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PhotonPersistentDiskVolumeSourceDie) DieFeedYAMLFile(name string) *PhotonPersistentDiskVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PhotonPersistentDiskVolumeSourceDie) DieImmutable ¶
func (d *PhotonPersistentDiskVolumeSourceDie) DieImmutable(immutable bool) *PhotonPersistentDiskVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PhotonPersistentDiskVolumeSourceDie) DieRelease ¶
func (d *PhotonPersistentDiskVolumeSourceDie) DieRelease() corev1.PhotonPersistentDiskVolumeSource
DieRelease returns the resource managed by the die.
func (*PhotonPersistentDiskVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PhotonPersistentDiskVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PhotonPersistentDiskVolumeSourceDie) DieReleasePtr ¶
func (d *PhotonPersistentDiskVolumeSourceDie) DieReleasePtr() *corev1.PhotonPersistentDiskVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PhotonPersistentDiskVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PhotonPersistentDiskVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PhotonPersistentDiskVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PhotonPersistentDiskVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PhotonPersistentDiskVolumeSourceDie) DieStamp ¶
func (d *PhotonPersistentDiskVolumeSourceDie) DieStamp(fn func(r *corev1.PhotonPersistentDiskVolumeSource)) *PhotonPersistentDiskVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PhotonPersistentDiskVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *PhotonPersistentDiskVolumeSourceDie) DieStampAt(jp string, fn interface{}) *PhotonPersistentDiskVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PhotonPersistentDiskVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *PhotonPersistentDiskVolumeSourceDie) DieWith(fns ...func(d *PhotonPersistentDiskVolumeSourceDie)) *PhotonPersistentDiskVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PhotonPersistentDiskVolumeSourceDie) FSType ¶
func (d *PhotonPersistentDiskVolumeSourceDie) FSType(v string) *PhotonPersistentDiskVolumeSourceDie
fsType is the filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
func (*PhotonPersistentDiskVolumeSourceDie) PdID ¶
func (d *PhotonPersistentDiskVolumeSourceDie) PdID(v string) *PhotonPersistentDiskVolumeSourceDie
pdID is the ID that identifies Photon Controller persistent disk
type PodDNSConfigDie ¶
type PodDNSConfigDie struct {
// contains filtered or unexported fields
}
func (*PodDNSConfigDie) DeepCopy ¶
func (d *PodDNSConfigDie) DeepCopy() *PodDNSConfigDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PodDNSConfigDie) DieFeed ¶
func (d *PodDNSConfigDie) DieFeed(r corev1.PodDNSConfig) *PodDNSConfigDie
DieFeed returns a new die with the provided resource.
func (*PodDNSConfigDie) DieFeedJSON ¶ added in v0.8.0
func (d *PodDNSConfigDie) DieFeedJSON(j []byte) *PodDNSConfigDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PodDNSConfigDie) DieFeedPtr ¶
func (d *PodDNSConfigDie) DieFeedPtr(r *corev1.PodDNSConfig) *PodDNSConfigDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PodDNSConfigDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PodDNSConfigDie) DieFeedRawExtension(raw runtime.RawExtension) *PodDNSConfigDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodDNSConfigDie) DieFeedYAML ¶ added in v0.8.0
func (d *PodDNSConfigDie) DieFeedYAML(y []byte) *PodDNSConfigDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodDNSConfigDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PodDNSConfigDie) DieFeedYAMLFile(name string) *PodDNSConfigDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PodDNSConfigDie) DieImmutable ¶
func (d *PodDNSConfigDie) DieImmutable(immutable bool) *PodDNSConfigDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PodDNSConfigDie) DieRelease ¶
func (d *PodDNSConfigDie) DieRelease() corev1.PodDNSConfig
DieRelease returns the resource managed by the die.
func (*PodDNSConfigDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PodDNSConfigDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PodDNSConfigDie) DieReleasePtr ¶
func (d *PodDNSConfigDie) DieReleasePtr() *corev1.PodDNSConfig
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PodDNSConfigDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PodDNSConfigDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodDNSConfigDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PodDNSConfigDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodDNSConfigDie) DieStamp ¶
func (d *PodDNSConfigDie) DieStamp(fn func(r *corev1.PodDNSConfig)) *PodDNSConfigDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PodDNSConfigDie) DieStampAt ¶ added in v0.8.0
func (d *PodDNSConfigDie) DieStampAt(jp string, fn interface{}) *PodDNSConfigDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PodDNSConfigDie) DieWith ¶ added in v0.9.0
func (d *PodDNSConfigDie) DieWith(fns ...func(d *PodDNSConfigDie)) *PodDNSConfigDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PodDNSConfigDie) Nameservers ¶
func (d *PodDNSConfigDie) Nameservers(v ...string) *PodDNSConfigDie
A list of DNS name server IP addresses.
This will be appended to the base nameservers generated from DNSPolicy.
Duplicated nameservers will be removed.
func (*PodDNSConfigDie) Options ¶
func (d *PodDNSConfigDie) Options(v ...corev1.PodDNSConfigOption) *PodDNSConfigDie
A list of DNS resolver options.
This will be merged with the base options generated from DNSPolicy.
Duplicated entries will be removed. Resolution options given in Options
will override those that appear in the base DNSPolicy.
func (*PodDNSConfigDie) OptionsDie ¶
func (d *PodDNSConfigDie) OptionsDie(options ...*PodDNSConfigOptionDie) *PodDNSConfigDie
func (*PodDNSConfigDie) Searches ¶
func (d *PodDNSConfigDie) Searches(v ...string) *PodDNSConfigDie
A list of DNS search domains for host-name lookup.
This will be appended to the base search paths generated from DNSPolicy.
Duplicated search paths will be removed.
type PodDNSConfigOptionDie ¶
type PodDNSConfigOptionDie struct {
// contains filtered or unexported fields
}
func (*PodDNSConfigOptionDie) DeepCopy ¶
func (d *PodDNSConfigOptionDie) DeepCopy() *PodDNSConfigOptionDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PodDNSConfigOptionDie) DieFeed ¶
func (d *PodDNSConfigOptionDie) DieFeed(r corev1.PodDNSConfigOption) *PodDNSConfigOptionDie
DieFeed returns a new die with the provided resource.
func (*PodDNSConfigOptionDie) DieFeedJSON ¶ added in v0.8.0
func (d *PodDNSConfigOptionDie) DieFeedJSON(j []byte) *PodDNSConfigOptionDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PodDNSConfigOptionDie) DieFeedPtr ¶
func (d *PodDNSConfigOptionDie) DieFeedPtr(r *corev1.PodDNSConfigOption) *PodDNSConfigOptionDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PodDNSConfigOptionDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PodDNSConfigOptionDie) DieFeedRawExtension(raw runtime.RawExtension) *PodDNSConfigOptionDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodDNSConfigOptionDie) DieFeedYAML ¶ added in v0.8.0
func (d *PodDNSConfigOptionDie) DieFeedYAML(y []byte) *PodDNSConfigOptionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodDNSConfigOptionDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PodDNSConfigOptionDie) DieFeedYAMLFile(name string) *PodDNSConfigOptionDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PodDNSConfigOptionDie) DieImmutable ¶
func (d *PodDNSConfigOptionDie) DieImmutable(immutable bool) *PodDNSConfigOptionDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PodDNSConfigOptionDie) DieRelease ¶
func (d *PodDNSConfigOptionDie) DieRelease() corev1.PodDNSConfigOption
DieRelease returns the resource managed by the die.
func (*PodDNSConfigOptionDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PodDNSConfigOptionDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PodDNSConfigOptionDie) DieReleasePtr ¶
func (d *PodDNSConfigOptionDie) DieReleasePtr() *corev1.PodDNSConfigOption
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PodDNSConfigOptionDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PodDNSConfigOptionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodDNSConfigOptionDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PodDNSConfigOptionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodDNSConfigOptionDie) DieStamp ¶
func (d *PodDNSConfigOptionDie) DieStamp(fn func(r *corev1.PodDNSConfigOption)) *PodDNSConfigOptionDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PodDNSConfigOptionDie) DieStampAt ¶ added in v0.8.0
func (d *PodDNSConfigOptionDie) DieStampAt(jp string, fn interface{}) *PodDNSConfigOptionDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PodDNSConfigOptionDie) DieWith ¶ added in v0.9.0
func (d *PodDNSConfigOptionDie) DieWith(fns ...func(d *PodDNSConfigOptionDie)) *PodDNSConfigOptionDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PodDNSConfigOptionDie) Name ¶
func (d *PodDNSConfigOptionDie) Name(v string) *PodDNSConfigOptionDie
Required.
func (*PodDNSConfigOptionDie) Value ¶
func (d *PodDNSConfigOptionDie) Value(v *string) *PodDNSConfigOptionDie
type PodDie ¶
type PodDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*PodDie) APIVersion ¶ added in v0.5.0
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*PodDie) DeepCopy ¶
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PodDie) DeepCopyObject ¶
func (*PodDie) DieFeedJSON ¶ added in v0.8.0
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PodDie) DieFeedPtr ¶
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PodDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PodDie) DieFeedRawExtension(raw runtime.RawExtension) *PodDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodDie) DieFeedYAML ¶ added in v0.8.0
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodDie) DieFeedYAMLFile ¶ added in v0.8.0
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PodDie) DieImmutable ¶
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PodDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*PodDie) DieReleaseJSON ¶ added in v0.8.0
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PodDie) DieReleasePtr ¶
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PodDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PodDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodDie) DieReleaseUnstructured ¶
func (d *PodDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*PodDie) DieReleaseYAML ¶ added in v0.8.0
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PodDie) DieStampAt ¶ added in v0.8.0
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PodDie) DieWith ¶ added in v0.9.0
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PodDie) GetObjectKind ¶
func (d *PodDie) GetObjectKind() schema.ObjectKind
func (*PodDie) Kind ¶ added in v0.5.0
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*PodDie) MarshalJSON ¶
func (*PodDie) MetadataDie ¶
func (d *PodDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *PodDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*PodDie) Spec ¶
Specification of the desired behavior of the pod.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*PodDie) SpecDie ¶
func (d *PodDie) SpecDie(fn func(d *PodSpecDie)) *PodDie
SpecDie stamps the resource's spec field with a mutable die.
func (*PodDie) Status ¶
Most recently observed status of the pod.
This data may not be up to date.
Populated by the system.
Read-only.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*PodDie) StatusDie ¶
func (d *PodDie) StatusDie(fn func(d *PodStatusDie)) *PodDie
StatusDie stamps the resource's status field with a mutable die.
func (*PodDie) UnmarshalJSON ¶
type PodOSDie ¶ added in v0.2.0
type PodOSDie struct {
// contains filtered or unexported fields
}
func (*PodOSDie) DeepCopy ¶ added in v0.2.0
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PodOSDie) DieFeedJSON ¶ added in v0.8.0
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PodOSDie) DieFeedPtr ¶ added in v0.2.0
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PodOSDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PodOSDie) DieFeedRawExtension(raw runtime.RawExtension) *PodOSDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodOSDie) DieFeedYAML ¶ added in v0.8.0
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodOSDie) DieFeedYAMLFile ¶ added in v0.8.0
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PodOSDie) DieImmutable ¶ added in v0.2.0
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PodOSDie) DieRelease ¶ added in v0.2.0
DieRelease returns the resource managed by the die.
func (*PodOSDie) DieReleaseJSON ¶ added in v0.8.0
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PodOSDie) DieReleasePtr ¶ added in v0.2.0
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PodOSDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PodOSDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodOSDie) DieReleaseYAML ¶ added in v0.8.0
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodOSDie) DieStamp ¶ added in v0.2.0
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PodOSDie) DieStampAt ¶ added in v0.8.0
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PodOSDie) DieWith ¶ added in v0.9.0
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PodOSDie) Name ¶ added in v0.2.0
Name is the name of the operating system. The currently supported values are linux and windows.
Additional value may be defined in future and can be one of:
https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration
Clients should expect to handle additional values and treat unrecognized values in this field as os: null
type PodReadinessGateDie ¶
type PodReadinessGateDie struct {
// contains filtered or unexported fields
}
func (*PodReadinessGateDie) ConditionType ¶
func (d *PodReadinessGateDie) ConditionType(v corev1.PodConditionType) *PodReadinessGateDie
ConditionType refers to a condition in the pod's condition list with matching type.
func (*PodReadinessGateDie) DeepCopy ¶
func (d *PodReadinessGateDie) DeepCopy() *PodReadinessGateDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PodReadinessGateDie) DieFeed ¶
func (d *PodReadinessGateDie) DieFeed(r corev1.PodReadinessGate) *PodReadinessGateDie
DieFeed returns a new die with the provided resource.
func (*PodReadinessGateDie) DieFeedJSON ¶ added in v0.8.0
func (d *PodReadinessGateDie) DieFeedJSON(j []byte) *PodReadinessGateDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PodReadinessGateDie) DieFeedPtr ¶
func (d *PodReadinessGateDie) DieFeedPtr(r *corev1.PodReadinessGate) *PodReadinessGateDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PodReadinessGateDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PodReadinessGateDie) DieFeedRawExtension(raw runtime.RawExtension) *PodReadinessGateDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodReadinessGateDie) DieFeedYAML ¶ added in v0.8.0
func (d *PodReadinessGateDie) DieFeedYAML(y []byte) *PodReadinessGateDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodReadinessGateDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PodReadinessGateDie) DieFeedYAMLFile(name string) *PodReadinessGateDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PodReadinessGateDie) DieImmutable ¶
func (d *PodReadinessGateDie) DieImmutable(immutable bool) *PodReadinessGateDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PodReadinessGateDie) DieRelease ¶
func (d *PodReadinessGateDie) DieRelease() corev1.PodReadinessGate
DieRelease returns the resource managed by the die.
func (*PodReadinessGateDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PodReadinessGateDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PodReadinessGateDie) DieReleasePtr ¶
func (d *PodReadinessGateDie) DieReleasePtr() *corev1.PodReadinessGate
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PodReadinessGateDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PodReadinessGateDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodReadinessGateDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PodReadinessGateDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodReadinessGateDie) DieStamp ¶
func (d *PodReadinessGateDie) DieStamp(fn func(r *corev1.PodReadinessGate)) *PodReadinessGateDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PodReadinessGateDie) DieStampAt ¶ added in v0.8.0
func (d *PodReadinessGateDie) DieStampAt(jp string, fn interface{}) *PodReadinessGateDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PodReadinessGateDie) DieWith ¶ added in v0.9.0
func (d *PodReadinessGateDie) DieWith(fns ...func(d *PodReadinessGateDie)) *PodReadinessGateDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
type PodResourceClaimDie ¶ added in v0.7.0
type PodResourceClaimDie struct {
// contains filtered or unexported fields
}
func (*PodResourceClaimDie) DeepCopy ¶ added in v0.7.0
func (d *PodResourceClaimDie) DeepCopy() *PodResourceClaimDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PodResourceClaimDie) DieFeed ¶ added in v0.7.0
func (d *PodResourceClaimDie) DieFeed(r corev1.PodResourceClaim) *PodResourceClaimDie
DieFeed returns a new die with the provided resource.
func (*PodResourceClaimDie) DieFeedJSON ¶ added in v0.8.0
func (d *PodResourceClaimDie) DieFeedJSON(j []byte) *PodResourceClaimDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PodResourceClaimDie) DieFeedPtr ¶ added in v0.7.0
func (d *PodResourceClaimDie) DieFeedPtr(r *corev1.PodResourceClaim) *PodResourceClaimDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PodResourceClaimDie) DieFeedRawExtension ¶ added in v0.7.0
func (d *PodResourceClaimDie) DieFeedRawExtension(raw runtime.RawExtension) *PodResourceClaimDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodResourceClaimDie) DieFeedYAML ¶ added in v0.8.0
func (d *PodResourceClaimDie) DieFeedYAML(y []byte) *PodResourceClaimDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodResourceClaimDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PodResourceClaimDie) DieFeedYAMLFile(name string) *PodResourceClaimDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PodResourceClaimDie) DieImmutable ¶ added in v0.7.0
func (d *PodResourceClaimDie) DieImmutable(immutable bool) *PodResourceClaimDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PodResourceClaimDie) DieRelease ¶ added in v0.7.0
func (d *PodResourceClaimDie) DieRelease() corev1.PodResourceClaim
DieRelease returns the resource managed by the die.
func (*PodResourceClaimDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PodResourceClaimDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PodResourceClaimDie) DieReleasePtr ¶ added in v0.7.0
func (d *PodResourceClaimDie) DieReleasePtr() *corev1.PodResourceClaim
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PodResourceClaimDie) DieReleaseRawExtension ¶ added in v0.7.0
func (d *PodResourceClaimDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodResourceClaimDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PodResourceClaimDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodResourceClaimDie) DieStamp ¶ added in v0.7.0
func (d *PodResourceClaimDie) DieStamp(fn func(r *corev1.PodResourceClaim)) *PodResourceClaimDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PodResourceClaimDie) DieStampAt ¶ added in v0.8.0
func (d *PodResourceClaimDie) DieStampAt(jp string, fn interface{}) *PodResourceClaimDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PodResourceClaimDie) DieWith ¶ added in v0.9.0
func (d *PodResourceClaimDie) DieWith(fns ...func(d *PodResourceClaimDie)) *PodResourceClaimDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PodResourceClaimDie) Name ¶ added in v0.7.0
func (d *PodResourceClaimDie) Name(v string) *PodResourceClaimDie
Name uniquely identifies this resource claim inside the pod.
This must be a DNS_LABEL.
func (*PodResourceClaimDie) Source ¶ added in v0.7.0
func (d *PodResourceClaimDie) Source(v corev1.ClaimSource) *PodResourceClaimDie
Source describes where to find the ResourceClaim.
func (*PodResourceClaimDie) SourceDie ¶ added in v0.7.0
func (d *PodResourceClaimDie) SourceDie(fn func(d *ClaimSourceDie)) *PodResourceClaimDie
type PodSchedulingGateDie ¶ added in v0.7.0
type PodSchedulingGateDie struct {
// contains filtered or unexported fields
}
func (*PodSchedulingGateDie) DeepCopy ¶ added in v0.7.0
func (d *PodSchedulingGateDie) DeepCopy() *PodSchedulingGateDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PodSchedulingGateDie) DieFeed ¶ added in v0.7.0
func (d *PodSchedulingGateDie) DieFeed(r corev1.PodSchedulingGate) *PodSchedulingGateDie
DieFeed returns a new die with the provided resource.
func (*PodSchedulingGateDie) DieFeedJSON ¶ added in v0.8.0
func (d *PodSchedulingGateDie) DieFeedJSON(j []byte) *PodSchedulingGateDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PodSchedulingGateDie) DieFeedPtr ¶ added in v0.7.0
func (d *PodSchedulingGateDie) DieFeedPtr(r *corev1.PodSchedulingGate) *PodSchedulingGateDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PodSchedulingGateDie) DieFeedRawExtension ¶ added in v0.7.0
func (d *PodSchedulingGateDie) DieFeedRawExtension(raw runtime.RawExtension) *PodSchedulingGateDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodSchedulingGateDie) DieFeedYAML ¶ added in v0.8.0
func (d *PodSchedulingGateDie) DieFeedYAML(y []byte) *PodSchedulingGateDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodSchedulingGateDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PodSchedulingGateDie) DieFeedYAMLFile(name string) *PodSchedulingGateDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PodSchedulingGateDie) DieImmutable ¶ added in v0.7.0
func (d *PodSchedulingGateDie) DieImmutable(immutable bool) *PodSchedulingGateDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PodSchedulingGateDie) DieRelease ¶ added in v0.7.0
func (d *PodSchedulingGateDie) DieRelease() corev1.PodSchedulingGate
DieRelease returns the resource managed by the die.
func (*PodSchedulingGateDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PodSchedulingGateDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PodSchedulingGateDie) DieReleasePtr ¶ added in v0.7.0
func (d *PodSchedulingGateDie) DieReleasePtr() *corev1.PodSchedulingGate
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PodSchedulingGateDie) DieReleaseRawExtension ¶ added in v0.7.0
func (d *PodSchedulingGateDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodSchedulingGateDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PodSchedulingGateDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodSchedulingGateDie) DieStamp ¶ added in v0.7.0
func (d *PodSchedulingGateDie) DieStamp(fn func(r *corev1.PodSchedulingGate)) *PodSchedulingGateDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PodSchedulingGateDie) DieStampAt ¶ added in v0.8.0
func (d *PodSchedulingGateDie) DieStampAt(jp string, fn interface{}) *PodSchedulingGateDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PodSchedulingGateDie) DieWith ¶ added in v0.9.0
func (d *PodSchedulingGateDie) DieWith(fns ...func(d *PodSchedulingGateDie)) *PodSchedulingGateDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PodSchedulingGateDie) Name ¶ added in v0.7.0
func (d *PodSchedulingGateDie) Name(v string) *PodSchedulingGateDie
Name of the scheduling gate.
Each scheduling gate must have a unique name field.
type PodSecurityContextDie ¶
type PodSecurityContextDie struct {
// contains filtered or unexported fields
}
func (*PodSecurityContextDie) DeepCopy ¶
func (d *PodSecurityContextDie) DeepCopy() *PodSecurityContextDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PodSecurityContextDie) DieFeed ¶
func (d *PodSecurityContextDie) DieFeed(r corev1.PodSecurityContext) *PodSecurityContextDie
DieFeed returns a new die with the provided resource.
func (*PodSecurityContextDie) DieFeedJSON ¶ added in v0.8.0
func (d *PodSecurityContextDie) DieFeedJSON(j []byte) *PodSecurityContextDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PodSecurityContextDie) DieFeedPtr ¶
func (d *PodSecurityContextDie) DieFeedPtr(r *corev1.PodSecurityContext) *PodSecurityContextDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PodSecurityContextDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PodSecurityContextDie) DieFeedRawExtension(raw runtime.RawExtension) *PodSecurityContextDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodSecurityContextDie) DieFeedYAML ¶ added in v0.8.0
func (d *PodSecurityContextDie) DieFeedYAML(y []byte) *PodSecurityContextDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodSecurityContextDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PodSecurityContextDie) DieFeedYAMLFile(name string) *PodSecurityContextDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PodSecurityContextDie) DieImmutable ¶
func (d *PodSecurityContextDie) DieImmutable(immutable bool) *PodSecurityContextDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PodSecurityContextDie) DieRelease ¶
func (d *PodSecurityContextDie) DieRelease() corev1.PodSecurityContext
DieRelease returns the resource managed by the die.
func (*PodSecurityContextDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PodSecurityContextDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PodSecurityContextDie) DieReleasePtr ¶
func (d *PodSecurityContextDie) DieReleasePtr() *corev1.PodSecurityContext
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PodSecurityContextDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PodSecurityContextDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodSecurityContextDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PodSecurityContextDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodSecurityContextDie) DieStamp ¶
func (d *PodSecurityContextDie) DieStamp(fn func(r *corev1.PodSecurityContext)) *PodSecurityContextDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PodSecurityContextDie) DieStampAt ¶ added in v0.8.0
func (d *PodSecurityContextDie) DieStampAt(jp string, fn interface{}) *PodSecurityContextDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PodSecurityContextDie) DieWith ¶ added in v0.9.0
func (d *PodSecurityContextDie) DieWith(fns ...func(d *PodSecurityContextDie)) *PodSecurityContextDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PodSecurityContextDie) FSGroup ¶
func (d *PodSecurityContextDie) FSGroup(v *int64) *PodSecurityContextDie
A special supplemental group that applies to all containers in a pod.
Some volume types allow the Kubelet to change the ownership of that volume ¶
to be owned by the pod:
1. The owning GID will be the FSGroup
2. The setgid bit is set (new files created in the volume will be owned by FSGroup)
3. The permission bits are OR'd with rw-rw----
If unset, the Kubelet will not modify the ownership and permissions of any volume.
Note that this field cannot be set when spec.os.name is windows.
func (*PodSecurityContextDie) FSGroupChangePolicy ¶
func (d *PodSecurityContextDie) FSGroupChangePolicy(v *corev1.PodFSGroupChangePolicy) *PodSecurityContextDie
fsGroupChangePolicy defines behavior of changing ownership and permission of the volume
before being exposed inside Pod. This field will only apply to
volume types which support fsGroup based ownership(and permissions).
It will have no effect on ephemeral volume types such as: secret, configmaps
and emptydir.
Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used.
Note that this field cannot be set when spec.os.name is windows.
func (*PodSecurityContextDie) RunAsGroup ¶
func (d *PodSecurityContextDie) RunAsGroup(v *int64) *PodSecurityContextDie
The GID to run the entrypoint of the container process.
Uses runtime default if unset.
May also be set in SecurityContext. If set in both SecurityContext and
PodSecurityContext, the value specified in SecurityContext takes precedence ¶
for that container.
Note that this field cannot be set when spec.os.name is windows.
func (*PodSecurityContextDie) RunAsNonRoot ¶
func (d *PodSecurityContextDie) RunAsNonRoot(v *bool) *PodSecurityContextDie
Indicates that the container must run as a non-root user.
If true, the Kubelet will validate the image at runtime to ensure that it ¶
does not run as UID 0 (root) and fail to start the container if it does.
If unset or false, no such validation will be performed.
May also be set in SecurityContext. If set in both SecurityContext and
PodSecurityContext, the value specified in SecurityContext takes precedence.
func (*PodSecurityContextDie) RunAsUser ¶
func (d *PodSecurityContextDie) RunAsUser(v *int64) *PodSecurityContextDie
The UID to run the entrypoint of the container process.
Defaults to user specified in image metadata if unspecified.
May also be set in SecurityContext. If set in both SecurityContext and
PodSecurityContext, the value specified in SecurityContext takes precedence ¶
for that container.
Note that this field cannot be set when spec.os.name is windows.
func (*PodSecurityContextDie) SELinuxOptions ¶
func (d *PodSecurityContextDie) SELinuxOptions(v *corev1.SELinuxOptions) *PodSecurityContextDie
The SELinux context to be applied to all containers.
If unspecified, the container runtime will allocate a random SELinux context for each ¶
container. May also be set in SecurityContext. If set in
both SecurityContext and PodSecurityContext, the value specified in SecurityContext
takes precedence for that container.
Note that this field cannot be set when spec.os.name is windows.
func (*PodSecurityContextDie) SELinuxOptionsDie ¶
func (d *PodSecurityContextDie) SELinuxOptionsDie(fn func(d *SELinuxOptionsDie)) *PodSecurityContextDie
func (*PodSecurityContextDie) SeccompProfile ¶
func (d *PodSecurityContextDie) SeccompProfile(v *corev1.SeccompProfile) *PodSecurityContextDie
The seccomp options to use by the containers in this pod.
Note that this field cannot be set when spec.os.name is windows.
func (*PodSecurityContextDie) SeccompProfileDie ¶
func (d *PodSecurityContextDie) SeccompProfileDie(fn func(d *SeccompProfileDie)) *PodSecurityContextDie
func (*PodSecurityContextDie) SupplementalGroups ¶
func (d *PodSecurityContextDie) SupplementalGroups(v ...int64) *PodSecurityContextDie
A list of groups applied to the first process run in each container, in addition
to the container's primary GID, the fsGroup (if specified), and group memberships
defined in the container image for the uid of the container process. If unspecified,
no additional groups are added to any container. Note that group memberships
defined in the container image for the uid of the container process are still effective,
even if they are not included in this list.
Note that this field cannot be set when spec.os.name is windows.
func (*PodSecurityContextDie) Sysctls ¶
func (d *PodSecurityContextDie) Sysctls(v ...corev1.Sysctl) *PodSecurityContextDie
Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported
sysctls (by the container runtime) might fail to launch.
Note that this field cannot be set when spec.os.name is windows.
func (*PodSecurityContextDie) SysctlsDie ¶
func (d *PodSecurityContextDie) SysctlsDie(sysctls ...*SysctlDie) *PodSecurityContextDie
func (*PodSecurityContextDie) WindowsOptions ¶
func (d *PodSecurityContextDie) WindowsOptions(v *corev1.WindowsSecurityContextOptions) *PodSecurityContextDie
The Windows specific settings applied to all containers.
If unspecified, the options within a container's SecurityContext will be used.
If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
Note that this field cannot be set when spec.os.name is linux.
func (*PodSecurityContextDie) WindowsOptionsDie ¶
func (d *PodSecurityContextDie) WindowsOptionsDie(fn func(d *WindowsSecurityContextOptionsDie)) *PodSecurityContextDie
type PodSpecDie ¶
type PodSpecDie struct {
// contains filtered or unexported fields
}
func (*PodSpecDie) ActiveDeadlineSeconds ¶
func (d *PodSpecDie) ActiveDeadlineSeconds(v *int64) *PodSpecDie
Optional duration in seconds the pod may be active on the node relative to
StartTime before the system will actively try to mark it failed and kill associated containers.
Value must be a positive integer.
func (*PodSpecDie) AddOverhead ¶
func (d *PodSpecDie) AddOverhead(name corev1.ResourceName, quantity resource.Quantity) *PodSpecDie
func (*PodSpecDie) AddOverheadString ¶
func (d *PodSpecDie) AddOverheadString(name corev1.ResourceName, quantity string) *PodSpecDie
func (*PodSpecDie) Affinity ¶
func (d *PodSpecDie) Affinity(v *corev1.Affinity) *PodSpecDie
If specified, the pod's scheduling constraints
func (*PodSpecDie) AutomountServiceAccountToken ¶
func (d *PodSpecDie) AutomountServiceAccountToken(v *bool) *PodSpecDie
AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
func (*PodSpecDie) ContainerDie ¶
func (d *PodSpecDie) ContainerDie(name string, fn func(d *ContainerDie)) *PodSpecDie
func (*PodSpecDie) Containers ¶
func (d *PodSpecDie) Containers(v ...corev1.Container) *PodSpecDie
List of containers belonging to the pod.
Containers cannot currently be added or removed.
There must be at least one container in a Pod.
Cannot be updated.
func (*PodSpecDie) DNSConfig ¶
func (d *PodSpecDie) DNSConfig(v *corev1.PodDNSConfig) *PodSpecDie
Specifies the DNS parameters of a pod.
Parameters specified here will be merged to the generated DNS ¶
configuration based on DNSPolicy.
func (*PodSpecDie) DNSConfigDie ¶
func (d *PodSpecDie) DNSConfigDie(fn func(d *PodDNSConfigDie)) *PodSpecDie
func (*PodSpecDie) DNSPolicy ¶
func (d *PodSpecDie) DNSPolicy(v corev1.DNSPolicy) *PodSpecDie
Set DNS policy for the pod.
Defaults to "ClusterFirst".
Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.
DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.
To have DNS options set along with hostNetwork, you have to specify DNS policy ¶
explicitly to 'ClusterFirstWithHostNet'.
func (*PodSpecDie) DeepCopy ¶
func (d *PodSpecDie) DeepCopy() *PodSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PodSpecDie) DeprecatedServiceAccount
deprecated
func (d *PodSpecDie) DeprecatedServiceAccount(v string) *PodSpecDie
DeprecatedServiceAccount is a depreciated alias for ServiceAccountName.
Deprecated: Use serviceAccountName instead.
func (*PodSpecDie) DieFeed ¶
func (d *PodSpecDie) DieFeed(r corev1.PodSpec) *PodSpecDie
DieFeed returns a new die with the provided resource.
func (*PodSpecDie) DieFeedJSON ¶ added in v0.8.0
func (d *PodSpecDie) DieFeedJSON(j []byte) *PodSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PodSpecDie) DieFeedPtr ¶
func (d *PodSpecDie) DieFeedPtr(r *corev1.PodSpec) *PodSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PodSpecDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PodSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *PodSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodSpecDie) DieFeedYAML ¶ added in v0.8.0
func (d *PodSpecDie) DieFeedYAML(y []byte) *PodSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodSpecDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PodSpecDie) DieFeedYAMLFile(name string) *PodSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PodSpecDie) DieImmutable ¶
func (d *PodSpecDie) DieImmutable(immutable bool) *PodSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PodSpecDie) DieRelease ¶
func (d *PodSpecDie) DieRelease() corev1.PodSpec
DieRelease returns the resource managed by the die.
func (*PodSpecDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PodSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PodSpecDie) DieReleasePtr ¶
func (d *PodSpecDie) DieReleasePtr() *corev1.PodSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PodSpecDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PodSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodSpecDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PodSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodSpecDie) DieStamp ¶
func (d *PodSpecDie) DieStamp(fn func(r *corev1.PodSpec)) *PodSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PodSpecDie) DieStampAt ¶ added in v0.8.0
func (d *PodSpecDie) DieStampAt(jp string, fn interface{}) *PodSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PodSpecDie) DieWith ¶ added in v0.9.0
func (d *PodSpecDie) DieWith(fns ...func(d *PodSpecDie)) *PodSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PodSpecDie) EnableServiceLinks ¶
func (d *PodSpecDie) EnableServiceLinks(v *bool) *PodSpecDie
EnableServiceLinks indicates whether information about services should be injected into pod's
environment variables, matching the syntax of Docker links.
Optional: Defaults to true.
func (*PodSpecDie) EphemeralContainers ¶
func (d *PodSpecDie) EphemeralContainers(v ...corev1.EphemeralContainer) *PodSpecDie
List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing
pod to perform user-initiated actions such as debugging. This list cannot be specified when
creating a pod, and it cannot be modified by updating the pod spec. In order to add an
ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource.
func (*PodSpecDie) HostAliases ¶
func (d *PodSpecDie) HostAliases(v ...corev1.HostAlias) *PodSpecDie
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified. This is only valid for non-hostNetwork pods.
func (*PodSpecDie) HostAliasesDie ¶
func (d *PodSpecDie) HostAliasesDie(hosts ...*HostAliasDie) *PodSpecDie
func (*PodSpecDie) HostIPC ¶
func (d *PodSpecDie) HostIPC(v bool) *PodSpecDie
Use the host's ipc namespace.
Optional: Default to false.
func (*PodSpecDie) HostNetwork ¶
func (d *PodSpecDie) HostNetwork(v bool) *PodSpecDie
Host networking requested for this pod. Use the host's network namespace.
If this option is set, the ports that will be used must be specified.
Default to false.
func (*PodSpecDie) HostPID ¶
func (d *PodSpecDie) HostPID(v bool) *PodSpecDie
Use the host's pid namespace.
Optional: Default to false.
func (*PodSpecDie) HostUsers ¶ added in v0.6.0
func (d *PodSpecDie) HostUsers(v *bool) *PodSpecDie
Use the host's user namespace.
Optional: Default to true.
If set to true or not present, the pod will be run in the host user namespace, useful ¶
for when the pod needs a feature only available to the host user namespace, such as
loading a kernel module with CAP_SYS_MODULE.
When set to false, a new userns is created for the pod. Setting false is useful for
mitigating container breakout vulnerabilities even allowing users to run their
containers as root without actually having root privileges on the host.
This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.
func (*PodSpecDie) Hostname ¶
func (d *PodSpecDie) Hostname(v string) *PodSpecDie
Specifies the hostname of the Pod
If not specified, the pod's hostname will be set to a system-defined value.
func (*PodSpecDie) ImagePullSecrets ¶
func (d *PodSpecDie) ImagePullSecrets(v ...corev1.LocalObjectReference) *PodSpecDie
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
If specified, these secrets will be passed to individual puller implementations for them to use.
More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod
func (*PodSpecDie) InitContainerDie ¶
func (d *PodSpecDie) InitContainerDie(name string, fn func(d *ContainerDie)) *PodSpecDie
func (*PodSpecDie) InitContainers ¶
func (d *PodSpecDie) InitContainers(v ...corev1.Container) *PodSpecDie
List of initialization containers belonging to the pod.
Init containers are executed in order prior to containers being started. If any
init container fails, the pod is considered to have failed and is handled according
to its restartPolicy. The name for an init container or normal container must be
unique among all containers.
Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
The resourceRequirements of an init container are taken into account during scheduling ¶
by finding the highest request/limit for each resource type, and then using the max of
of that value or the sum of the normal containers. Limits are applied to init containers
in a similar fashion.
Init containers cannot currently be added or removed.
Cannot be updated.
More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
func (*PodSpecDie) NodeName ¶
func (d *PodSpecDie) NodeName(v string) *PodSpecDie
NodeName is a request to schedule this pod onto a specific node. If it is non-empty,
the scheduler simply schedules this pod onto that node, assuming that it fits resource
requirements.
func (*PodSpecDie) NodeSelector ¶
func (d *PodSpecDie) NodeSelector(v map[string]string) *PodSpecDie
NodeSelector is a selector which must be true for the pod to fit on a node.
Selector which must match a node's labels for the pod to be scheduled on that node.
More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
func (*PodSpecDie) OS ¶ added in v0.2.0
func (d *PodSpecDie) OS(v *corev1.PodOS) *PodSpecDie
Specifies the OS of the containers in the pod.
Some pod and container fields are restricted if this is set.
If the OS field is set to linux, the following fields must be unset:
-securityContext.windowsOptions
If the OS field is set to windows, following fields must be unset:
- spec.hostPID
- spec.hostIPC
- spec.hostUsers
- spec.securityContext.seLinuxOptions
- spec.securityContext.seccompProfile
- spec.securityContext.fsGroup
- spec.securityContext.fsGroupChangePolicy
- spec.securityContext.sysctls
- spec.shareProcessNamespace
- spec.securityContext.runAsUser
- spec.securityContext.runAsGroup
- spec.securityContext.supplementalGroups
- spec.containers[*].securityContext.seLinuxOptions
- spec.containers[*].securityContext.seccompProfile
- spec.containers[*].securityContext.capabilities
- spec.containers[*].securityContext.readOnlyRootFilesystem
- spec.containers[*].securityContext.privileged
- spec.containers[*].securityContext.allowPrivilegeEscalation
- spec.containers[*].securityContext.procMount
- spec.containers[*].securityContext.runAsUser
- spec.containers[*].securityContext.runAsGroup
func (*PodSpecDie) OSDie ¶ added in v0.2.0
func (d *PodSpecDie) OSDie(fn func(d *PodOSDie)) *PodSpecDie
func (*PodSpecDie) Overhead ¶
func (d *PodSpecDie) Overhead(v corev1.ResourceList) *PodSpecDie
Overhead represents the resource overhead associated with running a pod for a given RuntimeClass.
This field will be autopopulated at admission time by the RuntimeClass admission controller. If
the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests.
The RuntimeClass admission controller will reject Pod create requests which have the overhead already ¶
set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value
defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero.
More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md
func (*PodSpecDie) PreemptionPolicy ¶
func (d *PodSpecDie) PreemptionPolicy(v *corev1.PreemptionPolicy) *PodSpecDie
PreemptionPolicy is the Policy for preempting pods with lower priority.
One of Never, PreemptLowerPriority.
Defaults to PreemptLowerPriority if unset.
func (*PodSpecDie) Priority ¶
func (d *PodSpecDie) Priority(v *int32) *PodSpecDie
The priority value. Various system components use this field to find the
priority of the pod. When Priority Admission Controller is enabled, it
prevents users from setting this field. The admission controller populates
this field from PriorityClassName.
The higher the value, the higher the priority.
func (*PodSpecDie) PriorityClassName ¶
func (d *PodSpecDie) PriorityClassName(v string) *PodSpecDie
If specified, indicates the pod's priority. "system-node-critical" and
"system-cluster-critical" are two special keywords which indicate the
highest priorities with the former being the highest priority. Any other
name must be defined by creating a PriorityClass object with that name.
If not specified, the pod priority will be default or zero if there is no ¶
default.
func (*PodSpecDie) ReadinessGates ¶
func (d *PodSpecDie) ReadinessGates(v ...corev1.PodReadinessGate) *PodSpecDie
If specified, all readiness gates will be evaluated for pod readiness.
A pod is ready when all its containers are ready AND ¶
all conditions specified in the readiness gates have status equal to "True"
More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates
func (*PodSpecDie) ReadinessGatesDie ¶
func (d *PodSpecDie) ReadinessGatesDie(gates ...*PodReadinessGateDie) *PodSpecDie
func (*PodSpecDie) ResourceClaims ¶ added in v0.7.0
func (d *PodSpecDie) ResourceClaims(v ...corev1.PodResourceClaim) *PodSpecDie
ResourceClaims defines which ResourceClaims must be allocated
and reserved before the Pod is allowed to start. The resources
will be made available to those containers which consume them
by name.
This is an alpha field and requires enabling the ¶
DynamicResourceAllocation feature gate.
This field is immutable.
func (*PodSpecDie) ResourceClaimsDie ¶ added in v0.7.0
func (d *PodSpecDie) ResourceClaimsDie(gates ...*PodResourceClaimDie) *PodSpecDie
func (*PodSpecDie) RestartPolicy ¶
func (d *PodSpecDie) RestartPolicy(v corev1.RestartPolicy) *PodSpecDie
Restart policy for all containers within the pod.
One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted.
Default to Always.
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
func (*PodSpecDie) RuntimeClassName ¶
func (d *PodSpecDie) RuntimeClassName(v *string) *PodSpecDie
RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run.
If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an
empty definition that uses the default runtime handler.
More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class
func (*PodSpecDie) SchedulerName ¶
func (d *PodSpecDie) SchedulerName(v string) *PodSpecDie
If specified, the pod will be dispatched by specified scheduler.
If not specified, the pod will be dispatched by default scheduler.
func (*PodSpecDie) SchedulingGates ¶ added in v0.7.0
func (d *PodSpecDie) SchedulingGates(v ...corev1.PodSchedulingGate) *PodSpecDie
SchedulingGates is an opaque list of values that if specified will block scheduling the pod.
If schedulingGates is not empty, the pod will stay in the SchedulingGated state and the ¶
scheduler will not attempt to schedule the pod.
SchedulingGates can only be set at pod creation time, and be removed only afterwards.
This is a beta feature enabled by the PodSchedulingReadiness feature gate.
func (*PodSpecDie) SchedulingGatesDie ¶ added in v0.7.0
func (d *PodSpecDie) SchedulingGatesDie(gates ...*PodSchedulingGateDie) *PodSpecDie
func (*PodSpecDie) SecurityContext ¶
func (d *PodSpecDie) SecurityContext(v *corev1.PodSecurityContext) *PodSpecDie
SecurityContext holds pod-level security attributes and common container settings.
Optional: Defaults to empty. See type description for default values of each field.
func (*PodSpecDie) SecurityContextDie ¶
func (d *PodSpecDie) SecurityContextDie(fn func(d *PodSecurityContextDie)) *PodSpecDie
func (*PodSpecDie) ServiceAccountName ¶
func (d *PodSpecDie) ServiceAccountName(v string) *PodSpecDie
ServiceAccountName is the name of the ServiceAccount to use to run this pod.
More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
func (*PodSpecDie) SetHostnameAsFQDN ¶
func (d *PodSpecDie) SetHostnameAsFQDN(v *bool) *PodSpecDie
If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default).
In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname).
In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN.
If a pod does not have FQDN, this has no effect.
Default to false.
func (*PodSpecDie) ShareProcessNamespace ¶
func (d *PodSpecDie) ShareProcessNamespace(v *bool) *PodSpecDie
Share a single process namespace between all of the containers in a pod.
When this is set containers will be able to view and signal processes from other containers ¶
in the same pod, and the first process in each container will not be assigned PID 1.
HostPID and ShareProcessNamespace cannot both be set.
Optional: Default to false.
func (*PodSpecDie) Subdomain ¶
func (d *PodSpecDie) Subdomain(v string) *PodSpecDie
If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".
If not specified, the pod will not have a domainname at all.
func (*PodSpecDie) TerminationGracePeriodSeconds ¶
func (d *PodSpecDie) TerminationGracePeriodSeconds(v *int64) *PodSpecDie
Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request.
Value must be non-negative integer. The value zero indicates stop immediately via
the kill signal (no opportunity to shut down).
If this value is nil, the default grace period will be used instead.
The grace period is the duration in seconds after the processes running in the pod are sent ¶
a termination signal and the time when the processes are forcibly halted with a kill signal.
Set this value longer than the expected cleanup time for your process.
Defaults to 30 seconds.
func (*PodSpecDie) TolerationDie ¶
func (d *PodSpecDie) TolerationDie(key string, fn func(d *TolerationDie)) *PodSpecDie
func (*PodSpecDie) Tolerations ¶
func (d *PodSpecDie) Tolerations(v ...corev1.Toleration) *PodSpecDie
If specified, the pod's tolerations.
func (*PodSpecDie) TopologySpreadConstraintDie ¶
func (d *PodSpecDie) TopologySpreadConstraintDie(topologyKey string, fn func(d *TopologySpreadConstraintDie)) *PodSpecDie
func (*PodSpecDie) TopologySpreadConstraints ¶
func (d *PodSpecDie) TopologySpreadConstraints(v ...corev1.TopologySpreadConstraint) *PodSpecDie
TopologySpreadConstraints describes how a group of pods ought to spread across topology
domains. Scheduler will schedule pods in a way which abides by the constraints.
All topologySpreadConstraints are ANDed.
func (*PodSpecDie) VolumeDie ¶
func (d *PodSpecDie) VolumeDie(name string, fn func(d *VolumeDie)) *PodSpecDie
func (*PodSpecDie) Volumes ¶
func (d *PodSpecDie) Volumes(v ...corev1.Volume) *PodSpecDie
List of volumes that can be mounted by containers belonging to the pod.
More info: https://kubernetes.io/docs/concepts/storage/volumes
type PodStatusDie ¶
type PodStatusDie struct {
// contains filtered or unexported fields
}
func (*PodStatusDie) Conditions ¶
func (d *PodStatusDie) Conditions(v ...corev1.PodCondition) *PodStatusDie
Current service state of pod.
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
func (*PodStatusDie) ConditionsDie ¶
func (d *PodStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *PodStatusDie
func (*PodStatusDie) ContainerStatusDie ¶
func (d *PodStatusDie) ContainerStatusDie(name string, fn func(d *ContainerStatusDie)) *PodStatusDie
func (*PodStatusDie) ContainerStatuses ¶
func (d *PodStatusDie) ContainerStatuses(v ...corev1.ContainerStatus) *PodStatusDie
The list has one entry per container in the manifest.
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
func (*PodStatusDie) DeepCopy ¶
func (d *PodStatusDie) DeepCopy() *PodStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PodStatusDie) DieFeed ¶
func (d *PodStatusDie) DieFeed(r corev1.PodStatus) *PodStatusDie
DieFeed returns a new die with the provided resource.
func (*PodStatusDie) DieFeedJSON ¶ added in v0.8.0
func (d *PodStatusDie) DieFeedJSON(j []byte) *PodStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PodStatusDie) DieFeedPtr ¶
func (d *PodStatusDie) DieFeedPtr(r *corev1.PodStatus) *PodStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PodStatusDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PodStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *PodStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodStatusDie) DieFeedYAML ¶ added in v0.8.0
func (d *PodStatusDie) DieFeedYAML(y []byte) *PodStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodStatusDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PodStatusDie) DieFeedYAMLFile(name string) *PodStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PodStatusDie) DieImmutable ¶
func (d *PodStatusDie) DieImmutable(immutable bool) *PodStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PodStatusDie) DieRelease ¶
func (d *PodStatusDie) DieRelease() corev1.PodStatus
DieRelease returns the resource managed by the die.
func (*PodStatusDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PodStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PodStatusDie) DieReleasePtr ¶
func (d *PodStatusDie) DieReleasePtr() *corev1.PodStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PodStatusDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PodStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodStatusDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PodStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodStatusDie) DieStamp ¶
func (d *PodStatusDie) DieStamp(fn func(r *corev1.PodStatus)) *PodStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PodStatusDie) DieStampAt ¶ added in v0.8.0
func (d *PodStatusDie) DieStampAt(jp string, fn interface{}) *PodStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PodStatusDie) DieWith ¶ added in v0.9.0
func (d *PodStatusDie) DieWith(fns ...func(d *PodStatusDie)) *PodStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PodStatusDie) EphemeralContainerStatusDie ¶
func (d *PodStatusDie) EphemeralContainerStatusDie(name string, fn func(d *ContainerStatusDie)) *PodStatusDie
func (*PodStatusDie) EphemeralContainerStatuses ¶
func (d *PodStatusDie) EphemeralContainerStatuses(v ...corev1.ContainerStatus) *PodStatusDie
Status for any ephemeral containers that have run in this pod.
func (*PodStatusDie) HostIP ¶
func (d *PodStatusDie) HostIP(v string) *PodStatusDie
hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet.
A pod can be assigned to a node that has a problem in kubelet which in turns mean that HostIP will ¶
not be updated even if there is a node is assigned to pod
func (*PodStatusDie) HostIPs ¶ added in v0.9.0
func (d *PodStatusDie) HostIPs(v ...corev1.HostIP) *PodStatusDie
hostIPs holds the IP addresses allocated to the host. If this field is specified, the first entry must
match the hostIP field. This list is empty if the pod has not started yet.
A pod can be assigned to a node that has a problem in kubelet which in turns means that HostIPs will ¶
not be updated even if there is a node is assigned to this pod.
func (*PodStatusDie) InitContainerStatusDie ¶
func (d *PodStatusDie) InitContainerStatusDie(name string, fn func(d *ContainerStatusDie)) *PodStatusDie
func (*PodStatusDie) InitContainerStatuses ¶
func (d *PodStatusDie) InitContainerStatuses(v ...corev1.ContainerStatus) *PodStatusDie
The list has one entry per init container in the manifest. The most recent successful
init container will have ready = true, the most recently started container will have
startTime set.
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
func (*PodStatusDie) Message ¶
func (d *PodStatusDie) Message(v string) *PodStatusDie
A human readable message indicating details about why the pod is in this condition.
func (*PodStatusDie) NominatedNodeName ¶
func (d *PodStatusDie) NominatedNodeName(v string) *PodStatusDie
nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be
scheduled right away as preemption victims receive their graceful termination periods.
This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide
to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to
give the resources on this node to a higher priority pod that is created after preemption.
As a result, this field may be different than PodSpec.nodeName when the pod is ¶
scheduled.
func (*PodStatusDie) Phase ¶
func (d *PodStatusDie) Phase(v corev1.PodPhase) *PodStatusDie
The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle.
The conditions array, the reason and message fields, and the individual container status ¶
arrays contain more detail about the pod's status.
There are five possible phase values:
Pending: The pod has been accepted by the Kubernetes system, but one or more of the
container images has not been created. This includes time before being scheduled as
well as time spent downloading images over the network, which could take a while.
Running: The pod has been bound to a node, and all of the containers have been created.
At least one container is still running, or is in the process of starting or restarting.
Succeeded: All containers in the pod have terminated in success, and will not be restarted.
Failed: All containers in the pod have terminated, and at least one container has
terminated in failure. The container either exited with non-zero status or was terminated
by the system.
Unknown: For some reason the state of the pod could not be obtained, typically due to an
error in communicating with the host of the pod.
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase
func (*PodStatusDie) PodIP ¶
func (d *PodStatusDie) PodIP(v string) *PodStatusDie
podIP address allocated to the pod. Routable at least within the cluster.
Empty if not yet allocated.
func (*PodStatusDie) PodIPs ¶
func (d *PodStatusDie) PodIPs(v ...corev1.PodIP) *PodStatusDie
podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must
match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list
is empty if no IPs have been allocated yet.
func (*PodStatusDie) QOSClass ¶
func (d *PodStatusDie) QOSClass(v corev1.PodQOSClass) *PodStatusDie
The Quality of Service (QOS) classification assigned to the pod based on resource requirements
See PodQOSClass type for available QOS classes ¶
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#quality-of-service-classes
func (*PodStatusDie) Reason ¶
func (d *PodStatusDie) Reason(v string) *PodStatusDie
A brief CamelCase message indicating details about why the pod is in this state.
e.g. 'Evicted'
func (*PodStatusDie) Resize ¶ added in v0.8.0
func (d *PodStatusDie) Resize(v corev1.PodResizeStatus) *PodStatusDie
Status of resources resize desired for pod's containers.
It is empty if no resources resize is pending.
Any changes to container resources will automatically set this to "Proposed"
func (*PodStatusDie) ResourceClaimStatuses ¶ added in v0.9.0
func (d *PodStatusDie) ResourceClaimStatuses(v ...corev1.PodResourceClaimStatus) *PodStatusDie
Status of resource claims.
func (*PodStatusDie) StartTime ¶
func (d *PodStatusDie) StartTime(v *apismetav1.Time) *PodStatusDie
RFC 3339 date and time at which the object was acknowledged by the Kubelet.
This is before the Kubelet pulled the container image(s) for the pod.
type PodTemplateDie ¶ added in v0.3.0
type PodTemplateDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*PodTemplateDie) APIVersion ¶ added in v0.5.0
func (d *PodTemplateDie) APIVersion(v string) *PodTemplateDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*PodTemplateDie) DeepCopy ¶ added in v0.3.0
func (d *PodTemplateDie) DeepCopy() *PodTemplateDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PodTemplateDie) DeepCopyObject ¶ added in v0.3.0
func (d *PodTemplateDie) DeepCopyObject() runtime.Object
func (*PodTemplateDie) DieFeed ¶ added in v0.3.0
func (d *PodTemplateDie) DieFeed(r corev1.PodTemplate) *PodTemplateDie
DieFeed returns a new die with the provided resource.
func (*PodTemplateDie) DieFeedJSON ¶ added in v0.8.0
func (d *PodTemplateDie) DieFeedJSON(j []byte) *PodTemplateDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PodTemplateDie) DieFeedPtr ¶ added in v0.3.0
func (d *PodTemplateDie) DieFeedPtr(r *corev1.PodTemplate) *PodTemplateDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PodTemplateDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PodTemplateDie) DieFeedRawExtension(raw runtime.RawExtension) *PodTemplateDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodTemplateDie) DieFeedYAML ¶ added in v0.8.0
func (d *PodTemplateDie) DieFeedYAML(y []byte) *PodTemplateDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodTemplateDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PodTemplateDie) DieFeedYAMLFile(name string) *PodTemplateDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PodTemplateDie) DieImmutable ¶ added in v0.3.0
func (d *PodTemplateDie) DieImmutable(immutable bool) *PodTemplateDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PodTemplateDie) DieRelease ¶ added in v0.3.0
func (d *PodTemplateDie) DieRelease() corev1.PodTemplate
DieRelease returns the resource managed by the die.
func (*PodTemplateDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PodTemplateDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PodTemplateDie) DieReleasePtr ¶ added in v0.3.0
func (d *PodTemplateDie) DieReleasePtr() *corev1.PodTemplate
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PodTemplateDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PodTemplateDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodTemplateDie) DieReleaseUnstructured ¶ added in v0.3.0
func (d *PodTemplateDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*PodTemplateDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PodTemplateDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodTemplateDie) DieStamp ¶ added in v0.3.0
func (d *PodTemplateDie) DieStamp(fn func(r *corev1.PodTemplate)) *PodTemplateDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PodTemplateDie) DieStampAt ¶ added in v0.8.0
func (d *PodTemplateDie) DieStampAt(jp string, fn interface{}) *PodTemplateDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PodTemplateDie) DieWith ¶ added in v0.9.0
func (d *PodTemplateDie) DieWith(fns ...func(d *PodTemplateDie)) *PodTemplateDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PodTemplateDie) GetObjectKind ¶ added in v0.3.0
func (d *PodTemplateDie) GetObjectKind() schema.ObjectKind
func (*PodTemplateDie) Kind ¶ added in v0.5.0
func (d *PodTemplateDie) Kind(v string) *PodTemplateDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*PodTemplateDie) MarshalJSON ¶ added in v0.3.0
func (d *PodTemplateDie) MarshalJSON() ([]byte, error)
func (*PodTemplateDie) MetadataDie ¶ added in v0.3.0
func (d *PodTemplateDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *PodTemplateDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*PodTemplateDie) Template ¶ added in v0.3.0
func (d *PodTemplateDie) Template(v corev1.PodTemplateSpec) *PodTemplateDie
Template defines the pods that will be created from this pod template.
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*PodTemplateDie) TemplateDie ¶ added in v0.3.0
func (d *PodTemplateDie) TemplateDie(fn func(d *PodTemplateSpecDie)) *PodTemplateDie
func (*PodTemplateDie) UnmarshalJSON ¶ added in v0.3.0
func (d *PodTemplateDie) UnmarshalJSON(b []byte) error
type PodTemplateSpecDie ¶
type PodTemplateSpecDie struct {
// contains filtered or unexported fields
}
func (*PodTemplateSpecDie) DeepCopy ¶
func (d *PodTemplateSpecDie) DeepCopy() *PodTemplateSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PodTemplateSpecDie) DieFeed ¶
func (d *PodTemplateSpecDie) DieFeed(r corev1.PodTemplateSpec) *PodTemplateSpecDie
DieFeed returns a new die with the provided resource.
func (*PodTemplateSpecDie) DieFeedJSON ¶ added in v0.8.0
func (d *PodTemplateSpecDie) DieFeedJSON(j []byte) *PodTemplateSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PodTemplateSpecDie) DieFeedPtr ¶
func (d *PodTemplateSpecDie) DieFeedPtr(r *corev1.PodTemplateSpec) *PodTemplateSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PodTemplateSpecDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PodTemplateSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *PodTemplateSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodTemplateSpecDie) DieFeedYAML ¶ added in v0.8.0
func (d *PodTemplateSpecDie) DieFeedYAML(y []byte) *PodTemplateSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodTemplateSpecDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PodTemplateSpecDie) DieFeedYAMLFile(name string) *PodTemplateSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PodTemplateSpecDie) DieImmutable ¶
func (d *PodTemplateSpecDie) DieImmutable(immutable bool) *PodTemplateSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PodTemplateSpecDie) DieRelease ¶
func (d *PodTemplateSpecDie) DieRelease() corev1.PodTemplateSpec
DieRelease returns the resource managed by the die.
func (*PodTemplateSpecDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PodTemplateSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PodTemplateSpecDie) DieReleasePtr ¶
func (d *PodTemplateSpecDie) DieReleasePtr() *corev1.PodTemplateSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PodTemplateSpecDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PodTemplateSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodTemplateSpecDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PodTemplateSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodTemplateSpecDie) DieStamp ¶
func (d *PodTemplateSpecDie) DieStamp(fn func(r *corev1.PodTemplateSpec)) *PodTemplateSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PodTemplateSpecDie) DieStampAt ¶ added in v0.8.0
func (d *PodTemplateSpecDie) DieStampAt(jp string, fn interface{}) *PodTemplateSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PodTemplateSpecDie) DieWith ¶ added in v0.9.0
func (d *PodTemplateSpecDie) DieWith(fns ...func(d *PodTemplateSpecDie)) *PodTemplateSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PodTemplateSpecDie) MetadataDie ¶
func (d *PodTemplateSpecDie) MetadataDie(fn func(d *diemetav1.ObjectMetaDie)) *PodTemplateSpecDie
func (*PodTemplateSpecDie) ObjectMeta ¶
func (d *PodTemplateSpecDie) ObjectMeta(v apismetav1.ObjectMeta) *PodTemplateSpecDie
Standard object's metadata.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (*PodTemplateSpecDie) Spec ¶
func (d *PodTemplateSpecDie) Spec(v corev1.PodSpec) *PodTemplateSpecDie
Specification of the desired behavior of the pod.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*PodTemplateSpecDie) SpecDie ¶
func (d *PodTemplateSpecDie) SpecDie(fn func(d *PodSpecDie)) *PodTemplateSpecDie
type PortStatusDie ¶
type PortStatusDie struct {
// contains filtered or unexported fields
}
func (*PortStatusDie) DeepCopy ¶
func (d *PortStatusDie) DeepCopy() *PortStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PortStatusDie) DieFeed ¶
func (d *PortStatusDie) DieFeed(r corev1.PortStatus) *PortStatusDie
DieFeed returns a new die with the provided resource.
func (*PortStatusDie) DieFeedJSON ¶ added in v0.8.0
func (d *PortStatusDie) DieFeedJSON(j []byte) *PortStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PortStatusDie) DieFeedPtr ¶
func (d *PortStatusDie) DieFeedPtr(r *corev1.PortStatus) *PortStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PortStatusDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PortStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *PortStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PortStatusDie) DieFeedYAML ¶ added in v0.8.0
func (d *PortStatusDie) DieFeedYAML(y []byte) *PortStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PortStatusDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PortStatusDie) DieFeedYAMLFile(name string) *PortStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PortStatusDie) DieImmutable ¶
func (d *PortStatusDie) DieImmutable(immutable bool) *PortStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PortStatusDie) DieRelease ¶
func (d *PortStatusDie) DieRelease() corev1.PortStatus
DieRelease returns the resource managed by the die.
func (*PortStatusDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PortStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PortStatusDie) DieReleasePtr ¶
func (d *PortStatusDie) DieReleasePtr() *corev1.PortStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PortStatusDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PortStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PortStatusDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PortStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PortStatusDie) DieStamp ¶
func (d *PortStatusDie) DieStamp(fn func(r *corev1.PortStatus)) *PortStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PortStatusDie) DieStampAt ¶ added in v0.8.0
func (d *PortStatusDie) DieStampAt(jp string, fn interface{}) *PortStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PortStatusDie) DieWith ¶ added in v0.9.0
func (d *PortStatusDie) DieWith(fns ...func(d *PortStatusDie)) *PortStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PortStatusDie) Error ¶
func (d *PortStatusDie) Error(v *string) *PortStatusDie
Error is to record the problem with the service port
The format of the error shall comply with the following rules:
- built-in error values shall be specified in this file and those shall use
CamelCase names ¶
- cloud provider specific error values must have names that comply with the
format foo.example.com/CamelCase.
---
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
func (*PortStatusDie) Port ¶
func (d *PortStatusDie) Port(v int32) *PortStatusDie
Port is the port number of the service port of which status is recorded here
func (*PortStatusDie) Protocol ¶
func (d *PortStatusDie) Protocol(v corev1.Protocol) *PortStatusDie
Protocol is the protocol of the service port of which status is recorded here
The supported values are: "TCP", "UDP", "SCTP"
type PortworxVolumeSourceDie ¶
type PortworxVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*PortworxVolumeSourceDie) DeepCopy ¶
func (d *PortworxVolumeSourceDie) DeepCopy() *PortworxVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PortworxVolumeSourceDie) DieFeed ¶
func (d *PortworxVolumeSourceDie) DieFeed(r corev1.PortworxVolumeSource) *PortworxVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*PortworxVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *PortworxVolumeSourceDie) DieFeedJSON(j []byte) *PortworxVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PortworxVolumeSourceDie) DieFeedPtr ¶
func (d *PortworxVolumeSourceDie) DieFeedPtr(r *corev1.PortworxVolumeSource) *PortworxVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PortworxVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *PortworxVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *PortworxVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PortworxVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *PortworxVolumeSourceDie) DieFeedYAML(y []byte) *PortworxVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PortworxVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *PortworxVolumeSourceDie) DieFeedYAMLFile(name string) *PortworxVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PortworxVolumeSourceDie) DieImmutable ¶
func (d *PortworxVolumeSourceDie) DieImmutable(immutable bool) *PortworxVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PortworxVolumeSourceDie) DieRelease ¶
func (d *PortworxVolumeSourceDie) DieRelease() corev1.PortworxVolumeSource
DieRelease returns the resource managed by the die.
func (*PortworxVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *PortworxVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PortworxVolumeSourceDie) DieReleasePtr ¶
func (d *PortworxVolumeSourceDie) DieReleasePtr() *corev1.PortworxVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PortworxVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *PortworxVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PortworxVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *PortworxVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PortworxVolumeSourceDie) DieStamp ¶
func (d *PortworxVolumeSourceDie) DieStamp(fn func(r *corev1.PortworxVolumeSource)) *PortworxVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PortworxVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *PortworxVolumeSourceDie) DieStampAt(jp string, fn interface{}) *PortworxVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PortworxVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *PortworxVolumeSourceDie) DieWith(fns ...func(d *PortworxVolumeSourceDie)) *PortworxVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PortworxVolumeSourceDie) FSType ¶
func (d *PortworxVolumeSourceDie) FSType(v string) *PortworxVolumeSourceDie
fSType represents the filesystem type to mount
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
func (*PortworxVolumeSourceDie) ReadOnly ¶
func (d *PortworxVolumeSourceDie) ReadOnly(v bool) *PortworxVolumeSourceDie
readOnly defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
func (*PortworxVolumeSourceDie) VolumeID ¶
func (d *PortworxVolumeSourceDie) VolumeID(v string) *PortworxVolumeSourceDie
volumeID uniquely identifies a Portworx volume
type ProbeDie ¶
type ProbeDie struct {
// contains filtered or unexported fields
}
func (*ProbeDie) DeepCopy ¶
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ProbeDie) DieFeedJSON ¶ added in v0.8.0
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ProbeDie) DieFeedPtr ¶
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ProbeDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ProbeDie) DieFeedRawExtension(raw runtime.RawExtension) *ProbeDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ProbeDie) DieFeedYAML ¶ added in v0.8.0
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ProbeDie) DieFeedYAMLFile ¶ added in v0.8.0
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ProbeDie) DieImmutable ¶
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ProbeDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*ProbeDie) DieReleaseJSON ¶ added in v0.8.0
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ProbeDie) DieReleasePtr ¶
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ProbeDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ProbeDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ProbeDie) DieReleaseYAML ¶ added in v0.8.0
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ProbeDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ProbeDie) DieStampAt ¶ added in v0.8.0
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ProbeDie) DieWith ¶ added in v0.9.0
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ProbeDie) ExecDie ¶
func (d *ProbeDie) ExecDie(fn func(d *ExecActionDie)) *ProbeDie
func (*ProbeDie) FailureThreshold ¶
Minimum consecutive failures for the probe to be considered failed after having succeeded.
Defaults to 3. Minimum value is 1.
func (*ProbeDie) HTTPGetDie ¶
func (d *ProbeDie) HTTPGetDie(fn func(d *HTTPGetActionDie)) *ProbeDie
func (*ProbeDie) InitialDelaySeconds ¶
Number of seconds after the container has started before liveness probes are initiated.
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
func (*ProbeDie) PeriodSeconds ¶
How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
func (*ProbeDie) ProbeHandler ¶ added in v0.2.0
func (d *ProbeDie) ProbeHandler(v corev1.ProbeHandler) *ProbeDie
The action taken to determine the health of a container
func (*ProbeDie) ProbeHandlerDie ¶ added in v0.2.0
func (d *ProbeDie) ProbeHandlerDie(fn func(d *ProbeHandlerDie)) *ProbeDie
func (*ProbeDie) SuccessThreshold ¶
Minimum consecutive successes for the probe to be considered successful after having failed.
Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
func (*ProbeDie) TCPSocketDie ¶
func (d *ProbeDie) TCPSocketDie(fn func(d *TCPSocketActionDie)) *ProbeDie
func (*ProbeDie) TerminationGracePeriodSeconds ¶
Optional duration in seconds the pod needs to terminate gracefully upon probe failure.
The grace period is the duration in seconds after the processes running in the pod are sent ¶
a termination signal and the time when the processes are forcibly halted with a kill signal.
Set this value longer than the expected cleanup time for your process.
If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this
value overrides the value provided by the pod spec.
Value must be non-negative integer. The value zero indicates stop immediately via
the kill signal (no opportunity to shut down).
This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.
Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
func (*ProbeDie) TimeoutSeconds ¶
Number of seconds after which the probe times out.
Defaults to 1 second. Minimum value is 1.
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
type ProbeHandlerDie ¶ added in v0.2.0
type ProbeHandlerDie struct {
// contains filtered or unexported fields
}
func (*ProbeHandlerDie) DeepCopy ¶ added in v0.2.0
func (d *ProbeHandlerDie) DeepCopy() *ProbeHandlerDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ProbeHandlerDie) DieFeed ¶ added in v0.2.0
func (d *ProbeHandlerDie) DieFeed(r corev1.ProbeHandler) *ProbeHandlerDie
DieFeed returns a new die with the provided resource.
func (*ProbeHandlerDie) DieFeedJSON ¶ added in v0.8.0
func (d *ProbeHandlerDie) DieFeedJSON(j []byte) *ProbeHandlerDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ProbeHandlerDie) DieFeedPtr ¶ added in v0.2.0
func (d *ProbeHandlerDie) DieFeedPtr(r *corev1.ProbeHandler) *ProbeHandlerDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ProbeHandlerDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ProbeHandlerDie) DieFeedRawExtension(raw runtime.RawExtension) *ProbeHandlerDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ProbeHandlerDie) DieFeedYAML ¶ added in v0.8.0
func (d *ProbeHandlerDie) DieFeedYAML(y []byte) *ProbeHandlerDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ProbeHandlerDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ProbeHandlerDie) DieFeedYAMLFile(name string) *ProbeHandlerDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ProbeHandlerDie) DieImmutable ¶ added in v0.2.0
func (d *ProbeHandlerDie) DieImmutable(immutable bool) *ProbeHandlerDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ProbeHandlerDie) DieRelease ¶ added in v0.2.0
func (d *ProbeHandlerDie) DieRelease() corev1.ProbeHandler
DieRelease returns the resource managed by the die.
func (*ProbeHandlerDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ProbeHandlerDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ProbeHandlerDie) DieReleasePtr ¶ added in v0.2.0
func (d *ProbeHandlerDie) DieReleasePtr() *corev1.ProbeHandler
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ProbeHandlerDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ProbeHandlerDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ProbeHandlerDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ProbeHandlerDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ProbeHandlerDie) DieStamp ¶ added in v0.2.0
func (d *ProbeHandlerDie) DieStamp(fn func(r *corev1.ProbeHandler)) *ProbeHandlerDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ProbeHandlerDie) DieStampAt ¶ added in v0.8.0
func (d *ProbeHandlerDie) DieStampAt(jp string, fn interface{}) *ProbeHandlerDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ProbeHandlerDie) DieWith ¶ added in v0.9.0
func (d *ProbeHandlerDie) DieWith(fns ...func(d *ProbeHandlerDie)) *ProbeHandlerDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ProbeHandlerDie) Exec ¶ added in v0.2.0
func (d *ProbeHandlerDie) Exec(v *corev1.ExecAction) *ProbeHandlerDie
Exec specifies the action to take.
func (*ProbeHandlerDie) ExecDie ¶ added in v0.2.0
func (d *ProbeHandlerDie) ExecDie(fn func(d *ExecActionDie)) *ProbeHandlerDie
func (*ProbeHandlerDie) GRPC ¶ added in v0.2.0
func (d *ProbeHandlerDie) GRPC(v *corev1.GRPCAction) *ProbeHandlerDie
GRPC specifies an action involving a GRPC port.
func (*ProbeHandlerDie) GRPCDie ¶ added in v0.2.0
func (d *ProbeHandlerDie) GRPCDie(fn func(d *GRPCActionDie)) *ProbeHandlerDie
func (*ProbeHandlerDie) HTTPGet ¶ added in v0.2.0
func (d *ProbeHandlerDie) HTTPGet(v *corev1.HTTPGetAction) *ProbeHandlerDie
HTTPGet specifies the http request to perform.
func (*ProbeHandlerDie) HTTPGetDie ¶ added in v0.2.0
func (d *ProbeHandlerDie) HTTPGetDie(fn func(d *HTTPGetActionDie)) *ProbeHandlerDie
func (*ProbeHandlerDie) TCPSocket ¶ added in v0.2.0
func (d *ProbeHandlerDie) TCPSocket(v *corev1.TCPSocketAction) *ProbeHandlerDie
TCPSocket specifies an action involving a TCP port.
func (*ProbeHandlerDie) TCPSocketDie ¶ added in v0.2.0
func (d *ProbeHandlerDie) TCPSocketDie(fn func(d *TCPSocketActionDie)) *ProbeHandlerDie
type ProjectedVolumeSourceDie ¶
type ProjectedVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*ProjectedVolumeSourceDie) DeepCopy ¶
func (d *ProjectedVolumeSourceDie) DeepCopy() *ProjectedVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ProjectedVolumeSourceDie) DefaultMode ¶
func (d *ProjectedVolumeSourceDie) DefaultMode(v *int32) *ProjectedVolumeSourceDie
defaultMode are the mode bits used to set permissions on created files by default.
Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
Directories within the path are not affected by this setting.
This might be in conflict with other options that affect the file ¶
mode, like fsGroup, and the result can be other mode bits set.
func (*ProjectedVolumeSourceDie) DieFeed ¶
func (d *ProjectedVolumeSourceDie) DieFeed(r corev1.ProjectedVolumeSource) *ProjectedVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*ProjectedVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *ProjectedVolumeSourceDie) DieFeedJSON(j []byte) *ProjectedVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ProjectedVolumeSourceDie) DieFeedPtr ¶
func (d *ProjectedVolumeSourceDie) DieFeedPtr(r *corev1.ProjectedVolumeSource) *ProjectedVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ProjectedVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ProjectedVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ProjectedVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ProjectedVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *ProjectedVolumeSourceDie) DieFeedYAML(y []byte) *ProjectedVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ProjectedVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ProjectedVolumeSourceDie) DieFeedYAMLFile(name string) *ProjectedVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ProjectedVolumeSourceDie) DieImmutable ¶
func (d *ProjectedVolumeSourceDie) DieImmutable(immutable bool) *ProjectedVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ProjectedVolumeSourceDie) DieRelease ¶
func (d *ProjectedVolumeSourceDie) DieRelease() corev1.ProjectedVolumeSource
DieRelease returns the resource managed by the die.
func (*ProjectedVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ProjectedVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ProjectedVolumeSourceDie) DieReleasePtr ¶
func (d *ProjectedVolumeSourceDie) DieReleasePtr() *corev1.ProjectedVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ProjectedVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ProjectedVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ProjectedVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ProjectedVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ProjectedVolumeSourceDie) DieStamp ¶
func (d *ProjectedVolumeSourceDie) DieStamp(fn func(r *corev1.ProjectedVolumeSource)) *ProjectedVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ProjectedVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *ProjectedVolumeSourceDie) DieStampAt(jp string, fn interface{}) *ProjectedVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ProjectedVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *ProjectedVolumeSourceDie) DieWith(fns ...func(d *ProjectedVolumeSourceDie)) *ProjectedVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ProjectedVolumeSourceDie) Sources ¶
func (d *ProjectedVolumeSourceDie) Sources(v ...corev1.VolumeProjection) *ProjectedVolumeSourceDie
sources is the list of volume projections
func (*ProjectedVolumeSourceDie) SourcesDie ¶
func (d *ProjectedVolumeSourceDie) SourcesDie(sources ...*VolumeProjectionDie) *ProjectedVolumeSourceDie
type QuobyteVolumeSourceDie ¶
type QuobyteVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*QuobyteVolumeSourceDie) DeepCopy ¶
func (d *QuobyteVolumeSourceDie) DeepCopy() *QuobyteVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*QuobyteVolumeSourceDie) DieFeed ¶
func (d *QuobyteVolumeSourceDie) DieFeed(r corev1.QuobyteVolumeSource) *QuobyteVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*QuobyteVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *QuobyteVolumeSourceDie) DieFeedJSON(j []byte) *QuobyteVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*QuobyteVolumeSourceDie) DieFeedPtr ¶
func (d *QuobyteVolumeSourceDie) DieFeedPtr(r *corev1.QuobyteVolumeSource) *QuobyteVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*QuobyteVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *QuobyteVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *QuobyteVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*QuobyteVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *QuobyteVolumeSourceDie) DieFeedYAML(y []byte) *QuobyteVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*QuobyteVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *QuobyteVolumeSourceDie) DieFeedYAMLFile(name string) *QuobyteVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*QuobyteVolumeSourceDie) DieImmutable ¶
func (d *QuobyteVolumeSourceDie) DieImmutable(immutable bool) *QuobyteVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*QuobyteVolumeSourceDie) DieRelease ¶
func (d *QuobyteVolumeSourceDie) DieRelease() corev1.QuobyteVolumeSource
DieRelease returns the resource managed by the die.
func (*QuobyteVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *QuobyteVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*QuobyteVolumeSourceDie) DieReleasePtr ¶
func (d *QuobyteVolumeSourceDie) DieReleasePtr() *corev1.QuobyteVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*QuobyteVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *QuobyteVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*QuobyteVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *QuobyteVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*QuobyteVolumeSourceDie) DieStamp ¶
func (d *QuobyteVolumeSourceDie) DieStamp(fn func(r *corev1.QuobyteVolumeSource)) *QuobyteVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*QuobyteVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *QuobyteVolumeSourceDie) DieStampAt(jp string, fn interface{}) *QuobyteVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*QuobyteVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *QuobyteVolumeSourceDie) DieWith(fns ...func(d *QuobyteVolumeSourceDie)) *QuobyteVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*QuobyteVolumeSourceDie) Group ¶
func (d *QuobyteVolumeSourceDie) Group(v string) *QuobyteVolumeSourceDie
group to map volume access to
Default is no group
func (*QuobyteVolumeSourceDie) ReadOnly ¶
func (d *QuobyteVolumeSourceDie) ReadOnly(v bool) *QuobyteVolumeSourceDie
readOnly here will force the Quobyte volume to be mounted with read-only permissions.
Defaults to false.
func (*QuobyteVolumeSourceDie) Registry ¶
func (d *QuobyteVolumeSourceDie) Registry(v string) *QuobyteVolumeSourceDie
registry represents a single or multiple Quobyte Registry services
specified as a string as host:port pair (multiple entries are separated with commas)
which acts as the central registry for volumes
func (*QuobyteVolumeSourceDie) Tenant ¶
func (d *QuobyteVolumeSourceDie) Tenant(v string) *QuobyteVolumeSourceDie
tenant owning the given Quobyte volume in the Backend
Used with dynamically provisioned Quobyte volumes, value is set by the plugin
func (*QuobyteVolumeSourceDie) User ¶
func (d *QuobyteVolumeSourceDie) User(v string) *QuobyteVolumeSourceDie
user to map volume access to
Defaults to serivceaccount user
func (*QuobyteVolumeSourceDie) Volume ¶
func (d *QuobyteVolumeSourceDie) Volume(v string) *QuobyteVolumeSourceDie
volume is a string that references an already created Quobyte volume by name.
type RBDPersistentVolumeSourceDie ¶
type RBDPersistentVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*RBDPersistentVolumeSourceDie) CephMonitors ¶
func (d *RBDPersistentVolumeSourceDie) CephMonitors(v ...string) *RBDPersistentVolumeSourceDie
monitors is a collection of Ceph monitors.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
func (*RBDPersistentVolumeSourceDie) DeepCopy ¶
func (d *RBDPersistentVolumeSourceDie) DeepCopy() *RBDPersistentVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*RBDPersistentVolumeSourceDie) DieFeed ¶
func (d *RBDPersistentVolumeSourceDie) DieFeed(r corev1.RBDPersistentVolumeSource) *RBDPersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*RBDPersistentVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *RBDPersistentVolumeSourceDie) DieFeedJSON(j []byte) *RBDPersistentVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*RBDPersistentVolumeSourceDie) DieFeedPtr ¶
func (d *RBDPersistentVolumeSourceDie) DieFeedPtr(r *corev1.RBDPersistentVolumeSource) *RBDPersistentVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*RBDPersistentVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *RBDPersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *RBDPersistentVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*RBDPersistentVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *RBDPersistentVolumeSourceDie) DieFeedYAML(y []byte) *RBDPersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*RBDPersistentVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *RBDPersistentVolumeSourceDie) DieFeedYAMLFile(name string) *RBDPersistentVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*RBDPersistentVolumeSourceDie) DieImmutable ¶
func (d *RBDPersistentVolumeSourceDie) DieImmutable(immutable bool) *RBDPersistentVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*RBDPersistentVolumeSourceDie) DieRelease ¶
func (d *RBDPersistentVolumeSourceDie) DieRelease() corev1.RBDPersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*RBDPersistentVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *RBDPersistentVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*RBDPersistentVolumeSourceDie) DieReleasePtr ¶
func (d *RBDPersistentVolumeSourceDie) DieReleasePtr() *corev1.RBDPersistentVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*RBDPersistentVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *RBDPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*RBDPersistentVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *RBDPersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*RBDPersistentVolumeSourceDie) DieStamp ¶
func (d *RBDPersistentVolumeSourceDie) DieStamp(fn func(r *corev1.RBDPersistentVolumeSource)) *RBDPersistentVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*RBDPersistentVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *RBDPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *RBDPersistentVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*RBDPersistentVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *RBDPersistentVolumeSourceDie) DieWith(fns ...func(d *RBDPersistentVolumeSourceDie)) *RBDPersistentVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*RBDPersistentVolumeSourceDie) FSType ¶
func (d *RBDPersistentVolumeSourceDie) FSType(v string) *RBDPersistentVolumeSourceDie
fsType is the filesystem type of the volume that you want to mount.
Tip: Ensure that the filesystem type is supported by the host operating system.
Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
TODO: how do we prevent errors in the filesystem from compromising the machine
func (*RBDPersistentVolumeSourceDie) Keyring ¶
func (d *RBDPersistentVolumeSourceDie) Keyring(v string) *RBDPersistentVolumeSourceDie
keyring is the path to key ring for RBDUser.
Default is /etc/ceph/keyring.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
func (*RBDPersistentVolumeSourceDie) RBDImage ¶
func (d *RBDPersistentVolumeSourceDie) RBDImage(v string) *RBDPersistentVolumeSourceDie
image is the rados image name.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
func (*RBDPersistentVolumeSourceDie) RBDPool ¶
func (d *RBDPersistentVolumeSourceDie) RBDPool(v string) *RBDPersistentVolumeSourceDie
pool is the rados pool name.
Default is rbd.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
func (*RBDPersistentVolumeSourceDie) RadosUser ¶
func (d *RBDPersistentVolumeSourceDie) RadosUser(v string) *RBDPersistentVolumeSourceDie
user is the rados user name.
Default is admin.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
func (*RBDPersistentVolumeSourceDie) ReadOnly ¶
func (d *RBDPersistentVolumeSourceDie) ReadOnly(v bool) *RBDPersistentVolumeSourceDie
readOnly here will force the ReadOnly setting in VolumeMounts.
Defaults to false.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
func (*RBDPersistentVolumeSourceDie) SecretRef ¶
func (d *RBDPersistentVolumeSourceDie) SecretRef(v *corev1.SecretReference) *RBDPersistentVolumeSourceDie
secretRef is name of the authentication secret for RBDUser. If provided
overrides keyring.
Default is nil.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
func (*RBDPersistentVolumeSourceDie) SecretRefDie ¶
func (d *RBDPersistentVolumeSourceDie) SecretRefDie(fn func(d *SecretReferenceDie)) *RBDPersistentVolumeSourceDie
type RBDVolumeSourceDie ¶
type RBDVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*RBDVolumeSourceDie) CephMonitors ¶
func (d *RBDVolumeSourceDie) CephMonitors(v ...string) *RBDVolumeSourceDie
monitors is a collection of Ceph monitors.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
func (*RBDVolumeSourceDie) DeepCopy ¶
func (d *RBDVolumeSourceDie) DeepCopy() *RBDVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*RBDVolumeSourceDie) DieFeed ¶
func (d *RBDVolumeSourceDie) DieFeed(r corev1.RBDVolumeSource) *RBDVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*RBDVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *RBDVolumeSourceDie) DieFeedJSON(j []byte) *RBDVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*RBDVolumeSourceDie) DieFeedPtr ¶
func (d *RBDVolumeSourceDie) DieFeedPtr(r *corev1.RBDVolumeSource) *RBDVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*RBDVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *RBDVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *RBDVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*RBDVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *RBDVolumeSourceDie) DieFeedYAML(y []byte) *RBDVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*RBDVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *RBDVolumeSourceDie) DieFeedYAMLFile(name string) *RBDVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*RBDVolumeSourceDie) DieImmutable ¶
func (d *RBDVolumeSourceDie) DieImmutable(immutable bool) *RBDVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*RBDVolumeSourceDie) DieRelease ¶
func (d *RBDVolumeSourceDie) DieRelease() corev1.RBDVolumeSource
DieRelease returns the resource managed by the die.
func (*RBDVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *RBDVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*RBDVolumeSourceDie) DieReleasePtr ¶
func (d *RBDVolumeSourceDie) DieReleasePtr() *corev1.RBDVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*RBDVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *RBDVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*RBDVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *RBDVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*RBDVolumeSourceDie) DieStamp ¶
func (d *RBDVolumeSourceDie) DieStamp(fn func(r *corev1.RBDVolumeSource)) *RBDVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*RBDVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *RBDVolumeSourceDie) DieStampAt(jp string, fn interface{}) *RBDVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*RBDVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *RBDVolumeSourceDie) DieWith(fns ...func(d *RBDVolumeSourceDie)) *RBDVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*RBDVolumeSourceDie) FSType ¶
func (d *RBDVolumeSourceDie) FSType(v string) *RBDVolumeSourceDie
fsType is the filesystem type of the volume that you want to mount.
Tip: Ensure that the filesystem type is supported by the host operating system.
Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
TODO: how do we prevent errors in the filesystem from compromising the machine
func (*RBDVolumeSourceDie) Keyring ¶
func (d *RBDVolumeSourceDie) Keyring(v string) *RBDVolumeSourceDie
keyring is the path to key ring for RBDUser.
Default is /etc/ceph/keyring.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
func (*RBDVolumeSourceDie) RBDImage ¶
func (d *RBDVolumeSourceDie) RBDImage(v string) *RBDVolumeSourceDie
image is the rados image name.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
func (*RBDVolumeSourceDie) RBDPool ¶
func (d *RBDVolumeSourceDie) RBDPool(v string) *RBDVolumeSourceDie
pool is the rados pool name.
Default is rbd.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
func (*RBDVolumeSourceDie) RadosUser ¶
func (d *RBDVolumeSourceDie) RadosUser(v string) *RBDVolumeSourceDie
user is the rados user name.
Default is admin.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
func (*RBDVolumeSourceDie) ReadOnly ¶
func (d *RBDVolumeSourceDie) ReadOnly(v bool) *RBDVolumeSourceDie
readOnly here will force the ReadOnly setting in VolumeMounts.
Defaults to false.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
func (*RBDVolumeSourceDie) SecretRef ¶
func (d *RBDVolumeSourceDie) SecretRef(v *corev1.LocalObjectReference) *RBDVolumeSourceDie
secretRef is name of the authentication secret for RBDUser. If provided
overrides keyring.
Default is nil.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
func (*RBDVolumeSourceDie) SecretRefDie ¶
func (d *RBDVolumeSourceDie) SecretRefDie(fn func(d *LocalObjectReferenceDie)) *RBDVolumeSourceDie
type ReplicationControllerDie ¶ added in v0.3.0
type ReplicationControllerDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*ReplicationControllerDie) APIVersion ¶ added in v0.5.0
func (d *ReplicationControllerDie) APIVersion(v string) *ReplicationControllerDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*ReplicationControllerDie) DeepCopy ¶ added in v0.3.0
func (d *ReplicationControllerDie) DeepCopy() *ReplicationControllerDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ReplicationControllerDie) DeepCopyObject ¶ added in v0.3.0
func (d *ReplicationControllerDie) DeepCopyObject() runtime.Object
func (*ReplicationControllerDie) DieFeed ¶ added in v0.3.0
func (d *ReplicationControllerDie) DieFeed(r corev1.ReplicationController) *ReplicationControllerDie
DieFeed returns a new die with the provided resource.
func (*ReplicationControllerDie) DieFeedJSON ¶ added in v0.8.0
func (d *ReplicationControllerDie) DieFeedJSON(j []byte) *ReplicationControllerDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ReplicationControllerDie) DieFeedPtr ¶ added in v0.3.0
func (d *ReplicationControllerDie) DieFeedPtr(r *corev1.ReplicationController) *ReplicationControllerDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ReplicationControllerDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ReplicationControllerDie) DieFeedRawExtension(raw runtime.RawExtension) *ReplicationControllerDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ReplicationControllerDie) DieFeedYAML ¶ added in v0.8.0
func (d *ReplicationControllerDie) DieFeedYAML(y []byte) *ReplicationControllerDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ReplicationControllerDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ReplicationControllerDie) DieFeedYAMLFile(name string) *ReplicationControllerDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ReplicationControllerDie) DieImmutable ¶ added in v0.3.0
func (d *ReplicationControllerDie) DieImmutable(immutable bool) *ReplicationControllerDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ReplicationControllerDie) DieRelease ¶ added in v0.3.0
func (d *ReplicationControllerDie) DieRelease() corev1.ReplicationController
DieRelease returns the resource managed by the die.
func (*ReplicationControllerDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ReplicationControllerDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ReplicationControllerDie) DieReleasePtr ¶ added in v0.3.0
func (d *ReplicationControllerDie) DieReleasePtr() *corev1.ReplicationController
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ReplicationControllerDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ReplicationControllerDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ReplicationControllerDie) DieReleaseUnstructured ¶ added in v0.3.0
func (d *ReplicationControllerDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*ReplicationControllerDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ReplicationControllerDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ReplicationControllerDie) DieStamp ¶ added in v0.3.0
func (d *ReplicationControllerDie) DieStamp(fn func(r *corev1.ReplicationController)) *ReplicationControllerDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ReplicationControllerDie) DieStampAt ¶ added in v0.8.0
func (d *ReplicationControllerDie) DieStampAt(jp string, fn interface{}) *ReplicationControllerDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ReplicationControllerDie) DieWith ¶ added in v0.9.0
func (d *ReplicationControllerDie) DieWith(fns ...func(d *ReplicationControllerDie)) *ReplicationControllerDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ReplicationControllerDie) GetObjectKind ¶ added in v0.3.0
func (d *ReplicationControllerDie) GetObjectKind() schema.ObjectKind
func (*ReplicationControllerDie) Kind ¶ added in v0.5.0
func (d *ReplicationControllerDie) Kind(v string) *ReplicationControllerDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*ReplicationControllerDie) MarshalJSON ¶ added in v0.3.0
func (d *ReplicationControllerDie) MarshalJSON() ([]byte, error)
func (*ReplicationControllerDie) MetadataDie ¶ added in v0.3.0
func (d *ReplicationControllerDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ReplicationControllerDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*ReplicationControllerDie) Spec ¶ added in v0.3.0
func (d *ReplicationControllerDie) Spec(v corev1.ReplicationControllerSpec) *ReplicationControllerDie
Spec defines the specification of the desired behavior of the replication controller.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*ReplicationControllerDie) SpecDie ¶ added in v0.3.0
func (d *ReplicationControllerDie) SpecDie(fn func(d *ReplicationControllerSpecDie)) *ReplicationControllerDie
SpecDie stamps the resource's spec field with a mutable die.
func (*ReplicationControllerDie) Status ¶ added in v0.3.0
func (d *ReplicationControllerDie) Status(v corev1.ReplicationControllerStatus) *ReplicationControllerDie
Status is the most recently observed status of the replication controller.
This data may be out of date by some window of time.
Populated by the system.
Read-only.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*ReplicationControllerDie) StatusDie ¶ added in v0.3.0
func (d *ReplicationControllerDie) StatusDie(fn func(d *ReplicationControllerStatusDie)) *ReplicationControllerDie
StatusDie stamps the resource's status field with a mutable die.
func (*ReplicationControllerDie) UnmarshalJSON ¶ added in v0.3.0
func (d *ReplicationControllerDie) UnmarshalJSON(b []byte) error
type ReplicationControllerSpecDie ¶ added in v0.3.0
type ReplicationControllerSpecDie struct {
// contains filtered or unexported fields
}
func (*ReplicationControllerSpecDie) DeepCopy ¶ added in v0.3.0
func (d *ReplicationControllerSpecDie) DeepCopy() *ReplicationControllerSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ReplicationControllerSpecDie) DieFeed ¶ added in v0.3.0
func (d *ReplicationControllerSpecDie) DieFeed(r corev1.ReplicationControllerSpec) *ReplicationControllerSpecDie
DieFeed returns a new die with the provided resource.
func (*ReplicationControllerSpecDie) DieFeedJSON ¶ added in v0.8.0
func (d *ReplicationControllerSpecDie) DieFeedJSON(j []byte) *ReplicationControllerSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ReplicationControllerSpecDie) DieFeedPtr ¶ added in v0.3.0
func (d *ReplicationControllerSpecDie) DieFeedPtr(r *corev1.ReplicationControllerSpec) *ReplicationControllerSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ReplicationControllerSpecDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ReplicationControllerSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *ReplicationControllerSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ReplicationControllerSpecDie) DieFeedYAML ¶ added in v0.8.0
func (d *ReplicationControllerSpecDie) DieFeedYAML(y []byte) *ReplicationControllerSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ReplicationControllerSpecDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ReplicationControllerSpecDie) DieFeedYAMLFile(name string) *ReplicationControllerSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ReplicationControllerSpecDie) DieImmutable ¶ added in v0.3.0
func (d *ReplicationControllerSpecDie) DieImmutable(immutable bool) *ReplicationControllerSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ReplicationControllerSpecDie) DieRelease ¶ added in v0.3.0
func (d *ReplicationControllerSpecDie) DieRelease() corev1.ReplicationControllerSpec
DieRelease returns the resource managed by the die.
func (*ReplicationControllerSpecDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ReplicationControllerSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ReplicationControllerSpecDie) DieReleasePtr ¶ added in v0.3.0
func (d *ReplicationControllerSpecDie) DieReleasePtr() *corev1.ReplicationControllerSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ReplicationControllerSpecDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ReplicationControllerSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ReplicationControllerSpecDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ReplicationControllerSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ReplicationControllerSpecDie) DieStamp ¶ added in v0.3.0
func (d *ReplicationControllerSpecDie) DieStamp(fn func(r *corev1.ReplicationControllerSpec)) *ReplicationControllerSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ReplicationControllerSpecDie) DieStampAt ¶ added in v0.8.0
func (d *ReplicationControllerSpecDie) DieStampAt(jp string, fn interface{}) *ReplicationControllerSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ReplicationControllerSpecDie) DieWith ¶ added in v0.9.0
func (d *ReplicationControllerSpecDie) DieWith(fns ...func(d *ReplicationControllerSpecDie)) *ReplicationControllerSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ReplicationControllerSpecDie) MinReadySeconds ¶ added in v0.3.0
func (d *ReplicationControllerSpecDie) MinReadySeconds(v int32) *ReplicationControllerSpecDie
Minimum number of seconds for which a newly created pod should be ready
without any of its container crashing, for it to be considered available.
Defaults to 0 (pod will be considered available as soon as it is ready)
func (*ReplicationControllerSpecDie) Replicas ¶ added in v0.3.0
func (d *ReplicationControllerSpecDie) Replicas(v *int32) *ReplicationControllerSpecDie
Replicas is the number of desired replicas.
This is a pointer to distinguish between explicit zero and unspecified.
Defaults to 1.
func (*ReplicationControllerSpecDie) Selector ¶ added in v0.3.0
func (d *ReplicationControllerSpecDie) Selector(v map[string]string) *ReplicationControllerSpecDie
Selector is a label query over pods that should match the Replicas count.
If Selector is empty, it is defaulted to the labels present on the Pod template.
Label keys and values that must match in order to be controlled by this replication ¶
controller, if empty defaulted to labels on Pod template.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
func (*ReplicationControllerSpecDie) Template ¶ added in v0.3.0
func (d *ReplicationControllerSpecDie) Template(v *corev1.PodTemplateSpec) *ReplicationControllerSpecDie
Template is the object that describes the pod that will be created if
insufficient replicas are detected. This takes precedence over a TemplateRef.
The only allowed template.spec.restartPolicy value is "Always".
More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
func (*ReplicationControllerSpecDie) TemplateDie ¶ added in v0.3.0
func (d *ReplicationControllerSpecDie) TemplateDie(fn func(d *PodTemplateSpecDie)) *ReplicationControllerSpecDie
type ReplicationControllerStatusDie ¶ added in v0.3.0
type ReplicationControllerStatusDie struct {
// contains filtered or unexported fields
}
func (*ReplicationControllerStatusDie) AvailableReplicas ¶ added in v0.3.0
func (d *ReplicationControllerStatusDie) AvailableReplicas(v int32) *ReplicationControllerStatusDie
The number of available replicas (ready for at least minReadySeconds) for this replication controller.
func (*ReplicationControllerStatusDie) Conditions ¶ added in v0.3.0
func (d *ReplicationControllerStatusDie) Conditions(v ...corev1.ReplicationControllerCondition) *ReplicationControllerStatusDie
Represents the latest available observations of a replication controller's current state.
func (*ReplicationControllerStatusDie) ConditionsDie ¶ added in v0.3.0
func (d *ReplicationControllerStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *ReplicationControllerStatusDie
func (*ReplicationControllerStatusDie) DeepCopy ¶ added in v0.3.0
func (d *ReplicationControllerStatusDie) DeepCopy() *ReplicationControllerStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ReplicationControllerStatusDie) DieFeed ¶ added in v0.3.0
func (d *ReplicationControllerStatusDie) DieFeed(r corev1.ReplicationControllerStatus) *ReplicationControllerStatusDie
DieFeed returns a new die with the provided resource.
func (*ReplicationControllerStatusDie) DieFeedJSON ¶ added in v0.8.0
func (d *ReplicationControllerStatusDie) DieFeedJSON(j []byte) *ReplicationControllerStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ReplicationControllerStatusDie) DieFeedPtr ¶ added in v0.3.0
func (d *ReplicationControllerStatusDie) DieFeedPtr(r *corev1.ReplicationControllerStatus) *ReplicationControllerStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ReplicationControllerStatusDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ReplicationControllerStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ReplicationControllerStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ReplicationControllerStatusDie) DieFeedYAML ¶ added in v0.8.0
func (d *ReplicationControllerStatusDie) DieFeedYAML(y []byte) *ReplicationControllerStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ReplicationControllerStatusDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ReplicationControllerStatusDie) DieFeedYAMLFile(name string) *ReplicationControllerStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ReplicationControllerStatusDie) DieImmutable ¶ added in v0.3.0
func (d *ReplicationControllerStatusDie) DieImmutable(immutable bool) *ReplicationControllerStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ReplicationControllerStatusDie) DieRelease ¶ added in v0.3.0
func (d *ReplicationControllerStatusDie) DieRelease() corev1.ReplicationControllerStatus
DieRelease returns the resource managed by the die.
func (*ReplicationControllerStatusDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ReplicationControllerStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ReplicationControllerStatusDie) DieReleasePtr ¶ added in v0.3.0
func (d *ReplicationControllerStatusDie) DieReleasePtr() *corev1.ReplicationControllerStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ReplicationControllerStatusDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ReplicationControllerStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ReplicationControllerStatusDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ReplicationControllerStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ReplicationControllerStatusDie) DieStamp ¶ added in v0.3.0
func (d *ReplicationControllerStatusDie) DieStamp(fn func(r *corev1.ReplicationControllerStatus)) *ReplicationControllerStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ReplicationControllerStatusDie) DieStampAt ¶ added in v0.8.0
func (d *ReplicationControllerStatusDie) DieStampAt(jp string, fn interface{}) *ReplicationControllerStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ReplicationControllerStatusDie) DieWith ¶ added in v0.9.0
func (d *ReplicationControllerStatusDie) DieWith(fns ...func(d *ReplicationControllerStatusDie)) *ReplicationControllerStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ReplicationControllerStatusDie) FullyLabeledReplicas ¶ added in v0.3.0
func (d *ReplicationControllerStatusDie) FullyLabeledReplicas(v int32) *ReplicationControllerStatusDie
The number of pods that have labels matching the labels of the pod template of the replication controller.
func (*ReplicationControllerStatusDie) ObservedGeneration ¶ added in v0.3.0
func (d *ReplicationControllerStatusDie) ObservedGeneration(v int64) *ReplicationControllerStatusDie
ObservedGeneration reflects the generation of the most recently observed replication controller.
func (*ReplicationControllerStatusDie) ReadyReplicas ¶ added in v0.3.0
func (d *ReplicationControllerStatusDie) ReadyReplicas(v int32) *ReplicationControllerStatusDie
The number of ready replicas for this replication controller.
func (*ReplicationControllerStatusDie) Replicas ¶ added in v0.3.0
func (d *ReplicationControllerStatusDie) Replicas(v int32) *ReplicationControllerStatusDie
Replicas is the most recently observed number of replicas.
type ResourceClaimDie ¶ added in v0.7.0
type ResourceClaimDie struct {
// contains filtered or unexported fields
}
func (*ResourceClaimDie) DeepCopy ¶ added in v0.7.0
func (d *ResourceClaimDie) DeepCopy() *ResourceClaimDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ResourceClaimDie) DieFeed ¶ added in v0.7.0
func (d *ResourceClaimDie) DieFeed(r corev1.ResourceClaim) *ResourceClaimDie
DieFeed returns a new die with the provided resource.
func (*ResourceClaimDie) DieFeedJSON ¶ added in v0.8.0
func (d *ResourceClaimDie) DieFeedJSON(j []byte) *ResourceClaimDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ResourceClaimDie) DieFeedPtr ¶ added in v0.7.0
func (d *ResourceClaimDie) DieFeedPtr(r *corev1.ResourceClaim) *ResourceClaimDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ResourceClaimDie) DieFeedRawExtension ¶ added in v0.7.0
func (d *ResourceClaimDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourceClaimDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceClaimDie) DieFeedYAML ¶ added in v0.8.0
func (d *ResourceClaimDie) DieFeedYAML(y []byte) *ResourceClaimDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ResourceClaimDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ResourceClaimDie) DieFeedYAMLFile(name string) *ResourceClaimDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ResourceClaimDie) DieImmutable ¶ added in v0.7.0
func (d *ResourceClaimDie) DieImmutable(immutable bool) *ResourceClaimDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ResourceClaimDie) DieRelease ¶ added in v0.7.0
func (d *ResourceClaimDie) DieRelease() corev1.ResourceClaim
DieRelease returns the resource managed by the die.
func (*ResourceClaimDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ResourceClaimDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ResourceClaimDie) DieReleasePtr ¶ added in v0.7.0
func (d *ResourceClaimDie) DieReleasePtr() *corev1.ResourceClaim
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ResourceClaimDie) DieReleaseRawExtension ¶ added in v0.7.0
func (d *ResourceClaimDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceClaimDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ResourceClaimDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ResourceClaimDie) DieStamp ¶ added in v0.7.0
func (d *ResourceClaimDie) DieStamp(fn func(r *corev1.ResourceClaim)) *ResourceClaimDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ResourceClaimDie) DieStampAt ¶ added in v0.8.0
func (d *ResourceClaimDie) DieStampAt(jp string, fn interface{}) *ResourceClaimDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ResourceClaimDie) DieWith ¶ added in v0.9.0
func (d *ResourceClaimDie) DieWith(fns ...func(d *ResourceClaimDie)) *ResourceClaimDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ResourceClaimDie) Name ¶ added in v0.7.0
func (d *ResourceClaimDie) Name(v string) *ResourceClaimDie
Name must match the name of one entry in pod.spec.resourceClaims of
the Pod where this field is used. It makes that resource available
inside a container.
type ResourceFieldSelectorDie ¶
type ResourceFieldSelectorDie struct {
// contains filtered or unexported fields
}
func (*ResourceFieldSelectorDie) ContainerName ¶
func (d *ResourceFieldSelectorDie) ContainerName(v string) *ResourceFieldSelectorDie
Container name: required for volumes, optional for env vars
func (*ResourceFieldSelectorDie) DeepCopy ¶
func (d *ResourceFieldSelectorDie) DeepCopy() *ResourceFieldSelectorDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ResourceFieldSelectorDie) DieFeed ¶
func (d *ResourceFieldSelectorDie) DieFeed(r corev1.ResourceFieldSelector) *ResourceFieldSelectorDie
DieFeed returns a new die with the provided resource.
func (*ResourceFieldSelectorDie) DieFeedJSON ¶ added in v0.8.0
func (d *ResourceFieldSelectorDie) DieFeedJSON(j []byte) *ResourceFieldSelectorDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ResourceFieldSelectorDie) DieFeedPtr ¶
func (d *ResourceFieldSelectorDie) DieFeedPtr(r *corev1.ResourceFieldSelector) *ResourceFieldSelectorDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ResourceFieldSelectorDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ResourceFieldSelectorDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourceFieldSelectorDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceFieldSelectorDie) DieFeedYAML ¶ added in v0.8.0
func (d *ResourceFieldSelectorDie) DieFeedYAML(y []byte) *ResourceFieldSelectorDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ResourceFieldSelectorDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ResourceFieldSelectorDie) DieFeedYAMLFile(name string) *ResourceFieldSelectorDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ResourceFieldSelectorDie) DieImmutable ¶
func (d *ResourceFieldSelectorDie) DieImmutable(immutable bool) *ResourceFieldSelectorDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ResourceFieldSelectorDie) DieRelease ¶
func (d *ResourceFieldSelectorDie) DieRelease() corev1.ResourceFieldSelector
DieRelease returns the resource managed by the die.
func (*ResourceFieldSelectorDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ResourceFieldSelectorDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ResourceFieldSelectorDie) DieReleasePtr ¶
func (d *ResourceFieldSelectorDie) DieReleasePtr() *corev1.ResourceFieldSelector
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ResourceFieldSelectorDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ResourceFieldSelectorDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceFieldSelectorDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ResourceFieldSelectorDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ResourceFieldSelectorDie) DieStamp ¶
func (d *ResourceFieldSelectorDie) DieStamp(fn func(r *corev1.ResourceFieldSelector)) *ResourceFieldSelectorDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ResourceFieldSelectorDie) DieStampAt ¶ added in v0.8.0
func (d *ResourceFieldSelectorDie) DieStampAt(jp string, fn interface{}) *ResourceFieldSelectorDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ResourceFieldSelectorDie) DieWith ¶ added in v0.9.0
func (d *ResourceFieldSelectorDie) DieWith(fns ...func(d *ResourceFieldSelectorDie)) *ResourceFieldSelectorDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ResourceFieldSelectorDie) Divisor ¶
func (d *ResourceFieldSelectorDie) Divisor(v resource.Quantity) *ResourceFieldSelectorDie
Specifies the output format of the exposed resources, defaults to "1"
func (*ResourceFieldSelectorDie) Resource ¶
func (d *ResourceFieldSelectorDie) Resource(v string) *ResourceFieldSelectorDie
Required: resource to select
type ResourceQuotaDie ¶
type ResourceQuotaDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*ResourceQuotaDie) APIVersion ¶ added in v0.5.0
func (d *ResourceQuotaDie) APIVersion(v string) *ResourceQuotaDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*ResourceQuotaDie) DeepCopy ¶
func (d *ResourceQuotaDie) DeepCopy() *ResourceQuotaDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ResourceQuotaDie) DeepCopyObject ¶
func (d *ResourceQuotaDie) DeepCopyObject() runtime.Object
func (*ResourceQuotaDie) DieFeed ¶
func (d *ResourceQuotaDie) DieFeed(r corev1.ResourceQuota) *ResourceQuotaDie
DieFeed returns a new die with the provided resource.
func (*ResourceQuotaDie) DieFeedJSON ¶ added in v0.8.0
func (d *ResourceQuotaDie) DieFeedJSON(j []byte) *ResourceQuotaDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ResourceQuotaDie) DieFeedPtr ¶
func (d *ResourceQuotaDie) DieFeedPtr(r *corev1.ResourceQuota) *ResourceQuotaDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ResourceQuotaDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ResourceQuotaDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourceQuotaDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceQuotaDie) DieFeedYAML ¶ added in v0.8.0
func (d *ResourceQuotaDie) DieFeedYAML(y []byte) *ResourceQuotaDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ResourceQuotaDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ResourceQuotaDie) DieFeedYAMLFile(name string) *ResourceQuotaDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ResourceQuotaDie) DieImmutable ¶
func (d *ResourceQuotaDie) DieImmutable(immutable bool) *ResourceQuotaDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ResourceQuotaDie) DieRelease ¶
func (d *ResourceQuotaDie) DieRelease() corev1.ResourceQuota
DieRelease returns the resource managed by the die.
func (*ResourceQuotaDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ResourceQuotaDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ResourceQuotaDie) DieReleasePtr ¶
func (d *ResourceQuotaDie) DieReleasePtr() *corev1.ResourceQuota
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ResourceQuotaDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ResourceQuotaDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceQuotaDie) DieReleaseUnstructured ¶
func (d *ResourceQuotaDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*ResourceQuotaDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ResourceQuotaDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ResourceQuotaDie) DieStamp ¶
func (d *ResourceQuotaDie) DieStamp(fn func(r *corev1.ResourceQuota)) *ResourceQuotaDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ResourceQuotaDie) DieStampAt ¶ added in v0.8.0
func (d *ResourceQuotaDie) DieStampAt(jp string, fn interface{}) *ResourceQuotaDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ResourceQuotaDie) DieWith ¶ added in v0.9.0
func (d *ResourceQuotaDie) DieWith(fns ...func(d *ResourceQuotaDie)) *ResourceQuotaDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ResourceQuotaDie) GetObjectKind ¶
func (d *ResourceQuotaDie) GetObjectKind() schema.ObjectKind
func (*ResourceQuotaDie) Kind ¶ added in v0.5.0
func (d *ResourceQuotaDie) Kind(v string) *ResourceQuotaDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*ResourceQuotaDie) MarshalJSON ¶
func (d *ResourceQuotaDie) MarshalJSON() ([]byte, error)
func (*ResourceQuotaDie) MetadataDie ¶
func (d *ResourceQuotaDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ResourceQuotaDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*ResourceQuotaDie) Spec ¶
func (d *ResourceQuotaDie) Spec(v corev1.ResourceQuotaSpec) *ResourceQuotaDie
Spec defines the desired quota.
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*ResourceQuotaDie) SpecDie ¶
func (d *ResourceQuotaDie) SpecDie(fn func(d *ResourceQuotaSpecDie)) *ResourceQuotaDie
SpecDie stamps the resource's spec field with a mutable die.
func (*ResourceQuotaDie) Status ¶
func (d *ResourceQuotaDie) Status(v corev1.ResourceQuotaStatus) *ResourceQuotaDie
Status defines the actual enforced quota and its current usage.
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*ResourceQuotaDie) StatusDie ¶
func (d *ResourceQuotaDie) StatusDie(fn func(d *ResourceQuotaStatusDie)) *ResourceQuotaDie
StatusDie stamps the resource's status field with a mutable die.
func (*ResourceQuotaDie) UnmarshalJSON ¶
func (d *ResourceQuotaDie) UnmarshalJSON(b []byte) error
type ResourceQuotaSpecDie ¶
type ResourceQuotaSpecDie struct {
// contains filtered or unexported fields
}
func (*ResourceQuotaSpecDie) AddHard ¶
func (d *ResourceQuotaSpecDie) AddHard(name corev1.ResourceName, quantity resource.Quantity) *ResourceQuotaSpecDie
func (*ResourceQuotaSpecDie) AddHardString ¶
func (d *ResourceQuotaSpecDie) AddHardString(name corev1.ResourceName, quantity string) *ResourceQuotaSpecDie
func (*ResourceQuotaSpecDie) DeepCopy ¶
func (d *ResourceQuotaSpecDie) DeepCopy() *ResourceQuotaSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ResourceQuotaSpecDie) DieFeed ¶
func (d *ResourceQuotaSpecDie) DieFeed(r corev1.ResourceQuotaSpec) *ResourceQuotaSpecDie
DieFeed returns a new die with the provided resource.
func (*ResourceQuotaSpecDie) DieFeedJSON ¶ added in v0.8.0
func (d *ResourceQuotaSpecDie) DieFeedJSON(j []byte) *ResourceQuotaSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ResourceQuotaSpecDie) DieFeedPtr ¶
func (d *ResourceQuotaSpecDie) DieFeedPtr(r *corev1.ResourceQuotaSpec) *ResourceQuotaSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ResourceQuotaSpecDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ResourceQuotaSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourceQuotaSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceQuotaSpecDie) DieFeedYAML ¶ added in v0.8.0
func (d *ResourceQuotaSpecDie) DieFeedYAML(y []byte) *ResourceQuotaSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ResourceQuotaSpecDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ResourceQuotaSpecDie) DieFeedYAMLFile(name string) *ResourceQuotaSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ResourceQuotaSpecDie) DieImmutable ¶
func (d *ResourceQuotaSpecDie) DieImmutable(immutable bool) *ResourceQuotaSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ResourceQuotaSpecDie) DieRelease ¶
func (d *ResourceQuotaSpecDie) DieRelease() corev1.ResourceQuotaSpec
DieRelease returns the resource managed by the die.
func (*ResourceQuotaSpecDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ResourceQuotaSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ResourceQuotaSpecDie) DieReleasePtr ¶
func (d *ResourceQuotaSpecDie) DieReleasePtr() *corev1.ResourceQuotaSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ResourceQuotaSpecDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ResourceQuotaSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceQuotaSpecDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ResourceQuotaSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ResourceQuotaSpecDie) DieStamp ¶
func (d *ResourceQuotaSpecDie) DieStamp(fn func(r *corev1.ResourceQuotaSpec)) *ResourceQuotaSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ResourceQuotaSpecDie) DieStampAt ¶ added in v0.8.0
func (d *ResourceQuotaSpecDie) DieStampAt(jp string, fn interface{}) *ResourceQuotaSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ResourceQuotaSpecDie) DieWith ¶ added in v0.9.0
func (d *ResourceQuotaSpecDie) DieWith(fns ...func(d *ResourceQuotaSpecDie)) *ResourceQuotaSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ResourceQuotaSpecDie) Hard ¶
func (d *ResourceQuotaSpecDie) Hard(v corev1.ResourceList) *ResourceQuotaSpecDie
hard is the set of desired hard limits for each named resource.
More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
func (*ResourceQuotaSpecDie) ScopeSelector ¶
func (d *ResourceQuotaSpecDie) ScopeSelector(v *corev1.ScopeSelector) *ResourceQuotaSpecDie
scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota
but expressed using ScopeSelectorOperator in combination with possible values.
For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.
func (*ResourceQuotaSpecDie) ScopeSelectorDie ¶
func (d *ResourceQuotaSpecDie) ScopeSelectorDie(fn func(d *ScopeSelectorDie)) *ResourceQuotaSpecDie
func (*ResourceQuotaSpecDie) Scopes ¶
func (d *ResourceQuotaSpecDie) Scopes(v ...corev1.ResourceQuotaScope) *ResourceQuotaSpecDie
A collection of filters that must match each object tracked by a quota.
If not specified, the quota matches all objects.
type ResourceQuotaStatusDie ¶
type ResourceQuotaStatusDie struct {
// contains filtered or unexported fields
}
func (*ResourceQuotaStatusDie) AddHard ¶
func (d *ResourceQuotaStatusDie) AddHard(name corev1.ResourceName, quantity resource.Quantity) *ResourceQuotaStatusDie
func (*ResourceQuotaStatusDie) AddHardString ¶
func (d *ResourceQuotaStatusDie) AddHardString(name corev1.ResourceName, quantity string) *ResourceQuotaStatusDie
func (*ResourceQuotaStatusDie) AddUsed ¶
func (d *ResourceQuotaStatusDie) AddUsed(name corev1.ResourceName, quantity resource.Quantity) *ResourceQuotaStatusDie
func (*ResourceQuotaStatusDie) AddUsedString ¶
func (d *ResourceQuotaStatusDie) AddUsedString(name corev1.ResourceName, quantity string) *ResourceQuotaStatusDie
func (*ResourceQuotaStatusDie) DeepCopy ¶
func (d *ResourceQuotaStatusDie) DeepCopy() *ResourceQuotaStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ResourceQuotaStatusDie) DieFeed ¶
func (d *ResourceQuotaStatusDie) DieFeed(r corev1.ResourceQuotaStatus) *ResourceQuotaStatusDie
DieFeed returns a new die with the provided resource.
func (*ResourceQuotaStatusDie) DieFeedJSON ¶ added in v0.8.0
func (d *ResourceQuotaStatusDie) DieFeedJSON(j []byte) *ResourceQuotaStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ResourceQuotaStatusDie) DieFeedPtr ¶
func (d *ResourceQuotaStatusDie) DieFeedPtr(r *corev1.ResourceQuotaStatus) *ResourceQuotaStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ResourceQuotaStatusDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ResourceQuotaStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourceQuotaStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceQuotaStatusDie) DieFeedYAML ¶ added in v0.8.0
func (d *ResourceQuotaStatusDie) DieFeedYAML(y []byte) *ResourceQuotaStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ResourceQuotaStatusDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ResourceQuotaStatusDie) DieFeedYAMLFile(name string) *ResourceQuotaStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ResourceQuotaStatusDie) DieImmutable ¶
func (d *ResourceQuotaStatusDie) DieImmutable(immutable bool) *ResourceQuotaStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ResourceQuotaStatusDie) DieRelease ¶
func (d *ResourceQuotaStatusDie) DieRelease() corev1.ResourceQuotaStatus
DieRelease returns the resource managed by the die.
func (*ResourceQuotaStatusDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ResourceQuotaStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ResourceQuotaStatusDie) DieReleasePtr ¶
func (d *ResourceQuotaStatusDie) DieReleasePtr() *corev1.ResourceQuotaStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ResourceQuotaStatusDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ResourceQuotaStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceQuotaStatusDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ResourceQuotaStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ResourceQuotaStatusDie) DieStamp ¶
func (d *ResourceQuotaStatusDie) DieStamp(fn func(r *corev1.ResourceQuotaStatus)) *ResourceQuotaStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ResourceQuotaStatusDie) DieStampAt ¶ added in v0.8.0
func (d *ResourceQuotaStatusDie) DieStampAt(jp string, fn interface{}) *ResourceQuotaStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ResourceQuotaStatusDie) DieWith ¶ added in v0.9.0
func (d *ResourceQuotaStatusDie) DieWith(fns ...func(d *ResourceQuotaStatusDie)) *ResourceQuotaStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ResourceQuotaStatusDie) Hard ¶
func (d *ResourceQuotaStatusDie) Hard(v corev1.ResourceList) *ResourceQuotaStatusDie
Hard is the set of enforced hard limits for each named resource.
More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
func (*ResourceQuotaStatusDie) Used ¶
func (d *ResourceQuotaStatusDie) Used(v corev1.ResourceList) *ResourceQuotaStatusDie
Used is the current observed total usage of the resource in the namespace.
type ResourceRequirementsDie ¶
type ResourceRequirementsDie struct {
// contains filtered or unexported fields
}
func (*ResourceRequirementsDie) AddLimit ¶
func (d *ResourceRequirementsDie) AddLimit(name corev1.ResourceName, quantity resource.Quantity) *ResourceRequirementsDie
func (*ResourceRequirementsDie) AddLimitString ¶
func (d *ResourceRequirementsDie) AddLimitString(name corev1.ResourceName, quantity string) *ResourceRequirementsDie
func (*ResourceRequirementsDie) AddRequest ¶
func (d *ResourceRequirementsDie) AddRequest(name corev1.ResourceName, quantity resource.Quantity) *ResourceRequirementsDie
func (*ResourceRequirementsDie) AddRequestString ¶
func (d *ResourceRequirementsDie) AddRequestString(name corev1.ResourceName, quantity string) *ResourceRequirementsDie
func (*ResourceRequirementsDie) Claims ¶ added in v0.7.0
func (d *ResourceRequirementsDie) Claims(v ...corev1.ResourceClaim) *ResourceRequirementsDie
Claims lists the names of resources, defined in spec.resourceClaims,
that are used by this container.
This is an alpha field and requires enabling the ¶
DynamicResourceAllocation feature gate.
This field is immutable. It can only be set for containers.
func (*ResourceRequirementsDie) ClaimsDie ¶ added in v0.7.0
func (d *ResourceRequirementsDie) ClaimsDie(claims ...*ResourceClaimDie) *ResourceRequirementsDie
func (*ResourceRequirementsDie) DeepCopy ¶
func (d *ResourceRequirementsDie) DeepCopy() *ResourceRequirementsDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ResourceRequirementsDie) DieFeed ¶
func (d *ResourceRequirementsDie) DieFeed(r corev1.ResourceRequirements) *ResourceRequirementsDie
DieFeed returns a new die with the provided resource.
func (*ResourceRequirementsDie) DieFeedJSON ¶ added in v0.8.0
func (d *ResourceRequirementsDie) DieFeedJSON(j []byte) *ResourceRequirementsDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ResourceRequirementsDie) DieFeedPtr ¶
func (d *ResourceRequirementsDie) DieFeedPtr(r *corev1.ResourceRequirements) *ResourceRequirementsDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ResourceRequirementsDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ResourceRequirementsDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourceRequirementsDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceRequirementsDie) DieFeedYAML ¶ added in v0.8.0
func (d *ResourceRequirementsDie) DieFeedYAML(y []byte) *ResourceRequirementsDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ResourceRequirementsDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ResourceRequirementsDie) DieFeedYAMLFile(name string) *ResourceRequirementsDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ResourceRequirementsDie) DieImmutable ¶
func (d *ResourceRequirementsDie) DieImmutable(immutable bool) *ResourceRequirementsDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ResourceRequirementsDie) DieRelease ¶
func (d *ResourceRequirementsDie) DieRelease() corev1.ResourceRequirements
DieRelease returns the resource managed by the die.
func (*ResourceRequirementsDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ResourceRequirementsDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ResourceRequirementsDie) DieReleasePtr ¶
func (d *ResourceRequirementsDie) DieReleasePtr() *corev1.ResourceRequirements
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ResourceRequirementsDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ResourceRequirementsDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceRequirementsDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ResourceRequirementsDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ResourceRequirementsDie) DieStamp ¶
func (d *ResourceRequirementsDie) DieStamp(fn func(r *corev1.ResourceRequirements)) *ResourceRequirementsDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ResourceRequirementsDie) DieStampAt ¶ added in v0.8.0
func (d *ResourceRequirementsDie) DieStampAt(jp string, fn interface{}) *ResourceRequirementsDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ResourceRequirementsDie) DieWith ¶ added in v0.9.0
func (d *ResourceRequirementsDie) DieWith(fns ...func(d *ResourceRequirementsDie)) *ResourceRequirementsDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ResourceRequirementsDie) Limits ¶
func (d *ResourceRequirementsDie) Limits(v corev1.ResourceList) *ResourceRequirementsDie
Limits describes the maximum amount of compute resources allowed.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
func (*ResourceRequirementsDie) Requests ¶
func (d *ResourceRequirementsDie) Requests(v corev1.ResourceList) *ResourceRequirementsDie
Requests describes the minimum amount of compute resources required.
If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
otherwise to an implementation-defined value. Requests cannot exceed Limits.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
type SELinuxOptionsDie ¶
type SELinuxOptionsDie struct {
// contains filtered or unexported fields
}
func (*SELinuxOptionsDie) DeepCopy ¶
func (d *SELinuxOptionsDie) DeepCopy() *SELinuxOptionsDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*SELinuxOptionsDie) DieFeed ¶
func (d *SELinuxOptionsDie) DieFeed(r corev1.SELinuxOptions) *SELinuxOptionsDie
DieFeed returns a new die with the provided resource.
func (*SELinuxOptionsDie) DieFeedJSON ¶ added in v0.8.0
func (d *SELinuxOptionsDie) DieFeedJSON(j []byte) *SELinuxOptionsDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*SELinuxOptionsDie) DieFeedPtr ¶
func (d *SELinuxOptionsDie) DieFeedPtr(r *corev1.SELinuxOptions) *SELinuxOptionsDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*SELinuxOptionsDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *SELinuxOptionsDie) DieFeedRawExtension(raw runtime.RawExtension) *SELinuxOptionsDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SELinuxOptionsDie) DieFeedYAML ¶ added in v0.8.0
func (d *SELinuxOptionsDie) DieFeedYAML(y []byte) *SELinuxOptionsDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SELinuxOptionsDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *SELinuxOptionsDie) DieFeedYAMLFile(name string) *SELinuxOptionsDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*SELinuxOptionsDie) DieImmutable ¶
func (d *SELinuxOptionsDie) DieImmutable(immutable bool) *SELinuxOptionsDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*SELinuxOptionsDie) DieRelease ¶
func (d *SELinuxOptionsDie) DieRelease() corev1.SELinuxOptions
DieRelease returns the resource managed by the die.
func (*SELinuxOptionsDie) DieReleaseJSON ¶ added in v0.8.0
func (d *SELinuxOptionsDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*SELinuxOptionsDie) DieReleasePtr ¶
func (d *SELinuxOptionsDie) DieReleasePtr() *corev1.SELinuxOptions
DieReleasePtr returns a pointer to the resource managed by the die.
func (*SELinuxOptionsDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *SELinuxOptionsDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SELinuxOptionsDie) DieReleaseYAML ¶ added in v0.8.0
func (d *SELinuxOptionsDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SELinuxOptionsDie) DieStamp ¶
func (d *SELinuxOptionsDie) DieStamp(fn func(r *corev1.SELinuxOptions)) *SELinuxOptionsDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*SELinuxOptionsDie) DieStampAt ¶ added in v0.8.0
func (d *SELinuxOptionsDie) DieStampAt(jp string, fn interface{}) *SELinuxOptionsDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*SELinuxOptionsDie) DieWith ¶ added in v0.9.0
func (d *SELinuxOptionsDie) DieWith(fns ...func(d *SELinuxOptionsDie)) *SELinuxOptionsDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*SELinuxOptionsDie) Level ¶
func (d *SELinuxOptionsDie) Level(v string) *SELinuxOptionsDie
Level is SELinux level label that applies to the container.
func (*SELinuxOptionsDie) Role ¶
func (d *SELinuxOptionsDie) Role(v string) *SELinuxOptionsDie
Role is a SELinux role label that applies to the container.
func (*SELinuxOptionsDie) Type ¶
func (d *SELinuxOptionsDie) Type(v string) *SELinuxOptionsDie
Type is a SELinux type label that applies to the container.
func (*SELinuxOptionsDie) User ¶
func (d *SELinuxOptionsDie) User(v string) *SELinuxOptionsDie
User is a SELinux user label that applies to the container.
type ScaleIOPersistentVolumeSourceDie ¶
type ScaleIOPersistentVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*ScaleIOPersistentVolumeSourceDie) DeepCopy ¶
func (d *ScaleIOPersistentVolumeSourceDie) DeepCopy() *ScaleIOPersistentVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ScaleIOPersistentVolumeSourceDie) DieFeed ¶
func (d *ScaleIOPersistentVolumeSourceDie) DieFeed(r corev1.ScaleIOPersistentVolumeSource) *ScaleIOPersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*ScaleIOPersistentVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *ScaleIOPersistentVolumeSourceDie) DieFeedJSON(j []byte) *ScaleIOPersistentVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ScaleIOPersistentVolumeSourceDie) DieFeedPtr ¶
func (d *ScaleIOPersistentVolumeSourceDie) DieFeedPtr(r *corev1.ScaleIOPersistentVolumeSource) *ScaleIOPersistentVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ScaleIOPersistentVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ScaleIOPersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ScaleIOPersistentVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ScaleIOPersistentVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *ScaleIOPersistentVolumeSourceDie) DieFeedYAML(y []byte) *ScaleIOPersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ScaleIOPersistentVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ScaleIOPersistentVolumeSourceDie) DieFeedYAMLFile(name string) *ScaleIOPersistentVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ScaleIOPersistentVolumeSourceDie) DieImmutable ¶
func (d *ScaleIOPersistentVolumeSourceDie) DieImmutable(immutable bool) *ScaleIOPersistentVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ScaleIOPersistentVolumeSourceDie) DieRelease ¶
func (d *ScaleIOPersistentVolumeSourceDie) DieRelease() corev1.ScaleIOPersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*ScaleIOPersistentVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ScaleIOPersistentVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ScaleIOPersistentVolumeSourceDie) DieReleasePtr ¶
func (d *ScaleIOPersistentVolumeSourceDie) DieReleasePtr() *corev1.ScaleIOPersistentVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ScaleIOPersistentVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ScaleIOPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ScaleIOPersistentVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ScaleIOPersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ScaleIOPersistentVolumeSourceDie) DieStamp ¶
func (d *ScaleIOPersistentVolumeSourceDie) DieStamp(fn func(r *corev1.ScaleIOPersistentVolumeSource)) *ScaleIOPersistentVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ScaleIOPersistentVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *ScaleIOPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *ScaleIOPersistentVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ScaleIOPersistentVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *ScaleIOPersistentVolumeSourceDie) DieWith(fns ...func(d *ScaleIOPersistentVolumeSourceDie)) *ScaleIOPersistentVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ScaleIOPersistentVolumeSourceDie) FSType ¶
func (d *ScaleIOPersistentVolumeSourceDie) FSType(v string) *ScaleIOPersistentVolumeSourceDie
fsType is the filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs", "ntfs".
Default is "xfs"
func (*ScaleIOPersistentVolumeSourceDie) Gateway ¶
func (d *ScaleIOPersistentVolumeSourceDie) Gateway(v string) *ScaleIOPersistentVolumeSourceDie
gateway is the host address of the ScaleIO API Gateway.
func (*ScaleIOPersistentVolumeSourceDie) ProtectionDomain ¶
func (d *ScaleIOPersistentVolumeSourceDie) ProtectionDomain(v string) *ScaleIOPersistentVolumeSourceDie
protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
func (*ScaleIOPersistentVolumeSourceDie) ReadOnly ¶
func (d *ScaleIOPersistentVolumeSourceDie) ReadOnly(v bool) *ScaleIOPersistentVolumeSourceDie
readOnly defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
func (*ScaleIOPersistentVolumeSourceDie) SSLEnabled ¶
func (d *ScaleIOPersistentVolumeSourceDie) SSLEnabled(v bool) *ScaleIOPersistentVolumeSourceDie
sslEnabled is the flag to enable/disable SSL communication with Gateway, default false
func (*ScaleIOPersistentVolumeSourceDie) SecretRef ¶
func (d *ScaleIOPersistentVolumeSourceDie) SecretRef(v *corev1.SecretReference) *ScaleIOPersistentVolumeSourceDie
secretRef references to the secret for ScaleIO user and other
sensitive information. If this is not provided, Login operation will fail.
func (*ScaleIOPersistentVolumeSourceDie) SecretRefDie ¶
func (d *ScaleIOPersistentVolumeSourceDie) SecretRefDie(fn func(d *SecretReferenceDie)) *ScaleIOPersistentVolumeSourceDie
func (*ScaleIOPersistentVolumeSourceDie) StorageMode ¶
func (d *ScaleIOPersistentVolumeSourceDie) StorageMode(v string) *ScaleIOPersistentVolumeSourceDie
storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
Default is ThinProvisioned.
func (*ScaleIOPersistentVolumeSourceDie) StoragePool ¶
func (d *ScaleIOPersistentVolumeSourceDie) StoragePool(v string) *ScaleIOPersistentVolumeSourceDie
storagePool is the ScaleIO Storage Pool associated with the protection domain.
func (*ScaleIOPersistentVolumeSourceDie) System ¶
func (d *ScaleIOPersistentVolumeSourceDie) System(v string) *ScaleIOPersistentVolumeSourceDie
system is the name of the storage system as configured in ScaleIO.
func (*ScaleIOPersistentVolumeSourceDie) VolumeName ¶
func (d *ScaleIOPersistentVolumeSourceDie) VolumeName(v string) *ScaleIOPersistentVolumeSourceDie
volumeName is the name of a volume already created in the ScaleIO system
that is associated with this volume source.
type ScaleIOVolumeSourceDie ¶
type ScaleIOVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*ScaleIOVolumeSourceDie) DeepCopy ¶
func (d *ScaleIOVolumeSourceDie) DeepCopy() *ScaleIOVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ScaleIOVolumeSourceDie) DieFeed ¶
func (d *ScaleIOVolumeSourceDie) DieFeed(r corev1.ScaleIOVolumeSource) *ScaleIOVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*ScaleIOVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *ScaleIOVolumeSourceDie) DieFeedJSON(j []byte) *ScaleIOVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ScaleIOVolumeSourceDie) DieFeedPtr ¶
func (d *ScaleIOVolumeSourceDie) DieFeedPtr(r *corev1.ScaleIOVolumeSource) *ScaleIOVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ScaleIOVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ScaleIOVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *ScaleIOVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ScaleIOVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *ScaleIOVolumeSourceDie) DieFeedYAML(y []byte) *ScaleIOVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ScaleIOVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ScaleIOVolumeSourceDie) DieFeedYAMLFile(name string) *ScaleIOVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ScaleIOVolumeSourceDie) DieImmutable ¶
func (d *ScaleIOVolumeSourceDie) DieImmutable(immutable bool) *ScaleIOVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ScaleIOVolumeSourceDie) DieRelease ¶
func (d *ScaleIOVolumeSourceDie) DieRelease() corev1.ScaleIOVolumeSource
DieRelease returns the resource managed by the die.
func (*ScaleIOVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ScaleIOVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ScaleIOVolumeSourceDie) DieReleasePtr ¶
func (d *ScaleIOVolumeSourceDie) DieReleasePtr() *corev1.ScaleIOVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ScaleIOVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ScaleIOVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ScaleIOVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ScaleIOVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ScaleIOVolumeSourceDie) DieStamp ¶
func (d *ScaleIOVolumeSourceDie) DieStamp(fn func(r *corev1.ScaleIOVolumeSource)) *ScaleIOVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ScaleIOVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *ScaleIOVolumeSourceDie) DieStampAt(jp string, fn interface{}) *ScaleIOVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ScaleIOVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *ScaleIOVolumeSourceDie) DieWith(fns ...func(d *ScaleIOVolumeSourceDie)) *ScaleIOVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ScaleIOVolumeSourceDie) FSType ¶
func (d *ScaleIOVolumeSourceDie) FSType(v string) *ScaleIOVolumeSourceDie
fsType is the filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs", "ntfs".
Default is "xfs".
func (*ScaleIOVolumeSourceDie) Gateway ¶
func (d *ScaleIOVolumeSourceDie) Gateway(v string) *ScaleIOVolumeSourceDie
gateway is the host address of the ScaleIO API Gateway.
func (*ScaleIOVolumeSourceDie) ProtectionDomain ¶
func (d *ScaleIOVolumeSourceDie) ProtectionDomain(v string) *ScaleIOVolumeSourceDie
protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
func (*ScaleIOVolumeSourceDie) ReadOnly ¶
func (d *ScaleIOVolumeSourceDie) ReadOnly(v bool) *ScaleIOVolumeSourceDie
readOnly Defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
func (*ScaleIOVolumeSourceDie) SSLEnabled ¶
func (d *ScaleIOVolumeSourceDie) SSLEnabled(v bool) *ScaleIOVolumeSourceDie
sslEnabled Flag enable/disable SSL communication with Gateway, default false
func (*ScaleIOVolumeSourceDie) SecretRef ¶
func (d *ScaleIOVolumeSourceDie) SecretRef(v *corev1.LocalObjectReference) *ScaleIOVolumeSourceDie
secretRef references to the secret for ScaleIO user and other
sensitive information. If this is not provided, Login operation will fail.
func (*ScaleIOVolumeSourceDie) SecretRefDie ¶
func (d *ScaleIOVolumeSourceDie) SecretRefDie(fn func(d *LocalObjectReferenceDie)) *ScaleIOVolumeSourceDie
func (*ScaleIOVolumeSourceDie) StorageMode ¶
func (d *ScaleIOVolumeSourceDie) StorageMode(v string) *ScaleIOVolumeSourceDie
storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
Default is ThinProvisioned.
func (*ScaleIOVolumeSourceDie) StoragePool ¶
func (d *ScaleIOVolumeSourceDie) StoragePool(v string) *ScaleIOVolumeSourceDie
storagePool is the ScaleIO Storage Pool associated with the protection domain.
func (*ScaleIOVolumeSourceDie) System ¶
func (d *ScaleIOVolumeSourceDie) System(v string) *ScaleIOVolumeSourceDie
system is the name of the storage system as configured in ScaleIO.
func (*ScaleIOVolumeSourceDie) VolumeName ¶
func (d *ScaleIOVolumeSourceDie) VolumeName(v string) *ScaleIOVolumeSourceDie
volumeName is the name of a volume already created in the ScaleIO system
that is associated with this volume source.
type ScopeSelectorDie ¶
type ScopeSelectorDie struct {
// contains filtered or unexported fields
}
func (*ScopeSelectorDie) DeepCopy ¶
func (d *ScopeSelectorDie) DeepCopy() *ScopeSelectorDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ScopeSelectorDie) DieFeed ¶
func (d *ScopeSelectorDie) DieFeed(r corev1.ScopeSelector) *ScopeSelectorDie
DieFeed returns a new die with the provided resource.
func (*ScopeSelectorDie) DieFeedJSON ¶ added in v0.8.0
func (d *ScopeSelectorDie) DieFeedJSON(j []byte) *ScopeSelectorDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ScopeSelectorDie) DieFeedPtr ¶
func (d *ScopeSelectorDie) DieFeedPtr(r *corev1.ScopeSelector) *ScopeSelectorDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ScopeSelectorDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ScopeSelectorDie) DieFeedRawExtension(raw runtime.RawExtension) *ScopeSelectorDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ScopeSelectorDie) DieFeedYAML ¶ added in v0.8.0
func (d *ScopeSelectorDie) DieFeedYAML(y []byte) *ScopeSelectorDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ScopeSelectorDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ScopeSelectorDie) DieFeedYAMLFile(name string) *ScopeSelectorDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ScopeSelectorDie) DieImmutable ¶
func (d *ScopeSelectorDie) DieImmutable(immutable bool) *ScopeSelectorDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ScopeSelectorDie) DieRelease ¶
func (d *ScopeSelectorDie) DieRelease() corev1.ScopeSelector
DieRelease returns the resource managed by the die.
func (*ScopeSelectorDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ScopeSelectorDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ScopeSelectorDie) DieReleasePtr ¶
func (d *ScopeSelectorDie) DieReleasePtr() *corev1.ScopeSelector
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ScopeSelectorDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ScopeSelectorDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ScopeSelectorDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ScopeSelectorDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ScopeSelectorDie) DieStamp ¶
func (d *ScopeSelectorDie) DieStamp(fn func(r *corev1.ScopeSelector)) *ScopeSelectorDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ScopeSelectorDie) DieStampAt ¶ added in v0.8.0
func (d *ScopeSelectorDie) DieStampAt(jp string, fn interface{}) *ScopeSelectorDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ScopeSelectorDie) DieWith ¶ added in v0.9.0
func (d *ScopeSelectorDie) DieWith(fns ...func(d *ScopeSelectorDie)) *ScopeSelectorDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ScopeSelectorDie) MatchExpressionDie ¶
func (d *ScopeSelectorDie) MatchExpressionDie(scope corev1.ResourceQuotaScope, fn func(d *ScopedResourceSelectorRequirementDie)) *ScopeSelectorDie
func (*ScopeSelectorDie) MatchExpressions ¶
func (d *ScopeSelectorDie) MatchExpressions(v ...corev1.ScopedResourceSelectorRequirement) *ScopeSelectorDie
A list of scope selector requirements by scope of the resources.
type ScopedResourceSelectorRequirementDie ¶
type ScopedResourceSelectorRequirementDie struct {
// contains filtered or unexported fields
}
func (*ScopedResourceSelectorRequirementDie) DeepCopy ¶
func (d *ScopedResourceSelectorRequirementDie) DeepCopy() *ScopedResourceSelectorRequirementDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ScopedResourceSelectorRequirementDie) DieFeed ¶
func (d *ScopedResourceSelectorRequirementDie) DieFeed(r corev1.ScopedResourceSelectorRequirement) *ScopedResourceSelectorRequirementDie
DieFeed returns a new die with the provided resource.
func (*ScopedResourceSelectorRequirementDie) DieFeedJSON ¶ added in v0.8.0
func (d *ScopedResourceSelectorRequirementDie) DieFeedJSON(j []byte) *ScopedResourceSelectorRequirementDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ScopedResourceSelectorRequirementDie) DieFeedPtr ¶
func (d *ScopedResourceSelectorRequirementDie) DieFeedPtr(r *corev1.ScopedResourceSelectorRequirement) *ScopedResourceSelectorRequirementDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ScopedResourceSelectorRequirementDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ScopedResourceSelectorRequirementDie) DieFeedRawExtension(raw runtime.RawExtension) *ScopedResourceSelectorRequirementDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ScopedResourceSelectorRequirementDie) DieFeedYAML ¶ added in v0.8.0
func (d *ScopedResourceSelectorRequirementDie) DieFeedYAML(y []byte) *ScopedResourceSelectorRequirementDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ScopedResourceSelectorRequirementDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ScopedResourceSelectorRequirementDie) DieFeedYAMLFile(name string) *ScopedResourceSelectorRequirementDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ScopedResourceSelectorRequirementDie) DieImmutable ¶
func (d *ScopedResourceSelectorRequirementDie) DieImmutable(immutable bool) *ScopedResourceSelectorRequirementDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ScopedResourceSelectorRequirementDie) DieRelease ¶
func (d *ScopedResourceSelectorRequirementDie) DieRelease() corev1.ScopedResourceSelectorRequirement
DieRelease returns the resource managed by the die.
func (*ScopedResourceSelectorRequirementDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ScopedResourceSelectorRequirementDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ScopedResourceSelectorRequirementDie) DieReleasePtr ¶
func (d *ScopedResourceSelectorRequirementDie) DieReleasePtr() *corev1.ScopedResourceSelectorRequirement
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ScopedResourceSelectorRequirementDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ScopedResourceSelectorRequirementDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ScopedResourceSelectorRequirementDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ScopedResourceSelectorRequirementDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ScopedResourceSelectorRequirementDie) DieStamp ¶
func (d *ScopedResourceSelectorRequirementDie) DieStamp(fn func(r *corev1.ScopedResourceSelectorRequirement)) *ScopedResourceSelectorRequirementDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ScopedResourceSelectorRequirementDie) DieStampAt ¶ added in v0.8.0
func (d *ScopedResourceSelectorRequirementDie) DieStampAt(jp string, fn interface{}) *ScopedResourceSelectorRequirementDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ScopedResourceSelectorRequirementDie) DieWith ¶ added in v0.9.0
func (d *ScopedResourceSelectorRequirementDie) DieWith(fns ...func(d *ScopedResourceSelectorRequirementDie)) *ScopedResourceSelectorRequirementDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ScopedResourceSelectorRequirementDie) Operator ¶
func (d *ScopedResourceSelectorRequirementDie) Operator(v corev1.ScopeSelectorOperator) *ScopedResourceSelectorRequirementDie
Represents a scope's relationship to a set of values.
Valid operators are In, NotIn, Exists, DoesNotExist.
func (*ScopedResourceSelectorRequirementDie) ScopeName ¶
func (d *ScopedResourceSelectorRequirementDie) ScopeName(v corev1.ResourceQuotaScope) *ScopedResourceSelectorRequirementDie
The name of the scope that the selector applies to.
func (*ScopedResourceSelectorRequirementDie) Values ¶
func (d *ScopedResourceSelectorRequirementDie) Values(v ...string) *ScopedResourceSelectorRequirementDie
An array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty.
This array is replaced during a strategic merge patch.
type SeccompProfileDie ¶
type SeccompProfileDie struct {
// contains filtered or unexported fields
}
func (*SeccompProfileDie) DeepCopy ¶
func (d *SeccompProfileDie) DeepCopy() *SeccompProfileDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*SeccompProfileDie) DieFeed ¶
func (d *SeccompProfileDie) DieFeed(r corev1.SeccompProfile) *SeccompProfileDie
DieFeed returns a new die with the provided resource.
func (*SeccompProfileDie) DieFeedJSON ¶ added in v0.8.0
func (d *SeccompProfileDie) DieFeedJSON(j []byte) *SeccompProfileDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*SeccompProfileDie) DieFeedPtr ¶
func (d *SeccompProfileDie) DieFeedPtr(r *corev1.SeccompProfile) *SeccompProfileDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*SeccompProfileDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *SeccompProfileDie) DieFeedRawExtension(raw runtime.RawExtension) *SeccompProfileDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SeccompProfileDie) DieFeedYAML ¶ added in v0.8.0
func (d *SeccompProfileDie) DieFeedYAML(y []byte) *SeccompProfileDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SeccompProfileDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *SeccompProfileDie) DieFeedYAMLFile(name string) *SeccompProfileDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*SeccompProfileDie) DieImmutable ¶
func (d *SeccompProfileDie) DieImmutable(immutable bool) *SeccompProfileDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*SeccompProfileDie) DieRelease ¶
func (d *SeccompProfileDie) DieRelease() corev1.SeccompProfile
DieRelease returns the resource managed by the die.
func (*SeccompProfileDie) DieReleaseJSON ¶ added in v0.8.0
func (d *SeccompProfileDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*SeccompProfileDie) DieReleasePtr ¶
func (d *SeccompProfileDie) DieReleasePtr() *corev1.SeccompProfile
DieReleasePtr returns a pointer to the resource managed by the die.
func (*SeccompProfileDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *SeccompProfileDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SeccompProfileDie) DieReleaseYAML ¶ added in v0.8.0
func (d *SeccompProfileDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SeccompProfileDie) DieStamp ¶
func (d *SeccompProfileDie) DieStamp(fn func(r *corev1.SeccompProfile)) *SeccompProfileDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*SeccompProfileDie) DieStampAt ¶ added in v0.8.0
func (d *SeccompProfileDie) DieStampAt(jp string, fn interface{}) *SeccompProfileDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*SeccompProfileDie) DieWith ¶ added in v0.9.0
func (d *SeccompProfileDie) DieWith(fns ...func(d *SeccompProfileDie)) *SeccompProfileDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*SeccompProfileDie) LocalhostProfile ¶
func (d *SeccompProfileDie) LocalhostProfile(v *string) *SeccompProfileDie
localhostProfile indicates a profile defined in a file on the node should be used.
The profile must be preconfigured on the node to work.
Must be a descending path, relative to the kubelet's configured seccomp profile location.
Must be set if type is "Localhost". Must NOT be set for any other type.
func (*SeccompProfileDie) Type ¶
func (d *SeccompProfileDie) Type(v corev1.SeccompProfileType) *SeccompProfileDie
type indicates which kind of seccomp profile will be applied.
Valid options are:
Localhost - a profile defined in a file on the node should be used.
RuntimeDefault - the container runtime default profile should be used.
Unconfined - no profile should be applied.
type SecretDie ¶
type SecretDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*SecretDie) APIVersion ¶ added in v0.5.0
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*SecretDie) AddStringData ¶
func (*SecretDie) DeepCopy ¶
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*SecretDie) DeepCopyObject ¶
func (*SecretDie) DieFeedJSON ¶ added in v0.8.0
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*SecretDie) DieFeedPtr ¶
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*SecretDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *SecretDie) DieFeedRawExtension(raw runtime.RawExtension) *SecretDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecretDie) DieFeedYAML ¶ added in v0.8.0
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SecretDie) DieFeedYAMLFile ¶ added in v0.8.0
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*SecretDie) DieImmutable ¶
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*SecretDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*SecretDie) DieReleaseJSON ¶ added in v0.8.0
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*SecretDie) DieReleasePtr ¶
DieReleasePtr returns a pointer to the resource managed by the die.
func (*SecretDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *SecretDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecretDie) DieReleaseUnstructured ¶
func (d *SecretDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*SecretDie) DieReleaseYAML ¶ added in v0.8.0
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SecretDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*SecretDie) DieStampAt ¶ added in v0.8.0
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*SecretDie) DieWith ¶ added in v0.9.0
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*SecretDie) GetObjectKind ¶
func (d *SecretDie) GetObjectKind() schema.ObjectKind
func (*SecretDie) Immutable ¶
Immutable, if set to true, ensures that data stored in the Secret cannot
be updated (only object metadata can be modified).
If not set to true, the field can be modified at any time.
Defaulted to nil.
func (*SecretDie) Kind ¶ added in v0.5.0
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*SecretDie) MarshalJSON ¶
func (*SecretDie) MetadataDie ¶
func (d *SecretDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *SecretDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*SecretDie) Type ¶
func (d *SecretDie) Type(v corev1.SecretType) *SecretDie
Used to facilitate programmatic handling of secret data.
More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
func (*SecretDie) UnmarshalJSON ¶
type SecretEnvSourceDie ¶
type SecretEnvSourceDie struct {
// contains filtered or unexported fields
}
func (*SecretEnvSourceDie) DeepCopy ¶
func (d *SecretEnvSourceDie) DeepCopy() *SecretEnvSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*SecretEnvSourceDie) DieFeed ¶
func (d *SecretEnvSourceDie) DieFeed(r corev1.SecretEnvSource) *SecretEnvSourceDie
DieFeed returns a new die with the provided resource.
func (*SecretEnvSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *SecretEnvSourceDie) DieFeedJSON(j []byte) *SecretEnvSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*SecretEnvSourceDie) DieFeedPtr ¶
func (d *SecretEnvSourceDie) DieFeedPtr(r *corev1.SecretEnvSource) *SecretEnvSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*SecretEnvSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *SecretEnvSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *SecretEnvSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecretEnvSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *SecretEnvSourceDie) DieFeedYAML(y []byte) *SecretEnvSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SecretEnvSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *SecretEnvSourceDie) DieFeedYAMLFile(name string) *SecretEnvSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*SecretEnvSourceDie) DieImmutable ¶
func (d *SecretEnvSourceDie) DieImmutable(immutable bool) *SecretEnvSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*SecretEnvSourceDie) DieRelease ¶
func (d *SecretEnvSourceDie) DieRelease() corev1.SecretEnvSource
DieRelease returns the resource managed by the die.
func (*SecretEnvSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *SecretEnvSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*SecretEnvSourceDie) DieReleasePtr ¶
func (d *SecretEnvSourceDie) DieReleasePtr() *corev1.SecretEnvSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*SecretEnvSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *SecretEnvSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecretEnvSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *SecretEnvSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SecretEnvSourceDie) DieStamp ¶
func (d *SecretEnvSourceDie) DieStamp(fn func(r *corev1.SecretEnvSource)) *SecretEnvSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*SecretEnvSourceDie) DieStampAt ¶ added in v0.8.0
func (d *SecretEnvSourceDie) DieStampAt(jp string, fn interface{}) *SecretEnvSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*SecretEnvSourceDie) DieWith ¶ added in v0.9.0
func (d *SecretEnvSourceDie) DieWith(fns ...func(d *SecretEnvSourceDie)) *SecretEnvSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*SecretEnvSourceDie) LocalObjectReference ¶
func (d *SecretEnvSourceDie) LocalObjectReference(v corev1.LocalObjectReference) *SecretEnvSourceDie
The Secret to select from.
func (*SecretEnvSourceDie) Name ¶
func (d *SecretEnvSourceDie) Name(v string) *SecretEnvSourceDie
func (*SecretEnvSourceDie) Optional ¶
func (d *SecretEnvSourceDie) Optional(v *bool) *SecretEnvSourceDie
Specify whether the Secret must be defined
type SecretKeySelectorDie ¶
type SecretKeySelectorDie struct {
// contains filtered or unexported fields
}
func (*SecretKeySelectorDie) DeepCopy ¶
func (d *SecretKeySelectorDie) DeepCopy() *SecretKeySelectorDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*SecretKeySelectorDie) DieFeed ¶
func (d *SecretKeySelectorDie) DieFeed(r corev1.SecretKeySelector) *SecretKeySelectorDie
DieFeed returns a new die with the provided resource.
func (*SecretKeySelectorDie) DieFeedJSON ¶ added in v0.8.0
func (d *SecretKeySelectorDie) DieFeedJSON(j []byte) *SecretKeySelectorDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*SecretKeySelectorDie) DieFeedPtr ¶
func (d *SecretKeySelectorDie) DieFeedPtr(r *corev1.SecretKeySelector) *SecretKeySelectorDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*SecretKeySelectorDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *SecretKeySelectorDie) DieFeedRawExtension(raw runtime.RawExtension) *SecretKeySelectorDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecretKeySelectorDie) DieFeedYAML ¶ added in v0.8.0
func (d *SecretKeySelectorDie) DieFeedYAML(y []byte) *SecretKeySelectorDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SecretKeySelectorDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *SecretKeySelectorDie) DieFeedYAMLFile(name string) *SecretKeySelectorDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*SecretKeySelectorDie) DieImmutable ¶
func (d *SecretKeySelectorDie) DieImmutable(immutable bool) *SecretKeySelectorDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*SecretKeySelectorDie) DieRelease ¶
func (d *SecretKeySelectorDie) DieRelease() corev1.SecretKeySelector
DieRelease returns the resource managed by the die.
func (*SecretKeySelectorDie) DieReleaseJSON ¶ added in v0.8.0
func (d *SecretKeySelectorDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*SecretKeySelectorDie) DieReleasePtr ¶
func (d *SecretKeySelectorDie) DieReleasePtr() *corev1.SecretKeySelector
DieReleasePtr returns a pointer to the resource managed by the die.
func (*SecretKeySelectorDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *SecretKeySelectorDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecretKeySelectorDie) DieReleaseYAML ¶ added in v0.8.0
func (d *SecretKeySelectorDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SecretKeySelectorDie) DieStamp ¶
func (d *SecretKeySelectorDie) DieStamp(fn func(r *corev1.SecretKeySelector)) *SecretKeySelectorDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*SecretKeySelectorDie) DieStampAt ¶ added in v0.8.0
func (d *SecretKeySelectorDie) DieStampAt(jp string, fn interface{}) *SecretKeySelectorDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*SecretKeySelectorDie) DieWith ¶ added in v0.9.0
func (d *SecretKeySelectorDie) DieWith(fns ...func(d *SecretKeySelectorDie)) *SecretKeySelectorDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*SecretKeySelectorDie) Key ¶
func (d *SecretKeySelectorDie) Key(v string) *SecretKeySelectorDie
The key of the secret to select from. Must be a valid secret key.
func (*SecretKeySelectorDie) LocalObjectReference ¶
func (d *SecretKeySelectorDie) LocalObjectReference(v corev1.LocalObjectReference) *SecretKeySelectorDie
The name of the secret in the pod's namespace to select from.
func (*SecretKeySelectorDie) Name ¶
func (d *SecretKeySelectorDie) Name(v string) *SecretKeySelectorDie
func (*SecretKeySelectorDie) Optional ¶
func (d *SecretKeySelectorDie) Optional(v *bool) *SecretKeySelectorDie
Specify whether the Secret or its key must be defined
type SecretProjectionDie ¶
type SecretProjectionDie struct {
// contains filtered or unexported fields
}
func (*SecretProjectionDie) DeepCopy ¶
func (d *SecretProjectionDie) DeepCopy() *SecretProjectionDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*SecretProjectionDie) DieFeed ¶
func (d *SecretProjectionDie) DieFeed(r corev1.SecretProjection) *SecretProjectionDie
DieFeed returns a new die with the provided resource.
func (*SecretProjectionDie) DieFeedJSON ¶ added in v0.8.0
func (d *SecretProjectionDie) DieFeedJSON(j []byte) *SecretProjectionDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*SecretProjectionDie) DieFeedPtr ¶
func (d *SecretProjectionDie) DieFeedPtr(r *corev1.SecretProjection) *SecretProjectionDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*SecretProjectionDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *SecretProjectionDie) DieFeedRawExtension(raw runtime.RawExtension) *SecretProjectionDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecretProjectionDie) DieFeedYAML ¶ added in v0.8.0
func (d *SecretProjectionDie) DieFeedYAML(y []byte) *SecretProjectionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SecretProjectionDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *SecretProjectionDie) DieFeedYAMLFile(name string) *SecretProjectionDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*SecretProjectionDie) DieImmutable ¶
func (d *SecretProjectionDie) DieImmutable(immutable bool) *SecretProjectionDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*SecretProjectionDie) DieRelease ¶
func (d *SecretProjectionDie) DieRelease() corev1.SecretProjection
DieRelease returns the resource managed by the die.
func (*SecretProjectionDie) DieReleaseJSON ¶ added in v0.8.0
func (d *SecretProjectionDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*SecretProjectionDie) DieReleasePtr ¶
func (d *SecretProjectionDie) DieReleasePtr() *corev1.SecretProjection
DieReleasePtr returns a pointer to the resource managed by the die.
func (*SecretProjectionDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *SecretProjectionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecretProjectionDie) DieReleaseYAML ¶ added in v0.8.0
func (d *SecretProjectionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SecretProjectionDie) DieStamp ¶
func (d *SecretProjectionDie) DieStamp(fn func(r *corev1.SecretProjection)) *SecretProjectionDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*SecretProjectionDie) DieStampAt ¶ added in v0.8.0
func (d *SecretProjectionDie) DieStampAt(jp string, fn interface{}) *SecretProjectionDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*SecretProjectionDie) DieWith ¶ added in v0.9.0
func (d *SecretProjectionDie) DieWith(fns ...func(d *SecretProjectionDie)) *SecretProjectionDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*SecretProjectionDie) ItemDie ¶
func (d *SecretProjectionDie) ItemDie(key string, fn func(d *KeyToPathDie)) *SecretProjectionDie
func (*SecretProjectionDie) Items ¶
func (d *SecretProjectionDie) Items(v ...corev1.KeyToPath) *SecretProjectionDie
items if unspecified, each key-value pair in the Data field of the referenced
Secret will be projected into the volume as a file whose name is the ¶
key and content is the value. If specified, the listed keys will be
projected into the specified paths, and unlisted keys will not be
present. If a key is specified which is not present in the Secret,
the volume setup will error unless it is marked optional. Paths must be
relative and may not contain the '..' path or start with '..'.
func (*SecretProjectionDie) LocalObjectReference ¶
func (d *SecretProjectionDie) LocalObjectReference(v corev1.LocalObjectReference) *SecretProjectionDie
func (*SecretProjectionDie) Name ¶
func (d *SecretProjectionDie) Name(v string) *SecretProjectionDie
func (*SecretProjectionDie) Optional ¶
func (d *SecretProjectionDie) Optional(v *bool) *SecretProjectionDie
optional field specify whether the Secret or its key must be defined
type SecretReferenceDie ¶
type SecretReferenceDie struct {
// contains filtered or unexported fields
}
func (*SecretReferenceDie) DeepCopy ¶
func (d *SecretReferenceDie) DeepCopy() *SecretReferenceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*SecretReferenceDie) DieFeed ¶
func (d *SecretReferenceDie) DieFeed(r corev1.SecretReference) *SecretReferenceDie
DieFeed returns a new die with the provided resource.
func (*SecretReferenceDie) DieFeedJSON ¶ added in v0.8.0
func (d *SecretReferenceDie) DieFeedJSON(j []byte) *SecretReferenceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*SecretReferenceDie) DieFeedPtr ¶
func (d *SecretReferenceDie) DieFeedPtr(r *corev1.SecretReference) *SecretReferenceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*SecretReferenceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *SecretReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *SecretReferenceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecretReferenceDie) DieFeedYAML ¶ added in v0.8.0
func (d *SecretReferenceDie) DieFeedYAML(y []byte) *SecretReferenceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SecretReferenceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *SecretReferenceDie) DieFeedYAMLFile(name string) *SecretReferenceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*SecretReferenceDie) DieImmutable ¶
func (d *SecretReferenceDie) DieImmutable(immutable bool) *SecretReferenceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*SecretReferenceDie) DieRelease ¶
func (d *SecretReferenceDie) DieRelease() corev1.SecretReference
DieRelease returns the resource managed by the die.
func (*SecretReferenceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *SecretReferenceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*SecretReferenceDie) DieReleasePtr ¶
func (d *SecretReferenceDie) DieReleasePtr() *corev1.SecretReference
DieReleasePtr returns a pointer to the resource managed by the die.
func (*SecretReferenceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *SecretReferenceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecretReferenceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *SecretReferenceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SecretReferenceDie) DieStamp ¶
func (d *SecretReferenceDie) DieStamp(fn func(r *corev1.SecretReference)) *SecretReferenceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*SecretReferenceDie) DieStampAt ¶ added in v0.8.0
func (d *SecretReferenceDie) DieStampAt(jp string, fn interface{}) *SecretReferenceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*SecretReferenceDie) DieWith ¶ added in v0.9.0
func (d *SecretReferenceDie) DieWith(fns ...func(d *SecretReferenceDie)) *SecretReferenceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*SecretReferenceDie) Name ¶
func (d *SecretReferenceDie) Name(v string) *SecretReferenceDie
name is unique within a namespace to reference a secret resource.
func (*SecretReferenceDie) Namespace ¶
func (d *SecretReferenceDie) Namespace(v string) *SecretReferenceDie
namespace defines the space within which the secret name must be unique.
type SecretVolumeSourceDie ¶
type SecretVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*SecretVolumeSourceDie) DeepCopy ¶
func (d *SecretVolumeSourceDie) DeepCopy() *SecretVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*SecretVolumeSourceDie) DefaultMode ¶
func (d *SecretVolumeSourceDie) DefaultMode(v *int32) *SecretVolumeSourceDie
defaultMode is Optional: mode bits used to set permissions on created files by default.
Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
YAML accepts both octal and decimal values, JSON requires decimal values ¶
for mode bits. Defaults to 0644.
Directories within the path are not affected by this setting.
This might be in conflict with other options that affect the file ¶
mode, like fsGroup, and the result can be other mode bits set.
func (*SecretVolumeSourceDie) DieFeed ¶
func (d *SecretVolumeSourceDie) DieFeed(r corev1.SecretVolumeSource) *SecretVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*SecretVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *SecretVolumeSourceDie) DieFeedJSON(j []byte) *SecretVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*SecretVolumeSourceDie) DieFeedPtr ¶
func (d *SecretVolumeSourceDie) DieFeedPtr(r *corev1.SecretVolumeSource) *SecretVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*SecretVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *SecretVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *SecretVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecretVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *SecretVolumeSourceDie) DieFeedYAML(y []byte) *SecretVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SecretVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *SecretVolumeSourceDie) DieFeedYAMLFile(name string) *SecretVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*SecretVolumeSourceDie) DieImmutable ¶
func (d *SecretVolumeSourceDie) DieImmutable(immutable bool) *SecretVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*SecretVolumeSourceDie) DieRelease ¶
func (d *SecretVolumeSourceDie) DieRelease() corev1.SecretVolumeSource
DieRelease returns the resource managed by the die.
func (*SecretVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *SecretVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*SecretVolumeSourceDie) DieReleasePtr ¶
func (d *SecretVolumeSourceDie) DieReleasePtr() *corev1.SecretVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*SecretVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *SecretVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecretVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *SecretVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SecretVolumeSourceDie) DieStamp ¶
func (d *SecretVolumeSourceDie) DieStamp(fn func(r *corev1.SecretVolumeSource)) *SecretVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*SecretVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *SecretVolumeSourceDie) DieStampAt(jp string, fn interface{}) *SecretVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*SecretVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *SecretVolumeSourceDie) DieWith(fns ...func(d *SecretVolumeSourceDie)) *SecretVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*SecretVolumeSourceDie) ItemDie ¶
func (d *SecretVolumeSourceDie) ItemDie(key string, fn func(d *KeyToPathDie)) *SecretVolumeSourceDie
func (*SecretVolumeSourceDie) Items ¶
func (d *SecretVolumeSourceDie) Items(v ...corev1.KeyToPath) *SecretVolumeSourceDie
items If unspecified, each key-value pair in the Data field of the referenced
Secret will be projected into the volume as a file whose name is the ¶
key and content is the value. If specified, the listed keys will be
projected into the specified paths, and unlisted keys will not be
present. If a key is specified which is not present in the Secret,
the volume setup will error unless it is marked optional. Paths must be
relative and may not contain the '..' path or start with '..'.
func (*SecretVolumeSourceDie) Optional ¶
func (d *SecretVolumeSourceDie) Optional(v *bool) *SecretVolumeSourceDie
optional field specify whether the Secret or its keys must be defined
func (*SecretVolumeSourceDie) SecretName ¶
func (d *SecretVolumeSourceDie) SecretName(v string) *SecretVolumeSourceDie
secretName is the name of the secret in the pod's namespace to use.
More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
type SecurityContextDie ¶
type SecurityContextDie struct {
// contains filtered or unexported fields
}
func (*SecurityContextDie) AllowPrivilegeEscalation ¶
func (d *SecurityContextDie) AllowPrivilegeEscalation(v *bool) *SecurityContextDie
AllowPrivilegeEscalation controls whether a process can gain more
privileges than its parent process. This bool directly controls if
the no_new_privs flag will be set on the container process.
AllowPrivilegeEscalation is true always when the container is:
1) run as Privileged
2) has CAP_SYS_ADMIN
Note that this field cannot be set when spec.os.name is windows.
func (*SecurityContextDie) Capabilities ¶
func (d *SecurityContextDie) Capabilities(v *corev1.Capabilities) *SecurityContextDie
The capabilities to add/drop when running containers.
Defaults to the default set of capabilities granted by the container runtime.
Note that this field cannot be set when spec.os.name is windows.
func (*SecurityContextDie) CapabilitiesDie ¶
func (d *SecurityContextDie) CapabilitiesDie(fn func(d *CapabilitiesDie)) *SecurityContextDie
func (*SecurityContextDie) DeepCopy ¶
func (d *SecurityContextDie) DeepCopy() *SecurityContextDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*SecurityContextDie) DieFeed ¶
func (d *SecurityContextDie) DieFeed(r corev1.SecurityContext) *SecurityContextDie
DieFeed returns a new die with the provided resource.
func (*SecurityContextDie) DieFeedJSON ¶ added in v0.8.0
func (d *SecurityContextDie) DieFeedJSON(j []byte) *SecurityContextDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*SecurityContextDie) DieFeedPtr ¶
func (d *SecurityContextDie) DieFeedPtr(r *corev1.SecurityContext) *SecurityContextDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*SecurityContextDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *SecurityContextDie) DieFeedRawExtension(raw runtime.RawExtension) *SecurityContextDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecurityContextDie) DieFeedYAML ¶ added in v0.8.0
func (d *SecurityContextDie) DieFeedYAML(y []byte) *SecurityContextDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SecurityContextDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *SecurityContextDie) DieFeedYAMLFile(name string) *SecurityContextDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*SecurityContextDie) DieImmutable ¶
func (d *SecurityContextDie) DieImmutable(immutable bool) *SecurityContextDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*SecurityContextDie) DieRelease ¶
func (d *SecurityContextDie) DieRelease() corev1.SecurityContext
DieRelease returns the resource managed by the die.
func (*SecurityContextDie) DieReleaseJSON ¶ added in v0.8.0
func (d *SecurityContextDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*SecurityContextDie) DieReleasePtr ¶
func (d *SecurityContextDie) DieReleasePtr() *corev1.SecurityContext
DieReleasePtr returns a pointer to the resource managed by the die.
func (*SecurityContextDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *SecurityContextDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecurityContextDie) DieReleaseYAML ¶ added in v0.8.0
func (d *SecurityContextDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SecurityContextDie) DieStamp ¶
func (d *SecurityContextDie) DieStamp(fn func(r *corev1.SecurityContext)) *SecurityContextDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*SecurityContextDie) DieStampAt ¶ added in v0.8.0
func (d *SecurityContextDie) DieStampAt(jp string, fn interface{}) *SecurityContextDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*SecurityContextDie) DieWith ¶ added in v0.9.0
func (d *SecurityContextDie) DieWith(fns ...func(d *SecurityContextDie)) *SecurityContextDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*SecurityContextDie) Privileged ¶
func (d *SecurityContextDie) Privileged(v *bool) *SecurityContextDie
Run container in privileged mode.
Processes in privileged containers are essentially equivalent to root on the host.
Defaults to false.
Note that this field cannot be set when spec.os.name is windows.
func (*SecurityContextDie) ProcMount ¶
func (d *SecurityContextDie) ProcMount(v *corev1.ProcMountType) *SecurityContextDie
procMount denotes the type of proc mount to use for the containers.
The default is DefaultProcMount which uses the container runtime defaults for ¶
readonly paths and masked paths.
This requires the ProcMountType feature flag to be enabled.
Note that this field cannot be set when spec.os.name is windows.
func (*SecurityContextDie) ReadOnlyRootFilesystem ¶
func (d *SecurityContextDie) ReadOnlyRootFilesystem(v *bool) *SecurityContextDie
Whether this container has a read-only root filesystem.
Default is false.
Note that this field cannot be set when spec.os.name is windows.
func (*SecurityContextDie) RunAsGroup ¶
func (d *SecurityContextDie) RunAsGroup(v *int64) *SecurityContextDie
The GID to run the entrypoint of the container process.
Uses runtime default if unset.
May also be set in PodSecurityContext. If set in both SecurityContext and
PodSecurityContext, the value specified in SecurityContext takes precedence.
Note that this field cannot be set when spec.os.name is windows.
func (*SecurityContextDie) RunAsNonRoot ¶
func (d *SecurityContextDie) RunAsNonRoot(v *bool) *SecurityContextDie
Indicates that the container must run as a non-root user.
If true, the Kubelet will validate the image at runtime to ensure that it ¶
does not run as UID 0 (root) and fail to start the container if it does.
If unset or false, no such validation will be performed.
May also be set in PodSecurityContext. If set in both SecurityContext and
PodSecurityContext, the value specified in SecurityContext takes precedence.
func (*SecurityContextDie) RunAsUser ¶
func (d *SecurityContextDie) RunAsUser(v *int64) *SecurityContextDie
The UID to run the entrypoint of the container process.
Defaults to user specified in image metadata if unspecified.
May also be set in PodSecurityContext. If set in both SecurityContext and
PodSecurityContext, the value specified in SecurityContext takes precedence.
Note that this field cannot be set when spec.os.name is windows.
func (*SecurityContextDie) SELinuxOptions ¶
func (d *SecurityContextDie) SELinuxOptions(v *corev1.SELinuxOptions) *SecurityContextDie
The SELinux context to be applied to the container.
If unspecified, the container runtime will allocate a random SELinux context for each ¶
container. May also be set in PodSecurityContext. If set in both SecurityContext and
PodSecurityContext, the value specified in SecurityContext takes precedence.
Note that this field cannot be set when spec.os.name is windows.
func (*SecurityContextDie) SELinuxOptionsDie ¶
func (d *SecurityContextDie) SELinuxOptionsDie(fn func(d *SELinuxOptionsDie)) *SecurityContextDie
func (*SecurityContextDie) SeccompProfile ¶
func (d *SecurityContextDie) SeccompProfile(v *corev1.SeccompProfile) *SecurityContextDie
The seccomp options to use by this container. If seccomp options are
provided at both the pod & container level, the container options
override the pod options.
Note that this field cannot be set when spec.os.name is windows.
func (*SecurityContextDie) SeccompProfileDie ¶
func (d *SecurityContextDie) SeccompProfileDie(fn func(d *SeccompProfileDie)) *SecurityContextDie
func (*SecurityContextDie) WindowsOptions ¶
func (d *SecurityContextDie) WindowsOptions(v *corev1.WindowsSecurityContextOptions) *SecurityContextDie
The Windows specific settings applied to all containers.
If unspecified, the options from the PodSecurityContext will be used.
If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
Note that this field cannot be set when spec.os.name is linux.
func (*SecurityContextDie) WindowsOptionsDie ¶
func (d *SecurityContextDie) WindowsOptionsDie(fn func(d *WindowsSecurityContextOptionsDie)) *SecurityContextDie
type ServiceAccountDie ¶
type ServiceAccountDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*ServiceAccountDie) APIVersion ¶ added in v0.5.0
func (d *ServiceAccountDie) APIVersion(v string) *ServiceAccountDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*ServiceAccountDie) AutomountServiceAccountToken ¶
func (d *ServiceAccountDie) AutomountServiceAccountToken(v *bool) *ServiceAccountDie
AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.
Can be overridden at the pod level.
func (*ServiceAccountDie) DeepCopy ¶
func (d *ServiceAccountDie) DeepCopy() *ServiceAccountDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ServiceAccountDie) DeepCopyObject ¶
func (d *ServiceAccountDie) DeepCopyObject() runtime.Object
func (*ServiceAccountDie) DieFeed ¶
func (d *ServiceAccountDie) DieFeed(r corev1.ServiceAccount) *ServiceAccountDie
DieFeed returns a new die with the provided resource.
func (*ServiceAccountDie) DieFeedJSON ¶ added in v0.8.0
func (d *ServiceAccountDie) DieFeedJSON(j []byte) *ServiceAccountDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ServiceAccountDie) DieFeedPtr ¶
func (d *ServiceAccountDie) DieFeedPtr(r *corev1.ServiceAccount) *ServiceAccountDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ServiceAccountDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ServiceAccountDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceAccountDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceAccountDie) DieFeedYAML ¶ added in v0.8.0
func (d *ServiceAccountDie) DieFeedYAML(y []byte) *ServiceAccountDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServiceAccountDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ServiceAccountDie) DieFeedYAMLFile(name string) *ServiceAccountDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ServiceAccountDie) DieImmutable ¶
func (d *ServiceAccountDie) DieImmutable(immutable bool) *ServiceAccountDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ServiceAccountDie) DieRelease ¶
func (d *ServiceAccountDie) DieRelease() corev1.ServiceAccount
DieRelease returns the resource managed by the die.
func (*ServiceAccountDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ServiceAccountDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ServiceAccountDie) DieReleasePtr ¶
func (d *ServiceAccountDie) DieReleasePtr() *corev1.ServiceAccount
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ServiceAccountDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ServiceAccountDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceAccountDie) DieReleaseUnstructured ¶
func (d *ServiceAccountDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*ServiceAccountDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ServiceAccountDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServiceAccountDie) DieStamp ¶
func (d *ServiceAccountDie) DieStamp(fn func(r *corev1.ServiceAccount)) *ServiceAccountDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ServiceAccountDie) DieStampAt ¶ added in v0.8.0
func (d *ServiceAccountDie) DieStampAt(jp string, fn interface{}) *ServiceAccountDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ServiceAccountDie) DieWith ¶ added in v0.9.0
func (d *ServiceAccountDie) DieWith(fns ...func(d *ServiceAccountDie)) *ServiceAccountDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ServiceAccountDie) GetObjectKind ¶
func (d *ServiceAccountDie) GetObjectKind() schema.ObjectKind
func (*ServiceAccountDie) ImagePullSecrets ¶
func (d *ServiceAccountDie) ImagePullSecrets(v ...corev1.LocalObjectReference) *ServiceAccountDie
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
func (*ServiceAccountDie) ImagePullSecretsDie ¶
func (d *ServiceAccountDie) ImagePullSecretsDie(secrets ...*LocalObjectReferenceDie) *ServiceAccountDie
func (*ServiceAccountDie) Kind ¶ added in v0.5.0
func (d *ServiceAccountDie) Kind(v string) *ServiceAccountDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*ServiceAccountDie) MarshalJSON ¶
func (d *ServiceAccountDie) MarshalJSON() ([]byte, error)
func (*ServiceAccountDie) MetadataDie ¶
func (d *ServiceAccountDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ServiceAccountDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*ServiceAccountDie) Secrets ¶
func (d *ServiceAccountDie) Secrets(v ...corev1.ObjectReference) *ServiceAccountDie
Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use.
Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true".
This field should not be used to find auto-generated service account token secrets for use outside of pods.
Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created.
More info: https://kubernetes.io/docs/concepts/configuration/secret
func (*ServiceAccountDie) SecretsDie ¶
func (d *ServiceAccountDie) SecretsDie(secrets ...*ObjectReferenceDie) *ServiceAccountDie
func (*ServiceAccountDie) UnmarshalJSON ¶
func (d *ServiceAccountDie) UnmarshalJSON(b []byte) error
type ServiceAccountTokenProjectionDie ¶
type ServiceAccountTokenProjectionDie struct {
// contains filtered or unexported fields
}
func (*ServiceAccountTokenProjectionDie) Audience ¶
func (d *ServiceAccountTokenProjectionDie) Audience(v string) *ServiceAccountTokenProjectionDie
audience is the intended audience of the token. A recipient of a token
must identify itself with an identifier specified in the audience of the
token, and otherwise should reject the token. The audience defaults to the
identifier of the apiserver.
func (*ServiceAccountTokenProjectionDie) DeepCopy ¶
func (d *ServiceAccountTokenProjectionDie) DeepCopy() *ServiceAccountTokenProjectionDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ServiceAccountTokenProjectionDie) DieFeed ¶
func (d *ServiceAccountTokenProjectionDie) DieFeed(r corev1.ServiceAccountTokenProjection) *ServiceAccountTokenProjectionDie
DieFeed returns a new die with the provided resource.
func (*ServiceAccountTokenProjectionDie) DieFeedJSON ¶ added in v0.8.0
func (d *ServiceAccountTokenProjectionDie) DieFeedJSON(j []byte) *ServiceAccountTokenProjectionDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ServiceAccountTokenProjectionDie) DieFeedPtr ¶
func (d *ServiceAccountTokenProjectionDie) DieFeedPtr(r *corev1.ServiceAccountTokenProjection) *ServiceAccountTokenProjectionDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ServiceAccountTokenProjectionDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ServiceAccountTokenProjectionDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceAccountTokenProjectionDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceAccountTokenProjectionDie) DieFeedYAML ¶ added in v0.8.0
func (d *ServiceAccountTokenProjectionDie) DieFeedYAML(y []byte) *ServiceAccountTokenProjectionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServiceAccountTokenProjectionDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ServiceAccountTokenProjectionDie) DieFeedYAMLFile(name string) *ServiceAccountTokenProjectionDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ServiceAccountTokenProjectionDie) DieImmutable ¶
func (d *ServiceAccountTokenProjectionDie) DieImmutable(immutable bool) *ServiceAccountTokenProjectionDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ServiceAccountTokenProjectionDie) DieRelease ¶
func (d *ServiceAccountTokenProjectionDie) DieRelease() corev1.ServiceAccountTokenProjection
DieRelease returns the resource managed by the die.
func (*ServiceAccountTokenProjectionDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ServiceAccountTokenProjectionDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ServiceAccountTokenProjectionDie) DieReleasePtr ¶
func (d *ServiceAccountTokenProjectionDie) DieReleasePtr() *corev1.ServiceAccountTokenProjection
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ServiceAccountTokenProjectionDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ServiceAccountTokenProjectionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceAccountTokenProjectionDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ServiceAccountTokenProjectionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServiceAccountTokenProjectionDie) DieStamp ¶
func (d *ServiceAccountTokenProjectionDie) DieStamp(fn func(r *corev1.ServiceAccountTokenProjection)) *ServiceAccountTokenProjectionDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ServiceAccountTokenProjectionDie) DieStampAt ¶ added in v0.8.0
func (d *ServiceAccountTokenProjectionDie) DieStampAt(jp string, fn interface{}) *ServiceAccountTokenProjectionDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ServiceAccountTokenProjectionDie) DieWith ¶ added in v0.9.0
func (d *ServiceAccountTokenProjectionDie) DieWith(fns ...func(d *ServiceAccountTokenProjectionDie)) *ServiceAccountTokenProjectionDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ServiceAccountTokenProjectionDie) ExpirationSeconds ¶
func (d *ServiceAccountTokenProjectionDie) ExpirationSeconds(v *int64) *ServiceAccountTokenProjectionDie
expirationSeconds is the requested duration of validity of the service
account token. As the token approaches expiration, the kubelet volume
plugin will proactively rotate the service account token. The kubelet will
start trying to rotate the token if the token is older than 80 percent of
its time to live or if the token is older than 24 hours.Defaults to 1 hour
and must be at least 10 minutes.
func (*ServiceAccountTokenProjectionDie) Path ¶
func (d *ServiceAccountTokenProjectionDie) Path(v string) *ServiceAccountTokenProjectionDie
path is the path relative to the mount point of the file to project the
token into.
type ServiceDie ¶
type ServiceDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*ServiceDie) APIVersion ¶ added in v0.5.0
func (d *ServiceDie) APIVersion(v string) *ServiceDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*ServiceDie) DeepCopy ¶
func (d *ServiceDie) DeepCopy() *ServiceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ServiceDie) DeepCopyObject ¶
func (d *ServiceDie) DeepCopyObject() runtime.Object
func (*ServiceDie) DieFeed ¶
func (d *ServiceDie) DieFeed(r corev1.Service) *ServiceDie
DieFeed returns a new die with the provided resource.
func (*ServiceDie) DieFeedJSON ¶ added in v0.8.0
func (d *ServiceDie) DieFeedJSON(j []byte) *ServiceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ServiceDie) DieFeedPtr ¶
func (d *ServiceDie) DieFeedPtr(r *corev1.Service) *ServiceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ServiceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ServiceDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceDie) DieFeedYAML ¶ added in v0.8.0
func (d *ServiceDie) DieFeedYAML(y []byte) *ServiceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServiceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ServiceDie) DieFeedYAMLFile(name string) *ServiceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ServiceDie) DieImmutable ¶
func (d *ServiceDie) DieImmutable(immutable bool) *ServiceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ServiceDie) DieRelease ¶
func (d *ServiceDie) DieRelease() corev1.Service
DieRelease returns the resource managed by the die.
func (*ServiceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ServiceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ServiceDie) DieReleasePtr ¶
func (d *ServiceDie) DieReleasePtr() *corev1.Service
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ServiceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ServiceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceDie) DieReleaseUnstructured ¶
func (d *ServiceDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*ServiceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ServiceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServiceDie) DieStamp ¶
func (d *ServiceDie) DieStamp(fn func(r *corev1.Service)) *ServiceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ServiceDie) DieStampAt ¶ added in v0.8.0
func (d *ServiceDie) DieStampAt(jp string, fn interface{}) *ServiceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ServiceDie) DieWith ¶ added in v0.9.0
func (d *ServiceDie) DieWith(fns ...func(d *ServiceDie)) *ServiceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ServiceDie) GetObjectKind ¶
func (d *ServiceDie) GetObjectKind() schema.ObjectKind
func (*ServiceDie) Kind ¶ added in v0.5.0
func (d *ServiceDie) Kind(v string) *ServiceDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*ServiceDie) MarshalJSON ¶
func (d *ServiceDie) MarshalJSON() ([]byte, error)
func (*ServiceDie) MetadataDie ¶
func (d *ServiceDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ServiceDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*ServiceDie) Spec ¶
func (d *ServiceDie) Spec(v corev1.ServiceSpec) *ServiceDie
Spec defines the behavior of a service.
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*ServiceDie) SpecDie ¶
func (d *ServiceDie) SpecDie(fn func(d *ServiceSpecDie)) *ServiceDie
SpecDie stamps the resource's spec field with a mutable die.
func (*ServiceDie) Status ¶
func (d *ServiceDie) Status(v corev1.ServiceStatus) *ServiceDie
Most recently observed status of the service.
Populated by the system.
Read-only.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*ServiceDie) StatusDie ¶
func (d *ServiceDie) StatusDie(fn func(d *ServiceStatusDie)) *ServiceDie
StatusDie stamps the resource's status field with a mutable die.
func (*ServiceDie) UnmarshalJSON ¶
func (d *ServiceDie) UnmarshalJSON(b []byte) error
type ServicePortDie ¶
type ServicePortDie struct {
// contains filtered or unexported fields
}
func (*ServicePortDie) AppProtocol ¶
func (d *ServicePortDie) AppProtocol(v *string) *ServicePortDie
The application protocol for this port.
This is used as a hint for implementations to offer richer behavior for protocols that they understand.
This field follows standard Kubernetes label syntax.
Valid values are either:
* Un-prefixed protocol names - reserved for IANA standard service names (as per
RFC-6335 and https://www.iana.org/assignments/service-names).
* Kubernetes-defined prefixed names:
* 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-
* 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455
* 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455
* Other protocols should use implementation-defined prefixed names such as
mycompany.com/my-custom-protocol.
func (*ServicePortDie) DeepCopy ¶
func (d *ServicePortDie) DeepCopy() *ServicePortDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ServicePortDie) DieFeed ¶
func (d *ServicePortDie) DieFeed(r corev1.ServicePort) *ServicePortDie
DieFeed returns a new die with the provided resource.
func (*ServicePortDie) DieFeedJSON ¶ added in v0.8.0
func (d *ServicePortDie) DieFeedJSON(j []byte) *ServicePortDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ServicePortDie) DieFeedPtr ¶
func (d *ServicePortDie) DieFeedPtr(r *corev1.ServicePort) *ServicePortDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ServicePortDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ServicePortDie) DieFeedRawExtension(raw runtime.RawExtension) *ServicePortDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServicePortDie) DieFeedYAML ¶ added in v0.8.0
func (d *ServicePortDie) DieFeedYAML(y []byte) *ServicePortDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServicePortDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ServicePortDie) DieFeedYAMLFile(name string) *ServicePortDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ServicePortDie) DieImmutable ¶
func (d *ServicePortDie) DieImmutable(immutable bool) *ServicePortDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ServicePortDie) DieRelease ¶
func (d *ServicePortDie) DieRelease() corev1.ServicePort
DieRelease returns the resource managed by the die.
func (*ServicePortDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ServicePortDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ServicePortDie) DieReleasePtr ¶
func (d *ServicePortDie) DieReleasePtr() *corev1.ServicePort
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ServicePortDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ServicePortDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServicePortDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ServicePortDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServicePortDie) DieStamp ¶
func (d *ServicePortDie) DieStamp(fn func(r *corev1.ServicePort)) *ServicePortDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ServicePortDie) DieStampAt ¶ added in v0.8.0
func (d *ServicePortDie) DieStampAt(jp string, fn interface{}) *ServicePortDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ServicePortDie) DieWith ¶ added in v0.9.0
func (d *ServicePortDie) DieWith(fns ...func(d *ServicePortDie)) *ServicePortDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ServicePortDie) Name ¶
func (d *ServicePortDie) Name(v string) *ServicePortDie
The name of this port within the service. This must be a DNS_LABEL.
All ports within a ServiceSpec must have unique names. When considering
the endpoints for a Service, this must match the 'name' field in the
EndpointPort.
Optional if only one ServicePort is defined on this service.
func (*ServicePortDie) NodePort ¶
func (d *ServicePortDie) NodePort(v int32) *ServicePortDie
The port on each node on which this service is exposed when type is
NodePort or LoadBalancer. Usually assigned by the system. If a value is
specified, in-range, and not in use it will be used, otherwise the
operation will fail. If not specified, a port will be allocated if this
Service requires one. If this field is specified when creating a
Service which does not need it, creation will fail. This field will be
wiped when updating a Service to no longer need it (e.g. changing type
from NodePort to ClusterIP).
More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
func (*ServicePortDie) Port ¶
func (d *ServicePortDie) Port(v int32) *ServicePortDie
The port that will be exposed by this service.
func (*ServicePortDie) Protocol ¶
func (d *ServicePortDie) Protocol(v corev1.Protocol) *ServicePortDie
The IP protocol for this port. Supports "TCP", "UDP", and "SCTP".
Default is TCP.
func (*ServicePortDie) TargetPort ¶
func (d *ServicePortDie) TargetPort(v intstr.IntOrString) *ServicePortDie
Number or name of the port to access on the pods targeted by the service.
Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
If this is a string, it will be looked up as a named port in the ¶
target Pod's container ports. If this is not specified, the value
of the 'port' field is used (an identity map).
This field is ignored for services with clusterIP=None, and should be
omitted or set equal to the 'port' field.
More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service
func (*ServicePortDie) TargetPortInt ¶
func (d *ServicePortDie) TargetPortInt(i int) *ServicePortDie
func (*ServicePortDie) TargetPortString ¶
func (d *ServicePortDie) TargetPortString(s string) *ServicePortDie
type ServiceSpecDie ¶
type ServiceSpecDie struct {
// contains filtered or unexported fields
}
func (*ServiceSpecDie) AddSelector ¶
func (d *ServiceSpecDie) AddSelector(key, value string) *ServiceSpecDie
func (*ServiceSpecDie) AllocateLoadBalancerNodePorts ¶
func (d *ServiceSpecDie) AllocateLoadBalancerNodePorts(v *bool) *ServiceSpecDie
allocateLoadBalancerNodePorts defines if NodePorts will be automatically
allocated for services with type LoadBalancer. Default is "true". It
may be set to "false" if the cluster load-balancer does not rely on
NodePorts. If the caller requests specific NodePorts (by specifying a
value), those requests will be respected, regardless of this field.
This field may only be set for services with type LoadBalancer and will ¶
be cleared if the type is changed to any other type.
func (*ServiceSpecDie) ClusterIP ¶
func (d *ServiceSpecDie) ClusterIP(v string) *ServiceSpecDie
clusterIP is the IP address of the service and is usually assigned
randomly. If an address is specified manually, is in-range (as per
system configuration), and is not in use, it will be allocated to the
service; otherwise creation of the service will fail. This field may not
be changed through updates unless the type field is also being changed
to ExternalName (which requires this field to be blank) or the type
field is being changed from ExternalName (in which case this field may
optionally be specified, as describe above). Valid values are "None",
empty string (""), or a valid IP address. Setting this to "None" makes a
"headless service" (no virtual IP), which is useful when direct endpoint
connections are preferred and proxying is not required. Only applies to
types ClusterIP, NodePort, and LoadBalancer. If this field is specified
when creating a Service of type ExternalName, creation will fail. This
field will be wiped when updating a Service to type ExternalName.
More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
func (*ServiceSpecDie) ClusterIPs ¶
func (d *ServiceSpecDie) ClusterIPs(v ...string) *ServiceSpecDie
ClusterIPs is a list of IP addresses assigned to this service, and are
usually assigned randomly. If an address is specified manually, is
in-range (as per system configuration), and is not in use, it will be
allocated to the service; otherwise creation of the service will fail.
This field may not be changed through updates unless the type field is ¶
also being changed to ExternalName (which requires this field to be
empty) or the type field is being changed from ExternalName (in which
case this field may optionally be specified, as describe above). Valid
values are "None", empty string (""), or a valid IP address. Setting
this to "None" makes a "headless service" (no virtual IP), which is
useful when direct endpoint connections are preferred and proxying is
not required. Only applies to types ClusterIP, NodePort, and
LoadBalancer. If this field is specified when creating a Service of type
ExternalName, creation will fail. This field will be wiped when updating
a Service to type ExternalName. If this field is not specified, it will
be initialized from the clusterIP field. If this field is specified,
clients must ensure that clusterIPs[0] and clusterIP have the same
value.
This field may hold a maximum of two entries (dual-stack IPs, in either order).
These IPs must correspond to the values of the ipFamilies field. Both
clusterIPs and ipFamilies are governed by the ipFamilyPolicy field.
More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
func (*ServiceSpecDie) DeepCopy ¶
func (d *ServiceSpecDie) DeepCopy() *ServiceSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ServiceSpecDie) DieFeed ¶
func (d *ServiceSpecDie) DieFeed(r corev1.ServiceSpec) *ServiceSpecDie
DieFeed returns a new die with the provided resource.
func (*ServiceSpecDie) DieFeedJSON ¶ added in v0.8.0
func (d *ServiceSpecDie) DieFeedJSON(j []byte) *ServiceSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ServiceSpecDie) DieFeedPtr ¶
func (d *ServiceSpecDie) DieFeedPtr(r *corev1.ServiceSpec) *ServiceSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ServiceSpecDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ServiceSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceSpecDie) DieFeedYAML ¶ added in v0.8.0
func (d *ServiceSpecDie) DieFeedYAML(y []byte) *ServiceSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServiceSpecDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ServiceSpecDie) DieFeedYAMLFile(name string) *ServiceSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ServiceSpecDie) DieImmutable ¶
func (d *ServiceSpecDie) DieImmutable(immutable bool) *ServiceSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ServiceSpecDie) DieRelease ¶
func (d *ServiceSpecDie) DieRelease() corev1.ServiceSpec
DieRelease returns the resource managed by the die.
func (*ServiceSpecDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ServiceSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ServiceSpecDie) DieReleasePtr ¶
func (d *ServiceSpecDie) DieReleasePtr() *corev1.ServiceSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ServiceSpecDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ServiceSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceSpecDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ServiceSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServiceSpecDie) DieStamp ¶
func (d *ServiceSpecDie) DieStamp(fn func(r *corev1.ServiceSpec)) *ServiceSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ServiceSpecDie) DieStampAt ¶ added in v0.8.0
func (d *ServiceSpecDie) DieStampAt(jp string, fn interface{}) *ServiceSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ServiceSpecDie) DieWith ¶ added in v0.9.0
func (d *ServiceSpecDie) DieWith(fns ...func(d *ServiceSpecDie)) *ServiceSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ServiceSpecDie) ExternalIPs ¶
func (d *ServiceSpecDie) ExternalIPs(v ...string) *ServiceSpecDie
externalIPs is a list of IP addresses for which nodes in the cluster
will also accept traffic for this service. These IPs are not managed by
Kubernetes. The user is responsible for ensuring that traffic arrives
at a node with this IP. A common example is external load-balancers
that are not part of the Kubernetes system.
func (*ServiceSpecDie) ExternalName ¶
func (d *ServiceSpecDie) ExternalName(v string) *ServiceSpecDie
externalName is the external reference that discovery mechanisms will
return as an alias for this service (e.g. a DNS CNAME record). No
proxying will be involved. Must be a lowercase RFC-1123 hostname
(https://tools.ietf.org/html/rfc1123) and requires `type` to be "ExternalName".
func (*ServiceSpecDie) ExternalTrafficPolicy ¶
func (d *ServiceSpecDie) ExternalTrafficPolicy(v corev1.ServiceExternalTrafficPolicy) *ServiceSpecDie
externalTrafficPolicy describes how nodes distribute service traffic they
receive on one of the Service's "externally-facing" addresses (NodePorts,
ExternalIPs, and LoadBalancer IPs). If set to "Local", the proxy will configure
the service in a way that assumes that external load balancers will take care
of balancing the service traffic between nodes, and so each node will deliver
traffic only to the node-local endpoints of the service, without masquerading
the client source IP. (Traffic mistakenly sent to a node with no endpoints will
be dropped.) The default value, "Cluster", uses the standard behavior of
routing to all endpoints evenly (possibly modified by topology and other
features). Note that traffic sent to an External IP or LoadBalancer IP from
within the cluster will always get "Cluster" semantics, but clients sending to
a NodePort from within the cluster may need to take traffic policy into account
when picking a node.
func (*ServiceSpecDie) HealthCheckNodePort ¶
func (d *ServiceSpecDie) HealthCheckNodePort(v int32) *ServiceSpecDie
healthCheckNodePort specifies the healthcheck nodePort for the service.
This only applies when type is set to LoadBalancer and ¶
externalTrafficPolicy is set to Local. If a value is specified, is
in-range, and is not in use, it will be used. If not specified, a value
will be automatically allocated. External systems (e.g. load-balancers)
can use this port to determine if a given node holds endpoints for this
service or not. If this field is specified when creating a Service
which does not need it, creation will fail. This field will be wiped
when updating a Service to no longer need it (e.g. changing type).
This field cannot be updated once set.
func (*ServiceSpecDie) IPFamilies ¶
func (d *ServiceSpecDie) IPFamilies(v ...corev1.IPFamily) *ServiceSpecDie
IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this
service. This field is usually assigned automatically based on cluster
configuration and the ipFamilyPolicy field. If this field is specified
manually, the requested family is available in the cluster,
and ipFamilyPolicy allows it, it will be used; otherwise creation of
the service will fail. This field is conditionally mutable: it allows
for adding or removing a secondary IP family, but it does not allow
changing the primary IP family of the Service. Valid values are "IPv4"
and "IPv6". This field only applies to Services of types ClusterIP,
NodePort, and LoadBalancer, and does apply to "headless" services.
This field will be wiped when updating a Service to type ExternalName.
This field may hold a maximum of two entries (dual-stack families, in ¶
either order). These families must correspond to the values of the
clusterIPs field, if specified. Both clusterIPs and ipFamilies are
governed by the ipFamilyPolicy field.
func (*ServiceSpecDie) IPFamilyPolicy ¶
func (d *ServiceSpecDie) IPFamilyPolicy(v *corev1.IPFamilyPolicy) *ServiceSpecDie
IPFamilyPolicy represents the dual-stack-ness requested or required by
this Service. If there is no value provided, then this field will be set
to SingleStack. Services can be "SingleStack" (a single IP family),
"PreferDualStack" (two IP families on dual-stack configured clusters or
a single IP family on single-stack clusters), or "RequireDualStack"
(two IP families on dual-stack configured clusters, otherwise fail). The
ipFamilies and clusterIPs fields depend on the value of this field. This
field will be wiped when updating a service to type ExternalName.
func (*ServiceSpecDie) InternalTrafficPolicy ¶
func (d *ServiceSpecDie) InternalTrafficPolicy(v *corev1.ServiceInternalTrafficPolicy) *ServiceSpecDie
InternalTrafficPolicy describes how nodes distribute service traffic they
receive on the ClusterIP. If set to "Local", the proxy will assume that pods
only want to talk to endpoints of the service on the same node as the pod,
dropping the traffic if there are no local endpoints. The default value,
"Cluster", uses the standard behavior of routing to all endpoints evenly
(possibly modified by topology and other features).
func (*ServiceSpecDie) LoadBalancerClass ¶
func (d *ServiceSpecDie) LoadBalancerClass(v *string) *ServiceSpecDie
loadBalancerClass is the class of the load balancer implementation this Service belongs to.
If specified, the value of this field must be a label-style identifier, with an optional prefix,
e.g. "internal-vip" or "example.com/internal-vip". Unprefixed names are reserved for end-users.
This field can only be set when the Service type is 'LoadBalancer'. If not set, the default load
balancer implementation is used, today this is typically done through the cloud provider integration,
but should apply for any default implementation. If set, it is assumed that a load balancer
implementation is watching for Services with a matching class. Any default load balancer
implementation (e.g. cloud providers) should ignore Services that set this field.
This field can only be set when creating or updating a Service to type 'LoadBalancer'.
Once set, it can not be changed. This field will be wiped when a service is updated to a non 'LoadBalancer' type.
func (*ServiceSpecDie) LoadBalancerIP
deprecated
func (d *ServiceSpecDie) LoadBalancerIP(v string) *ServiceSpecDie
Only applies to Service Type: LoadBalancer.
This feature depends on whether the underlying cloud-provider supports specifying ¶
the loadBalancerIP when a load balancer is created.
This field will be ignored if the cloud-provider does not support the feature.
Deprecated: This field was under-specified and its meaning varies across implementations.
Using it is non-portable and it may not support dual-stack.
Users are encouraged to use implementation-specific annotations when available.
func (*ServiceSpecDie) LoadBalancerSourceRanges ¶
func (d *ServiceSpecDie) LoadBalancerSourceRanges(v ...string) *ServiceSpecDie
If specified and supported by the platform, this will restrict traffic through the cloud-provider
load-balancer will be restricted to the specified client IPs. This field will be ignored if the
cloud-provider does not support the feature."
More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/
func (*ServiceSpecDie) PortDie ¶
func (d *ServiceSpecDie) PortDie(protocol corev1.Protocol, port int32, fn func(d *ServicePortDie)) *ServiceSpecDie
func (*ServiceSpecDie) Ports ¶
func (d *ServiceSpecDie) Ports(v ...corev1.ServicePort) *ServiceSpecDie
The list of ports that are exposed by this service.
More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
func (*ServiceSpecDie) PublishNotReadyAddresses ¶
func (d *ServiceSpecDie) PublishNotReadyAddresses(v bool) *ServiceSpecDie
publishNotReadyAddresses indicates that any agent which deals with endpoints for this
Service should disregard any indications of ready/not-ready.
The primary use case for setting this field is for a StatefulSet's Headless Service to ¶
propagate SRV DNS records for its Pods for the purpose of peer discovery.
The Kubernetes controllers that generate Endpoints and EndpointSlice resources for ¶
Services interpret this to mean that all endpoints are considered "ready" even if the
Pods themselves are not. Agents which consume only Kubernetes generated endpoints
through the Endpoints or EndpointSlice resources can safely assume this behavior.
func (*ServiceSpecDie) Selector ¶
func (d *ServiceSpecDie) Selector(v map[string]string) *ServiceSpecDie
Route service traffic to pods with label keys and values matching this
selector. If empty or not present, the service is assumed to have an
external process managing its endpoints, which Kubernetes will not
modify. Only applies to types ClusterIP, NodePort, and LoadBalancer.
Ignored if type is ExternalName.
More info: https://kubernetes.io/docs/concepts/services-networking/service/
func (*ServiceSpecDie) SessionAffinity ¶
func (d *ServiceSpecDie) SessionAffinity(v corev1.ServiceAffinity) *ServiceSpecDie
Supports "ClientIP" and "None". Used to maintain session affinity.
Enable client IP based session affinity.
Must be ClientIP or None.
Defaults to None.
More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
func (*ServiceSpecDie) SessionAffinityConfig ¶
func (d *ServiceSpecDie) SessionAffinityConfig(v *corev1.SessionAffinityConfig) *ServiceSpecDie
sessionAffinityConfig contains the configurations of session affinity.
func (*ServiceSpecDie) SessionAffinityConfigDie ¶
func (d *ServiceSpecDie) SessionAffinityConfigDie(fn func(d *SessionAffinityConfigDie)) *ServiceSpecDie
func (*ServiceSpecDie) Type ¶
func (d *ServiceSpecDie) Type(v corev1.ServiceType) *ServiceSpecDie
type determines how the Service is exposed. Defaults to ClusterIP. Valid
options are ExternalName, ClusterIP, NodePort, and LoadBalancer.
"ClusterIP" allocates a cluster-internal IP address for load-balancing
to endpoints. Endpoints are determined by the selector or if that is not
specified, by manual construction of an Endpoints object or
EndpointSlice objects. If clusterIP is "None", no virtual IP is
allocated and the endpoints are published as a set of endpoints rather
than a virtual IP.
"NodePort" builds on ClusterIP and allocates a port on every node which
routes to the same endpoints as the clusterIP.
"LoadBalancer" builds on NodePort and creates an external load-balancer
(if supported in the current cloud) which routes to the same endpoints
as the clusterIP.
"ExternalName" aliases this service to the specified externalName.
Several other fields do not apply to ExternalName services.
More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
type ServiceStatusDie ¶
type ServiceStatusDie struct {
// contains filtered or unexported fields
}
func (*ServiceStatusDie) Conditions ¶
func (d *ServiceStatusDie) Conditions(v ...apismetav1.Condition) *ServiceStatusDie
Current service state
func (*ServiceStatusDie) ConditionsDie ¶
func (d *ServiceStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *ServiceStatusDie
func (*ServiceStatusDie) DeepCopy ¶
func (d *ServiceStatusDie) DeepCopy() *ServiceStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ServiceStatusDie) DieFeed ¶
func (d *ServiceStatusDie) DieFeed(r corev1.ServiceStatus) *ServiceStatusDie
DieFeed returns a new die with the provided resource.
func (*ServiceStatusDie) DieFeedJSON ¶ added in v0.8.0
func (d *ServiceStatusDie) DieFeedJSON(j []byte) *ServiceStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ServiceStatusDie) DieFeedPtr ¶
func (d *ServiceStatusDie) DieFeedPtr(r *corev1.ServiceStatus) *ServiceStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ServiceStatusDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *ServiceStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceStatusDie) DieFeedYAML ¶ added in v0.8.0
func (d *ServiceStatusDie) DieFeedYAML(y []byte) *ServiceStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServiceStatusDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *ServiceStatusDie) DieFeedYAMLFile(name string) *ServiceStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ServiceStatusDie) DieImmutable ¶
func (d *ServiceStatusDie) DieImmutable(immutable bool) *ServiceStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ServiceStatusDie) DieRelease ¶
func (d *ServiceStatusDie) DieRelease() corev1.ServiceStatus
DieRelease returns the resource managed by the die.
func (*ServiceStatusDie) DieReleaseJSON ¶ added in v0.8.0
func (d *ServiceStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ServiceStatusDie) DieReleasePtr ¶
func (d *ServiceStatusDie) DieReleasePtr() *corev1.ServiceStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ServiceStatusDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *ServiceStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceStatusDie) DieReleaseYAML ¶ added in v0.8.0
func (d *ServiceStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServiceStatusDie) DieStamp ¶
func (d *ServiceStatusDie) DieStamp(fn func(r *corev1.ServiceStatus)) *ServiceStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ServiceStatusDie) DieStampAt ¶ added in v0.8.0
func (d *ServiceStatusDie) DieStampAt(jp string, fn interface{}) *ServiceStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ServiceStatusDie) DieWith ¶ added in v0.9.0
func (d *ServiceStatusDie) DieWith(fns ...func(d *ServiceStatusDie)) *ServiceStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ServiceStatusDie) LoadBalancer ¶
func (d *ServiceStatusDie) LoadBalancer(v corev1.LoadBalancerStatus) *ServiceStatusDie
LoadBalancer contains the current status of the load-balancer,
if one is present.
func (*ServiceStatusDie) LoadBalancerDie ¶
func (d *ServiceStatusDie) LoadBalancerDie(fn func(d *LoadBalancerStatusDie)) *ServiceStatusDie
type SessionAffinityConfigDie ¶
type SessionAffinityConfigDie struct {
// contains filtered or unexported fields
}
func (*SessionAffinityConfigDie) ClientIP ¶
func (d *SessionAffinityConfigDie) ClientIP(v *corev1.ClientIPConfig) *SessionAffinityConfigDie
clientIP contains the configurations of Client IP based session affinity.
func (*SessionAffinityConfigDie) ClientIPDie ¶
func (d *SessionAffinityConfigDie) ClientIPDie(fn func(d *ClientIPConfigDie)) *SessionAffinityConfigDie
func (*SessionAffinityConfigDie) DeepCopy ¶
func (d *SessionAffinityConfigDie) DeepCopy() *SessionAffinityConfigDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*SessionAffinityConfigDie) DieFeed ¶
func (d *SessionAffinityConfigDie) DieFeed(r corev1.SessionAffinityConfig) *SessionAffinityConfigDie
DieFeed returns a new die with the provided resource.
func (*SessionAffinityConfigDie) DieFeedJSON ¶ added in v0.8.0
func (d *SessionAffinityConfigDie) DieFeedJSON(j []byte) *SessionAffinityConfigDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*SessionAffinityConfigDie) DieFeedPtr ¶
func (d *SessionAffinityConfigDie) DieFeedPtr(r *corev1.SessionAffinityConfig) *SessionAffinityConfigDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*SessionAffinityConfigDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *SessionAffinityConfigDie) DieFeedRawExtension(raw runtime.RawExtension) *SessionAffinityConfigDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SessionAffinityConfigDie) DieFeedYAML ¶ added in v0.8.0
func (d *SessionAffinityConfigDie) DieFeedYAML(y []byte) *SessionAffinityConfigDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SessionAffinityConfigDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *SessionAffinityConfigDie) DieFeedYAMLFile(name string) *SessionAffinityConfigDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*SessionAffinityConfigDie) DieImmutable ¶
func (d *SessionAffinityConfigDie) DieImmutable(immutable bool) *SessionAffinityConfigDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*SessionAffinityConfigDie) DieRelease ¶
func (d *SessionAffinityConfigDie) DieRelease() corev1.SessionAffinityConfig
DieRelease returns the resource managed by the die.
func (*SessionAffinityConfigDie) DieReleaseJSON ¶ added in v0.8.0
func (d *SessionAffinityConfigDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*SessionAffinityConfigDie) DieReleasePtr ¶
func (d *SessionAffinityConfigDie) DieReleasePtr() *corev1.SessionAffinityConfig
DieReleasePtr returns a pointer to the resource managed by the die.
func (*SessionAffinityConfigDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *SessionAffinityConfigDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SessionAffinityConfigDie) DieReleaseYAML ¶ added in v0.8.0
func (d *SessionAffinityConfigDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SessionAffinityConfigDie) DieStamp ¶
func (d *SessionAffinityConfigDie) DieStamp(fn func(r *corev1.SessionAffinityConfig)) *SessionAffinityConfigDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*SessionAffinityConfigDie) DieStampAt ¶ added in v0.8.0
func (d *SessionAffinityConfigDie) DieStampAt(jp string, fn interface{}) *SessionAffinityConfigDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*SessionAffinityConfigDie) DieWith ¶ added in v0.9.0
func (d *SessionAffinityConfigDie) DieWith(fns ...func(d *SessionAffinityConfigDie)) *SessionAffinityConfigDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
type SleepActionDie ¶ added in v0.10.0
type SleepActionDie struct {
// contains filtered or unexported fields
}
func (*SleepActionDie) DeepCopy ¶ added in v0.10.0
func (d *SleepActionDie) DeepCopy() *SleepActionDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*SleepActionDie) DieFeed ¶ added in v0.10.0
func (d *SleepActionDie) DieFeed(r corev1.SleepAction) *SleepActionDie
DieFeed returns a new die with the provided resource.
func (*SleepActionDie) DieFeedJSON ¶ added in v0.10.0
func (d *SleepActionDie) DieFeedJSON(j []byte) *SleepActionDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*SleepActionDie) DieFeedPtr ¶ added in v0.10.0
func (d *SleepActionDie) DieFeedPtr(r *corev1.SleepAction) *SleepActionDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*SleepActionDie) DieFeedRawExtension ¶ added in v0.10.0
func (d *SleepActionDie) DieFeedRawExtension(raw runtime.RawExtension) *SleepActionDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SleepActionDie) DieFeedYAML ¶ added in v0.10.0
func (d *SleepActionDie) DieFeedYAML(y []byte) *SleepActionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SleepActionDie) DieFeedYAMLFile ¶ added in v0.10.0
func (d *SleepActionDie) DieFeedYAMLFile(name string) *SleepActionDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*SleepActionDie) DieImmutable ¶ added in v0.10.0
func (d *SleepActionDie) DieImmutable(immutable bool) *SleepActionDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*SleepActionDie) DieRelease ¶ added in v0.10.0
func (d *SleepActionDie) DieRelease() corev1.SleepAction
DieRelease returns the resource managed by the die.
func (*SleepActionDie) DieReleaseJSON ¶ added in v0.10.0
func (d *SleepActionDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*SleepActionDie) DieReleasePtr ¶ added in v0.10.0
func (d *SleepActionDie) DieReleasePtr() *corev1.SleepAction
DieReleasePtr returns a pointer to the resource managed by the die.
func (*SleepActionDie) DieReleaseRawExtension ¶ added in v0.10.0
func (d *SleepActionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SleepActionDie) DieReleaseYAML ¶ added in v0.10.0
func (d *SleepActionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SleepActionDie) DieStamp ¶ added in v0.10.0
func (d *SleepActionDie) DieStamp(fn func(r *corev1.SleepAction)) *SleepActionDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*SleepActionDie) DieStampAt ¶ added in v0.10.0
func (d *SleepActionDie) DieStampAt(jp string, fn interface{}) *SleepActionDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*SleepActionDie) DieWith ¶ added in v0.10.0
func (d *SleepActionDie) DieWith(fns ...func(d *SleepActionDie)) *SleepActionDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*SleepActionDie) Seconds ¶ added in v0.10.0
func (d *SleepActionDie) Seconds(v int64) *SleepActionDie
Seconds is the number of seconds to sleep.
type StorageOSPersistentVolumeSourceDie ¶
type StorageOSPersistentVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*StorageOSPersistentVolumeSourceDie) DeepCopy ¶
func (d *StorageOSPersistentVolumeSourceDie) DeepCopy() *StorageOSPersistentVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*StorageOSPersistentVolumeSourceDie) DieFeed ¶
func (d *StorageOSPersistentVolumeSourceDie) DieFeed(r corev1.StorageOSPersistentVolumeSource) *StorageOSPersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*StorageOSPersistentVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *StorageOSPersistentVolumeSourceDie) DieFeedJSON(j []byte) *StorageOSPersistentVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*StorageOSPersistentVolumeSourceDie) DieFeedPtr ¶
func (d *StorageOSPersistentVolumeSourceDie) DieFeedPtr(r *corev1.StorageOSPersistentVolumeSource) *StorageOSPersistentVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*StorageOSPersistentVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *StorageOSPersistentVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *StorageOSPersistentVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StorageOSPersistentVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *StorageOSPersistentVolumeSourceDie) DieFeedYAML(y []byte) *StorageOSPersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*StorageOSPersistentVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *StorageOSPersistentVolumeSourceDie) DieFeedYAMLFile(name string) *StorageOSPersistentVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*StorageOSPersistentVolumeSourceDie) DieImmutable ¶
func (d *StorageOSPersistentVolumeSourceDie) DieImmutable(immutable bool) *StorageOSPersistentVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*StorageOSPersistentVolumeSourceDie) DieRelease ¶
func (d *StorageOSPersistentVolumeSourceDie) DieRelease() corev1.StorageOSPersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*StorageOSPersistentVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *StorageOSPersistentVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*StorageOSPersistentVolumeSourceDie) DieReleasePtr ¶
func (d *StorageOSPersistentVolumeSourceDie) DieReleasePtr() *corev1.StorageOSPersistentVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*StorageOSPersistentVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *StorageOSPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StorageOSPersistentVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *StorageOSPersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*StorageOSPersistentVolumeSourceDie) DieStamp ¶
func (d *StorageOSPersistentVolumeSourceDie) DieStamp(fn func(r *corev1.StorageOSPersistentVolumeSource)) *StorageOSPersistentVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*StorageOSPersistentVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *StorageOSPersistentVolumeSourceDie) DieStampAt(jp string, fn interface{}) *StorageOSPersistentVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*StorageOSPersistentVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *StorageOSPersistentVolumeSourceDie) DieWith(fns ...func(d *StorageOSPersistentVolumeSourceDie)) *StorageOSPersistentVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*StorageOSPersistentVolumeSourceDie) FSType ¶
func (d *StorageOSPersistentVolumeSourceDie) FSType(v string) *StorageOSPersistentVolumeSourceDie
fsType is the filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
func (*StorageOSPersistentVolumeSourceDie) ReadOnly ¶
func (d *StorageOSPersistentVolumeSourceDie) ReadOnly(v bool) *StorageOSPersistentVolumeSourceDie
readOnly defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
func (*StorageOSPersistentVolumeSourceDie) SecretRef ¶
func (d *StorageOSPersistentVolumeSourceDie) SecretRef(v *corev1.ObjectReference) *StorageOSPersistentVolumeSourceDie
secretRef specifies the secret to use for obtaining the StorageOS API
credentials. If not specified, default values will be attempted.
func (*StorageOSPersistentVolumeSourceDie) SecretRefDie ¶
func (d *StorageOSPersistentVolumeSourceDie) SecretRefDie(fn func(d *ObjectReferenceDie)) *StorageOSPersistentVolumeSourceDie
func (*StorageOSPersistentVolumeSourceDie) VolumeName ¶
func (d *StorageOSPersistentVolumeSourceDie) VolumeName(v string) *StorageOSPersistentVolumeSourceDie
volumeName is the human-readable name of the StorageOS volume. Volume
names are only unique within a namespace.
func (*StorageOSPersistentVolumeSourceDie) VolumeNamespace ¶
func (d *StorageOSPersistentVolumeSourceDie) VolumeNamespace(v string) *StorageOSPersistentVolumeSourceDie
volumeNamespace specifies the scope of the volume within StorageOS. If no
namespace is specified then the Pod's namespace will be used. This allows the
Kubernetes name scoping to be mirrored within StorageOS for tighter integration.
Set VolumeName to any name to override the default behaviour.
Set to "default" if you are not using namespaces within StorageOS.
Namespaces that do not pre-exist within StorageOS will be created.
type StorageOSVolumeSourceDie ¶
type StorageOSVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*StorageOSVolumeSourceDie) DeepCopy ¶
func (d *StorageOSVolumeSourceDie) DeepCopy() *StorageOSVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*StorageOSVolumeSourceDie) DieFeed ¶
func (d *StorageOSVolumeSourceDie) DieFeed(r corev1.StorageOSVolumeSource) *StorageOSVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*StorageOSVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *StorageOSVolumeSourceDie) DieFeedJSON(j []byte) *StorageOSVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*StorageOSVolumeSourceDie) DieFeedPtr ¶
func (d *StorageOSVolumeSourceDie) DieFeedPtr(r *corev1.StorageOSVolumeSource) *StorageOSVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*StorageOSVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *StorageOSVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *StorageOSVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StorageOSVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *StorageOSVolumeSourceDie) DieFeedYAML(y []byte) *StorageOSVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*StorageOSVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *StorageOSVolumeSourceDie) DieFeedYAMLFile(name string) *StorageOSVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*StorageOSVolumeSourceDie) DieImmutable ¶
func (d *StorageOSVolumeSourceDie) DieImmutable(immutable bool) *StorageOSVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*StorageOSVolumeSourceDie) DieRelease ¶
func (d *StorageOSVolumeSourceDie) DieRelease() corev1.StorageOSVolumeSource
DieRelease returns the resource managed by the die.
func (*StorageOSVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *StorageOSVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*StorageOSVolumeSourceDie) DieReleasePtr ¶
func (d *StorageOSVolumeSourceDie) DieReleasePtr() *corev1.StorageOSVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*StorageOSVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *StorageOSVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StorageOSVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *StorageOSVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*StorageOSVolumeSourceDie) DieStamp ¶
func (d *StorageOSVolumeSourceDie) DieStamp(fn func(r *corev1.StorageOSVolumeSource)) *StorageOSVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*StorageOSVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *StorageOSVolumeSourceDie) DieStampAt(jp string, fn interface{}) *StorageOSVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*StorageOSVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *StorageOSVolumeSourceDie) DieWith(fns ...func(d *StorageOSVolumeSourceDie)) *StorageOSVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*StorageOSVolumeSourceDie) FSType ¶
func (d *StorageOSVolumeSourceDie) FSType(v string) *StorageOSVolumeSourceDie
fsType is the filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
func (*StorageOSVolumeSourceDie) ReadOnly ¶
func (d *StorageOSVolumeSourceDie) ReadOnly(v bool) *StorageOSVolumeSourceDie
readOnly defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
func (*StorageOSVolumeSourceDie) SecretRef ¶
func (d *StorageOSVolumeSourceDie) SecretRef(v *corev1.LocalObjectReference) *StorageOSVolumeSourceDie
secretRef specifies the secret to use for obtaining the StorageOS API
credentials. If not specified, default values will be attempted.
func (*StorageOSVolumeSourceDie) SecretRefDie ¶
func (d *StorageOSVolumeSourceDie) SecretRefDie(fn func(d *LocalObjectReferenceDie)) *StorageOSVolumeSourceDie
func (*StorageOSVolumeSourceDie) VolumeName ¶
func (d *StorageOSVolumeSourceDie) VolumeName(v string) *StorageOSVolumeSourceDie
volumeName is the human-readable name of the StorageOS volume. Volume
names are only unique within a namespace.
func (*StorageOSVolumeSourceDie) VolumeNamespace ¶
func (d *StorageOSVolumeSourceDie) VolumeNamespace(v string) *StorageOSVolumeSourceDie
volumeNamespace specifies the scope of the volume within StorageOS. If no
namespace is specified then the Pod's namespace will be used. This allows the
Kubernetes name scoping to be mirrored within StorageOS for tighter integration.
Set VolumeName to any name to override the default behaviour.
Set to "default" if you are not using namespaces within StorageOS.
Namespaces that do not pre-exist within StorageOS will be created.
type SysctlDie ¶
type SysctlDie struct {
// contains filtered or unexported fields
}
func (*SysctlDie) DeepCopy ¶
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*SysctlDie) DieFeedJSON ¶ added in v0.8.0
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*SysctlDie) DieFeedPtr ¶
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*SysctlDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *SysctlDie) DieFeedRawExtension(raw runtime.RawExtension) *SysctlDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SysctlDie) DieFeedYAML ¶ added in v0.8.0
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SysctlDie) DieFeedYAMLFile ¶ added in v0.8.0
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*SysctlDie) DieImmutable ¶
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*SysctlDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*SysctlDie) DieReleaseJSON ¶ added in v0.8.0
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*SysctlDie) DieReleasePtr ¶
DieReleasePtr returns a pointer to the resource managed by the die.
func (*SysctlDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *SysctlDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SysctlDie) DieReleaseYAML ¶ added in v0.8.0
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SysctlDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*SysctlDie) DieStampAt ¶ added in v0.8.0
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
type TCPSocketActionDie ¶
type TCPSocketActionDie struct {
// contains filtered or unexported fields
}
func (*TCPSocketActionDie) DeepCopy ¶
func (d *TCPSocketActionDie) DeepCopy() *TCPSocketActionDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TCPSocketActionDie) DieFeed ¶
func (d *TCPSocketActionDie) DieFeed(r corev1.TCPSocketAction) *TCPSocketActionDie
DieFeed returns a new die with the provided resource.
func (*TCPSocketActionDie) DieFeedJSON ¶ added in v0.8.0
func (d *TCPSocketActionDie) DieFeedJSON(j []byte) *TCPSocketActionDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TCPSocketActionDie) DieFeedPtr ¶
func (d *TCPSocketActionDie) DieFeedPtr(r *corev1.TCPSocketAction) *TCPSocketActionDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TCPSocketActionDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *TCPSocketActionDie) DieFeedRawExtension(raw runtime.RawExtension) *TCPSocketActionDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TCPSocketActionDie) DieFeedYAML ¶ added in v0.8.0
func (d *TCPSocketActionDie) DieFeedYAML(y []byte) *TCPSocketActionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TCPSocketActionDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *TCPSocketActionDie) DieFeedYAMLFile(name string) *TCPSocketActionDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TCPSocketActionDie) DieImmutable ¶
func (d *TCPSocketActionDie) DieImmutable(immutable bool) *TCPSocketActionDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TCPSocketActionDie) DieRelease ¶
func (d *TCPSocketActionDie) DieRelease() corev1.TCPSocketAction
DieRelease returns the resource managed by the die.
func (*TCPSocketActionDie) DieReleaseJSON ¶ added in v0.8.0
func (d *TCPSocketActionDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TCPSocketActionDie) DieReleasePtr ¶
func (d *TCPSocketActionDie) DieReleasePtr() *corev1.TCPSocketAction
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TCPSocketActionDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *TCPSocketActionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TCPSocketActionDie) DieReleaseYAML ¶ added in v0.8.0
func (d *TCPSocketActionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TCPSocketActionDie) DieStamp ¶
func (d *TCPSocketActionDie) DieStamp(fn func(r *corev1.TCPSocketAction)) *TCPSocketActionDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TCPSocketActionDie) DieStampAt ¶ added in v0.8.0
func (d *TCPSocketActionDie) DieStampAt(jp string, fn interface{}) *TCPSocketActionDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TCPSocketActionDie) DieWith ¶ added in v0.9.0
func (d *TCPSocketActionDie) DieWith(fns ...func(d *TCPSocketActionDie)) *TCPSocketActionDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TCPSocketActionDie) Host ¶
func (d *TCPSocketActionDie) Host(v string) *TCPSocketActionDie
Optional: Host name to connect to, defaults to the pod IP.
func (*TCPSocketActionDie) Port ¶
func (d *TCPSocketActionDie) Port(v intstr.IntOrString) *TCPSocketActionDie
Number or name of the port to access on the container.
Number must be in the range 1 to 65535.
Name must be an IANA_SVC_NAME.
func (*TCPSocketActionDie) PortInt ¶
func (d *TCPSocketActionDie) PortInt(i int) *TCPSocketActionDie
func (*TCPSocketActionDie) PortString ¶
func (d *TCPSocketActionDie) PortString(s string) *TCPSocketActionDie
type TaintDie ¶
type TaintDie struct {
// contains filtered or unexported fields
}
func (*TaintDie) DeepCopy ¶
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TaintDie) DieFeedJSON ¶ added in v0.8.0
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TaintDie) DieFeedPtr ¶
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TaintDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *TaintDie) DieFeedRawExtension(raw runtime.RawExtension) *TaintDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TaintDie) DieFeedYAML ¶ added in v0.8.0
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TaintDie) DieFeedYAMLFile ¶ added in v0.8.0
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TaintDie) DieImmutable ¶
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TaintDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*TaintDie) DieReleaseJSON ¶ added in v0.8.0
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TaintDie) DieReleasePtr ¶
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TaintDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *TaintDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TaintDie) DieReleaseYAML ¶ added in v0.8.0
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TaintDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TaintDie) DieStampAt ¶ added in v0.8.0
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TaintDie) DieWith ¶ added in v0.9.0
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TaintDie) Effect ¶
func (d *TaintDie) Effect(v corev1.TaintEffect) *TaintDie
Required. The effect of the taint on pods
that do not tolerate the taint.
Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
type TolerationDie ¶
type TolerationDie struct {
// contains filtered or unexported fields
}
func (*TolerationDie) DeepCopy ¶
func (d *TolerationDie) DeepCopy() *TolerationDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TolerationDie) DieFeed ¶
func (d *TolerationDie) DieFeed(r corev1.Toleration) *TolerationDie
DieFeed returns a new die with the provided resource.
func (*TolerationDie) DieFeedJSON ¶ added in v0.8.0
func (d *TolerationDie) DieFeedJSON(j []byte) *TolerationDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TolerationDie) DieFeedPtr ¶
func (d *TolerationDie) DieFeedPtr(r *corev1.Toleration) *TolerationDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TolerationDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *TolerationDie) DieFeedRawExtension(raw runtime.RawExtension) *TolerationDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TolerationDie) DieFeedYAML ¶ added in v0.8.0
func (d *TolerationDie) DieFeedYAML(y []byte) *TolerationDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TolerationDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *TolerationDie) DieFeedYAMLFile(name string) *TolerationDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TolerationDie) DieImmutable ¶
func (d *TolerationDie) DieImmutable(immutable bool) *TolerationDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TolerationDie) DieRelease ¶
func (d *TolerationDie) DieRelease() corev1.Toleration
DieRelease returns the resource managed by the die.
func (*TolerationDie) DieReleaseJSON ¶ added in v0.8.0
func (d *TolerationDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TolerationDie) DieReleasePtr ¶
func (d *TolerationDie) DieReleasePtr() *corev1.Toleration
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TolerationDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *TolerationDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TolerationDie) DieReleaseYAML ¶ added in v0.8.0
func (d *TolerationDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TolerationDie) DieStamp ¶
func (d *TolerationDie) DieStamp(fn func(r *corev1.Toleration)) *TolerationDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TolerationDie) DieStampAt ¶ added in v0.8.0
func (d *TolerationDie) DieStampAt(jp string, fn interface{}) *TolerationDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TolerationDie) DieWith ¶ added in v0.9.0
func (d *TolerationDie) DieWith(fns ...func(d *TolerationDie)) *TolerationDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TolerationDie) Effect ¶
func (d *TolerationDie) Effect(v corev1.TaintEffect) *TolerationDie
Effect indicates the taint effect to match. Empty means match all taint effects.
When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
func (*TolerationDie) Key ¶
func (d *TolerationDie) Key(v string) *TolerationDie
Key is the taint key that the toleration applies to. Empty means match all taint keys.
If the key is empty, operator must be Exists; this combination means to match all values and all keys.
func (*TolerationDie) Operator ¶
func (d *TolerationDie) Operator(v corev1.TolerationOperator) *TolerationDie
Operator represents a key's relationship to the value.
Valid operators are Exists and Equal. Defaults to Equal.
Exists is equivalent to wildcard for value, so that a pod can ¶
tolerate all taints of a particular category.
func (*TolerationDie) TolerationSeconds ¶
func (d *TolerationDie) TolerationSeconds(v *int64) *TolerationDie
TolerationSeconds represents the period of time the toleration (which must be
of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,
it is not set, which means tolerate the taint forever (do not evict). Zero and
negative values will be treated as 0 (evict immediately) by the system.
func (*TolerationDie) Value ¶
func (d *TolerationDie) Value(v string) *TolerationDie
Value is the taint value the toleration matches to.
If the operator is Exists, the value should be empty, otherwise just a regular string.
type TopologySelectorLabelRequirementDie ¶ added in v0.3.0
type TopologySelectorLabelRequirementDie struct {
// contains filtered or unexported fields
}
func (*TopologySelectorLabelRequirementDie) DeepCopy ¶ added in v0.3.0
func (d *TopologySelectorLabelRequirementDie) DeepCopy() *TopologySelectorLabelRequirementDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TopologySelectorLabelRequirementDie) DieFeed ¶ added in v0.3.0
func (d *TopologySelectorLabelRequirementDie) DieFeed(r corev1.TopologySelectorLabelRequirement) *TopologySelectorLabelRequirementDie
DieFeed returns a new die with the provided resource.
func (*TopologySelectorLabelRequirementDie) DieFeedJSON ¶ added in v0.8.0
func (d *TopologySelectorLabelRequirementDie) DieFeedJSON(j []byte) *TopologySelectorLabelRequirementDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TopologySelectorLabelRequirementDie) DieFeedPtr ¶ added in v0.3.0
func (d *TopologySelectorLabelRequirementDie) DieFeedPtr(r *corev1.TopologySelectorLabelRequirement) *TopologySelectorLabelRequirementDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TopologySelectorLabelRequirementDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *TopologySelectorLabelRequirementDie) DieFeedRawExtension(raw runtime.RawExtension) *TopologySelectorLabelRequirementDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TopologySelectorLabelRequirementDie) DieFeedYAML ¶ added in v0.8.0
func (d *TopologySelectorLabelRequirementDie) DieFeedYAML(y []byte) *TopologySelectorLabelRequirementDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TopologySelectorLabelRequirementDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *TopologySelectorLabelRequirementDie) DieFeedYAMLFile(name string) *TopologySelectorLabelRequirementDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TopologySelectorLabelRequirementDie) DieImmutable ¶ added in v0.3.0
func (d *TopologySelectorLabelRequirementDie) DieImmutable(immutable bool) *TopologySelectorLabelRequirementDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TopologySelectorLabelRequirementDie) DieRelease ¶ added in v0.3.0
func (d *TopologySelectorLabelRequirementDie) DieRelease() corev1.TopologySelectorLabelRequirement
DieRelease returns the resource managed by the die.
func (*TopologySelectorLabelRequirementDie) DieReleaseJSON ¶ added in v0.8.0
func (d *TopologySelectorLabelRequirementDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TopologySelectorLabelRequirementDie) DieReleasePtr ¶ added in v0.3.0
func (d *TopologySelectorLabelRequirementDie) DieReleasePtr() *corev1.TopologySelectorLabelRequirement
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TopologySelectorLabelRequirementDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *TopologySelectorLabelRequirementDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TopologySelectorLabelRequirementDie) DieReleaseYAML ¶ added in v0.8.0
func (d *TopologySelectorLabelRequirementDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TopologySelectorLabelRequirementDie) DieStamp ¶ added in v0.3.0
func (d *TopologySelectorLabelRequirementDie) DieStamp(fn func(r *corev1.TopologySelectorLabelRequirement)) *TopologySelectorLabelRequirementDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TopologySelectorLabelRequirementDie) DieStampAt ¶ added in v0.8.0
func (d *TopologySelectorLabelRequirementDie) DieStampAt(jp string, fn interface{}) *TopologySelectorLabelRequirementDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TopologySelectorLabelRequirementDie) DieWith ¶ added in v0.9.0
func (d *TopologySelectorLabelRequirementDie) DieWith(fns ...func(d *TopologySelectorLabelRequirementDie)) *TopologySelectorLabelRequirementDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TopologySelectorLabelRequirementDie) Key ¶ added in v0.3.0
func (d *TopologySelectorLabelRequirementDie) Key(v string) *TopologySelectorLabelRequirementDie
The label key that the selector applies to.
func (*TopologySelectorLabelRequirementDie) Values ¶ added in v0.3.0
func (d *TopologySelectorLabelRequirementDie) Values(v ...string) *TopologySelectorLabelRequirementDie
An array of string values. One value must match the label to be selected.
Each entry in Values is ORed.
type TopologySelectorTermDie ¶ added in v0.3.0
type TopologySelectorTermDie struct {
// contains filtered or unexported fields
}
func (*TopologySelectorTermDie) DeepCopy ¶ added in v0.3.0
func (d *TopologySelectorTermDie) DeepCopy() *TopologySelectorTermDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TopologySelectorTermDie) DieFeed ¶ added in v0.3.0
func (d *TopologySelectorTermDie) DieFeed(r corev1.TopologySelectorTerm) *TopologySelectorTermDie
DieFeed returns a new die with the provided resource.
func (*TopologySelectorTermDie) DieFeedJSON ¶ added in v0.8.0
func (d *TopologySelectorTermDie) DieFeedJSON(j []byte) *TopologySelectorTermDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TopologySelectorTermDie) DieFeedPtr ¶ added in v0.3.0
func (d *TopologySelectorTermDie) DieFeedPtr(r *corev1.TopologySelectorTerm) *TopologySelectorTermDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TopologySelectorTermDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *TopologySelectorTermDie) DieFeedRawExtension(raw runtime.RawExtension) *TopologySelectorTermDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TopologySelectorTermDie) DieFeedYAML ¶ added in v0.8.0
func (d *TopologySelectorTermDie) DieFeedYAML(y []byte) *TopologySelectorTermDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TopologySelectorTermDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *TopologySelectorTermDie) DieFeedYAMLFile(name string) *TopologySelectorTermDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TopologySelectorTermDie) DieImmutable ¶ added in v0.3.0
func (d *TopologySelectorTermDie) DieImmutable(immutable bool) *TopologySelectorTermDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TopologySelectorTermDie) DieRelease ¶ added in v0.3.0
func (d *TopologySelectorTermDie) DieRelease() corev1.TopologySelectorTerm
DieRelease returns the resource managed by the die.
func (*TopologySelectorTermDie) DieReleaseJSON ¶ added in v0.8.0
func (d *TopologySelectorTermDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TopologySelectorTermDie) DieReleasePtr ¶ added in v0.3.0
func (d *TopologySelectorTermDie) DieReleasePtr() *corev1.TopologySelectorTerm
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TopologySelectorTermDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *TopologySelectorTermDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TopologySelectorTermDie) DieReleaseYAML ¶ added in v0.8.0
func (d *TopologySelectorTermDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TopologySelectorTermDie) DieStamp ¶ added in v0.3.0
func (d *TopologySelectorTermDie) DieStamp(fn func(r *corev1.TopologySelectorTerm)) *TopologySelectorTermDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TopologySelectorTermDie) DieStampAt ¶ added in v0.8.0
func (d *TopologySelectorTermDie) DieStampAt(jp string, fn interface{}) *TopologySelectorTermDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TopologySelectorTermDie) DieWith ¶ added in v0.9.0
func (d *TopologySelectorTermDie) DieWith(fns ...func(d *TopologySelectorTermDie)) *TopologySelectorTermDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TopologySelectorTermDie) MatchLabelExpressions ¶ added in v0.3.0
func (d *TopologySelectorTermDie) MatchLabelExpressions(v ...corev1.TopologySelectorLabelRequirement) *TopologySelectorTermDie
A list of topology selector requirements by labels.
func (*TopologySelectorTermDie) MatchLabelExpressionsDie ¶ added in v0.3.0
func (d *TopologySelectorTermDie) MatchLabelExpressionsDie(requirements ...*TopologySelectorLabelRequirementDie) *TopologySelectorTermDie
type TopologySpreadConstraintDie ¶
type TopologySpreadConstraintDie struct {
// contains filtered or unexported fields
}
func (*TopologySpreadConstraintDie) DeepCopy ¶
func (d *TopologySpreadConstraintDie) DeepCopy() *TopologySpreadConstraintDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TopologySpreadConstraintDie) DieFeed ¶
func (d *TopologySpreadConstraintDie) DieFeed(r corev1.TopologySpreadConstraint) *TopologySpreadConstraintDie
DieFeed returns a new die with the provided resource.
func (*TopologySpreadConstraintDie) DieFeedJSON ¶ added in v0.8.0
func (d *TopologySpreadConstraintDie) DieFeedJSON(j []byte) *TopologySpreadConstraintDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TopologySpreadConstraintDie) DieFeedPtr ¶
func (d *TopologySpreadConstraintDie) DieFeedPtr(r *corev1.TopologySpreadConstraint) *TopologySpreadConstraintDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TopologySpreadConstraintDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *TopologySpreadConstraintDie) DieFeedRawExtension(raw runtime.RawExtension) *TopologySpreadConstraintDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TopologySpreadConstraintDie) DieFeedYAML ¶ added in v0.8.0
func (d *TopologySpreadConstraintDie) DieFeedYAML(y []byte) *TopologySpreadConstraintDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TopologySpreadConstraintDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *TopologySpreadConstraintDie) DieFeedYAMLFile(name string) *TopologySpreadConstraintDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TopologySpreadConstraintDie) DieImmutable ¶
func (d *TopologySpreadConstraintDie) DieImmutable(immutable bool) *TopologySpreadConstraintDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TopologySpreadConstraintDie) DieRelease ¶
func (d *TopologySpreadConstraintDie) DieRelease() corev1.TopologySpreadConstraint
DieRelease returns the resource managed by the die.
func (*TopologySpreadConstraintDie) DieReleaseJSON ¶ added in v0.8.0
func (d *TopologySpreadConstraintDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TopologySpreadConstraintDie) DieReleasePtr ¶
func (d *TopologySpreadConstraintDie) DieReleasePtr() *corev1.TopologySpreadConstraint
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TopologySpreadConstraintDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *TopologySpreadConstraintDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TopologySpreadConstraintDie) DieReleaseYAML ¶ added in v0.8.0
func (d *TopologySpreadConstraintDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TopologySpreadConstraintDie) DieStamp ¶
func (d *TopologySpreadConstraintDie) DieStamp(fn func(r *corev1.TopologySpreadConstraint)) *TopologySpreadConstraintDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TopologySpreadConstraintDie) DieStampAt ¶ added in v0.8.0
func (d *TopologySpreadConstraintDie) DieStampAt(jp string, fn interface{}) *TopologySpreadConstraintDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TopologySpreadConstraintDie) DieWith ¶ added in v0.9.0
func (d *TopologySpreadConstraintDie) DieWith(fns ...func(d *TopologySpreadConstraintDie)) *TopologySpreadConstraintDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TopologySpreadConstraintDie) LabelSelector ¶
func (d *TopologySpreadConstraintDie) LabelSelector(v *apismetav1.LabelSelector) *TopologySpreadConstraintDie
LabelSelector is used to find matching pods.
Pods that match this label selector are counted to determine the number of pods ¶
in their corresponding topology domain.
func (*TopologySpreadConstraintDie) LabelSelectorDie ¶
func (d *TopologySpreadConstraintDie) LabelSelectorDie(fn func(d *diemetav1.LabelSelectorDie)) *TopologySpreadConstraintDie
func (*TopologySpreadConstraintDie) MatchLabelKeys ¶ added in v0.6.0
func (d *TopologySpreadConstraintDie) MatchLabelKeys(v ...string) *TopologySpreadConstraintDie
MatchLabelKeys is a set of pod label keys to select the pods over which
spreading will be calculated. The keys are used to lookup values from the
incoming pod labels, those key-value labels are ANDed with labelSelector
to select the group of existing pods over which spreading will be calculated
for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.
MatchLabelKeys cannot be set when LabelSelector isn't set.
Keys that don't exist in the incoming pod labels will
be ignored. A null or empty list means only match against labelSelector.
This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).
func (*TopologySpreadConstraintDie) MaxSkew ¶
func (d *TopologySpreadConstraintDie) MaxSkew(v int32) *TopologySpreadConstraintDie
MaxSkew describes the degree to which pods may be unevenly distributed.
When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference
between the number of matching pods in the target topology and the global minimum.
The global minimum is the minimum number of matching pods in an eligible domain ¶
or zero if the number of eligible domains is less than MinDomains.
For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same ¶
labelSelector spread as 2/2/1:
In this case, the global minimum is 1.
| zone1 | zone2 | zone3 |
| P P | P P | P |
- if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;
scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)
violate MaxSkew(1).
- if MaxSkew is 2, incoming pod can be scheduled onto any zone.
When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence
to topologies that satisfy it.
It's a required field. Default value is 1 and 0 is not allowed.
func (*TopologySpreadConstraintDie) MinDomains ¶ added in v0.4.0
func (d *TopologySpreadConstraintDie) MinDomains(v *int32) *TopologySpreadConstraintDie
MinDomains indicates a minimum number of eligible domains.
When the number of eligible domains with matching topology keys is less than minDomains,
Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed.
And when the number of eligible domains with matching topology keys equals or greater than minDomains,
this value has no effect on scheduling.
As a result, when the number of eligible domains is less than minDomains,
scheduler won't schedule more than maxSkew Pods to those domains.
If value is nil, the constraint behaves as if MinDomains is equal to 1.
Valid values are integers greater than 0.
When value is not nil, WhenUnsatisfiable must be DoNotSchedule.
For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same ¶
labelSelector spread as 2/2/2:
| zone1 | zone2 | zone3 |
| P P | P P | P P |
The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0.
In this situation, new pod with the same labelSelector cannot be scheduled,
because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,
it will violate MaxSkew.
This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default).
func (*TopologySpreadConstraintDie) NodeAffinityPolicy ¶ added in v0.6.0
func (d *TopologySpreadConstraintDie) NodeAffinityPolicy(v *corev1.NodeInclusionPolicy) *TopologySpreadConstraintDie
NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector
when calculating pod topology spread skew. Options are:
- Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.
- Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.
If this value is nil, the behavior is equivalent to the Honor policy.
This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.
func (*TopologySpreadConstraintDie) NodeTaintsPolicy ¶ added in v0.6.0
func (d *TopologySpreadConstraintDie) NodeTaintsPolicy(v *corev1.NodeInclusionPolicy) *TopologySpreadConstraintDie
NodeTaintsPolicy indicates how we will treat node taints when calculating
pod topology spread skew. Options are:
- Honor: nodes without taints, along with tainted nodes for which the incoming pod
has a toleration, are included.
- Ignore: node taints are ignored. All nodes are included.
If this value is nil, the behavior is equivalent to the Ignore policy.
This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.
func (*TopologySpreadConstraintDie) TopologyKey ¶
func (d *TopologySpreadConstraintDie) TopologyKey(v string) *TopologySpreadConstraintDie
TopologyKey is the key of node labels. Nodes that have a label with this key
and identical values are considered to be in the same topology.
We consider each <key, value> as a "bucket", and try to put balanced number
of pods into each bucket.
We define a domain as a particular instance of a topology.
Also, we define an eligible domain as a domain whose nodes meet the requirements of ¶
nodeAffinityPolicy and nodeTaintsPolicy.
e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology.
And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology.
It's a required field.
func (*TopologySpreadConstraintDie) WhenUnsatisfiable ¶
func (d *TopologySpreadConstraintDie) WhenUnsatisfiable(v corev1.UnsatisfiableConstraintAction) *TopologySpreadConstraintDie
WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy
the spread constraint.
- DoNotSchedule (default) tells the scheduler not to schedule it.
- ScheduleAnyway tells the scheduler to schedule the pod in any location,
but giving higher precedence to topologies that would help reduce the
skew.
A constraint is considered "Unsatisfiable" for an incoming pod
if and only if every possible node assignment for that pod would violate
"MaxSkew" on some topology.
For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same ¶
labelSelector spread as 3/1/1:
| zone1 | zone2 | zone3 |
| P P P | P | P |
If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled ¶
to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies
MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler
won't make it *more* imbalanced.
It's a required field.
type TypedLocalObjectReferenceDie ¶
type TypedLocalObjectReferenceDie struct {
// contains filtered or unexported fields
}
func (*TypedLocalObjectReferenceDie) APIGroup ¶
func (d *TypedLocalObjectReferenceDie) APIGroup(v *string) *TypedLocalObjectReferenceDie
APIGroup is the group for the resource being referenced.
If APIGroup is not specified, the specified Kind must be in the core API group.
For any other third-party types, APIGroup is required.
func (*TypedLocalObjectReferenceDie) DeepCopy ¶
func (d *TypedLocalObjectReferenceDie) DeepCopy() *TypedLocalObjectReferenceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TypedLocalObjectReferenceDie) DieFeed ¶
func (d *TypedLocalObjectReferenceDie) DieFeed(r corev1.TypedLocalObjectReference) *TypedLocalObjectReferenceDie
DieFeed returns a new die with the provided resource.
func (*TypedLocalObjectReferenceDie) DieFeedJSON ¶ added in v0.8.0
func (d *TypedLocalObjectReferenceDie) DieFeedJSON(j []byte) *TypedLocalObjectReferenceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TypedLocalObjectReferenceDie) DieFeedPtr ¶
func (d *TypedLocalObjectReferenceDie) DieFeedPtr(r *corev1.TypedLocalObjectReference) *TypedLocalObjectReferenceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TypedLocalObjectReferenceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *TypedLocalObjectReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *TypedLocalObjectReferenceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TypedLocalObjectReferenceDie) DieFeedYAML ¶ added in v0.8.0
func (d *TypedLocalObjectReferenceDie) DieFeedYAML(y []byte) *TypedLocalObjectReferenceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TypedLocalObjectReferenceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *TypedLocalObjectReferenceDie) DieFeedYAMLFile(name string) *TypedLocalObjectReferenceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TypedLocalObjectReferenceDie) DieImmutable ¶
func (d *TypedLocalObjectReferenceDie) DieImmutable(immutable bool) *TypedLocalObjectReferenceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TypedLocalObjectReferenceDie) DieRelease ¶
func (d *TypedLocalObjectReferenceDie) DieRelease() corev1.TypedLocalObjectReference
DieRelease returns the resource managed by the die.
func (*TypedLocalObjectReferenceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *TypedLocalObjectReferenceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TypedLocalObjectReferenceDie) DieReleasePtr ¶
func (d *TypedLocalObjectReferenceDie) DieReleasePtr() *corev1.TypedLocalObjectReference
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TypedLocalObjectReferenceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *TypedLocalObjectReferenceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TypedLocalObjectReferenceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *TypedLocalObjectReferenceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TypedLocalObjectReferenceDie) DieStamp ¶
func (d *TypedLocalObjectReferenceDie) DieStamp(fn func(r *corev1.TypedLocalObjectReference)) *TypedLocalObjectReferenceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TypedLocalObjectReferenceDie) DieStampAt ¶ added in v0.8.0
func (d *TypedLocalObjectReferenceDie) DieStampAt(jp string, fn interface{}) *TypedLocalObjectReferenceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TypedLocalObjectReferenceDie) DieWith ¶ added in v0.9.0
func (d *TypedLocalObjectReferenceDie) DieWith(fns ...func(d *TypedLocalObjectReferenceDie)) *TypedLocalObjectReferenceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TypedLocalObjectReferenceDie) Kind ¶
func (d *TypedLocalObjectReferenceDie) Kind(v string) *TypedLocalObjectReferenceDie
Kind is the type of resource being referenced
func (*TypedLocalObjectReferenceDie) Name ¶
func (d *TypedLocalObjectReferenceDie) Name(v string) *TypedLocalObjectReferenceDie
Name is the name of resource being referenced
type TypedObjectReferenceDie ¶ added in v0.7.0
type TypedObjectReferenceDie struct {
// contains filtered or unexported fields
}
func (*TypedObjectReferenceDie) APIGroup ¶ added in v0.7.0
func (d *TypedObjectReferenceDie) APIGroup(v *string) *TypedObjectReferenceDie
APIGroup is the group for the resource being referenced.
If APIGroup is not specified, the specified Kind must be in the core API group.
For any other third-party types, APIGroup is required.
func (*TypedObjectReferenceDie) DeepCopy ¶ added in v0.7.0
func (d *TypedObjectReferenceDie) DeepCopy() *TypedObjectReferenceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TypedObjectReferenceDie) DieFeed ¶ added in v0.7.0
func (d *TypedObjectReferenceDie) DieFeed(r corev1.TypedObjectReference) *TypedObjectReferenceDie
DieFeed returns a new die with the provided resource.
func (*TypedObjectReferenceDie) DieFeedJSON ¶ added in v0.8.0
func (d *TypedObjectReferenceDie) DieFeedJSON(j []byte) *TypedObjectReferenceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TypedObjectReferenceDie) DieFeedPtr ¶ added in v0.7.0
func (d *TypedObjectReferenceDie) DieFeedPtr(r *corev1.TypedObjectReference) *TypedObjectReferenceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TypedObjectReferenceDie) DieFeedRawExtension ¶ added in v0.7.0
func (d *TypedObjectReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *TypedObjectReferenceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TypedObjectReferenceDie) DieFeedYAML ¶ added in v0.8.0
func (d *TypedObjectReferenceDie) DieFeedYAML(y []byte) *TypedObjectReferenceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TypedObjectReferenceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *TypedObjectReferenceDie) DieFeedYAMLFile(name string) *TypedObjectReferenceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TypedObjectReferenceDie) DieImmutable ¶ added in v0.7.0
func (d *TypedObjectReferenceDie) DieImmutable(immutable bool) *TypedObjectReferenceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TypedObjectReferenceDie) DieRelease ¶ added in v0.7.0
func (d *TypedObjectReferenceDie) DieRelease() corev1.TypedObjectReference
DieRelease returns the resource managed by the die.
func (*TypedObjectReferenceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *TypedObjectReferenceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TypedObjectReferenceDie) DieReleasePtr ¶ added in v0.7.0
func (d *TypedObjectReferenceDie) DieReleasePtr() *corev1.TypedObjectReference
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TypedObjectReferenceDie) DieReleaseRawExtension ¶ added in v0.7.0
func (d *TypedObjectReferenceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TypedObjectReferenceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *TypedObjectReferenceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TypedObjectReferenceDie) DieStamp ¶ added in v0.7.0
func (d *TypedObjectReferenceDie) DieStamp(fn func(r *corev1.TypedObjectReference)) *TypedObjectReferenceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TypedObjectReferenceDie) DieStampAt ¶ added in v0.8.0
func (d *TypedObjectReferenceDie) DieStampAt(jp string, fn interface{}) *TypedObjectReferenceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TypedObjectReferenceDie) DieWith ¶ added in v0.9.0
func (d *TypedObjectReferenceDie) DieWith(fns ...func(d *TypedObjectReferenceDie)) *TypedObjectReferenceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TypedObjectReferenceDie) Kind ¶ added in v0.7.0
func (d *TypedObjectReferenceDie) Kind(v string) *TypedObjectReferenceDie
Kind is the type of resource being referenced
func (*TypedObjectReferenceDie) Name ¶ added in v0.7.0
func (d *TypedObjectReferenceDie) Name(v string) *TypedObjectReferenceDie
Name is the name of resource being referenced
func (*TypedObjectReferenceDie) Namespace ¶ added in v0.7.0
func (d *TypedObjectReferenceDie) Namespace(v *string) *TypedObjectReferenceDie
Namespace is the namespace of resource being referenced
Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.
(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
type VolumeDeviceDie ¶
type VolumeDeviceDie struct {
// contains filtered or unexported fields
}
func (*VolumeDeviceDie) DeepCopy ¶
func (d *VolumeDeviceDie) DeepCopy() *VolumeDeviceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*VolumeDeviceDie) DevicePath ¶
func (d *VolumeDeviceDie) DevicePath(v string) *VolumeDeviceDie
devicePath is the path inside of the container that the device will be mapped to.
func (*VolumeDeviceDie) DieFeed ¶
func (d *VolumeDeviceDie) DieFeed(r corev1.VolumeDevice) *VolumeDeviceDie
DieFeed returns a new die with the provided resource.
func (*VolumeDeviceDie) DieFeedJSON ¶ added in v0.8.0
func (d *VolumeDeviceDie) DieFeedJSON(j []byte) *VolumeDeviceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*VolumeDeviceDie) DieFeedPtr ¶
func (d *VolumeDeviceDie) DieFeedPtr(r *corev1.VolumeDevice) *VolumeDeviceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*VolumeDeviceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *VolumeDeviceDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeDeviceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeDeviceDie) DieFeedYAML ¶ added in v0.8.0
func (d *VolumeDeviceDie) DieFeedYAML(y []byte) *VolumeDeviceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*VolumeDeviceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *VolumeDeviceDie) DieFeedYAMLFile(name string) *VolumeDeviceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*VolumeDeviceDie) DieImmutable ¶
func (d *VolumeDeviceDie) DieImmutable(immutable bool) *VolumeDeviceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*VolumeDeviceDie) DieRelease ¶
func (d *VolumeDeviceDie) DieRelease() corev1.VolumeDevice
DieRelease returns the resource managed by the die.
func (*VolumeDeviceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *VolumeDeviceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*VolumeDeviceDie) DieReleasePtr ¶
func (d *VolumeDeviceDie) DieReleasePtr() *corev1.VolumeDevice
DieReleasePtr returns a pointer to the resource managed by the die.
func (*VolumeDeviceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *VolumeDeviceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeDeviceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *VolumeDeviceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*VolumeDeviceDie) DieStamp ¶
func (d *VolumeDeviceDie) DieStamp(fn func(r *corev1.VolumeDevice)) *VolumeDeviceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*VolumeDeviceDie) DieStampAt ¶ added in v0.8.0
func (d *VolumeDeviceDie) DieStampAt(jp string, fn interface{}) *VolumeDeviceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*VolumeDeviceDie) DieWith ¶ added in v0.9.0
func (d *VolumeDeviceDie) DieWith(fns ...func(d *VolumeDeviceDie)) *VolumeDeviceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*VolumeDeviceDie) Name ¶
func (d *VolumeDeviceDie) Name(v string) *VolumeDeviceDie
name must match the name of a persistentVolumeClaim in the pod
type VolumeDie ¶
type VolumeDie struct {
// contains filtered or unexported fields
}
func (*VolumeDie) AWSElasticBlockStoreDie ¶
func (d *VolumeDie) AWSElasticBlockStoreDie(fn func(d *AWSElasticBlockStoreVolumeSourceDie)) *VolumeDie
func (*VolumeDie) AzureDiskDie ¶
func (d *VolumeDie) AzureDiskDie(fn func(d *AzureDiskVolumeSourceDie)) *VolumeDie
func (*VolumeDie) AzureFileDie ¶
func (d *VolumeDie) AzureFileDie(fn func(d *AzureFileVolumeSourceDie)) *VolumeDie
func (*VolumeDie) CSIDie ¶
func (d *VolumeDie) CSIDie(fn func(d *CSIVolumeSourceDie)) *VolumeDie
func (*VolumeDie) CephFSDie ¶
func (d *VolumeDie) CephFSDie(fn func(d *CephFSVolumeSourceDie)) *VolumeDie
func (*VolumeDie) CinderDie ¶
func (d *VolumeDie) CinderDie(fn func(d *CinderVolumeSourceDie)) *VolumeDie
func (*VolumeDie) ConfigMapDie ¶
func (d *VolumeDie) ConfigMapDie(fn func(d *ConfigMapVolumeSourceDie)) *VolumeDie
func (*VolumeDie) DeepCopy ¶
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*VolumeDie) DieFeedJSON ¶ added in v0.8.0
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*VolumeDie) DieFeedPtr ¶
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*VolumeDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *VolumeDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeDie) DieFeedYAML ¶ added in v0.8.0
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*VolumeDie) DieFeedYAMLFile ¶ added in v0.8.0
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*VolumeDie) DieImmutable ¶
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*VolumeDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*VolumeDie) DieReleaseJSON ¶ added in v0.8.0
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*VolumeDie) DieReleasePtr ¶
DieReleasePtr returns a pointer to the resource managed by the die.
func (*VolumeDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *VolumeDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeDie) DieReleaseYAML ¶ added in v0.8.0
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*VolumeDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*VolumeDie) DieStampAt ¶ added in v0.8.0
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*VolumeDie) DieWith ¶ added in v0.9.0
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*VolumeDie) DownwardAPIDie ¶
func (d *VolumeDie) DownwardAPIDie(fn func(d *DownwardAPIVolumeSourceDie)) *VolumeDie
func (*VolumeDie) EmptyDirDie ¶
func (d *VolumeDie) EmptyDirDie(fn func(d *EmptyDirVolumeSourceDie)) *VolumeDie
func (*VolumeDie) EphemeralDie ¶
func (d *VolumeDie) EphemeralDie(fn func(d *EphemeralVolumeSourceDie)) *VolumeDie
func (*VolumeDie) FCDie ¶
func (d *VolumeDie) FCDie(fn func(d *FCVolumeSourceDie)) *VolumeDie
func (*VolumeDie) FlexVolumeDie ¶
func (d *VolumeDie) FlexVolumeDie(fn func(d *FlexVolumeSourceDie)) *VolumeDie
func (*VolumeDie) FlockerDie ¶
func (d *VolumeDie) FlockerDie(fn func(d *FlockerVolumeSourceDie)) *VolumeDie
func (*VolumeDie) GCEPersistentDiskDie ¶
func (d *VolumeDie) GCEPersistentDiskDie(fn func(d *GCEPersistentDiskVolumeSourceDie)) *VolumeDie
func (*VolumeDie) GitRepoDie ¶
func (d *VolumeDie) GitRepoDie(fn func(d *GitRepoVolumeSourceDie)) *VolumeDie
func (*VolumeDie) GlusterfsDie ¶
func (d *VolumeDie) GlusterfsDie(fn func(d *GlusterfsVolumeSourceDie)) *VolumeDie
func (*VolumeDie) HostPathDie ¶
func (d *VolumeDie) HostPathDie(fn func(d *HostPathVolumeSourceDie)) *VolumeDie
func (*VolumeDie) ISCSIDie ¶
func (d *VolumeDie) ISCSIDie(fn func(d *ISCSIVolumeSourceDie)) *VolumeDie
func (*VolumeDie) NFSDie ¶
func (d *VolumeDie) NFSDie(fn func(d *NFSVolumeSourceDie)) *VolumeDie
func (*VolumeDie) Name ¶
name of the volume.
Must be a DNS_LABEL and unique within the pod.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
func (*VolumeDie) PersistentVolumeClaimDie ¶
func (d *VolumeDie) PersistentVolumeClaimDie(fn func(d *PersistentVolumeClaimVolumeSourceDie)) *VolumeDie
func (*VolumeDie) PhotonPersistentDiskDie ¶
func (d *VolumeDie) PhotonPersistentDiskDie(fn func(d *PhotonPersistentDiskVolumeSourceDie)) *VolumeDie
func (*VolumeDie) PortworxVolumeDie ¶
func (d *VolumeDie) PortworxVolumeDie(fn func(d *PortworxVolumeSourceDie)) *VolumeDie
func (*VolumeDie) ProjectedDie ¶
func (d *VolumeDie) ProjectedDie(fn func(d *ProjectedVolumeSourceDie)) *VolumeDie
func (*VolumeDie) QuobyteDie ¶
func (d *VolumeDie) QuobyteDie(fn func(d *QuobyteVolumeSourceDie)) *VolumeDie
func (*VolumeDie) RBDDie ¶
func (d *VolumeDie) RBDDie(fn func(d *RBDVolumeSourceDie)) *VolumeDie
func (*VolumeDie) ScaleIODie ¶
func (d *VolumeDie) ScaleIODie(fn func(d *ScaleIOVolumeSourceDie)) *VolumeDie
func (*VolumeDie) SecretDie ¶
func (d *VolumeDie) SecretDie(fn func(d *SecretVolumeSourceDie)) *VolumeDie
func (*VolumeDie) StorageOSDie ¶
func (d *VolumeDie) StorageOSDie(fn func(d *StorageOSVolumeSourceDie)) *VolumeDie
func (*VolumeDie) VolumeSource ¶
func (d *VolumeDie) VolumeSource(v corev1.VolumeSource) *VolumeDie
volumeSource represents the location and type of the mounted volume.
If not specified, the Volume is implied to be an EmptyDir.
This implied behavior is deprecated and will be removed in a future version.
func (*VolumeDie) VsphereVolumeDie ¶
func (d *VolumeDie) VsphereVolumeDie(fn func(d *VsphereVirtualDiskVolumeSourceDie)) *VolumeDie
type VolumeMountDie ¶
type VolumeMountDie struct {
// contains filtered or unexported fields
}
func (*VolumeMountDie) DeepCopy ¶
func (d *VolumeMountDie) DeepCopy() *VolumeMountDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*VolumeMountDie) DieFeed ¶
func (d *VolumeMountDie) DieFeed(r corev1.VolumeMount) *VolumeMountDie
DieFeed returns a new die with the provided resource.
func (*VolumeMountDie) DieFeedJSON ¶ added in v0.8.0
func (d *VolumeMountDie) DieFeedJSON(j []byte) *VolumeMountDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*VolumeMountDie) DieFeedPtr ¶
func (d *VolumeMountDie) DieFeedPtr(r *corev1.VolumeMount) *VolumeMountDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*VolumeMountDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *VolumeMountDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeMountDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeMountDie) DieFeedYAML ¶ added in v0.8.0
func (d *VolumeMountDie) DieFeedYAML(y []byte) *VolumeMountDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*VolumeMountDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *VolumeMountDie) DieFeedYAMLFile(name string) *VolumeMountDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*VolumeMountDie) DieImmutable ¶
func (d *VolumeMountDie) DieImmutable(immutable bool) *VolumeMountDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*VolumeMountDie) DieRelease ¶
func (d *VolumeMountDie) DieRelease() corev1.VolumeMount
DieRelease returns the resource managed by the die.
func (*VolumeMountDie) DieReleaseJSON ¶ added in v0.8.0
func (d *VolumeMountDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*VolumeMountDie) DieReleasePtr ¶
func (d *VolumeMountDie) DieReleasePtr() *corev1.VolumeMount
DieReleasePtr returns a pointer to the resource managed by the die.
func (*VolumeMountDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *VolumeMountDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeMountDie) DieReleaseYAML ¶ added in v0.8.0
func (d *VolumeMountDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*VolumeMountDie) DieStamp ¶
func (d *VolumeMountDie) DieStamp(fn func(r *corev1.VolumeMount)) *VolumeMountDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*VolumeMountDie) DieStampAt ¶ added in v0.8.0
func (d *VolumeMountDie) DieStampAt(jp string, fn interface{}) *VolumeMountDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*VolumeMountDie) DieWith ¶ added in v0.9.0
func (d *VolumeMountDie) DieWith(fns ...func(d *VolumeMountDie)) *VolumeMountDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*VolumeMountDie) MountPath ¶
func (d *VolumeMountDie) MountPath(v string) *VolumeMountDie
Path within the container at which the volume should be mounted. Must
not contain ':'.
func (*VolumeMountDie) MountPropagation ¶
func (d *VolumeMountDie) MountPropagation(v *corev1.MountPropagationMode) *VolumeMountDie
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
func (*VolumeMountDie) Name ¶
func (d *VolumeMountDie) Name(v string) *VolumeMountDie
This must match the Name of a Volume.
func (*VolumeMountDie) ReadOnly ¶
func (d *VolumeMountDie) ReadOnly(v bool) *VolumeMountDie
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
func (*VolumeMountDie) SubPath ¶
func (d *VolumeMountDie) SubPath(v string) *VolumeMountDie
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
func (*VolumeMountDie) SubPathExpr ¶
func (d *VolumeMountDie) SubPathExpr(v string) *VolumeMountDie
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type VolumeNodeAffinityDie ¶
type VolumeNodeAffinityDie struct {
// contains filtered or unexported fields
}
func (*VolumeNodeAffinityDie) DeepCopy ¶
func (d *VolumeNodeAffinityDie) DeepCopy() *VolumeNodeAffinityDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*VolumeNodeAffinityDie) DieFeed ¶
func (d *VolumeNodeAffinityDie) DieFeed(r corev1.VolumeNodeAffinity) *VolumeNodeAffinityDie
DieFeed returns a new die with the provided resource.
func (*VolumeNodeAffinityDie) DieFeedJSON ¶ added in v0.8.0
func (d *VolumeNodeAffinityDie) DieFeedJSON(j []byte) *VolumeNodeAffinityDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*VolumeNodeAffinityDie) DieFeedPtr ¶
func (d *VolumeNodeAffinityDie) DieFeedPtr(r *corev1.VolumeNodeAffinity) *VolumeNodeAffinityDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*VolumeNodeAffinityDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *VolumeNodeAffinityDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeNodeAffinityDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeNodeAffinityDie) DieFeedYAML ¶ added in v0.8.0
func (d *VolumeNodeAffinityDie) DieFeedYAML(y []byte) *VolumeNodeAffinityDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*VolumeNodeAffinityDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *VolumeNodeAffinityDie) DieFeedYAMLFile(name string) *VolumeNodeAffinityDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*VolumeNodeAffinityDie) DieImmutable ¶
func (d *VolumeNodeAffinityDie) DieImmutable(immutable bool) *VolumeNodeAffinityDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*VolumeNodeAffinityDie) DieRelease ¶
func (d *VolumeNodeAffinityDie) DieRelease() corev1.VolumeNodeAffinity
DieRelease returns the resource managed by the die.
func (*VolumeNodeAffinityDie) DieReleaseJSON ¶ added in v0.8.0
func (d *VolumeNodeAffinityDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*VolumeNodeAffinityDie) DieReleasePtr ¶
func (d *VolumeNodeAffinityDie) DieReleasePtr() *corev1.VolumeNodeAffinity
DieReleasePtr returns a pointer to the resource managed by the die.
func (*VolumeNodeAffinityDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *VolumeNodeAffinityDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeNodeAffinityDie) DieReleaseYAML ¶ added in v0.8.0
func (d *VolumeNodeAffinityDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*VolumeNodeAffinityDie) DieStamp ¶
func (d *VolumeNodeAffinityDie) DieStamp(fn func(r *corev1.VolumeNodeAffinity)) *VolumeNodeAffinityDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*VolumeNodeAffinityDie) DieStampAt ¶ added in v0.8.0
func (d *VolumeNodeAffinityDie) DieStampAt(jp string, fn interface{}) *VolumeNodeAffinityDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*VolumeNodeAffinityDie) DieWith ¶ added in v0.9.0
func (d *VolumeNodeAffinityDie) DieWith(fns ...func(d *VolumeNodeAffinityDie)) *VolumeNodeAffinityDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*VolumeNodeAffinityDie) Required ¶
func (d *VolumeNodeAffinityDie) Required(v *corev1.NodeSelector) *VolumeNodeAffinityDie
required specifies hard node constraints that must be met.
func (*VolumeNodeAffinityDie) RequiredDie ¶
func (d *VolumeNodeAffinityDie) RequiredDie(fn func(d *NodeSelectorDie)) *VolumeNodeAffinityDie
type VolumeProjectionDie ¶
type VolumeProjectionDie struct {
// contains filtered or unexported fields
}
func (*VolumeProjectionDie) ClusterTrustBundle ¶ added in v0.10.0
func (d *VolumeProjectionDie) ClusterTrustBundle(v *corev1.ClusterTrustBundleProjection) *VolumeProjectionDie
ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field
of ClusterTrustBundle objects in an auto-updating file.
Alpha, gated by the ClusterTrustBundleProjection feature gate.
ClusterTrustBundle objects can either be selected by name, or by the ¶
combination of signer name and a label selector.
Kubelet performs aggressive normalization of the PEM contents written ¶
into the pod filesystem. Esoteric PEM features such as inter-block
comments and block headers are stripped. Certificates are deduplicated.
The ordering of certificates within the file is arbitrary, and Kubelet ¶
may change the order over time.
func (*VolumeProjectionDie) ClusterTrustBundleDie ¶ added in v0.10.0
func (d *VolumeProjectionDie) ClusterTrustBundleDie(fn func(d *ClusterTrustBundleProjectionDie)) *VolumeProjectionDie
func (*VolumeProjectionDie) ConfigMap ¶
func (d *VolumeProjectionDie) ConfigMap(v *corev1.ConfigMapProjection) *VolumeProjectionDie
configMap information about the configMap data to project
func (*VolumeProjectionDie) ConfigMapDie ¶
func (d *VolumeProjectionDie) ConfigMapDie(fn func(d *ConfigMapProjectionDie)) *VolumeProjectionDie
func (*VolumeProjectionDie) DeepCopy ¶
func (d *VolumeProjectionDie) DeepCopy() *VolumeProjectionDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*VolumeProjectionDie) DieFeed ¶
func (d *VolumeProjectionDie) DieFeed(r corev1.VolumeProjection) *VolumeProjectionDie
DieFeed returns a new die with the provided resource.
func (*VolumeProjectionDie) DieFeedJSON ¶ added in v0.8.0
func (d *VolumeProjectionDie) DieFeedJSON(j []byte) *VolumeProjectionDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*VolumeProjectionDie) DieFeedPtr ¶
func (d *VolumeProjectionDie) DieFeedPtr(r *corev1.VolumeProjection) *VolumeProjectionDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*VolumeProjectionDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *VolumeProjectionDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeProjectionDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeProjectionDie) DieFeedYAML ¶ added in v0.8.0
func (d *VolumeProjectionDie) DieFeedYAML(y []byte) *VolumeProjectionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*VolumeProjectionDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *VolumeProjectionDie) DieFeedYAMLFile(name string) *VolumeProjectionDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*VolumeProjectionDie) DieImmutable ¶
func (d *VolumeProjectionDie) DieImmutable(immutable bool) *VolumeProjectionDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*VolumeProjectionDie) DieRelease ¶
func (d *VolumeProjectionDie) DieRelease() corev1.VolumeProjection
DieRelease returns the resource managed by the die.
func (*VolumeProjectionDie) DieReleaseJSON ¶ added in v0.8.0
func (d *VolumeProjectionDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*VolumeProjectionDie) DieReleasePtr ¶
func (d *VolumeProjectionDie) DieReleasePtr() *corev1.VolumeProjection
DieReleasePtr returns a pointer to the resource managed by the die.
func (*VolumeProjectionDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *VolumeProjectionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeProjectionDie) DieReleaseYAML ¶ added in v0.8.0
func (d *VolumeProjectionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*VolumeProjectionDie) DieStamp ¶
func (d *VolumeProjectionDie) DieStamp(fn func(r *corev1.VolumeProjection)) *VolumeProjectionDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*VolumeProjectionDie) DieStampAt ¶ added in v0.8.0
func (d *VolumeProjectionDie) DieStampAt(jp string, fn interface{}) *VolumeProjectionDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*VolumeProjectionDie) DieWith ¶ added in v0.9.0
func (d *VolumeProjectionDie) DieWith(fns ...func(d *VolumeProjectionDie)) *VolumeProjectionDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*VolumeProjectionDie) DownwardAPI ¶
func (d *VolumeProjectionDie) DownwardAPI(v *corev1.DownwardAPIProjection) *VolumeProjectionDie
downwardAPI information about the downwardAPI data to project
func (*VolumeProjectionDie) DownwardAPIDie ¶
func (d *VolumeProjectionDie) DownwardAPIDie(fn func(d *DownwardAPIProjectionDie)) *VolumeProjectionDie
func (*VolumeProjectionDie) Secret ¶
func (d *VolumeProjectionDie) Secret(v *corev1.SecretProjection) *VolumeProjectionDie
secret information about the secret data to project
func (*VolumeProjectionDie) SecretDie ¶
func (d *VolumeProjectionDie) SecretDie(fn func(d *SecretProjectionDie)) *VolumeProjectionDie
func (*VolumeProjectionDie) ServiceAccountToken ¶
func (d *VolumeProjectionDie) ServiceAccountToken(v *corev1.ServiceAccountTokenProjection) *VolumeProjectionDie
serviceAccountToken is information about the serviceAccountToken data to project
func (*VolumeProjectionDie) ServiceAccountTokenDie ¶
func (d *VolumeProjectionDie) ServiceAccountTokenDie(fn func(d *ServiceAccountTokenProjectionDie)) *VolumeProjectionDie
type VolumeResourceRequirementsDie ¶ added in v0.10.0
type VolumeResourceRequirementsDie struct {
// contains filtered or unexported fields
}
func (*VolumeResourceRequirementsDie) AddLimit ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) AddLimit(name corev1.ResourceName, quantity resource.Quantity) *VolumeResourceRequirementsDie
func (*VolumeResourceRequirementsDie) AddLimitString ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) AddLimitString(name corev1.ResourceName, quantity string) *VolumeResourceRequirementsDie
func (*VolumeResourceRequirementsDie) AddRequest ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) AddRequest(name corev1.ResourceName, quantity resource.Quantity) *VolumeResourceRequirementsDie
func (*VolumeResourceRequirementsDie) AddRequestString ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) AddRequestString(name corev1.ResourceName, quantity string) *VolumeResourceRequirementsDie
func (*VolumeResourceRequirementsDie) DeepCopy ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) DeepCopy() *VolumeResourceRequirementsDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*VolumeResourceRequirementsDie) DieFeed ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) DieFeed(r corev1.VolumeResourceRequirements) *VolumeResourceRequirementsDie
DieFeed returns a new die with the provided resource.
func (*VolumeResourceRequirementsDie) DieFeedJSON ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) DieFeedJSON(j []byte) *VolumeResourceRequirementsDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*VolumeResourceRequirementsDie) DieFeedPtr ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) DieFeedPtr(r *corev1.VolumeResourceRequirements) *VolumeResourceRequirementsDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*VolumeResourceRequirementsDie) DieFeedRawExtension ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeResourceRequirementsDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeResourceRequirementsDie) DieFeedYAML ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) DieFeedYAML(y []byte) *VolumeResourceRequirementsDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*VolumeResourceRequirementsDie) DieFeedYAMLFile ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) DieFeedYAMLFile(name string) *VolumeResourceRequirementsDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*VolumeResourceRequirementsDie) DieImmutable ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) DieImmutable(immutable bool) *VolumeResourceRequirementsDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*VolumeResourceRequirementsDie) DieRelease ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) DieRelease() corev1.VolumeResourceRequirements
DieRelease returns the resource managed by the die.
func (*VolumeResourceRequirementsDie) DieReleaseJSON ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*VolumeResourceRequirementsDie) DieReleasePtr ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) DieReleasePtr() *corev1.VolumeResourceRequirements
DieReleasePtr returns a pointer to the resource managed by the die.
func (*VolumeResourceRequirementsDie) DieReleaseRawExtension ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeResourceRequirementsDie) DieReleaseYAML ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*VolumeResourceRequirementsDie) DieStamp ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) DieStamp(fn func(r *corev1.VolumeResourceRequirements)) *VolumeResourceRequirementsDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*VolumeResourceRequirementsDie) DieStampAt ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) DieStampAt(jp string, fn interface{}) *VolumeResourceRequirementsDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*VolumeResourceRequirementsDie) DieWith ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) DieWith(fns ...func(d *VolumeResourceRequirementsDie)) *VolumeResourceRequirementsDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*VolumeResourceRequirementsDie) Limits ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) Limits(v corev1.ResourceList) *VolumeResourceRequirementsDie
Limits describes the maximum amount of compute resources allowed.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
func (*VolumeResourceRequirementsDie) Requests ¶ added in v0.10.0
func (d *VolumeResourceRequirementsDie) Requests(v corev1.ResourceList) *VolumeResourceRequirementsDie
Requests describes the minimum amount of compute resources required.
If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
otherwise to an implementation-defined value. Requests cannot exceed Limits.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
type VsphereVirtualDiskVolumeSourceDie ¶
type VsphereVirtualDiskVolumeSourceDie struct {
// contains filtered or unexported fields
}
func (*VsphereVirtualDiskVolumeSourceDie) DeepCopy ¶
func (d *VsphereVirtualDiskVolumeSourceDie) DeepCopy() *VsphereVirtualDiskVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*VsphereVirtualDiskVolumeSourceDie) DieFeed ¶
func (d *VsphereVirtualDiskVolumeSourceDie) DieFeed(r corev1.VsphereVirtualDiskVolumeSource) *VsphereVirtualDiskVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*VsphereVirtualDiskVolumeSourceDie) DieFeedJSON ¶ added in v0.8.0
func (d *VsphereVirtualDiskVolumeSourceDie) DieFeedJSON(j []byte) *VsphereVirtualDiskVolumeSourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*VsphereVirtualDiskVolumeSourceDie) DieFeedPtr ¶
func (d *VsphereVirtualDiskVolumeSourceDie) DieFeedPtr(r *corev1.VsphereVirtualDiskVolumeSource) *VsphereVirtualDiskVolumeSourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*VsphereVirtualDiskVolumeSourceDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *VsphereVirtualDiskVolumeSourceDie) DieFeedRawExtension(raw runtime.RawExtension) *VsphereVirtualDiskVolumeSourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VsphereVirtualDiskVolumeSourceDie) DieFeedYAML ¶ added in v0.8.0
func (d *VsphereVirtualDiskVolumeSourceDie) DieFeedYAML(y []byte) *VsphereVirtualDiskVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*VsphereVirtualDiskVolumeSourceDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *VsphereVirtualDiskVolumeSourceDie) DieFeedYAMLFile(name string) *VsphereVirtualDiskVolumeSourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*VsphereVirtualDiskVolumeSourceDie) DieImmutable ¶
func (d *VsphereVirtualDiskVolumeSourceDie) DieImmutable(immutable bool) *VsphereVirtualDiskVolumeSourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*VsphereVirtualDiskVolumeSourceDie) DieRelease ¶
func (d *VsphereVirtualDiskVolumeSourceDie) DieRelease() corev1.VsphereVirtualDiskVolumeSource
DieRelease returns the resource managed by the die.
func (*VsphereVirtualDiskVolumeSourceDie) DieReleaseJSON ¶ added in v0.8.0
func (d *VsphereVirtualDiskVolumeSourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*VsphereVirtualDiskVolumeSourceDie) DieReleasePtr ¶
func (d *VsphereVirtualDiskVolumeSourceDie) DieReleasePtr() *corev1.VsphereVirtualDiskVolumeSource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*VsphereVirtualDiskVolumeSourceDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *VsphereVirtualDiskVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VsphereVirtualDiskVolumeSourceDie) DieReleaseYAML ¶ added in v0.8.0
func (d *VsphereVirtualDiskVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*VsphereVirtualDiskVolumeSourceDie) DieStamp ¶
func (d *VsphereVirtualDiskVolumeSourceDie) DieStamp(fn func(r *corev1.VsphereVirtualDiskVolumeSource)) *VsphereVirtualDiskVolumeSourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*VsphereVirtualDiskVolumeSourceDie) DieStampAt ¶ added in v0.8.0
func (d *VsphereVirtualDiskVolumeSourceDie) DieStampAt(jp string, fn interface{}) *VsphereVirtualDiskVolumeSourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*VsphereVirtualDiskVolumeSourceDie) DieWith ¶ added in v0.9.0
func (d *VsphereVirtualDiskVolumeSourceDie) DieWith(fns ...func(d *VsphereVirtualDiskVolumeSourceDie)) *VsphereVirtualDiskVolumeSourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*VsphereVirtualDiskVolumeSourceDie) FSType ¶
func (d *VsphereVirtualDiskVolumeSourceDie) FSType(v string) *VsphereVirtualDiskVolumeSourceDie
fsType is filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
func (*VsphereVirtualDiskVolumeSourceDie) StoragePolicyID ¶
func (d *VsphereVirtualDiskVolumeSourceDie) StoragePolicyID(v string) *VsphereVirtualDiskVolumeSourceDie
storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
func (*VsphereVirtualDiskVolumeSourceDie) StoragePolicyName ¶
func (d *VsphereVirtualDiskVolumeSourceDie) StoragePolicyName(v string) *VsphereVirtualDiskVolumeSourceDie
storagePolicyName is the storage Policy Based Management (SPBM) profile name.
func (*VsphereVirtualDiskVolumeSourceDie) VolumePath ¶
func (d *VsphereVirtualDiskVolumeSourceDie) VolumePath(v string) *VsphereVirtualDiskVolumeSourceDie
volumePath is the path that identifies vSphere volume vmdk
type WindowsSecurityContextOptionsDie ¶
type WindowsSecurityContextOptionsDie struct {
// contains filtered or unexported fields
}
func (*WindowsSecurityContextOptionsDie) DeepCopy ¶
func (d *WindowsSecurityContextOptionsDie) DeepCopy() *WindowsSecurityContextOptionsDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*WindowsSecurityContextOptionsDie) DieFeed ¶
func (d *WindowsSecurityContextOptionsDie) DieFeed(r corev1.WindowsSecurityContextOptions) *WindowsSecurityContextOptionsDie
DieFeed returns a new die with the provided resource.
func (*WindowsSecurityContextOptionsDie) DieFeedJSON ¶ added in v0.8.0
func (d *WindowsSecurityContextOptionsDie) DieFeedJSON(j []byte) *WindowsSecurityContextOptionsDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*WindowsSecurityContextOptionsDie) DieFeedPtr ¶
func (d *WindowsSecurityContextOptionsDie) DieFeedPtr(r *corev1.WindowsSecurityContextOptions) *WindowsSecurityContextOptionsDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*WindowsSecurityContextOptionsDie) DieFeedRawExtension ¶ added in v0.5.0
func (d *WindowsSecurityContextOptionsDie) DieFeedRawExtension(raw runtime.RawExtension) *WindowsSecurityContextOptionsDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*WindowsSecurityContextOptionsDie) DieFeedYAML ¶ added in v0.8.0
func (d *WindowsSecurityContextOptionsDie) DieFeedYAML(y []byte) *WindowsSecurityContextOptionsDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*WindowsSecurityContextOptionsDie) DieFeedYAMLFile ¶ added in v0.8.0
func (d *WindowsSecurityContextOptionsDie) DieFeedYAMLFile(name string) *WindowsSecurityContextOptionsDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*WindowsSecurityContextOptionsDie) DieImmutable ¶
func (d *WindowsSecurityContextOptionsDie) DieImmutable(immutable bool) *WindowsSecurityContextOptionsDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*WindowsSecurityContextOptionsDie) DieRelease ¶
func (d *WindowsSecurityContextOptionsDie) DieRelease() corev1.WindowsSecurityContextOptions
DieRelease returns the resource managed by the die.
func (*WindowsSecurityContextOptionsDie) DieReleaseJSON ¶ added in v0.8.0
func (d *WindowsSecurityContextOptionsDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*WindowsSecurityContextOptionsDie) DieReleasePtr ¶
func (d *WindowsSecurityContextOptionsDie) DieReleasePtr() *corev1.WindowsSecurityContextOptions
DieReleasePtr returns a pointer to the resource managed by the die.
func (*WindowsSecurityContextOptionsDie) DieReleaseRawExtension ¶ added in v0.5.0
func (d *WindowsSecurityContextOptionsDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*WindowsSecurityContextOptionsDie) DieReleaseYAML ¶ added in v0.8.0
func (d *WindowsSecurityContextOptionsDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*WindowsSecurityContextOptionsDie) DieStamp ¶
func (d *WindowsSecurityContextOptionsDie) DieStamp(fn func(r *corev1.WindowsSecurityContextOptions)) *WindowsSecurityContextOptionsDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*WindowsSecurityContextOptionsDie) DieStampAt ¶ added in v0.8.0
func (d *WindowsSecurityContextOptionsDie) DieStampAt(jp string, fn interface{}) *WindowsSecurityContextOptionsDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*WindowsSecurityContextOptionsDie) DieWith ¶ added in v0.9.0
func (d *WindowsSecurityContextOptionsDie) DieWith(fns ...func(d *WindowsSecurityContextOptionsDie)) *WindowsSecurityContextOptionsDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*WindowsSecurityContextOptionsDie) GMSACredentialSpec ¶
func (d *WindowsSecurityContextOptionsDie) GMSACredentialSpec(v *string) *WindowsSecurityContextOptionsDie
GMSACredentialSpec is where the GMSA admission webhook
(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
GMSA credential spec named by the GMSACredentialSpecName field.
func (*WindowsSecurityContextOptionsDie) GMSACredentialSpecName ¶
func (d *WindowsSecurityContextOptionsDie) GMSACredentialSpecName(v *string) *WindowsSecurityContextOptionsDie
GMSACredentialSpecName is the name of the GMSA credential spec to use.
func (*WindowsSecurityContextOptionsDie) HostProcess ¶
func (d *WindowsSecurityContextOptionsDie) HostProcess(v *bool) *WindowsSecurityContextOptionsDie
HostProcess determines if a container should be run as a 'Host Process' container.
All of a Pod's containers must have the same effective HostProcess value ¶
(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).
In addition, if HostProcess is true then HostNetwork must also be set to true.
func (*WindowsSecurityContextOptionsDie) RunAsUserName ¶
func (d *WindowsSecurityContextOptionsDie) RunAsUserName(v *string) *WindowsSecurityContextOptionsDie
The UserName in Windows to run the entrypoint of the container process.
Defaults to the user specified in image metadata if unspecified.
May also be set in PodSecurityContext. If set in both SecurityContext and
PodSecurityContext, the value specified in SecurityContext takes precedence.
Source Files
¶
- binding.go
- common.go
- componentstatus.go
- configmap.go
- container.go
- endpoints.go
- event.go
- limitrange.go
- namespace.go
- node.go
- persistantvolume.go
- persistantvolumeclaim.go
- pod.go
- podtemplate.go
- replicationcontroller.go
- resourcequota.go
- secret.go
- service.go
- serviceaccount.go
- volume.go
- zz_generated.die.go