Documentation ¶
Index ¶
- Variables
- type AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) DeepCopy() *AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieSealFeed(r corev1.AWSElasticBlockStoreVolumeSource) *AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieSealFeedPtr(r *corev1.AWSElasticBlockStoreVolumeSource) *AWSElasticBlockStoreVolumeSourceDie
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieSealRelease() corev1.AWSElasticBlockStoreVolumeSource
- func (d *AWSElasticBlockStoreVolumeSourceDie) DieSealReleasePtr() *corev1.AWSElasticBlockStoreVolumeSource
- 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 AppArmorProfileDie
- func (d *AppArmorProfileDie) DeepCopy() *AppArmorProfileDie
- func (d *AppArmorProfileDie) DieDiff(opts ...cmp.Option) string
- func (d *AppArmorProfileDie) DieFeed(r corev1.AppArmorProfile) *AppArmorProfileDie
- func (d *AppArmorProfileDie) DieFeedJSON(j []byte) *AppArmorProfileDie
- func (d *AppArmorProfileDie) DieFeedPtr(r *corev1.AppArmorProfile) *AppArmorProfileDie
- func (d *AppArmorProfileDie) DieFeedRawExtension(raw runtime.RawExtension) *AppArmorProfileDie
- func (d *AppArmorProfileDie) DieFeedYAML(y []byte) *AppArmorProfileDie
- func (d *AppArmorProfileDie) DieFeedYAMLFile(name string) *AppArmorProfileDie
- func (d *AppArmorProfileDie) DieImmutable(immutable bool) *AppArmorProfileDie
- func (d *AppArmorProfileDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *AppArmorProfileDie) DieRelease() corev1.AppArmorProfile
- func (d *AppArmorProfileDie) DieReleaseJSON() []byte
- func (d *AppArmorProfileDie) DieReleasePtr() *corev1.AppArmorProfile
- func (d *AppArmorProfileDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *AppArmorProfileDie) DieReleaseYAML() []byte
- func (d *AppArmorProfileDie) DieSeal() *AppArmorProfileDie
- func (d *AppArmorProfileDie) DieSealFeed(r corev1.AppArmorProfile) *AppArmorProfileDie
- func (d *AppArmorProfileDie) DieSealFeedPtr(r *corev1.AppArmorProfile) *AppArmorProfileDie
- func (d *AppArmorProfileDie) DieSealRelease() corev1.AppArmorProfile
- func (d *AppArmorProfileDie) DieSealReleasePtr() *corev1.AppArmorProfile
- func (d *AppArmorProfileDie) DieStamp(fn func(r *corev1.AppArmorProfile)) *AppArmorProfileDie
- func (d *AppArmorProfileDie) DieStampAt(jp string, fn interface{}) *AppArmorProfileDie
- func (d *AppArmorProfileDie) DieWith(fns ...func(d *AppArmorProfileDie)) *AppArmorProfileDie
- func (d *AppArmorProfileDie) LocalhostProfile(v *string) *AppArmorProfileDie
- func (d *AppArmorProfileDie) Type(v corev1.AppArmorProfileType) *AppArmorProfileDie
- type AttachedVolumeDie
- func (d *AttachedVolumeDie) DeepCopy() *AttachedVolumeDie
- func (d *AttachedVolumeDie) DevicePath(v string) *AttachedVolumeDie
- func (d *AttachedVolumeDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *AttachedVolumeDie
- func (d *AttachedVolumeDie) DieSealFeed(r corev1.AttachedVolume) *AttachedVolumeDie
- func (d *AttachedVolumeDie) DieSealFeedPtr(r *corev1.AttachedVolume) *AttachedVolumeDie
- func (d *AttachedVolumeDie) DieSealRelease() corev1.AttachedVolume
- func (d *AttachedVolumeDie) DieSealReleasePtr() *corev1.AttachedVolume
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) DieSealFeed(r corev1.AzureDiskVolumeSource) *AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) DieSealFeedPtr(r *corev1.AzureDiskVolumeSource) *AzureDiskVolumeSourceDie
- func (d *AzureDiskVolumeSourceDie) DieSealRelease() corev1.AzureDiskVolumeSource
- func (d *AzureDiskVolumeSourceDie) DieSealReleasePtr() *corev1.AzureDiskVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *AzureFilePersistentVolumeSourceDie
- func (d *AzureFilePersistentVolumeSourceDie) DieSealFeed(r corev1.AzureFilePersistentVolumeSource) *AzureFilePersistentVolumeSourceDie
- func (d *AzureFilePersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.AzureFilePersistentVolumeSource) *AzureFilePersistentVolumeSourceDie
- func (d *AzureFilePersistentVolumeSourceDie) DieSealRelease() corev1.AzureFilePersistentVolumeSource
- func (d *AzureFilePersistentVolumeSourceDie) DieSealReleasePtr() *corev1.AzureFilePersistentVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *AzureFileVolumeSourceDie
- func (d *AzureFileVolumeSourceDie) DieSealFeed(r corev1.AzureFileVolumeSource) *AzureFileVolumeSourceDie
- func (d *AzureFileVolumeSourceDie) DieSealFeedPtr(r *corev1.AzureFileVolumeSource) *AzureFileVolumeSourceDie
- func (d *AzureFileVolumeSourceDie) DieSealRelease() corev1.AzureFileVolumeSource
- func (d *AzureFileVolumeSourceDie) DieSealReleasePtr() *corev1.AzureFileVolumeSource
- 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) DieDefaultTypeMetadata() *BindingDie
- func (d *BindingDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *BindingDie
- func (d *BindingDie) DieSealFeed(r corev1.Binding) *BindingDie
- func (d *BindingDie) DieSealFeedPtr(r *corev1.Binding) *BindingDie
- func (d *BindingDie) DieSealRelease() corev1.Binding
- func (d *BindingDie) DieSealReleasePtr() *corev1.Binding
- 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) Metadata(v apismetav1.ObjectMeta) *BindingDie
- 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) TypeMetadata(v apismetav1.TypeMeta) *BindingDie
- func (d *BindingDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) DieSealFeed(r corev1.CSIPersistentVolumeSource) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.CSIPersistentVolumeSource) *CSIPersistentVolumeSourceDie
- func (d *CSIPersistentVolumeSourceDie) DieSealRelease() corev1.CSIPersistentVolumeSource
- func (d *CSIPersistentVolumeSourceDie) DieSealReleasePtr() *corev1.CSIPersistentVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) DieSealFeed(r corev1.CSIVolumeSource) *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) DieSealFeedPtr(r *corev1.CSIVolumeSource) *CSIVolumeSourceDie
- func (d *CSIVolumeSourceDie) DieSealRelease() corev1.CSIVolumeSource
- func (d *CSIVolumeSourceDie) DieSealReleasePtr() *corev1.CSIVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *CapabilitiesDie
- func (d *CapabilitiesDie) DieSealFeed(r corev1.Capabilities) *CapabilitiesDie
- func (d *CapabilitiesDie) DieSealFeedPtr(r *corev1.Capabilities) *CapabilitiesDie
- func (d *CapabilitiesDie) DieSealRelease() corev1.Capabilities
- func (d *CapabilitiesDie) DieSealReleasePtr() *corev1.Capabilities
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) DieSealFeed(r corev1.CephFSPersistentVolumeSource) *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.CephFSPersistentVolumeSource) *CephFSPersistentVolumeSourceDie
- func (d *CephFSPersistentVolumeSourceDie) DieSealRelease() corev1.CephFSPersistentVolumeSource
- func (d *CephFSPersistentVolumeSourceDie) DieSealReleasePtr() *corev1.CephFSPersistentVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) DieSealFeed(r corev1.CephFSVolumeSource) *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) DieSealFeedPtr(r *corev1.CephFSVolumeSource) *CephFSVolumeSourceDie
- func (d *CephFSVolumeSourceDie) DieSealRelease() corev1.CephFSVolumeSource
- func (d *CephFSVolumeSourceDie) DieSealReleasePtr() *corev1.CephFSVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *CinderPersistentVolumeSourceDie
- func (d *CinderPersistentVolumeSourceDie) DieSealFeed(r corev1.CinderPersistentVolumeSource) *CinderPersistentVolumeSourceDie
- func (d *CinderPersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.CinderPersistentVolumeSource) *CinderPersistentVolumeSourceDie
- func (d *CinderPersistentVolumeSourceDie) DieSealRelease() corev1.CinderPersistentVolumeSource
- func (d *CinderPersistentVolumeSourceDie) DieSealReleasePtr() *corev1.CinderPersistentVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *CinderVolumeSourceDie
- func (d *CinderVolumeSourceDie) DieSealFeed(r corev1.CinderVolumeSource) *CinderVolumeSourceDie
- func (d *CinderVolumeSourceDie) DieSealFeedPtr(r *corev1.CinderVolumeSource) *CinderVolumeSourceDie
- func (d *CinderVolumeSourceDie) DieSealRelease() corev1.CinderVolumeSource
- func (d *CinderVolumeSourceDie) DieSealReleasePtr() *corev1.CinderVolumeSource
- 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 ClientIPConfigDie
- func (d *ClientIPConfigDie) DeepCopy() *ClientIPConfigDie
- func (d *ClientIPConfigDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ClientIPConfigDie
- func (d *ClientIPConfigDie) DieSealFeed(r corev1.ClientIPConfig) *ClientIPConfigDie
- func (d *ClientIPConfigDie) DieSealFeedPtr(r *corev1.ClientIPConfig) *ClientIPConfigDie
- func (d *ClientIPConfigDie) DieSealRelease() corev1.ClientIPConfig
- func (d *ClientIPConfigDie) DieSealReleasePtr() *corev1.ClientIPConfig
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) DieSealFeed(r corev1.ClusterTrustBundleProjection) *ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) DieSealFeedPtr(r *corev1.ClusterTrustBundleProjection) *ClusterTrustBundleProjectionDie
- func (d *ClusterTrustBundleProjectionDie) DieSealRelease() corev1.ClusterTrustBundleProjection
- func (d *ClusterTrustBundleProjectionDie) DieSealReleasePtr() *corev1.ClusterTrustBundleProjection
- 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 *metav1.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) DieDefaultTypeMetadata() *ComponentStatusDie
- func (d *ComponentStatusDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ComponentStatusDie
- func (d *ComponentStatusDie) DieSealFeed(r corev1.ComponentStatus) *ComponentStatusDie
- func (d *ComponentStatusDie) DieSealFeedPtr(r *corev1.ComponentStatus) *ComponentStatusDie
- func (d *ComponentStatusDie) DieSealRelease() corev1.ComponentStatus
- func (d *ComponentStatusDie) DieSealReleasePtr() *corev1.ComponentStatus
- 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) Metadata(v apismetav1.ObjectMeta) *ComponentStatusDie
- func (d *ComponentStatusDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ComponentStatusDie
- func (d *ComponentStatusDie) TypeMetadata(v apismetav1.TypeMeta) *ComponentStatusDie
- func (d *ComponentStatusDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *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) DieDefaultTypeMetadata() *ConfigMapDie
- func (d *ConfigMapDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ConfigMapDie
- func (d *ConfigMapDie) DieSealFeed(r corev1.ConfigMap) *ConfigMapDie
- func (d *ConfigMapDie) DieSealFeedPtr(r *corev1.ConfigMap) *ConfigMapDie
- func (d *ConfigMapDie) DieSealRelease() corev1.ConfigMap
- func (d *ConfigMapDie) DieSealReleasePtr() *corev1.ConfigMap
- 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) Metadata(v apismetav1.ObjectMeta) *ConfigMapDie
- func (d *ConfigMapDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ConfigMapDie
- func (d *ConfigMapDie) TypeMetadata(v apismetav1.TypeMeta) *ConfigMapDie
- func (d *ConfigMapDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *ConfigMapDie
- func (d *ConfigMapDie) UnmarshalJSON(b []byte) error
- type ConfigMapEnvSourceDie
- func (d *ConfigMapEnvSourceDie) DeepCopy() *ConfigMapEnvSourceDie
- func (d *ConfigMapEnvSourceDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ConfigMapEnvSourceDie
- func (d *ConfigMapEnvSourceDie) DieSealFeed(r corev1.ConfigMapEnvSource) *ConfigMapEnvSourceDie
- func (d *ConfigMapEnvSourceDie) DieSealFeedPtr(r *corev1.ConfigMapEnvSource) *ConfigMapEnvSourceDie
- func (d *ConfigMapEnvSourceDie) DieSealRelease() corev1.ConfigMapEnvSource
- func (d *ConfigMapEnvSourceDie) DieSealReleasePtr() *corev1.ConfigMapEnvSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ConfigMapKeySelectorDie
- func (d *ConfigMapKeySelectorDie) DieSealFeed(r corev1.ConfigMapKeySelector) *ConfigMapKeySelectorDie
- func (d *ConfigMapKeySelectorDie) DieSealFeedPtr(r *corev1.ConfigMapKeySelector) *ConfigMapKeySelectorDie
- func (d *ConfigMapKeySelectorDie) DieSealRelease() corev1.ConfigMapKeySelector
- func (d *ConfigMapKeySelectorDie) DieSealReleasePtr() *corev1.ConfigMapKeySelector
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ConfigMapNodeConfigSourceDie
- func (d *ConfigMapNodeConfigSourceDie) DieSealFeed(r corev1.ConfigMapNodeConfigSource) *ConfigMapNodeConfigSourceDie
- func (d *ConfigMapNodeConfigSourceDie) DieSealFeedPtr(r *corev1.ConfigMapNodeConfigSource) *ConfigMapNodeConfigSourceDie
- func (d *ConfigMapNodeConfigSourceDie) DieSealRelease() corev1.ConfigMapNodeConfigSource
- func (d *ConfigMapNodeConfigSourceDie) DieSealReleasePtr() *corev1.ConfigMapNodeConfigSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ConfigMapProjectionDie
- func (d *ConfigMapProjectionDie) DieSealFeed(r corev1.ConfigMapProjection) *ConfigMapProjectionDie
- func (d *ConfigMapProjectionDie) DieSealFeedPtr(r *corev1.ConfigMapProjection) *ConfigMapProjectionDie
- func (d *ConfigMapProjectionDie) DieSealRelease() corev1.ConfigMapProjection
- func (d *ConfigMapProjectionDie) DieSealReleasePtr() *corev1.ConfigMapProjection
- 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(v 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) DieSealFeed(r corev1.ConfigMapVolumeSource) *ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) DieSealFeedPtr(r *corev1.ConfigMapVolumeSource) *ConfigMapVolumeSourceDie
- func (d *ConfigMapVolumeSourceDie) DieSealRelease() corev1.ConfigMapVolumeSource
- func (d *ConfigMapVolumeSourceDie) DieSealReleasePtr() *corev1.ConfigMapVolumeSource
- 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(v 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ContainerDie
- func (d *ContainerDie) DieSealFeed(r corev1.Container) *ContainerDie
- func (d *ContainerDie) DieSealFeedPtr(r *corev1.Container) *ContainerDie
- func (d *ContainerDie) DieSealRelease() corev1.Container
- func (d *ContainerDie) DieSealReleasePtr() *corev1.Container
- 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(v string, fn func(d *EnvVarDie)) *ContainerDie
- func (d *ContainerDie) EnvFrom(v ...corev1.EnvFromSource) *ContainerDie
- func (d *ContainerDie) EnvFromDie(v 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(v ...*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(v 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(v string, fn func(d *VolumeDeviceDie)) *ContainerDie
- func (d *ContainerDie) VolumeDevices(v ...corev1.VolumeDevice) *ContainerDie
- func (d *ContainerDie) VolumeMountDie(v 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ContainerImageDie
- func (d *ContainerImageDie) DieSealFeed(r corev1.ContainerImage) *ContainerImageDie
- func (d *ContainerImageDie) DieSealFeedPtr(r *corev1.ContainerImage) *ContainerImageDie
- func (d *ContainerImageDie) DieSealRelease() corev1.ContainerImage
- func (d *ContainerImageDie) DieSealReleasePtr() *corev1.ContainerImage
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ContainerPortDie
- func (d *ContainerPortDie) DieSealFeed(r corev1.ContainerPort) *ContainerPortDie
- func (d *ContainerPortDie) DieSealFeedPtr(r *corev1.ContainerPort) *ContainerPortDie
- func (d *ContainerPortDie) DieSealRelease() corev1.ContainerPort
- func (d *ContainerPortDie) DieSealReleasePtr() *corev1.ContainerPort
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ContainerResizePolicyDie
- func (d *ContainerResizePolicyDie) DieSealFeed(r corev1.ContainerResizePolicy) *ContainerResizePolicyDie
- func (d *ContainerResizePolicyDie) DieSealFeedPtr(r *corev1.ContainerResizePolicy) *ContainerResizePolicyDie
- func (d *ContainerResizePolicyDie) DieSealRelease() corev1.ContainerResizePolicy
- func (d *ContainerResizePolicyDie) DieSealReleasePtr() *corev1.ContainerResizePolicy
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ContainerStateDie
- func (d *ContainerStateDie) DieSealFeed(r corev1.ContainerState) *ContainerStateDie
- func (d *ContainerStateDie) DieSealFeedPtr(r *corev1.ContainerState) *ContainerStateDie
- func (d *ContainerStateDie) DieSealRelease() corev1.ContainerState
- func (d *ContainerStateDie) DieSealReleasePtr() *corev1.ContainerState
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ContainerStateRunningDie
- func (d *ContainerStateRunningDie) DieSealFeed(r corev1.ContainerStateRunning) *ContainerStateRunningDie
- func (d *ContainerStateRunningDie) DieSealFeedPtr(r *corev1.ContainerStateRunning) *ContainerStateRunningDie
- func (d *ContainerStateRunningDie) DieSealRelease() corev1.ContainerStateRunning
- func (d *ContainerStateRunningDie) DieSealReleasePtr() *corev1.ContainerStateRunning
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) DieSealFeed(r corev1.ContainerStateTerminated) *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) DieSealFeedPtr(r *corev1.ContainerStateTerminated) *ContainerStateTerminatedDie
- func (d *ContainerStateTerminatedDie) DieSealRelease() corev1.ContainerStateTerminated
- func (d *ContainerStateTerminatedDie) DieSealReleasePtr() *corev1.ContainerStateTerminated
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ContainerStateWaitingDie
- func (d *ContainerStateWaitingDie) DieSealFeed(r corev1.ContainerStateWaiting) *ContainerStateWaitingDie
- func (d *ContainerStateWaitingDie) DieSealFeedPtr(r *corev1.ContainerStateWaiting) *ContainerStateWaitingDie
- func (d *ContainerStateWaitingDie) DieSealRelease() corev1.ContainerStateWaiting
- func (d *ContainerStateWaitingDie) DieSealReleasePtr() *corev1.ContainerStateWaiting
- 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) AllocatedResourcesStatuDie(v corev1.ResourceName, fn func(d *ResourceStatusDie)) *ContainerStatusDie
- func (d *ContainerStatusDie) AllocatedResourcesStatus(v ...corev1.ResourceStatus) *ContainerStatusDie
- func (d *ContainerStatusDie) ContainerID(v string) *ContainerStatusDie
- func (d *ContainerStatusDie) DeepCopy() *ContainerStatusDie
- func (d *ContainerStatusDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ContainerStatusDie
- func (d *ContainerStatusDie) DieSealFeed(r corev1.ContainerStatus) *ContainerStatusDie
- func (d *ContainerStatusDie) DieSealFeedPtr(r *corev1.ContainerStatus) *ContainerStatusDie
- func (d *ContainerStatusDie) DieSealRelease() corev1.ContainerStatus
- func (d *ContainerStatusDie) DieSealReleasePtr() *corev1.ContainerStatus
- 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
- func (d *ContainerStatusDie) User(v *corev1.ContainerUser) *ContainerStatusDie
- func (d *ContainerStatusDie) UserDie(fn func(d *ContainerUserDie)) *ContainerStatusDie
- func (d *ContainerStatusDie) VolumeMountDie(v string, fn func(d *VolumeMountStatusDie)) *ContainerStatusDie
- func (d *ContainerStatusDie) VolumeMounts(v ...corev1.VolumeMountStatus) *ContainerStatusDie
- type ContainerUserDie
- func (d *ContainerUserDie) DeepCopy() *ContainerUserDie
- func (d *ContainerUserDie) DieDiff(opts ...cmp.Option) string
- func (d *ContainerUserDie) DieFeed(r corev1.ContainerUser) *ContainerUserDie
- func (d *ContainerUserDie) DieFeedJSON(j []byte) *ContainerUserDie
- func (d *ContainerUserDie) DieFeedPtr(r *corev1.ContainerUser) *ContainerUserDie
- func (d *ContainerUserDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerUserDie
- func (d *ContainerUserDie) DieFeedYAML(y []byte) *ContainerUserDie
- func (d *ContainerUserDie) DieFeedYAMLFile(name string) *ContainerUserDie
- func (d *ContainerUserDie) DieImmutable(immutable bool) *ContainerUserDie
- func (d *ContainerUserDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ContainerUserDie) DieRelease() corev1.ContainerUser
- func (d *ContainerUserDie) DieReleaseJSON() []byte
- func (d *ContainerUserDie) DieReleasePtr() *corev1.ContainerUser
- func (d *ContainerUserDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ContainerUserDie) DieReleaseYAML() []byte
- func (d *ContainerUserDie) DieSeal() *ContainerUserDie
- func (d *ContainerUserDie) DieSealFeed(r corev1.ContainerUser) *ContainerUserDie
- func (d *ContainerUserDie) DieSealFeedPtr(r *corev1.ContainerUser) *ContainerUserDie
- func (d *ContainerUserDie) DieSealRelease() corev1.ContainerUser
- func (d *ContainerUserDie) DieSealReleasePtr() *corev1.ContainerUser
- func (d *ContainerUserDie) DieStamp(fn func(r *corev1.ContainerUser)) *ContainerUserDie
- func (d *ContainerUserDie) DieStampAt(jp string, fn interface{}) *ContainerUserDie
- func (d *ContainerUserDie) DieWith(fns ...func(d *ContainerUserDie)) *ContainerUserDie
- func (d *ContainerUserDie) Linux(v *corev1.LinuxContainerUser) *ContainerUserDie
- func (d *ContainerUserDie) LinuxDie(fn func(d *LinuxContainerUserDie)) *ContainerUserDie
- type DaemonEndpointDie
- func (d *DaemonEndpointDie) DeepCopy() *DaemonEndpointDie
- func (d *DaemonEndpointDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *DaemonEndpointDie
- func (d *DaemonEndpointDie) DieSealFeed(r corev1.DaemonEndpoint) *DaemonEndpointDie
- func (d *DaemonEndpointDie) DieSealFeedPtr(r *corev1.DaemonEndpoint) *DaemonEndpointDie
- func (d *DaemonEndpointDie) DieSealRelease() corev1.DaemonEndpoint
- func (d *DaemonEndpointDie) DieSealReleasePtr() *corev1.DaemonEndpoint
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *DownwardAPIProjectionDie
- func (d *DownwardAPIProjectionDie) DieSealFeed(r corev1.DownwardAPIProjection) *DownwardAPIProjectionDie
- func (d *DownwardAPIProjectionDie) DieSealFeedPtr(r *corev1.DownwardAPIProjection) *DownwardAPIProjectionDie
- func (d *DownwardAPIProjectionDie) DieSealRelease() corev1.DownwardAPIProjection
- func (d *DownwardAPIProjectionDie) DieSealReleasePtr() *corev1.DownwardAPIProjection
- 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(v string, fn func(d *DownwardAPIVolumeFileDie)) *DownwardAPIProjectionDie
- func (d *DownwardAPIProjectionDie) Items(v ...corev1.DownwardAPIVolumeFile) *DownwardAPIProjectionDie
- type DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) DeepCopy() *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) DieSealFeed(r corev1.DownwardAPIVolumeFile) *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) DieSealFeedPtr(r *corev1.DownwardAPIVolumeFile) *DownwardAPIVolumeFileDie
- func (d *DownwardAPIVolumeFileDie) DieSealRelease() corev1.DownwardAPIVolumeFile
- func (d *DownwardAPIVolumeFileDie) DieSealReleasePtr() *corev1.DownwardAPIVolumeFile
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *DownwardAPIVolumeSourceDie
- func (d *DownwardAPIVolumeSourceDie) DieSealFeed(r corev1.DownwardAPIVolumeSource) *DownwardAPIVolumeSourceDie
- func (d *DownwardAPIVolumeSourceDie) DieSealFeedPtr(r *corev1.DownwardAPIVolumeSource) *DownwardAPIVolumeSourceDie
- func (d *DownwardAPIVolumeSourceDie) DieSealRelease() corev1.DownwardAPIVolumeSource
- func (d *DownwardAPIVolumeSourceDie) DieSealReleasePtr() *corev1.DownwardAPIVolumeSource
- 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(v string, fn func(d *DownwardAPIVolumeFileDie)) *DownwardAPIVolumeSourceDie
- func (d *DownwardAPIVolumeSourceDie) Items(v ...corev1.DownwardAPIVolumeFile) *DownwardAPIVolumeSourceDie
- type EmptyDirVolumeSourceDie
- func (d *EmptyDirVolumeSourceDie) DeepCopy() *EmptyDirVolumeSourceDie
- func (d *EmptyDirVolumeSourceDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *EmptyDirVolumeSourceDie
- func (d *EmptyDirVolumeSourceDie) DieSealFeed(r corev1.EmptyDirVolumeSource) *EmptyDirVolumeSourceDie
- func (d *EmptyDirVolumeSourceDie) DieSealFeedPtr(r *corev1.EmptyDirVolumeSource) *EmptyDirVolumeSourceDie
- func (d *EmptyDirVolumeSourceDie) DieSealRelease() corev1.EmptyDirVolumeSource
- func (d *EmptyDirVolumeSourceDie) DieSealReleasePtr() *corev1.EmptyDirVolumeSource
- 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
- func (d *EmptyDirVolumeSourceDie) SizeLimitString(s string) *EmptyDirVolumeSourceDie
- type EndpointAddressDie
- func (d *EndpointAddressDie) DeepCopy() *EndpointAddressDie
- func (d *EndpointAddressDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *EndpointAddressDie
- func (d *EndpointAddressDie) DieSealFeed(r corev1.EndpointAddress) *EndpointAddressDie
- func (d *EndpointAddressDie) DieSealFeedPtr(r *corev1.EndpointAddress) *EndpointAddressDie
- func (d *EndpointAddressDie) DieSealRelease() corev1.EndpointAddress
- func (d *EndpointAddressDie) DieSealReleasePtr() *corev1.EndpointAddress
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *EndpointPortDie
- func (d *EndpointPortDie) DieSealFeed(r corev1.EndpointPort) *EndpointPortDie
- func (d *EndpointPortDie) DieSealFeedPtr(r *corev1.EndpointPort) *EndpointPortDie
- func (d *EndpointPortDie) DieSealRelease() corev1.EndpointPort
- func (d *EndpointPortDie) DieSealReleasePtr() *corev1.EndpointPort
- 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(v ...*EndpointAddressDie) *EndpointSubsetDie
- func (d *EndpointSubsetDie) DeepCopy() *EndpointSubsetDie
- func (d *EndpointSubsetDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *EndpointSubsetDie
- func (d *EndpointSubsetDie) DieSealFeed(r corev1.EndpointSubset) *EndpointSubsetDie
- func (d *EndpointSubsetDie) DieSealFeedPtr(r *corev1.EndpointSubset) *EndpointSubsetDie
- func (d *EndpointSubsetDie) DieSealRelease() corev1.EndpointSubset
- func (d *EndpointSubsetDie) DieSealReleasePtr() *corev1.EndpointSubset
- 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(v ...*EndpointAddressDie) *EndpointSubsetDie
- func (d *EndpointSubsetDie) Ports(v ...corev1.EndpointPort) *EndpointSubsetDie
- func (d *EndpointSubsetDie) PortsDie(v ...*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) DieDefaultTypeMetadata() *EndpointsDie
- func (d *EndpointsDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *EndpointsDie
- func (d *EndpointsDie) DieSealFeed(r corev1.Endpoints) *EndpointsDie
- func (d *EndpointsDie) DieSealFeedPtr(r *corev1.Endpoints) *EndpointsDie
- func (d *EndpointsDie) DieSealRelease() corev1.Endpoints
- func (d *EndpointsDie) DieSealReleasePtr() *corev1.Endpoints
- 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) Metadata(v apismetav1.ObjectMeta) *EndpointsDie
- func (d *EndpointsDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *EndpointsDie
- func (d *EndpointsDie) Subsets(v ...corev1.EndpointSubset) *EndpointsDie
- func (d *EndpointsDie) SubsetsDie(v ...*EndpointSubsetDie) *EndpointsDie
- func (d *EndpointsDie) TypeMetadata(v apismetav1.TypeMeta) *EndpointsDie
- func (d *EndpointsDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *EnvFromSourceDie
- func (d *EnvFromSourceDie) DieSealFeed(r corev1.EnvFromSource) *EnvFromSourceDie
- func (d *EnvFromSourceDie) DieSealFeedPtr(r *corev1.EnvFromSource) *EnvFromSourceDie
- func (d *EnvFromSourceDie) DieSealRelease() corev1.EnvFromSource
- func (d *EnvFromSourceDie) DieSealReleasePtr() *corev1.EnvFromSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *EnvVarDie
- func (d *EnvVarDie) DieSealFeed(r corev1.EnvVar) *EnvVarDie
- func (d *EnvVarDie) DieSealFeedPtr(r *corev1.EnvVar) *EnvVarDie
- func (d *EnvVarDie) DieSealRelease() corev1.EnvVar
- func (d *EnvVarDie) DieSealReleasePtr() *corev1.EnvVar
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *EnvVarSourceDie
- func (d *EnvVarSourceDie) DieSealFeed(r corev1.EnvVarSource) *EnvVarSourceDie
- func (d *EnvVarSourceDie) DieSealFeedPtr(r *corev1.EnvVarSource) *EnvVarSourceDie
- func (d *EnvVarSourceDie) DieSealRelease() corev1.EnvVarSource
- func (d *EnvVarSourceDie) DieSealReleasePtr() *corev1.EnvVarSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *EphemeralVolumeSourceDie
- func (d *EphemeralVolumeSourceDie) DieSealFeed(r corev1.EphemeralVolumeSource) *EphemeralVolumeSourceDie
- func (d *EphemeralVolumeSourceDie) DieSealFeedPtr(r *corev1.EphemeralVolumeSource) *EphemeralVolumeSourceDie
- func (d *EphemeralVolumeSourceDie) DieSealRelease() corev1.EphemeralVolumeSource
- func (d *EphemeralVolumeSourceDie) DieSealReleasePtr() *corev1.EphemeralVolumeSource
- 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) DieDefaultTypeMetadata() *EventDie
- func (d *EventDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *EventDie
- func (d *EventDie) DieSealFeed(r corev1.Event) *EventDie
- func (d *EventDie) DieSealFeedPtr(r *corev1.Event) *EventDie
- func (d *EventDie) DieSealRelease() corev1.Event
- func (d *EventDie) DieSealReleasePtr() *corev1.Event
- 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) Metadata(v apismetav1.ObjectMeta) *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) TypeMetadata(v apismetav1.TypeMeta) *EventDie
- func (d *EventDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *EventSeriesDie
- func (d *EventSeriesDie) DieSealFeed(r corev1.EventSeries) *EventSeriesDie
- func (d *EventSeriesDie) DieSealFeedPtr(r *corev1.EventSeries) *EventSeriesDie
- func (d *EventSeriesDie) DieSealRelease() corev1.EventSeries
- func (d *EventSeriesDie) DieSealReleasePtr() *corev1.EventSeries
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *EventSourceDie
- func (d *EventSourceDie) DieSealFeed(r corev1.EventSource) *EventSourceDie
- func (d *EventSourceDie) DieSealFeedPtr(r *corev1.EventSource) *EventSourceDie
- func (d *EventSourceDie) DieSealRelease() corev1.EventSource
- func (d *EventSourceDie) DieSealReleasePtr() *corev1.EventSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ExecActionDie
- func (d *ExecActionDie) DieSealFeed(r corev1.ExecAction) *ExecActionDie
- func (d *ExecActionDie) DieSealFeedPtr(r *corev1.ExecAction) *ExecActionDie
- func (d *ExecActionDie) DieSealRelease() corev1.ExecAction
- func (d *ExecActionDie) DieSealReleasePtr() *corev1.ExecAction
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *FCVolumeSourceDie
- func (d *FCVolumeSourceDie) DieSealFeed(r corev1.FCVolumeSource) *FCVolumeSourceDie
- func (d *FCVolumeSourceDie) DieSealFeedPtr(r *corev1.FCVolumeSource) *FCVolumeSourceDie
- func (d *FCVolumeSourceDie) DieSealRelease() corev1.FCVolumeSource
- func (d *FCVolumeSourceDie) DieSealReleasePtr() *corev1.FCVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) DieSealFeed(r corev1.FlexPersistentVolumeSource) *FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.FlexPersistentVolumeSource) *FlexPersistentVolumeSourceDie
- func (d *FlexPersistentVolumeSourceDie) DieSealRelease() corev1.FlexPersistentVolumeSource
- func (d *FlexPersistentVolumeSourceDie) DieSealReleasePtr() *corev1.FlexPersistentVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) DieSealFeed(r corev1.FlexVolumeSource) *FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) DieSealFeedPtr(r *corev1.FlexVolumeSource) *FlexVolumeSourceDie
- func (d *FlexVolumeSourceDie) DieSealRelease() corev1.FlexVolumeSource
- func (d *FlexVolumeSourceDie) DieSealReleasePtr() *corev1.FlexVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *FlockerVolumeSourceDie
- func (d *FlockerVolumeSourceDie) DieSealFeed(r corev1.FlockerVolumeSource) *FlockerVolumeSourceDie
- func (d *FlockerVolumeSourceDie) DieSealFeedPtr(r *corev1.FlockerVolumeSource) *FlockerVolumeSourceDie
- func (d *FlockerVolumeSourceDie) DieSealRelease() corev1.FlockerVolumeSource
- func (d *FlockerVolumeSourceDie) DieSealReleasePtr() *corev1.FlockerVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *GCEPersistentDiskVolumeSourceDie
- func (d *GCEPersistentDiskVolumeSourceDie) DieSealFeed(r corev1.GCEPersistentDiskVolumeSource) *GCEPersistentDiskVolumeSourceDie
- func (d *GCEPersistentDiskVolumeSourceDie) DieSealFeedPtr(r *corev1.GCEPersistentDiskVolumeSource) *GCEPersistentDiskVolumeSourceDie
- func (d *GCEPersistentDiskVolumeSourceDie) DieSealRelease() corev1.GCEPersistentDiskVolumeSource
- func (d *GCEPersistentDiskVolumeSourceDie) DieSealReleasePtr() *corev1.GCEPersistentDiskVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *GRPCActionDie
- func (d *GRPCActionDie) DieSealFeed(r corev1.GRPCAction) *GRPCActionDie
- func (d *GRPCActionDie) DieSealFeedPtr(r *corev1.GRPCAction) *GRPCActionDie
- func (d *GRPCActionDie) DieSealRelease() corev1.GRPCAction
- func (d *GRPCActionDie) DieSealReleasePtr() *corev1.GRPCAction
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *GitRepoVolumeSourceDie
- func (d *GitRepoVolumeSourceDie) DieSealFeed(r corev1.GitRepoVolumeSource) *GitRepoVolumeSourceDie
- func (d *GitRepoVolumeSourceDie) DieSealFeedPtr(r *corev1.GitRepoVolumeSource) *GitRepoVolumeSourceDie
- func (d *GitRepoVolumeSourceDie) DieSealRelease() corev1.GitRepoVolumeSource
- func (d *GitRepoVolumeSourceDie) DieSealReleasePtr() *corev1.GitRepoVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *GlusterfsPersistentVolumeSourceDie
- func (d *GlusterfsPersistentVolumeSourceDie) DieSealFeed(r corev1.GlusterfsPersistentVolumeSource) *GlusterfsPersistentVolumeSourceDie
- func (d *GlusterfsPersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.GlusterfsPersistentVolumeSource) *GlusterfsPersistentVolumeSourceDie
- func (d *GlusterfsPersistentVolumeSourceDie) DieSealRelease() corev1.GlusterfsPersistentVolumeSource
- func (d *GlusterfsPersistentVolumeSourceDie) DieSealReleasePtr() *corev1.GlusterfsPersistentVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *GlusterfsVolumeSourceDie
- func (d *GlusterfsVolumeSourceDie) DieSealFeed(r corev1.GlusterfsVolumeSource) *GlusterfsVolumeSourceDie
- func (d *GlusterfsVolumeSourceDie) DieSealFeedPtr(r *corev1.GlusterfsVolumeSource) *GlusterfsVolumeSourceDie
- func (d *GlusterfsVolumeSourceDie) DieSealRelease() corev1.GlusterfsVolumeSource
- func (d *GlusterfsVolumeSourceDie) DieSealReleasePtr() *corev1.GlusterfsVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *HTTPGetActionDie
- func (d *HTTPGetActionDie) DieSealFeed(r corev1.HTTPGetAction) *HTTPGetActionDie
- func (d *HTTPGetActionDie) DieSealFeedPtr(r *corev1.HTTPGetAction) *HTTPGetActionDie
- func (d *HTTPGetActionDie) DieSealRelease() corev1.HTTPGetAction
- func (d *HTTPGetActionDie) DieSealReleasePtr() *corev1.HTTPGetAction
- 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(v ...*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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *HTTPHeaderDie
- func (d *HTTPHeaderDie) DieSealFeed(r corev1.HTTPHeader) *HTTPHeaderDie
- func (d *HTTPHeaderDie) DieSealFeedPtr(r *corev1.HTTPHeader) *HTTPHeaderDie
- func (d *HTTPHeaderDie) DieSealRelease() corev1.HTTPHeader
- func (d *HTTPHeaderDie) DieSealReleasePtr() *corev1.HTTPHeader
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *HostAliasDie
- func (d *HostAliasDie) DieSealFeed(r corev1.HostAlias) *HostAliasDie
- func (d *HostAliasDie) DieSealFeedPtr(r *corev1.HostAlias) *HostAliasDie
- func (d *HostAliasDie) DieSealRelease() corev1.HostAlias
- func (d *HostAliasDie) DieSealReleasePtr() *corev1.HostAlias
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *HostPathVolumeSourceDie
- func (d *HostPathVolumeSourceDie) DieSealFeed(r corev1.HostPathVolumeSource) *HostPathVolumeSourceDie
- func (d *HostPathVolumeSourceDie) DieSealFeedPtr(r *corev1.HostPathVolumeSource) *HostPathVolumeSourceDie
- func (d *HostPathVolumeSourceDie) DieSealRelease() corev1.HostPathVolumeSource
- func (d *HostPathVolumeSourceDie) DieSealReleasePtr() *corev1.HostPathVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) DieSealFeed(r corev1.ISCSIPersistentVolumeSource) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.ISCSIPersistentVolumeSource) *ISCSIPersistentVolumeSourceDie
- func (d *ISCSIPersistentVolumeSourceDie) DieSealRelease() corev1.ISCSIPersistentVolumeSource
- func (d *ISCSIPersistentVolumeSourceDie) DieSealReleasePtr() *corev1.ISCSIPersistentVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) DieSealFeed(r corev1.ISCSIVolumeSource) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) DieSealFeedPtr(r *corev1.ISCSIVolumeSource) *ISCSIVolumeSourceDie
- func (d *ISCSIVolumeSourceDie) DieSealRelease() corev1.ISCSIVolumeSource
- func (d *ISCSIVolumeSourceDie) DieSealReleasePtr() *corev1.ISCSIVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *KeyToPathDie
- func (d *KeyToPathDie) DieSealFeed(r corev1.KeyToPath) *KeyToPathDie
- func (d *KeyToPathDie) DieSealFeedPtr(r *corev1.KeyToPath) *KeyToPathDie
- func (d *KeyToPathDie) DieSealRelease() corev1.KeyToPath
- func (d *KeyToPathDie) DieSealReleasePtr() *corev1.KeyToPath
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *LifecycleDie
- func (d *LifecycleDie) DieSealFeed(r corev1.Lifecycle) *LifecycleDie
- func (d *LifecycleDie) DieSealFeedPtr(r *corev1.Lifecycle) *LifecycleDie
- func (d *LifecycleDie) DieSealRelease() corev1.Lifecycle
- func (d *LifecycleDie) DieSealReleasePtr() *corev1.Lifecycle
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) DieSealFeed(r corev1.LifecycleHandler) *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) DieSealFeedPtr(r *corev1.LifecycleHandler) *LifecycleHandlerDie
- func (d *LifecycleHandlerDie) DieSealRelease() corev1.LifecycleHandler
- func (d *LifecycleHandlerDie) DieSealReleasePtr() *corev1.LifecycleHandler
- 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) DieDefaultTypeMetadata() *LimitRangeDie
- func (d *LimitRangeDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *LimitRangeDie
- func (d *LimitRangeDie) DieSealFeed(r corev1.LimitRange) *LimitRangeDie
- func (d *LimitRangeDie) DieSealFeedPtr(r *corev1.LimitRange) *LimitRangeDie
- func (d *LimitRangeDie) DieSealRelease() corev1.LimitRange
- func (d *LimitRangeDie) DieSealReleasePtr() *corev1.LimitRange
- 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) Metadata(v apismetav1.ObjectMeta) *LimitRangeDie
- 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) TypeMetadata(v apismetav1.TypeMeta) *LimitRangeDie
- func (d *LimitRangeDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *LimitRangeItemDie
- func (d *LimitRangeItemDie) DieSealFeed(r corev1.LimitRangeItem) *LimitRangeItemDie
- func (d *LimitRangeItemDie) DieSealFeedPtr(r *corev1.LimitRangeItem) *LimitRangeItemDie
- func (d *LimitRangeItemDie) DieSealRelease() corev1.LimitRangeItem
- func (d *LimitRangeItemDie) DieSealReleasePtr() *corev1.LimitRangeItem
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *LimitRangeSpecDie
- func (d *LimitRangeSpecDie) DieSealFeed(r corev1.LimitRangeSpec) *LimitRangeSpecDie
- func (d *LimitRangeSpecDie) DieSealFeedPtr(r *corev1.LimitRangeSpec) *LimitRangeSpecDie
- func (d *LimitRangeSpecDie) DieSealRelease() corev1.LimitRangeSpec
- func (d *LimitRangeSpecDie) DieSealReleasePtr() *corev1.LimitRangeSpec
- 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(v ...*LimitRangeItemDie) *LimitRangeSpecDie
- type LinuxContainerUserDie
- func (d *LinuxContainerUserDie) DeepCopy() *LinuxContainerUserDie
- func (d *LinuxContainerUserDie) DieDiff(opts ...cmp.Option) string
- func (d *LinuxContainerUserDie) DieFeed(r corev1.LinuxContainerUser) *LinuxContainerUserDie
- func (d *LinuxContainerUserDie) DieFeedJSON(j []byte) *LinuxContainerUserDie
- func (d *LinuxContainerUserDie) DieFeedPtr(r *corev1.LinuxContainerUser) *LinuxContainerUserDie
- func (d *LinuxContainerUserDie) DieFeedRawExtension(raw runtime.RawExtension) *LinuxContainerUserDie
- func (d *LinuxContainerUserDie) DieFeedYAML(y []byte) *LinuxContainerUserDie
- func (d *LinuxContainerUserDie) DieFeedYAMLFile(name string) *LinuxContainerUserDie
- func (d *LinuxContainerUserDie) DieImmutable(immutable bool) *LinuxContainerUserDie
- func (d *LinuxContainerUserDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *LinuxContainerUserDie) DieRelease() corev1.LinuxContainerUser
- func (d *LinuxContainerUserDie) DieReleaseJSON() []byte
- func (d *LinuxContainerUserDie) DieReleasePtr() *corev1.LinuxContainerUser
- func (d *LinuxContainerUserDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *LinuxContainerUserDie) DieReleaseYAML() []byte
- func (d *LinuxContainerUserDie) DieSeal() *LinuxContainerUserDie
- func (d *LinuxContainerUserDie) DieSealFeed(r corev1.LinuxContainerUser) *LinuxContainerUserDie
- func (d *LinuxContainerUserDie) DieSealFeedPtr(r *corev1.LinuxContainerUser) *LinuxContainerUserDie
- func (d *LinuxContainerUserDie) DieSealRelease() corev1.LinuxContainerUser
- func (d *LinuxContainerUserDie) DieSealReleasePtr() *corev1.LinuxContainerUser
- func (d *LinuxContainerUserDie) DieStamp(fn func(r *corev1.LinuxContainerUser)) *LinuxContainerUserDie
- func (d *LinuxContainerUserDie) DieStampAt(jp string, fn interface{}) *LinuxContainerUserDie
- func (d *LinuxContainerUserDie) DieWith(fns ...func(d *LinuxContainerUserDie)) *LinuxContainerUserDie
- func (d *LinuxContainerUserDie) GID(v int64) *LinuxContainerUserDie
- func (d *LinuxContainerUserDie) SupplementalGroups(v ...int64) *LinuxContainerUserDie
- func (d *LinuxContainerUserDie) UID(v int64) *LinuxContainerUserDie
- type LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) DeepCopy() *LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) DieSealFeed(r corev1.LoadBalancerIngress) *LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) DieSealFeedPtr(r *corev1.LoadBalancerIngress) *LoadBalancerIngressDie
- func (d *LoadBalancerIngressDie) DieSealRelease() corev1.LoadBalancerIngress
- func (d *LoadBalancerIngressDie) DieSealReleasePtr() *corev1.LoadBalancerIngress
- 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(v ...*PortStatusDie) *LoadBalancerIngressDie
- type LoadBalancerStatusDie
- func (d *LoadBalancerStatusDie) DeepCopy() *LoadBalancerStatusDie
- func (d *LoadBalancerStatusDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *LoadBalancerStatusDie
- func (d *LoadBalancerStatusDie) DieSealFeed(r corev1.LoadBalancerStatus) *LoadBalancerStatusDie
- func (d *LoadBalancerStatusDie) DieSealFeedPtr(r *corev1.LoadBalancerStatus) *LoadBalancerStatusDie
- func (d *LoadBalancerStatusDie) DieSealRelease() corev1.LoadBalancerStatus
- func (d *LoadBalancerStatusDie) DieSealReleasePtr() *corev1.LoadBalancerStatus
- 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) IngressDie(v ...*LoadBalancerIngressDie) *LoadBalancerStatusDie
- func (d *LoadBalancerStatusDie) LoadBalancerDie(ingress ...*LoadBalancerIngressDie) *LoadBalancerStatusDie
- type LocalObjectReferenceDie
- func (d *LocalObjectReferenceDie) DeepCopy() *LocalObjectReferenceDie
- func (d *LocalObjectReferenceDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *LocalObjectReferenceDie
- func (d *LocalObjectReferenceDie) DieSealFeed(r corev1.LocalObjectReference) *LocalObjectReferenceDie
- func (d *LocalObjectReferenceDie) DieSealFeedPtr(r *corev1.LocalObjectReference) *LocalObjectReferenceDie
- func (d *LocalObjectReferenceDie) DieSealRelease() corev1.LocalObjectReference
- func (d *LocalObjectReferenceDie) DieSealReleasePtr() *corev1.LocalObjectReference
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *LocalVolumeSourceDie
- func (d *LocalVolumeSourceDie) DieSealFeed(r corev1.LocalVolumeSource) *LocalVolumeSourceDie
- func (d *LocalVolumeSourceDie) DieSealFeedPtr(r *corev1.LocalVolumeSource) *LocalVolumeSourceDie
- func (d *LocalVolumeSourceDie) DieSealRelease() corev1.LocalVolumeSource
- func (d *LocalVolumeSourceDie) DieSealReleasePtr() *corev1.LocalVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ModifyVolumeStatusDie
- func (d *ModifyVolumeStatusDie) DieSealFeed(r corev1.ModifyVolumeStatus) *ModifyVolumeStatusDie
- func (d *ModifyVolumeStatusDie) DieSealFeedPtr(r *corev1.ModifyVolumeStatus) *ModifyVolumeStatusDie
- func (d *ModifyVolumeStatusDie) DieSealRelease() corev1.ModifyVolumeStatus
- func (d *ModifyVolumeStatusDie) DieSealReleasePtr() *corev1.ModifyVolumeStatus
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *NFSVolumeSourceDie
- func (d *NFSVolumeSourceDie) DieSealFeed(r corev1.NFSVolumeSource) *NFSVolumeSourceDie
- func (d *NFSVolumeSourceDie) DieSealFeedPtr(r *corev1.NFSVolumeSource) *NFSVolumeSourceDie
- func (d *NFSVolumeSourceDie) DieSealRelease() corev1.NFSVolumeSource
- func (d *NFSVolumeSourceDie) DieSealReleasePtr() *corev1.NFSVolumeSource
- 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) DieDefaultTypeMetadata() *NamespaceDie
- func (d *NamespaceDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *NamespaceDie
- func (d *NamespaceDie) DieSealFeed(r corev1.Namespace) *NamespaceDie
- func (d *NamespaceDie) DieSealFeedPtr(r *corev1.Namespace) *NamespaceDie
- func (d *NamespaceDie) DieSealRelease() corev1.Namespace
- func (d *NamespaceDie) DieSealReleasePtr() *corev1.Namespace
- 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) Metadata(v apismetav1.ObjectMeta) *NamespaceDie
- 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) TypeMetadata(v apismetav1.TypeMeta) *NamespaceDie
- func (d *NamespaceDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *NamespaceDie
- func (d *NamespaceDie) UnmarshalJSON(b []byte) error
- type NamespaceSpecDie
- func (d *NamespaceSpecDie) DeepCopy() *NamespaceSpecDie
- func (d *NamespaceSpecDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *NamespaceSpecDie
- func (d *NamespaceSpecDie) DieSealFeed(r corev1.NamespaceSpec) *NamespaceSpecDie
- func (d *NamespaceSpecDie) DieSealFeedPtr(r *corev1.NamespaceSpec) *NamespaceSpecDie
- func (d *NamespaceSpecDie) DieSealRelease() corev1.NamespaceSpec
- func (d *NamespaceSpecDie) DieSealReleasePtr() *corev1.NamespaceSpec
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *NamespaceStatusDie
- func (d *NamespaceStatusDie) DieSealFeed(r corev1.NamespaceStatus) *NamespaceStatusDie
- func (d *NamespaceStatusDie) DieSealFeedPtr(r *corev1.NamespaceStatus) *NamespaceStatusDie
- func (d *NamespaceStatusDie) DieSealRelease() corev1.NamespaceStatus
- func (d *NamespaceStatusDie) DieSealReleasePtr() *corev1.NamespaceStatus
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *NodeAddressDie
- func (d *NodeAddressDie) DieSealFeed(r corev1.NodeAddress) *NodeAddressDie
- func (d *NodeAddressDie) DieSealFeedPtr(r *corev1.NodeAddress) *NodeAddressDie
- func (d *NodeAddressDie) DieSealRelease() corev1.NodeAddress
- func (d *NodeAddressDie) DieSealReleasePtr() *corev1.NodeAddress
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *NodeConfigSourceDie
- func (d *NodeConfigSourceDie) DieSealFeed(r corev1.NodeConfigSource) *NodeConfigSourceDie
- func (d *NodeConfigSourceDie) DieSealFeedPtr(r *corev1.NodeConfigSource) *NodeConfigSourceDie
- func (d *NodeConfigSourceDie) DieSealRelease() corev1.NodeConfigSource
- func (d *NodeConfigSourceDie) DieSealReleasePtr() *corev1.NodeConfigSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) DieSealFeed(r corev1.NodeConfigStatus) *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) DieSealFeedPtr(r *corev1.NodeConfigStatus) *NodeConfigStatusDie
- func (d *NodeConfigStatusDie) DieSealRelease() corev1.NodeConfigStatus
- func (d *NodeConfigStatusDie) DieSealReleasePtr() *corev1.NodeConfigStatus
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *NodeDaemonEndpointsDie
- func (d *NodeDaemonEndpointsDie) DieSealFeed(r corev1.NodeDaemonEndpoints) *NodeDaemonEndpointsDie
- func (d *NodeDaemonEndpointsDie) DieSealFeedPtr(r *corev1.NodeDaemonEndpoints) *NodeDaemonEndpointsDie
- func (d *NodeDaemonEndpointsDie) DieSealRelease() corev1.NodeDaemonEndpoints
- func (d *NodeDaemonEndpointsDie) DieSealReleasePtr() *corev1.NodeDaemonEndpoints
- 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) DieDefaultTypeMetadata() *NodeDie
- func (d *NodeDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *NodeDie
- func (d *NodeDie) DieSealFeed(r corev1.Node) *NodeDie
- func (d *NodeDie) DieSealFeedPtr(r *corev1.Node) *NodeDie
- func (d *NodeDie) DieSealRelease() corev1.Node
- func (d *NodeDie) DieSealReleasePtr() *corev1.Node
- 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) Metadata(v apismetav1.ObjectMeta) *NodeDie
- 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) TypeMetadata(v apismetav1.TypeMeta) *NodeDie
- func (d *NodeDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *NodeDie
- func (d *NodeDie) UnmarshalJSON(b []byte) error
- type NodeFeaturesDie
- func (d *NodeFeaturesDie) DeepCopy() *NodeFeaturesDie
- func (d *NodeFeaturesDie) DieDiff(opts ...cmp.Option) string
- func (d *NodeFeaturesDie) DieFeed(r corev1.NodeFeatures) *NodeFeaturesDie
- func (d *NodeFeaturesDie) DieFeedJSON(j []byte) *NodeFeaturesDie
- func (d *NodeFeaturesDie) DieFeedPtr(r *corev1.NodeFeatures) *NodeFeaturesDie
- func (d *NodeFeaturesDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeFeaturesDie
- func (d *NodeFeaturesDie) DieFeedYAML(y []byte) *NodeFeaturesDie
- func (d *NodeFeaturesDie) DieFeedYAMLFile(name string) *NodeFeaturesDie
- func (d *NodeFeaturesDie) DieImmutable(immutable bool) *NodeFeaturesDie
- func (d *NodeFeaturesDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *NodeFeaturesDie) DieRelease() corev1.NodeFeatures
- func (d *NodeFeaturesDie) DieReleaseJSON() []byte
- func (d *NodeFeaturesDie) DieReleasePtr() *corev1.NodeFeatures
- func (d *NodeFeaturesDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NodeFeaturesDie) DieReleaseYAML() []byte
- func (d *NodeFeaturesDie) DieSeal() *NodeFeaturesDie
- func (d *NodeFeaturesDie) DieSealFeed(r corev1.NodeFeatures) *NodeFeaturesDie
- func (d *NodeFeaturesDie) DieSealFeedPtr(r *corev1.NodeFeatures) *NodeFeaturesDie
- func (d *NodeFeaturesDie) DieSealRelease() corev1.NodeFeatures
- func (d *NodeFeaturesDie) DieSealReleasePtr() *corev1.NodeFeatures
- func (d *NodeFeaturesDie) DieStamp(fn func(r *corev1.NodeFeatures)) *NodeFeaturesDie
- func (d *NodeFeaturesDie) DieStampAt(jp string, fn interface{}) *NodeFeaturesDie
- func (d *NodeFeaturesDie) DieWith(fns ...func(d *NodeFeaturesDie)) *NodeFeaturesDie
- func (d *NodeFeaturesDie) SupplementalGroupsPolicy(v *bool) *NodeFeaturesDie
- type NodeRuntimeHandlerDie
- func (d *NodeRuntimeHandlerDie) DeepCopy() *NodeRuntimeHandlerDie
- func (d *NodeRuntimeHandlerDie) DieDiff(opts ...cmp.Option) string
- func (d *NodeRuntimeHandlerDie) DieFeed(r corev1.NodeRuntimeHandler) *NodeRuntimeHandlerDie
- func (d *NodeRuntimeHandlerDie) DieFeedJSON(j []byte) *NodeRuntimeHandlerDie
- func (d *NodeRuntimeHandlerDie) DieFeedPtr(r *corev1.NodeRuntimeHandler) *NodeRuntimeHandlerDie
- func (d *NodeRuntimeHandlerDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeRuntimeHandlerDie
- func (d *NodeRuntimeHandlerDie) DieFeedYAML(y []byte) *NodeRuntimeHandlerDie
- func (d *NodeRuntimeHandlerDie) DieFeedYAMLFile(name string) *NodeRuntimeHandlerDie
- func (d *NodeRuntimeHandlerDie) DieImmutable(immutable bool) *NodeRuntimeHandlerDie
- func (d *NodeRuntimeHandlerDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *NodeRuntimeHandlerDie) DieRelease() corev1.NodeRuntimeHandler
- func (d *NodeRuntimeHandlerDie) DieReleaseJSON() []byte
- func (d *NodeRuntimeHandlerDie) DieReleasePtr() *corev1.NodeRuntimeHandler
- func (d *NodeRuntimeHandlerDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NodeRuntimeHandlerDie) DieReleaseYAML() []byte
- func (d *NodeRuntimeHandlerDie) DieSeal() *NodeRuntimeHandlerDie
- func (d *NodeRuntimeHandlerDie) DieSealFeed(r corev1.NodeRuntimeHandler) *NodeRuntimeHandlerDie
- func (d *NodeRuntimeHandlerDie) DieSealFeedPtr(r *corev1.NodeRuntimeHandler) *NodeRuntimeHandlerDie
- func (d *NodeRuntimeHandlerDie) DieSealRelease() corev1.NodeRuntimeHandler
- func (d *NodeRuntimeHandlerDie) DieSealReleasePtr() *corev1.NodeRuntimeHandler
- func (d *NodeRuntimeHandlerDie) DieStamp(fn func(r *corev1.NodeRuntimeHandler)) *NodeRuntimeHandlerDie
- func (d *NodeRuntimeHandlerDie) DieStampAt(jp string, fn interface{}) *NodeRuntimeHandlerDie
- func (d *NodeRuntimeHandlerDie) DieWith(fns ...func(d *NodeRuntimeHandlerDie)) *NodeRuntimeHandlerDie
- func (d *NodeRuntimeHandlerDie) Features(v *corev1.NodeRuntimeHandlerFeatures) *NodeRuntimeHandlerDie
- func (d *NodeRuntimeHandlerDie) FeaturesDie(fn func(d *NodeRuntimeHandlerFeaturesDie)) *NodeRuntimeHandlerDie
- func (d *NodeRuntimeHandlerDie) Name(v string) *NodeRuntimeHandlerDie
- type NodeRuntimeHandlerFeaturesDie
- func (d *NodeRuntimeHandlerFeaturesDie) DeepCopy() *NodeRuntimeHandlerFeaturesDie
- func (d *NodeRuntimeHandlerFeaturesDie) DieDiff(opts ...cmp.Option) string
- func (d *NodeRuntimeHandlerFeaturesDie) DieFeed(r corev1.NodeRuntimeHandlerFeatures) *NodeRuntimeHandlerFeaturesDie
- func (d *NodeRuntimeHandlerFeaturesDie) DieFeedJSON(j []byte) *NodeRuntimeHandlerFeaturesDie
- func (d *NodeRuntimeHandlerFeaturesDie) DieFeedPtr(r *corev1.NodeRuntimeHandlerFeatures) *NodeRuntimeHandlerFeaturesDie
- func (d *NodeRuntimeHandlerFeaturesDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeRuntimeHandlerFeaturesDie
- func (d *NodeRuntimeHandlerFeaturesDie) DieFeedYAML(y []byte) *NodeRuntimeHandlerFeaturesDie
- func (d *NodeRuntimeHandlerFeaturesDie) DieFeedYAMLFile(name string) *NodeRuntimeHandlerFeaturesDie
- func (d *NodeRuntimeHandlerFeaturesDie) DieImmutable(immutable bool) *NodeRuntimeHandlerFeaturesDie
- func (d *NodeRuntimeHandlerFeaturesDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *NodeRuntimeHandlerFeaturesDie) DieRelease() corev1.NodeRuntimeHandlerFeatures
- func (d *NodeRuntimeHandlerFeaturesDie) DieReleaseJSON() []byte
- func (d *NodeRuntimeHandlerFeaturesDie) DieReleasePtr() *corev1.NodeRuntimeHandlerFeatures
- func (d *NodeRuntimeHandlerFeaturesDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NodeRuntimeHandlerFeaturesDie) DieReleaseYAML() []byte
- func (d *NodeRuntimeHandlerFeaturesDie) DieSeal() *NodeRuntimeHandlerFeaturesDie
- func (d *NodeRuntimeHandlerFeaturesDie) DieSealFeed(r corev1.NodeRuntimeHandlerFeatures) *NodeRuntimeHandlerFeaturesDie
- func (d *NodeRuntimeHandlerFeaturesDie) DieSealFeedPtr(r *corev1.NodeRuntimeHandlerFeatures) *NodeRuntimeHandlerFeaturesDie
- func (d *NodeRuntimeHandlerFeaturesDie) DieSealRelease() corev1.NodeRuntimeHandlerFeatures
- func (d *NodeRuntimeHandlerFeaturesDie) DieSealReleasePtr() *corev1.NodeRuntimeHandlerFeatures
- func (d *NodeRuntimeHandlerFeaturesDie) DieStamp(fn func(r *corev1.NodeRuntimeHandlerFeatures)) *NodeRuntimeHandlerFeaturesDie
- func (d *NodeRuntimeHandlerFeaturesDie) DieStampAt(jp string, fn interface{}) *NodeRuntimeHandlerFeaturesDie
- func (d *NodeRuntimeHandlerFeaturesDie) DieWith(fns ...func(d *NodeRuntimeHandlerFeaturesDie)) *NodeRuntimeHandlerFeaturesDie
- func (d *NodeRuntimeHandlerFeaturesDie) RecursiveReadOnlyMounts(v *bool) *NodeRuntimeHandlerFeaturesDie
- func (d *NodeRuntimeHandlerFeaturesDie) UserNamespaces(v *bool) *NodeRuntimeHandlerFeaturesDie
- type NodeSelectorDie
- func (d *NodeSelectorDie) DeepCopy() *NodeSelectorDie
- func (d *NodeSelectorDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *NodeSelectorDie
- func (d *NodeSelectorDie) DieSealFeed(r corev1.NodeSelector) *NodeSelectorDie
- func (d *NodeSelectorDie) DieSealFeedPtr(r *corev1.NodeSelector) *NodeSelectorDie
- func (d *NodeSelectorDie) DieSealRelease() corev1.NodeSelector
- func (d *NodeSelectorDie) DieSealReleasePtr() *corev1.NodeSelector
- 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(v ...*NodeSelectorTermDie) *NodeSelectorDie
- type NodeSelectorRequirementDie
- func (d *NodeSelectorRequirementDie) DeepCopy() *NodeSelectorRequirementDie
- func (d *NodeSelectorRequirementDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *NodeSelectorRequirementDie
- func (d *NodeSelectorRequirementDie) DieSealFeed(r corev1.NodeSelectorRequirement) *NodeSelectorRequirementDie
- func (d *NodeSelectorRequirementDie) DieSealFeedPtr(r *corev1.NodeSelectorRequirement) *NodeSelectorRequirementDie
- func (d *NodeSelectorRequirementDie) DieSealRelease() corev1.NodeSelectorRequirement
- func (d *NodeSelectorRequirementDie) DieSealReleasePtr() *corev1.NodeSelectorRequirement
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *NodeSelectorTermDie
- func (d *NodeSelectorTermDie) DieSealFeed(r corev1.NodeSelectorTerm) *NodeSelectorTermDie
- func (d *NodeSelectorTermDie) DieSealFeedPtr(r *corev1.NodeSelectorTerm) *NodeSelectorTermDie
- func (d *NodeSelectorTermDie) DieSealRelease() corev1.NodeSelectorTerm
- func (d *NodeSelectorTermDie) DieSealReleasePtr() *corev1.NodeSelectorTerm
- 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(v string, fn func(d *NodeSelectorRequirementDie)) *NodeSelectorTermDie
- func (d *NodeSelectorTermDie) MatchExpressions(v ...corev1.NodeSelectorRequirement) *NodeSelectorTermDie
- func (d *NodeSelectorTermDie) MatchFieldDie(v string, fn func(d *NodeSelectorRequirementDie)) *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)) *NodeSpecDiedeprecated
- func (d *NodeSpecDie) DeepCopy() *NodeSpecDie
- func (d *NodeSpecDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *NodeSpecDie
- func (d *NodeSpecDie) DieSealFeed(r corev1.NodeSpec) *NodeSpecDie
- func (d *NodeSpecDie) DieSealFeedPtr(r *corev1.NodeSpec) *NodeSpecDie
- func (d *NodeSpecDie) DieSealRelease() corev1.NodeSpec
- func (d *NodeSpecDie) DieSealReleasePtr() *corev1.NodeSpec
- 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(v 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) AddressesDie(v ...*NodeAddressDie) *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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *NodeStatusDie
- func (d *NodeStatusDie) DieSealFeed(r corev1.NodeStatus) *NodeStatusDie
- func (d *NodeStatusDie) DieSealFeedPtr(r *corev1.NodeStatus) *NodeStatusDie
- func (d *NodeStatusDie) DieSealRelease() corev1.NodeStatus
- func (d *NodeStatusDie) DieSealReleasePtr() *corev1.NodeStatus
- 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) Features(v *corev1.NodeFeatures) *NodeStatusDie
- func (d *NodeStatusDie) FeaturesDie(fn func(d *NodeFeaturesDie)) *NodeStatusDie
- func (d *NodeStatusDie) Images(v ...corev1.ContainerImage) *NodeStatusDie
- func (d *NodeStatusDie) ImagesDie(v ...*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) RuntimeHandlers(v ...corev1.NodeRuntimeHandler) *NodeStatusDie
- func (d *NodeStatusDie) RuntimeHandlersDie(v ...*NodeRuntimeHandlerDie) *NodeStatusDie
- func (d *NodeStatusDie) VolumeAttachedDie(v 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) DieSealFeed(r corev1.NodeSystemInfo) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) DieSealFeedPtr(r *corev1.NodeSystemInfo) *NodeSystemInfoDie
- func (d *NodeSystemInfoDie) DieSealRelease() corev1.NodeSystemInfo
- func (d *NodeSystemInfoDie) DieSealReleasePtr() *corev1.NodeSystemInfo
- 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) *NodeSystemInfoDiedeprecated
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ObjectFieldSelectorDie
- func (d *ObjectFieldSelectorDie) DieSealFeed(r corev1.ObjectFieldSelector) *ObjectFieldSelectorDie
- func (d *ObjectFieldSelectorDie) DieSealFeedPtr(r *corev1.ObjectFieldSelector) *ObjectFieldSelectorDie
- func (d *ObjectFieldSelectorDie) DieSealRelease() corev1.ObjectFieldSelector
- func (d *ObjectFieldSelectorDie) DieSealReleasePtr() *corev1.ObjectFieldSelector
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ObjectReferenceDie
- func (d *ObjectReferenceDie) DieSealFeed(r corev1.ObjectReference) *ObjectReferenceDie
- func (d *ObjectReferenceDie) DieSealFeedPtr(r *corev1.ObjectReference) *ObjectReferenceDie
- func (d *ObjectReferenceDie) DieSealRelease() corev1.ObjectReference
- func (d *ObjectReferenceDie) DieSealReleasePtr() *corev1.ObjectReference
- 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) DieDefaultTypeMetadata() *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) DieSealFeed(r corev1.PersistentVolumeClaim) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) DieSealFeedPtr(r *corev1.PersistentVolumeClaim) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) DieSealRelease() corev1.PersistentVolumeClaim
- func (d *PersistentVolumeClaimDie) DieSealReleasePtr() *corev1.PersistentVolumeClaim
- 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) Metadata(v apismetav1.ObjectMeta) *PersistentVolumeClaimDie
- 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) TypeMetadata(v apismetav1.TypeMeta) *PersistentVolumeClaimDie
- func (d *PersistentVolumeClaimDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) DieSealFeed(r corev1.PersistentVolumeClaimSpec) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) DieSealFeedPtr(r *corev1.PersistentVolumeClaimSpec) *PersistentVolumeClaimSpecDie
- func (d *PersistentVolumeClaimSpecDie) DieSealRelease() corev1.PersistentVolumeClaimSpec
- func (d *PersistentVolumeClaimSpecDie) DieSealReleasePtr() *corev1.PersistentVolumeClaimSpec
- 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 *metav1.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) AddAllocatedResource(name corev1.ResourceName, quantity resource.Quantity) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) AddAllocatedResourceStatus(name corev1.ResourceName, status corev1.ClaimResourceStatus) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) AddAllocatedResourceString(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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) DieSealFeed(r corev1.PersistentVolumeClaimStatus) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) DieSealFeedPtr(r *corev1.PersistentVolumeClaimStatus) *PersistentVolumeClaimStatusDie
- func (d *PersistentVolumeClaimStatusDie) DieSealRelease() corev1.PersistentVolumeClaimStatus
- func (d *PersistentVolumeClaimStatusDie) DieSealReleasePtr() *corev1.PersistentVolumeClaimStatus
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PersistentVolumeClaimTemplateDie
- func (d *PersistentVolumeClaimTemplateDie) DieSealFeed(r corev1.PersistentVolumeClaimTemplate) *PersistentVolumeClaimTemplateDie
- func (d *PersistentVolumeClaimTemplateDie) DieSealFeedPtr(r *corev1.PersistentVolumeClaimTemplate) *PersistentVolumeClaimTemplateDie
- func (d *PersistentVolumeClaimTemplateDie) DieSealRelease() corev1.PersistentVolumeClaimTemplate
- func (d *PersistentVolumeClaimTemplateDie) DieSealReleasePtr() *corev1.PersistentVolumeClaimTemplate
- 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) ObjectMeta(v apismetav1.ObjectMeta) *PersistentVolumeClaimTemplateDie
- func (d *PersistentVolumeClaimTemplateDie) ObjectMetaDie(fn func(d *metav1.ObjectMetaDie)) *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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PersistentVolumeClaimVolumeSourceDie
- func (d *PersistentVolumeClaimVolumeSourceDie) DieSealFeed(r corev1.PersistentVolumeClaimVolumeSource) *PersistentVolumeClaimVolumeSourceDie
- func (d *PersistentVolumeClaimVolumeSourceDie) DieSealFeedPtr(r *corev1.PersistentVolumeClaimVolumeSource) *PersistentVolumeClaimVolumeSourceDie
- func (d *PersistentVolumeClaimVolumeSourceDie) DieSealRelease() corev1.PersistentVolumeClaimVolumeSource
- func (d *PersistentVolumeClaimVolumeSourceDie) DieSealReleasePtr() *corev1.PersistentVolumeClaimVolumeSource
- 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) DieDefaultTypeMetadata() *PersistentVolumeDie
- func (d *PersistentVolumeDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PersistentVolumeDie
- func (d *PersistentVolumeDie) DieSealFeed(r corev1.PersistentVolume) *PersistentVolumeDie
- func (d *PersistentVolumeDie) DieSealFeedPtr(r *corev1.PersistentVolume) *PersistentVolumeDie
- func (d *PersistentVolumeDie) DieSealRelease() corev1.PersistentVolume
- func (d *PersistentVolumeDie) DieSealReleasePtr() *corev1.PersistentVolume
- 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) Metadata(v apismetav1.ObjectMeta) *PersistentVolumeDie
- 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) TypeMetadata(v apismetav1.TypeMeta) *PersistentVolumeDie
- func (d *PersistentVolumeDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) DieSealFeed(r corev1.PersistentVolumeSpec) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) DieSealFeedPtr(r *corev1.PersistentVolumeSpec) *PersistentVolumeSpecDie
- func (d *PersistentVolumeSpecDie) DieSealRelease() corev1.PersistentVolumeSpec
- func (d *PersistentVolumeSpecDie) DieSealReleasePtr() *corev1.PersistentVolumeSpec
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PersistentVolumeStatusDie
- func (d *PersistentVolumeStatusDie) DieSealFeed(r corev1.PersistentVolumeStatus) *PersistentVolumeStatusDie
- func (d *PersistentVolumeStatusDie) DieSealFeedPtr(r *corev1.PersistentVolumeStatus) *PersistentVolumeStatusDie
- func (d *PersistentVolumeStatusDie) DieSealRelease() corev1.PersistentVolumeStatus
- func (d *PersistentVolumeStatusDie) DieSealReleasePtr() *corev1.PersistentVolumeStatus
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PhotonPersistentDiskVolumeSourceDie
- func (d *PhotonPersistentDiskVolumeSourceDie) DieSealFeed(r corev1.PhotonPersistentDiskVolumeSource) *PhotonPersistentDiskVolumeSourceDie
- func (d *PhotonPersistentDiskVolumeSourceDie) DieSealFeedPtr(r *corev1.PhotonPersistentDiskVolumeSource) *PhotonPersistentDiskVolumeSourceDie
- func (d *PhotonPersistentDiskVolumeSourceDie) DieSealRelease() corev1.PhotonPersistentDiskVolumeSource
- func (d *PhotonPersistentDiskVolumeSourceDie) DieSealReleasePtr() *corev1.PhotonPersistentDiskVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PodDNSConfigDie
- func (d *PodDNSConfigDie) DieSealFeed(r corev1.PodDNSConfig) *PodDNSConfigDie
- func (d *PodDNSConfigDie) DieSealFeedPtr(r *corev1.PodDNSConfig) *PodDNSConfigDie
- func (d *PodDNSConfigDie) DieSealRelease() corev1.PodDNSConfig
- func (d *PodDNSConfigDie) DieSealReleasePtr() *corev1.PodDNSConfig
- 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(v ...*PodDNSConfigOptionDie) *PodDNSConfigDie
- func (d *PodDNSConfigDie) Searches(v ...string) *PodDNSConfigDie
- type PodDNSConfigOptionDie
- func (d *PodDNSConfigOptionDie) DeepCopy() *PodDNSConfigOptionDie
- func (d *PodDNSConfigOptionDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PodDNSConfigOptionDie
- func (d *PodDNSConfigOptionDie) DieSealFeed(r corev1.PodDNSConfigOption) *PodDNSConfigOptionDie
- func (d *PodDNSConfigOptionDie) DieSealFeedPtr(r *corev1.PodDNSConfigOption) *PodDNSConfigOptionDie
- func (d *PodDNSConfigOptionDie) DieSealRelease() corev1.PodDNSConfigOption
- func (d *PodDNSConfigOptionDie) DieSealReleasePtr() *corev1.PodDNSConfigOption
- 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) DieDefaultTypeMetadata() *PodDie
- func (d *PodDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PodDie
- func (d *PodDie) DieSealFeed(r corev1.Pod) *PodDie
- func (d *PodDie) DieSealFeedPtr(r *corev1.Pod) *PodDie
- func (d *PodDie) DieSealRelease() corev1.Pod
- func (d *PodDie) DieSealReleasePtr() *corev1.Pod
- 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) Metadata(v apismetav1.ObjectMeta) *PodDie
- 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) TypeMetadata(v apismetav1.TypeMeta) *PodDie
- func (d *PodDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *PodDie
- func (d *PodDie) UnmarshalJSON(b []byte) error
- type PodOSDie
- func (d *PodOSDie) DeepCopy() *PodOSDie
- func (d *PodOSDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PodOSDie
- func (d *PodOSDie) DieSealFeed(r corev1.PodOS) *PodOSDie
- func (d *PodOSDie) DieSealFeedPtr(r *corev1.PodOS) *PodOSDie
- func (d *PodOSDie) DieSealRelease() corev1.PodOS
- func (d *PodOSDie) DieSealReleasePtr() *corev1.PodOS
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PodReadinessGateDie
- func (d *PodReadinessGateDie) DieSealFeed(r corev1.PodReadinessGate) *PodReadinessGateDie
- func (d *PodReadinessGateDie) DieSealFeedPtr(r *corev1.PodReadinessGate) *PodReadinessGateDie
- func (d *PodReadinessGateDie) DieSealRelease() corev1.PodReadinessGate
- func (d *PodReadinessGateDie) DieSealReleasePtr() *corev1.PodReadinessGate
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PodResourceClaimDie
- func (d *PodResourceClaimDie) DieSealFeed(r corev1.PodResourceClaim) *PodResourceClaimDie
- func (d *PodResourceClaimDie) DieSealFeedPtr(r *corev1.PodResourceClaim) *PodResourceClaimDie
- func (d *PodResourceClaimDie) DieSealRelease() corev1.PodResourceClaim
- func (d *PodResourceClaimDie) DieSealReleasePtr() *corev1.PodResourceClaim
- 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) ResourceClaimName(v *string) *PodResourceClaimDie
- func (d *PodResourceClaimDie) ResourceClaimTemplateName(v *string) *PodResourceClaimDie
- type PodSchedulingGateDie
- func (d *PodSchedulingGateDie) DeepCopy() *PodSchedulingGateDie
- func (d *PodSchedulingGateDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PodSchedulingGateDie
- func (d *PodSchedulingGateDie) DieSealFeed(r corev1.PodSchedulingGate) *PodSchedulingGateDie
- func (d *PodSchedulingGateDie) DieSealFeedPtr(r *corev1.PodSchedulingGate) *PodSchedulingGateDie
- func (d *PodSchedulingGateDie) DieSealRelease() corev1.PodSchedulingGate
- func (d *PodSchedulingGateDie) DieSealReleasePtr() *corev1.PodSchedulingGate
- 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) AppArmorProfile(v *corev1.AppArmorProfile) *PodSecurityContextDie
- func (d *PodSecurityContextDie) AppArmorProfileDie(fn func(d *AppArmorProfileDie)) *PodSecurityContextDie
- func (d *PodSecurityContextDie) DeepCopy() *PodSecurityContextDie
- func (d *PodSecurityContextDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PodSecurityContextDie
- func (d *PodSecurityContextDie) DieSealFeed(r corev1.PodSecurityContext) *PodSecurityContextDie
- func (d *PodSecurityContextDie) DieSealFeedPtr(r *corev1.PodSecurityContext) *PodSecurityContextDie
- func (d *PodSecurityContextDie) DieSealRelease() corev1.PodSecurityContext
- func (d *PodSecurityContextDie) DieSealReleasePtr() *corev1.PodSecurityContext
- 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) SupplementalGroupsPolicy(v *corev1.SupplementalGroupsPolicy) *PodSecurityContextDie
- func (d *PodSecurityContextDie) Sysctls(v ...corev1.Sysctl) *PodSecurityContextDie
- func (d *PodSecurityContextDie) SysctlsDie(v ...*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(v 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PodSpecDie
- func (d *PodSpecDie) DieSealFeed(r corev1.PodSpec) *PodSpecDie
- func (d *PodSpecDie) DieSealFeedPtr(r *corev1.PodSpec) *PodSpecDie
- func (d *PodSpecDie) DieSealRelease() corev1.PodSpec
- func (d *PodSpecDie) DieSealReleasePtr() *corev1.PodSpec
- 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(v ...*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(v 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(v ...*PodReadinessGateDie) *PodSpecDie
- func (d *PodSpecDie) ResourceClaims(v ...corev1.PodResourceClaim) *PodSpecDie
- func (d *PodSpecDie) ResourceClaimsDie(v ...*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(v ...*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(v string, fn func(d *TolerationDie)) *PodSpecDie
- func (d *PodSpecDie) Tolerations(v ...corev1.Toleration) *PodSpecDie
- func (d *PodSpecDie) TopologySpreadConstraintDie(v string, fn func(d *TopologySpreadConstraintDie)) *PodSpecDie
- func (d *PodSpecDie) TopologySpreadConstraints(v ...corev1.TopologySpreadConstraint) *PodSpecDie
- func (d *PodSpecDie) VolumeDie(v 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(v string, fn func(d *ContainerStatusDie)) *PodStatusDie
- func (d *PodStatusDie) ContainerStatuses(v ...corev1.ContainerStatus) *PodStatusDie
- func (d *PodStatusDie) DeepCopy() *PodStatusDie
- func (d *PodStatusDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PodStatusDie
- func (d *PodStatusDie) DieSealFeed(r corev1.PodStatus) *PodStatusDie
- func (d *PodStatusDie) DieSealFeedPtr(r *corev1.PodStatus) *PodStatusDie
- func (d *PodStatusDie) DieSealRelease() corev1.PodStatus
- func (d *PodStatusDie) DieSealReleasePtr() *corev1.PodStatus
- 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(v 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(v 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PodTemplateDie
- func (d *PodTemplateDie) DieSealFeed(r corev1.PodTemplate) *PodTemplateDie
- func (d *PodTemplateDie) DieSealFeedPtr(r *corev1.PodTemplate) *PodTemplateDie
- func (d *PodTemplateDie) DieSealRelease() corev1.PodTemplate
- func (d *PodTemplateDie) DieSealReleasePtr() *corev1.PodTemplate
- 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) Metadata(v apismetav1.ObjectMeta) *PodTemplateDie
- 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) TypeMetadata(v apismetav1.TypeMeta) *PodTemplateDie
- func (d *PodTemplateDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *PodTemplateDie
- func (d *PodTemplateDie) UnmarshalJSON(b []byte) error
- type PodTemplateSpecDie
- func (d *PodTemplateSpecDie) DeepCopy() *PodTemplateSpecDie
- func (d *PodTemplateSpecDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PodTemplateSpecDie
- func (d *PodTemplateSpecDie) DieSealFeed(r corev1.PodTemplateSpec) *PodTemplateSpecDie
- func (d *PodTemplateSpecDie) DieSealFeedPtr(r *corev1.PodTemplateSpec) *PodTemplateSpecDie
- func (d *PodTemplateSpecDie) DieSealRelease() corev1.PodTemplateSpec
- func (d *PodTemplateSpecDie) DieSealReleasePtr() *corev1.PodTemplateSpec
- 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 *metav1.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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PortStatusDie
- func (d *PortStatusDie) DieSealFeed(r corev1.PortStatus) *PortStatusDie
- func (d *PortStatusDie) DieSealFeedPtr(r *corev1.PortStatus) *PortStatusDie
- func (d *PortStatusDie) DieSealRelease() corev1.PortStatus
- func (d *PortStatusDie) DieSealReleasePtr() *corev1.PortStatus
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *PortworxVolumeSourceDie
- func (d *PortworxVolumeSourceDie) DieSealFeed(r corev1.PortworxVolumeSource) *PortworxVolumeSourceDie
- func (d *PortworxVolumeSourceDie) DieSealFeedPtr(r *corev1.PortworxVolumeSource) *PortworxVolumeSourceDie
- func (d *PortworxVolumeSourceDie) DieSealRelease() corev1.PortworxVolumeSource
- func (d *PortworxVolumeSourceDie) DieSealReleasePtr() *corev1.PortworxVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ProbeDie
- func (d *ProbeDie) DieSealFeed(r corev1.Probe) *ProbeDie
- func (d *ProbeDie) DieSealFeedPtr(r *corev1.Probe) *ProbeDie
- func (d *ProbeDie) DieSealRelease() corev1.Probe
- func (d *ProbeDie) DieSealReleasePtr() *corev1.Probe
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ProbeHandlerDie
- func (d *ProbeHandlerDie) DieSealFeed(r corev1.ProbeHandler) *ProbeHandlerDie
- func (d *ProbeHandlerDie) DieSealFeedPtr(r *corev1.ProbeHandler) *ProbeHandlerDie
- func (d *ProbeHandlerDie) DieSealRelease() corev1.ProbeHandler
- func (d *ProbeHandlerDie) DieSealReleasePtr() *corev1.ProbeHandler
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ProjectedVolumeSourceDie
- func (d *ProjectedVolumeSourceDie) DieSealFeed(r corev1.ProjectedVolumeSource) *ProjectedVolumeSourceDie
- func (d *ProjectedVolumeSourceDie) DieSealFeedPtr(r *corev1.ProjectedVolumeSource) *ProjectedVolumeSourceDie
- func (d *ProjectedVolumeSourceDie) DieSealRelease() corev1.ProjectedVolumeSource
- func (d *ProjectedVolumeSourceDie) DieSealReleasePtr() *corev1.ProjectedVolumeSource
- 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(v ...*VolumeProjectionDie) *ProjectedVolumeSourceDie
- type QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) DeepCopy() *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) DieSealFeed(r corev1.QuobyteVolumeSource) *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) DieSealFeedPtr(r *corev1.QuobyteVolumeSource) *QuobyteVolumeSourceDie
- func (d *QuobyteVolumeSourceDie) DieSealRelease() corev1.QuobyteVolumeSource
- func (d *QuobyteVolumeSourceDie) DieSealReleasePtr() *corev1.QuobyteVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) DieSealFeed(r corev1.RBDPersistentVolumeSource) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.RBDPersistentVolumeSource) *RBDPersistentVolumeSourceDie
- func (d *RBDPersistentVolumeSourceDie) DieSealRelease() corev1.RBDPersistentVolumeSource
- func (d *RBDPersistentVolumeSourceDie) DieSealReleasePtr() *corev1.RBDPersistentVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) DieSealFeed(r corev1.RBDVolumeSource) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) DieSealFeedPtr(r *corev1.RBDVolumeSource) *RBDVolumeSourceDie
- func (d *RBDVolumeSourceDie) DieSealRelease() corev1.RBDVolumeSource
- func (d *RBDVolumeSourceDie) DieSealReleasePtr() *corev1.RBDVolumeSource
- 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) DieDefaultTypeMetadata() *ReplicationControllerDie
- func (d *ReplicationControllerDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ReplicationControllerDie
- func (d *ReplicationControllerDie) DieSealFeed(r corev1.ReplicationController) *ReplicationControllerDie
- func (d *ReplicationControllerDie) DieSealFeedPtr(r *corev1.ReplicationController) *ReplicationControllerDie
- func (d *ReplicationControllerDie) DieSealRelease() corev1.ReplicationController
- func (d *ReplicationControllerDie) DieSealReleasePtr() *corev1.ReplicationController
- 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) Metadata(v apismetav1.ObjectMeta) *ReplicationControllerDie
- 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) TypeMetadata(v apismetav1.TypeMeta) *ReplicationControllerDie
- func (d *ReplicationControllerDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *ReplicationControllerDie
- func (d *ReplicationControllerDie) UnmarshalJSON(b []byte) error
- type ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) DeepCopy() *ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) DieSealFeed(r corev1.ReplicationControllerSpec) *ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) DieSealFeedPtr(r *corev1.ReplicationControllerSpec) *ReplicationControllerSpecDie
- func (d *ReplicationControllerSpecDie) DieSealRelease() corev1.ReplicationControllerSpec
- func (d *ReplicationControllerSpecDie) DieSealReleasePtr() *corev1.ReplicationControllerSpec
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) DieSealFeed(r corev1.ReplicationControllerStatus) *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) DieSealFeedPtr(r *corev1.ReplicationControllerStatus) *ReplicationControllerStatusDie
- func (d *ReplicationControllerStatusDie) DieSealRelease() corev1.ReplicationControllerStatus
- func (d *ReplicationControllerStatusDie) DieSealReleasePtr() *corev1.ReplicationControllerStatus
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ResourceClaimDie
- func (d *ResourceClaimDie) DieSealFeed(r corev1.ResourceClaim) *ResourceClaimDie
- func (d *ResourceClaimDie) DieSealFeedPtr(r *corev1.ResourceClaim) *ResourceClaimDie
- func (d *ResourceClaimDie) DieSealRelease() corev1.ResourceClaim
- func (d *ResourceClaimDie) DieSealReleasePtr() *corev1.ResourceClaim
- 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
- func (d *ResourceClaimDie) Request(v string) *ResourceClaimDie
- type ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) ContainerName(v string) *ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) DeepCopy() *ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) DieSealFeed(r corev1.ResourceFieldSelector) *ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) DieSealFeedPtr(r *corev1.ResourceFieldSelector) *ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) DieSealRelease() corev1.ResourceFieldSelector
- func (d *ResourceFieldSelectorDie) DieSealReleasePtr() *corev1.ResourceFieldSelector
- 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) DivisorString(s string) *ResourceFieldSelectorDie
- func (d *ResourceFieldSelectorDie) Resource(v string) *ResourceFieldSelectorDie
- type ResourceHealthDie
- func (d *ResourceHealthDie) DeepCopy() *ResourceHealthDie
- func (d *ResourceHealthDie) DieDiff(opts ...cmp.Option) string
- func (d *ResourceHealthDie) DieFeed(r corev1.ResourceHealth) *ResourceHealthDie
- func (d *ResourceHealthDie) DieFeedJSON(j []byte) *ResourceHealthDie
- func (d *ResourceHealthDie) DieFeedPtr(r *corev1.ResourceHealth) *ResourceHealthDie
- func (d *ResourceHealthDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourceHealthDie
- func (d *ResourceHealthDie) DieFeedYAML(y []byte) *ResourceHealthDie
- func (d *ResourceHealthDie) DieFeedYAMLFile(name string) *ResourceHealthDie
- func (d *ResourceHealthDie) DieImmutable(immutable bool) *ResourceHealthDie
- func (d *ResourceHealthDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ResourceHealthDie) DieRelease() corev1.ResourceHealth
- func (d *ResourceHealthDie) DieReleaseJSON() []byte
- func (d *ResourceHealthDie) DieReleasePtr() *corev1.ResourceHealth
- func (d *ResourceHealthDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ResourceHealthDie) DieReleaseYAML() []byte
- func (d *ResourceHealthDie) DieSeal() *ResourceHealthDie
- func (d *ResourceHealthDie) DieSealFeed(r corev1.ResourceHealth) *ResourceHealthDie
- func (d *ResourceHealthDie) DieSealFeedPtr(r *corev1.ResourceHealth) *ResourceHealthDie
- func (d *ResourceHealthDie) DieSealRelease() corev1.ResourceHealth
- func (d *ResourceHealthDie) DieSealReleasePtr() *corev1.ResourceHealth
- func (d *ResourceHealthDie) DieStamp(fn func(r *corev1.ResourceHealth)) *ResourceHealthDie
- func (d *ResourceHealthDie) DieStampAt(jp string, fn interface{}) *ResourceHealthDie
- func (d *ResourceHealthDie) DieWith(fns ...func(d *ResourceHealthDie)) *ResourceHealthDie
- func (d *ResourceHealthDie) Health(v corev1.ResourceHealthStatus) *ResourceHealthDie
- func (d *ResourceHealthDie) ResourceID(v corev1.ResourceID) *ResourceHealthDie
- type ResourceQuotaDie
- func (d *ResourceQuotaDie) APIVersion(v string) *ResourceQuotaDie
- func (d *ResourceQuotaDie) DeepCopy() *ResourceQuotaDie
- func (d *ResourceQuotaDie) DeepCopyObject() runtime.Object
- func (d *ResourceQuotaDie) DieDefaultTypeMetadata() *ResourceQuotaDie
- func (d *ResourceQuotaDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ResourceQuotaDie
- func (d *ResourceQuotaDie) DieSealFeed(r corev1.ResourceQuota) *ResourceQuotaDie
- func (d *ResourceQuotaDie) DieSealFeedPtr(r *corev1.ResourceQuota) *ResourceQuotaDie
- func (d *ResourceQuotaDie) DieSealRelease() corev1.ResourceQuota
- func (d *ResourceQuotaDie) DieSealReleasePtr() *corev1.ResourceQuota
- 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) Metadata(v apismetav1.ObjectMeta) *ResourceQuotaDie
- 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) TypeMetadata(v apismetav1.TypeMeta) *ResourceQuotaDie
- func (d *ResourceQuotaDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) DieSealFeed(r corev1.ResourceQuotaSpec) *ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) DieSealFeedPtr(r *corev1.ResourceQuotaSpec) *ResourceQuotaSpecDie
- func (d *ResourceQuotaSpecDie) DieSealRelease() corev1.ResourceQuotaSpec
- func (d *ResourceQuotaSpecDie) DieSealReleasePtr() *corev1.ResourceQuotaSpec
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) DieSealFeed(r corev1.ResourceQuotaStatus) *ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) DieSealFeedPtr(r *corev1.ResourceQuotaStatus) *ResourceQuotaStatusDie
- func (d *ResourceQuotaStatusDie) DieSealRelease() corev1.ResourceQuotaStatus
- func (d *ResourceQuotaStatusDie) DieSealReleasePtr() *corev1.ResourceQuotaStatus
- 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) ClaimDie(v string, fn func(d *ResourceClaimDie)) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) Claims(v ...corev1.ResourceClaim) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) ClaimsDie(v ...*ResourceClaimDie) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) DeepCopy() *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) DieSealFeed(r corev1.ResourceRequirements) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) DieSealFeedPtr(r *corev1.ResourceRequirements) *ResourceRequirementsDie
- func (d *ResourceRequirementsDie) DieSealRelease() corev1.ResourceRequirements
- func (d *ResourceRequirementsDie) DieSealReleasePtr() *corev1.ResourceRequirements
- 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 ResourceStatusDie
- func (d *ResourceStatusDie) DeepCopy() *ResourceStatusDie
- func (d *ResourceStatusDie) DieDiff(opts ...cmp.Option) string
- func (d *ResourceStatusDie) DieFeed(r corev1.ResourceStatus) *ResourceStatusDie
- func (d *ResourceStatusDie) DieFeedJSON(j []byte) *ResourceStatusDie
- func (d *ResourceStatusDie) DieFeedPtr(r *corev1.ResourceStatus) *ResourceStatusDie
- func (d *ResourceStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourceStatusDie
- func (d *ResourceStatusDie) DieFeedYAML(y []byte) *ResourceStatusDie
- func (d *ResourceStatusDie) DieFeedYAMLFile(name string) *ResourceStatusDie
- func (d *ResourceStatusDie) DieImmutable(immutable bool) *ResourceStatusDie
- func (d *ResourceStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ResourceStatusDie) DieRelease() corev1.ResourceStatus
- func (d *ResourceStatusDie) DieReleaseJSON() []byte
- func (d *ResourceStatusDie) DieReleasePtr() *corev1.ResourceStatus
- func (d *ResourceStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ResourceStatusDie) DieReleaseYAML() []byte
- func (d *ResourceStatusDie) DieSeal() *ResourceStatusDie
- func (d *ResourceStatusDie) DieSealFeed(r corev1.ResourceStatus) *ResourceStatusDie
- func (d *ResourceStatusDie) DieSealFeedPtr(r *corev1.ResourceStatus) *ResourceStatusDie
- func (d *ResourceStatusDie) DieSealRelease() corev1.ResourceStatus
- func (d *ResourceStatusDie) DieSealReleasePtr() *corev1.ResourceStatus
- func (d *ResourceStatusDie) DieStamp(fn func(r *corev1.ResourceStatus)) *ResourceStatusDie
- func (d *ResourceStatusDie) DieStampAt(jp string, fn interface{}) *ResourceStatusDie
- func (d *ResourceStatusDie) DieWith(fns ...func(d *ResourceStatusDie)) *ResourceStatusDie
- func (d *ResourceStatusDie) Name(v corev1.ResourceName) *ResourceStatusDie
- func (d *ResourceStatusDie) ResourceDie(v corev1.ResourceID, fn func(d *ResourceHealthDie)) *ResourceStatusDie
- func (d *ResourceStatusDie) Resources(v ...corev1.ResourceHealth) *ResourceStatusDie
- type SELinuxOptionsDie
- func (d *SELinuxOptionsDie) DeepCopy() *SELinuxOptionsDie
- func (d *SELinuxOptionsDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *SELinuxOptionsDie
- func (d *SELinuxOptionsDie) DieSealFeed(r corev1.SELinuxOptions) *SELinuxOptionsDie
- func (d *SELinuxOptionsDie) DieSealFeedPtr(r *corev1.SELinuxOptions) *SELinuxOptionsDie
- func (d *SELinuxOptionsDie) DieSealRelease() corev1.SELinuxOptions
- func (d *SELinuxOptionsDie) DieSealReleasePtr() *corev1.SELinuxOptions
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) DieSealFeed(r corev1.ScaleIOPersistentVolumeSource) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.ScaleIOPersistentVolumeSource) *ScaleIOPersistentVolumeSourceDie
- func (d *ScaleIOPersistentVolumeSourceDie) DieSealRelease() corev1.ScaleIOPersistentVolumeSource
- func (d *ScaleIOPersistentVolumeSourceDie) DieSealReleasePtr() *corev1.ScaleIOPersistentVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) DieSealFeed(r corev1.ScaleIOVolumeSource) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) DieSealFeedPtr(r *corev1.ScaleIOVolumeSource) *ScaleIOVolumeSourceDie
- func (d *ScaleIOVolumeSourceDie) DieSealRelease() corev1.ScaleIOVolumeSource
- func (d *ScaleIOVolumeSourceDie) DieSealReleasePtr() *corev1.ScaleIOVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ScopeSelectorDie
- func (d *ScopeSelectorDie) DieSealFeed(r corev1.ScopeSelector) *ScopeSelectorDie
- func (d *ScopeSelectorDie) DieSealFeedPtr(r *corev1.ScopeSelector) *ScopeSelectorDie
- func (d *ScopeSelectorDie) DieSealRelease() corev1.ScopeSelector
- func (d *ScopeSelectorDie) DieSealReleasePtr() *corev1.ScopeSelector
- 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(v corev1.ResourceQuotaScope, fn func(d *ScopedResourceSelectorRequirementDie)) *ScopeSelectorDie
- func (d *ScopeSelectorDie) MatchExpressions(v ...corev1.ScopedResourceSelectorRequirement) *ScopeSelectorDie
- type ScopedResourceSelectorRequirementDie
- func (d *ScopedResourceSelectorRequirementDie) DeepCopy() *ScopedResourceSelectorRequirementDie
- func (d *ScopedResourceSelectorRequirementDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ScopedResourceSelectorRequirementDie
- func (d *ScopedResourceSelectorRequirementDie) DieSealFeed(r corev1.ScopedResourceSelectorRequirement) *ScopedResourceSelectorRequirementDie
- func (d *ScopedResourceSelectorRequirementDie) DieSealFeedPtr(r *corev1.ScopedResourceSelectorRequirement) *ScopedResourceSelectorRequirementDie
- func (d *ScopedResourceSelectorRequirementDie) DieSealRelease() corev1.ScopedResourceSelectorRequirement
- func (d *ScopedResourceSelectorRequirementDie) DieSealReleasePtr() *corev1.ScopedResourceSelectorRequirement
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *SeccompProfileDie
- func (d *SeccompProfileDie) DieSealFeed(r corev1.SeccompProfile) *SeccompProfileDie
- func (d *SeccompProfileDie) DieSealFeedPtr(r *corev1.SeccompProfile) *SeccompProfileDie
- func (d *SeccompProfileDie) DieSealRelease() corev1.SeccompProfile
- func (d *SeccompProfileDie) DieSealReleasePtr() *corev1.SeccompProfile
- 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) DieDefaultTypeMetadata() *SecretDie
- func (d *SecretDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *SecretDie
- func (d *SecretDie) DieSealFeed(r corev1.Secret) *SecretDie
- func (d *SecretDie) DieSealFeedPtr(r *corev1.Secret) *SecretDie
- func (d *SecretDie) DieSealRelease() corev1.Secret
- func (d *SecretDie) DieSealReleasePtr() *corev1.Secret
- 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) Metadata(v apismetav1.ObjectMeta) *SecretDie
- 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) TypeMetadata(v apismetav1.TypeMeta) *SecretDie
- func (d *SecretDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *SecretDie
- func (d *SecretDie) UnmarshalJSON(b []byte) error
- type SecretEnvSourceDie
- func (d *SecretEnvSourceDie) DeepCopy() *SecretEnvSourceDie
- func (d *SecretEnvSourceDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *SecretEnvSourceDie
- func (d *SecretEnvSourceDie) DieSealFeed(r corev1.SecretEnvSource) *SecretEnvSourceDie
- func (d *SecretEnvSourceDie) DieSealFeedPtr(r *corev1.SecretEnvSource) *SecretEnvSourceDie
- func (d *SecretEnvSourceDie) DieSealRelease() corev1.SecretEnvSource
- func (d *SecretEnvSourceDie) DieSealReleasePtr() *corev1.SecretEnvSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *SecretKeySelectorDie
- func (d *SecretKeySelectorDie) DieSealFeed(r corev1.SecretKeySelector) *SecretKeySelectorDie
- func (d *SecretKeySelectorDie) DieSealFeedPtr(r *corev1.SecretKeySelector) *SecretKeySelectorDie
- func (d *SecretKeySelectorDie) DieSealRelease() corev1.SecretKeySelector
- func (d *SecretKeySelectorDie) DieSealReleasePtr() *corev1.SecretKeySelector
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *SecretProjectionDie
- func (d *SecretProjectionDie) DieSealFeed(r corev1.SecretProjection) *SecretProjectionDie
- func (d *SecretProjectionDie) DieSealFeedPtr(r *corev1.SecretProjection) *SecretProjectionDie
- func (d *SecretProjectionDie) DieSealRelease() corev1.SecretProjection
- func (d *SecretProjectionDie) DieSealReleasePtr() *corev1.SecretProjection
- 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(v 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *SecretReferenceDie
- func (d *SecretReferenceDie) DieSealFeed(r corev1.SecretReference) *SecretReferenceDie
- func (d *SecretReferenceDie) DieSealFeedPtr(r *corev1.SecretReference) *SecretReferenceDie
- func (d *SecretReferenceDie) DieSealRelease() corev1.SecretReference
- func (d *SecretReferenceDie) DieSealReleasePtr() *corev1.SecretReference
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *SecretVolumeSourceDie
- func (d *SecretVolumeSourceDie) DieSealFeed(r corev1.SecretVolumeSource) *SecretVolumeSourceDie
- func (d *SecretVolumeSourceDie) DieSealFeedPtr(r *corev1.SecretVolumeSource) *SecretVolumeSourceDie
- func (d *SecretVolumeSourceDie) DieSealRelease() corev1.SecretVolumeSource
- func (d *SecretVolumeSourceDie) DieSealReleasePtr() *corev1.SecretVolumeSource
- 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(v 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) AppArmorProfile(v *corev1.AppArmorProfile) *SecurityContextDie
- func (d *SecurityContextDie) AppArmorProfileDie(fn func(d *AppArmorProfileDie)) *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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *SecurityContextDie
- func (d *SecurityContextDie) DieSealFeed(r corev1.SecurityContext) *SecurityContextDie
- func (d *SecurityContextDie) DieSealFeedPtr(r *corev1.SecurityContext) *SecurityContextDie
- func (d *SecurityContextDie) DieSealRelease() corev1.SecurityContext
- func (d *SecurityContextDie) DieSealReleasePtr() *corev1.SecurityContext
- 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) DieDefaultTypeMetadata() *ServiceAccountDie
- func (d *ServiceAccountDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ServiceAccountDie
- func (d *ServiceAccountDie) DieSealFeed(r corev1.ServiceAccount) *ServiceAccountDie
- func (d *ServiceAccountDie) DieSealFeedPtr(r *corev1.ServiceAccount) *ServiceAccountDie
- func (d *ServiceAccountDie) DieSealRelease() corev1.ServiceAccount
- func (d *ServiceAccountDie) DieSealReleasePtr() *corev1.ServiceAccount
- 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(v ...*LocalObjectReferenceDie) *ServiceAccountDie
- func (d *ServiceAccountDie) Kind(v string) *ServiceAccountDie
- func (d *ServiceAccountDie) MarshalJSON() ([]byte, error)
- func (d *ServiceAccountDie) Metadata(v apismetav1.ObjectMeta) *ServiceAccountDie
- func (d *ServiceAccountDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ServiceAccountDie
- func (d *ServiceAccountDie) Secrets(v ...corev1.ObjectReference) *ServiceAccountDie
- func (d *ServiceAccountDie) SecretsDie(v ...*ObjectReferenceDie) *ServiceAccountDie
- func (d *ServiceAccountDie) TypeMetadata(v apismetav1.TypeMeta) *ServiceAccountDie
- func (d *ServiceAccountDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ServiceAccountTokenProjectionDie
- func (d *ServiceAccountTokenProjectionDie) DieSealFeed(r corev1.ServiceAccountTokenProjection) *ServiceAccountTokenProjectionDie
- func (d *ServiceAccountTokenProjectionDie) DieSealFeedPtr(r *corev1.ServiceAccountTokenProjection) *ServiceAccountTokenProjectionDie
- func (d *ServiceAccountTokenProjectionDie) DieSealRelease() corev1.ServiceAccountTokenProjection
- func (d *ServiceAccountTokenProjectionDie) DieSealReleasePtr() *corev1.ServiceAccountTokenProjection
- 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) DieDefaultTypeMetadata() *ServiceDie
- func (d *ServiceDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ServiceDie
- func (d *ServiceDie) DieSealFeed(r corev1.Service) *ServiceDie
- func (d *ServiceDie) DieSealFeedPtr(r *corev1.Service) *ServiceDie
- func (d *ServiceDie) DieSealRelease() corev1.Service
- func (d *ServiceDie) DieSealReleasePtr() *corev1.Service
- 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) Metadata(v apismetav1.ObjectMeta) *ServiceDie
- 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) TypeMetadata(v apismetav1.TypeMeta) *ServiceDie
- func (d *ServiceDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ServicePortDie
- func (d *ServicePortDie) DieSealFeed(r corev1.ServicePort) *ServicePortDie
- func (d *ServicePortDie) DieSealFeedPtr(r *corev1.ServicePort) *ServicePortDie
- func (d *ServicePortDie) DieSealRelease() corev1.ServicePort
- func (d *ServicePortDie) DieSealReleasePtr() *corev1.ServicePort
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ServiceSpecDie
- func (d *ServiceSpecDie) DieSealFeed(r corev1.ServiceSpec) *ServiceSpecDie
- func (d *ServiceSpecDie) DieSealFeedPtr(r *corev1.ServiceSpec) *ServiceSpecDie
- func (d *ServiceSpecDie) DieSealRelease() corev1.ServiceSpec
- func (d *ServiceSpecDie) DieSealReleasePtr() *corev1.ServiceSpec
- 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) TrafficDistribution(v *string) *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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *ServiceStatusDie
- func (d *ServiceStatusDie) DieSealFeed(r corev1.ServiceStatus) *ServiceStatusDie
- func (d *ServiceStatusDie) DieSealFeedPtr(r *corev1.ServiceStatus) *ServiceStatusDie
- func (d *ServiceStatusDie) DieSealRelease() corev1.ServiceStatus
- func (d *ServiceStatusDie) DieSealReleasePtr() *corev1.ServiceStatus
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *SessionAffinityConfigDie
- func (d *SessionAffinityConfigDie) DieSealFeed(r corev1.SessionAffinityConfig) *SessionAffinityConfigDie
- func (d *SessionAffinityConfigDie) DieSealFeedPtr(r *corev1.SessionAffinityConfig) *SessionAffinityConfigDie
- func (d *SessionAffinityConfigDie) DieSealRelease() corev1.SessionAffinityConfig
- func (d *SessionAffinityConfigDie) DieSealReleasePtr() *corev1.SessionAffinityConfig
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *SleepActionDie
- func (d *SleepActionDie) DieSealFeed(r corev1.SleepAction) *SleepActionDie
- func (d *SleepActionDie) DieSealFeedPtr(r *corev1.SleepAction) *SleepActionDie
- func (d *SleepActionDie) DieSealRelease() corev1.SleepAction
- func (d *SleepActionDie) DieSealReleasePtr() *corev1.SleepAction
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) DieSealFeed(r corev1.StorageOSPersistentVolumeSource) *StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.StorageOSPersistentVolumeSource) *StorageOSPersistentVolumeSourceDie
- func (d *StorageOSPersistentVolumeSourceDie) DieSealRelease() corev1.StorageOSPersistentVolumeSource
- func (d *StorageOSPersistentVolumeSourceDie) DieSealReleasePtr() *corev1.StorageOSPersistentVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) DieSealFeed(r corev1.StorageOSVolumeSource) *StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) DieSealFeedPtr(r *corev1.StorageOSVolumeSource) *StorageOSVolumeSourceDie
- func (d *StorageOSVolumeSourceDie) DieSealRelease() corev1.StorageOSVolumeSource
- func (d *StorageOSVolumeSourceDie) DieSealReleasePtr() *corev1.StorageOSVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *SysctlDie
- func (d *SysctlDie) DieSealFeed(r corev1.Sysctl) *SysctlDie
- func (d *SysctlDie) DieSealFeedPtr(r *corev1.Sysctl) *SysctlDie
- func (d *SysctlDie) DieSealRelease() corev1.Sysctl
- func (d *SysctlDie) DieSealReleasePtr() *corev1.Sysctl
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *TCPSocketActionDie
- func (d *TCPSocketActionDie) DieSealFeed(r corev1.TCPSocketAction) *TCPSocketActionDie
- func (d *TCPSocketActionDie) DieSealFeedPtr(r *corev1.TCPSocketAction) *TCPSocketActionDie
- func (d *TCPSocketActionDie) DieSealRelease() corev1.TCPSocketAction
- func (d *TCPSocketActionDie) DieSealReleasePtr() *corev1.TCPSocketAction
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *TaintDie
- func (d *TaintDie) DieSealFeed(r corev1.Taint) *TaintDie
- func (d *TaintDie) DieSealFeedPtr(r *corev1.Taint) *TaintDie
- func (d *TaintDie) DieSealRelease() corev1.Taint
- func (d *TaintDie) DieSealReleasePtr() *corev1.Taint
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *TolerationDie
- func (d *TolerationDie) DieSealFeed(r corev1.Toleration) *TolerationDie
- func (d *TolerationDie) DieSealFeedPtr(r *corev1.Toleration) *TolerationDie
- func (d *TolerationDie) DieSealRelease() corev1.Toleration
- func (d *TolerationDie) DieSealReleasePtr() *corev1.Toleration
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *TopologySelectorLabelRequirementDie
- func (d *TopologySelectorLabelRequirementDie) DieSealFeed(r corev1.TopologySelectorLabelRequirement) *TopologySelectorLabelRequirementDie
- func (d *TopologySelectorLabelRequirementDie) DieSealFeedPtr(r *corev1.TopologySelectorLabelRequirement) *TopologySelectorLabelRequirementDie
- func (d *TopologySelectorLabelRequirementDie) DieSealRelease() corev1.TopologySelectorLabelRequirement
- func (d *TopologySelectorLabelRequirementDie) DieSealReleasePtr() *corev1.TopologySelectorLabelRequirement
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *TopologySelectorTermDie
- func (d *TopologySelectorTermDie) DieSealFeed(r corev1.TopologySelectorTerm) *TopologySelectorTermDie
- func (d *TopologySelectorTermDie) DieSealFeedPtr(r *corev1.TopologySelectorTerm) *TopologySelectorTermDie
- func (d *TopologySelectorTermDie) DieSealRelease() corev1.TopologySelectorTerm
- func (d *TopologySelectorTermDie) DieSealReleasePtr() *corev1.TopologySelectorTerm
- 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(v ...*TopologySelectorLabelRequirementDie) *TopologySelectorTermDie
- type TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) DeepCopy() *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) DieSealFeed(r corev1.TopologySpreadConstraint) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) DieSealFeedPtr(r *corev1.TopologySpreadConstraint) *TopologySpreadConstraintDie
- func (d *TopologySpreadConstraintDie) DieSealRelease() corev1.TopologySpreadConstraint
- func (d *TopologySpreadConstraintDie) DieSealReleasePtr() *corev1.TopologySpreadConstraint
- 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 *metav1.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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *TypedLocalObjectReferenceDie
- func (d *TypedLocalObjectReferenceDie) DieSealFeed(r corev1.TypedLocalObjectReference) *TypedLocalObjectReferenceDie
- func (d *TypedLocalObjectReferenceDie) DieSealFeedPtr(r *corev1.TypedLocalObjectReference) *TypedLocalObjectReferenceDie
- func (d *TypedLocalObjectReferenceDie) DieSealRelease() corev1.TypedLocalObjectReference
- func (d *TypedLocalObjectReferenceDie) DieSealReleasePtr() *corev1.TypedLocalObjectReference
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *TypedObjectReferenceDie
- func (d *TypedObjectReferenceDie) DieSealFeed(r corev1.TypedObjectReference) *TypedObjectReferenceDie
- func (d *TypedObjectReferenceDie) DieSealFeedPtr(r *corev1.TypedObjectReference) *TypedObjectReferenceDie
- func (d *TypedObjectReferenceDie) DieSealRelease() corev1.TypedObjectReference
- func (d *TypedObjectReferenceDie) DieSealReleasePtr() *corev1.TypedObjectReference
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *VolumeDeviceDie
- func (d *VolumeDeviceDie) DieSealFeed(r corev1.VolumeDevice) *VolumeDeviceDie
- func (d *VolumeDeviceDie) DieSealFeedPtr(r *corev1.VolumeDevice) *VolumeDeviceDie
- func (d *VolumeDeviceDie) DieSealRelease() corev1.VolumeDevice
- func (d *VolumeDeviceDie) DieSealReleasePtr() *corev1.VolumeDevice
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *VolumeDie
- func (d *VolumeDie) DieSealFeed(r corev1.Volume) *VolumeDie
- func (d *VolumeDie) DieSealFeedPtr(r *corev1.Volume) *VolumeDie
- func (d *VolumeDie) DieSealRelease() corev1.Volume
- func (d *VolumeDie) DieSealReleasePtr() *corev1.Volume
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *VolumeMountDie
- func (d *VolumeMountDie) DieSealFeed(r corev1.VolumeMount) *VolumeMountDie
- func (d *VolumeMountDie) DieSealFeedPtr(r *corev1.VolumeMount) *VolumeMountDie
- func (d *VolumeMountDie) DieSealRelease() corev1.VolumeMount
- func (d *VolumeMountDie) DieSealReleasePtr() *corev1.VolumeMount
- 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) RecursiveReadOnly(v *corev1.RecursiveReadOnlyMode) *VolumeMountDie
- func (d *VolumeMountDie) SubPath(v string) *VolumeMountDie
- func (d *VolumeMountDie) SubPathExpr(v string) *VolumeMountDie
- type VolumeMountStatusDie
- func (d *VolumeMountStatusDie) DeepCopy() *VolumeMountStatusDie
- func (d *VolumeMountStatusDie) DieDiff(opts ...cmp.Option) string
- func (d *VolumeMountStatusDie) DieFeed(r corev1.VolumeMountStatus) *VolumeMountStatusDie
- func (d *VolumeMountStatusDie) DieFeedJSON(j []byte) *VolumeMountStatusDie
- func (d *VolumeMountStatusDie) DieFeedPtr(r *corev1.VolumeMountStatus) *VolumeMountStatusDie
- func (d *VolumeMountStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeMountStatusDie
- func (d *VolumeMountStatusDie) DieFeedYAML(y []byte) *VolumeMountStatusDie
- func (d *VolumeMountStatusDie) DieFeedYAMLFile(name string) *VolumeMountStatusDie
- func (d *VolumeMountStatusDie) DieImmutable(immutable bool) *VolumeMountStatusDie
- func (d *VolumeMountStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *VolumeMountStatusDie) DieRelease() corev1.VolumeMountStatus
- func (d *VolumeMountStatusDie) DieReleaseJSON() []byte
- func (d *VolumeMountStatusDie) DieReleasePtr() *corev1.VolumeMountStatus
- func (d *VolumeMountStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *VolumeMountStatusDie) DieReleaseYAML() []byte
- func (d *VolumeMountStatusDie) DieSeal() *VolumeMountStatusDie
- func (d *VolumeMountStatusDie) DieSealFeed(r corev1.VolumeMountStatus) *VolumeMountStatusDie
- func (d *VolumeMountStatusDie) DieSealFeedPtr(r *corev1.VolumeMountStatus) *VolumeMountStatusDie
- func (d *VolumeMountStatusDie) DieSealRelease() corev1.VolumeMountStatus
- func (d *VolumeMountStatusDie) DieSealReleasePtr() *corev1.VolumeMountStatus
- func (d *VolumeMountStatusDie) DieStamp(fn func(r *corev1.VolumeMountStatus)) *VolumeMountStatusDie
- func (d *VolumeMountStatusDie) DieStampAt(jp string, fn interface{}) *VolumeMountStatusDie
- func (d *VolumeMountStatusDie) DieWith(fns ...func(d *VolumeMountStatusDie)) *VolumeMountStatusDie
- func (d *VolumeMountStatusDie) MountPath(v string) *VolumeMountStatusDie
- func (d *VolumeMountStatusDie) Name(v string) *VolumeMountStatusDie
- func (d *VolumeMountStatusDie) ReadOnly(v bool) *VolumeMountStatusDie
- func (d *VolumeMountStatusDie) RecursiveReadOnly(v *corev1.RecursiveReadOnlyMode) *VolumeMountStatusDie
- type VolumeNodeAffinityDie
- func (d *VolumeNodeAffinityDie) DeepCopy() *VolumeNodeAffinityDie
- func (d *VolumeNodeAffinityDie) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *VolumeNodeAffinityDie
- func (d *VolumeNodeAffinityDie) DieSealFeed(r corev1.VolumeNodeAffinity) *VolumeNodeAffinityDie
- func (d *VolumeNodeAffinityDie) DieSealFeedPtr(r *corev1.VolumeNodeAffinity) *VolumeNodeAffinityDie
- func (d *VolumeNodeAffinityDie) DieSealRelease() corev1.VolumeNodeAffinity
- func (d *VolumeNodeAffinityDie) DieSealReleasePtr() *corev1.VolumeNodeAffinity
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *VolumeProjectionDie
- func (d *VolumeProjectionDie) DieSealFeed(r corev1.VolumeProjection) *VolumeProjectionDie
- func (d *VolumeProjectionDie) DieSealFeedPtr(r *corev1.VolumeProjection) *VolumeProjectionDie
- func (d *VolumeProjectionDie) DieSealRelease() corev1.VolumeProjection
- func (d *VolumeProjectionDie) DieSealReleasePtr() *corev1.VolumeProjection
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) DieSealFeed(r corev1.VolumeResourceRequirements) *VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) DieSealFeedPtr(r *corev1.VolumeResourceRequirements) *VolumeResourceRequirementsDie
- func (d *VolumeResourceRequirementsDie) DieSealRelease() corev1.VolumeResourceRequirements
- func (d *VolumeResourceRequirementsDie) DieSealReleasePtr() *corev1.VolumeResourceRequirements
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *VsphereVirtualDiskVolumeSourceDie
- func (d *VsphereVirtualDiskVolumeSourceDie) DieSealFeed(r corev1.VsphereVirtualDiskVolumeSource) *VsphereVirtualDiskVolumeSourceDie
- func (d *VsphereVirtualDiskVolumeSourceDie) DieSealFeedPtr(r *corev1.VsphereVirtualDiskVolumeSource) *VsphereVirtualDiskVolumeSourceDie
- func (d *VsphereVirtualDiskVolumeSourceDie) DieSealRelease() corev1.VsphereVirtualDiskVolumeSource
- func (d *VsphereVirtualDiskVolumeSourceDie) DieSealReleasePtr() *corev1.VsphereVirtualDiskVolumeSource
- 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) DieDiff(opts ...cmp.Option) string
- 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) DiePatch(patchType types.PatchType) ([]byte, error)
- 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) DieSeal() *WindowsSecurityContextOptionsDie
- func (d *WindowsSecurityContextOptionsDie) DieSealFeed(r corev1.WindowsSecurityContextOptions) *WindowsSecurityContextOptionsDie
- func (d *WindowsSecurityContextOptionsDie) DieSealFeedPtr(r *corev1.WindowsSecurityContextOptions) *WindowsSecurityContextOptionsDie
- func (d *WindowsSecurityContextOptionsDie) DieSealRelease() corev1.WindowsSecurityContextOptions
- func (d *WindowsSecurityContextOptionsDie) DieSealReleasePtr() *corev1.WindowsSecurityContextOptions
- 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 AppArmorProfileBlank = (&AppArmorProfileDie{}).DieFeed(corev1.AppArmorProfile{})
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 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 ContainerUserBlank = (&ContainerUserDie{}).DieFeed(corev1.ContainerUser{})
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 LinuxContainerUserBlank = (&LinuxContainerUserDie{}).DieFeed(corev1.LinuxContainerUser{})
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 NodeFeaturesBlank = (&NodeFeaturesDie{}).DieFeed(corev1.NodeFeatures{})
var NodeRuntimeHandlerBlank = (&NodeRuntimeHandlerDie{}).DieFeed(corev1.NodeRuntimeHandler{})
var NodeRuntimeHandlerFeaturesBlank = (&NodeRuntimeHandlerFeaturesDie{}).DieFeed(corev1.NodeRuntimeHandlerFeatures{})
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 ResourceHealthBlank = (&ResourceHealthDie{}).DieFeed(corev1.ResourceHealth{})
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 ResourceStatusBlank = (&ResourceStatusDie{}).DieFeed(corev1.ResourceStatus{})
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 VolumeMountStatusBlank = (&VolumeMountStatusDie{}).DieFeed(corev1.VolumeMountStatus{})
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) DieDiff ¶ added in v0.13.0
func (d *AWSElasticBlockStoreVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*AWSElasticBlockStoreVolumeSourceDie) DieFeed ¶
func (d *AWSElasticBlockStoreVolumeSourceDie) DieFeed(r corev1.AWSElasticBlockStoreVolumeSource) *AWSElasticBlockStoreVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*AWSElasticBlockStoreVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *AWSElasticBlockStoreVolumeSourceDie) DieFeedYAML(y []byte) *AWSElasticBlockStoreVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*AWSElasticBlockStoreVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *AWSElasticBlockStoreVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*AWSElasticBlockStoreVolumeSourceDie) DieRelease ¶
func (d *AWSElasticBlockStoreVolumeSourceDie) DieRelease() corev1.AWSElasticBlockStoreVolumeSource
DieRelease returns the resource managed by the die.
func (*AWSElasticBlockStoreVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *AWSElasticBlockStoreVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*AWSElasticBlockStoreVolumeSourceDie) DieReleaseYAML ¶
func (d *AWSElasticBlockStoreVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*AWSElasticBlockStoreVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *AWSElasticBlockStoreVolumeSourceDie) DieSeal() *AWSElasticBlockStoreVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*AWSElasticBlockStoreVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *AWSElasticBlockStoreVolumeSourceDie) DieSealFeed(r corev1.AWSElasticBlockStoreVolumeSource) *AWSElasticBlockStoreVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*AWSElasticBlockStoreVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *AWSElasticBlockStoreVolumeSourceDie) DieSealFeedPtr(r *corev1.AWSElasticBlockStoreVolumeSource) *AWSElasticBlockStoreVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*AWSElasticBlockStoreVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *AWSElasticBlockStoreVolumeSourceDie) DieSealRelease() corev1.AWSElasticBlockStoreVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*AWSElasticBlockStoreVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *AWSElasticBlockStoreVolumeSourceDie) DieSealReleasePtr() *corev1.AWSElasticBlockStoreVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 AppArmorProfileDie ¶ added in v0.12.0
type AppArmorProfileDie struct {
// contains filtered or unexported fields
}
func (*AppArmorProfileDie) DeepCopy ¶ added in v0.12.0
func (d *AppArmorProfileDie) DeepCopy() *AppArmorProfileDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*AppArmorProfileDie) DieDiff ¶ added in v0.13.0
func (d *AppArmorProfileDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*AppArmorProfileDie) DieFeed ¶ added in v0.12.0
func (d *AppArmorProfileDie) DieFeed(r corev1.AppArmorProfile) *AppArmorProfileDie
DieFeed returns a new die with the provided resource.
func (*AppArmorProfileDie) DieFeedJSON ¶ added in v0.12.0
func (d *AppArmorProfileDie) DieFeedJSON(j []byte) *AppArmorProfileDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*AppArmorProfileDie) DieFeedPtr ¶ added in v0.12.0
func (d *AppArmorProfileDie) DieFeedPtr(r *corev1.AppArmorProfile) *AppArmorProfileDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*AppArmorProfileDie) DieFeedRawExtension ¶ added in v0.12.0
func (d *AppArmorProfileDie) DieFeedRawExtension(raw runtime.RawExtension) *AppArmorProfileDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*AppArmorProfileDie) DieFeedYAML ¶ added in v0.12.0
func (d *AppArmorProfileDie) DieFeedYAML(y []byte) *AppArmorProfileDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*AppArmorProfileDie) DieFeedYAMLFile ¶ added in v0.12.0
func (d *AppArmorProfileDie) DieFeedYAMLFile(name string) *AppArmorProfileDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*AppArmorProfileDie) DieImmutable ¶ added in v0.12.0
func (d *AppArmorProfileDie) DieImmutable(immutable bool) *AppArmorProfileDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*AppArmorProfileDie) DiePatch ¶ added in v0.13.0
func (d *AppArmorProfileDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*AppArmorProfileDie) DieRelease ¶ added in v0.12.0
func (d *AppArmorProfileDie) DieRelease() corev1.AppArmorProfile
DieRelease returns the resource managed by the die.
func (*AppArmorProfileDie) DieReleaseJSON ¶ added in v0.12.0
func (d *AppArmorProfileDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*AppArmorProfileDie) DieReleasePtr ¶ added in v0.12.0
func (d *AppArmorProfileDie) DieReleasePtr() *corev1.AppArmorProfile
DieReleasePtr returns a pointer to the resource managed by the die.
func (*AppArmorProfileDie) DieReleaseRawExtension ¶ added in v0.12.0
func (d *AppArmorProfileDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*AppArmorProfileDie) DieReleaseYAML ¶ added in v0.12.0
func (d *AppArmorProfileDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*AppArmorProfileDie) DieSeal ¶ added in v0.13.0
func (d *AppArmorProfileDie) DieSeal() *AppArmorProfileDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*AppArmorProfileDie) DieSealFeed ¶ added in v0.13.0
func (d *AppArmorProfileDie) DieSealFeed(r corev1.AppArmorProfile) *AppArmorProfileDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*AppArmorProfileDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *AppArmorProfileDie) DieSealFeedPtr(r *corev1.AppArmorProfile) *AppArmorProfileDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*AppArmorProfileDie) DieSealRelease ¶ added in v0.13.0
func (d *AppArmorProfileDie) DieSealRelease() corev1.AppArmorProfile
DieSealRelease returns the sealed resource managed by the die.
func (*AppArmorProfileDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *AppArmorProfileDie) DieSealReleasePtr() *corev1.AppArmorProfile
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*AppArmorProfileDie) DieStamp ¶ added in v0.12.0
func (d *AppArmorProfileDie) DieStamp(fn func(r *corev1.AppArmorProfile)) *AppArmorProfileDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*AppArmorProfileDie) DieStampAt ¶ added in v0.12.0
func (d *AppArmorProfileDie) DieStampAt(jp string, fn interface{}) *AppArmorProfileDie
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 (*AppArmorProfileDie) DieWith ¶ added in v0.12.0
func (d *AppArmorProfileDie) DieWith(fns ...func(d *AppArmorProfileDie)) *AppArmorProfileDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*AppArmorProfileDie) LocalhostProfile ¶ added in v0.12.0
func (d *AppArmorProfileDie) LocalhostProfile(v *string) *AppArmorProfileDie
localhostProfile indicates a profile loaded on the node that should be used.
The profile must be preconfigured on the node to work.
Must match the loaded name of the profile.
Must be set if and only if type is "Localhost".
func (*AppArmorProfileDie) Type ¶ added in v0.12.0
func (d *AppArmorProfileDie) Type(v corev1.AppArmorProfileType) *AppArmorProfileDie
type indicates which kind of AppArmor profile will be applied.
Valid options are:
Localhost - a profile pre-loaded on the node.
RuntimeDefault - the container runtime's default profile.
Unconfined - no AppArmor enforcement.
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) DieDiff ¶ added in v0.13.0
func (d *AttachedVolumeDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*AttachedVolumeDie) DieFeed ¶
func (d *AttachedVolumeDie) DieFeed(r corev1.AttachedVolume) *AttachedVolumeDie
DieFeed returns a new die with the provided resource.
func (*AttachedVolumeDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *AttachedVolumeDie) DieFeedYAML(y []byte) *AttachedVolumeDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*AttachedVolumeDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *AttachedVolumeDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*AttachedVolumeDie) DieRelease ¶
func (d *AttachedVolumeDie) DieRelease() corev1.AttachedVolume
DieRelease returns the resource managed by the die.
func (*AttachedVolumeDie) DieReleaseJSON ¶
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 ¶
func (d *AttachedVolumeDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*AttachedVolumeDie) DieReleaseYAML ¶
func (d *AttachedVolumeDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*AttachedVolumeDie) DieSeal ¶ added in v0.13.0
func (d *AttachedVolumeDie) DieSeal() *AttachedVolumeDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*AttachedVolumeDie) DieSealFeed ¶ added in v0.13.0
func (d *AttachedVolumeDie) DieSealFeed(r corev1.AttachedVolume) *AttachedVolumeDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*AttachedVolumeDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *AttachedVolumeDie) DieSealFeedPtr(r *corev1.AttachedVolume) *AttachedVolumeDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*AttachedVolumeDie) DieSealRelease ¶ added in v0.13.0
func (d *AttachedVolumeDie) DieSealRelease() corev1.AttachedVolume
DieSealRelease returns the sealed resource managed by the die.
func (*AttachedVolumeDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *AttachedVolumeDie) DieSealReleasePtr() *corev1.AttachedVolume
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *AzureDiskVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*AzureDiskVolumeSourceDie) DieFeed ¶
func (d *AzureDiskVolumeSourceDie) DieFeed(r corev1.AzureDiskVolumeSource) *AzureDiskVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*AzureDiskVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *AzureDiskVolumeSourceDie) DieFeedYAML(y []byte) *AzureDiskVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*AzureDiskVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *AzureDiskVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*AzureDiskVolumeSourceDie) DieRelease ¶
func (d *AzureDiskVolumeSourceDie) DieRelease() corev1.AzureDiskVolumeSource
DieRelease returns the resource managed by the die.
func (*AzureDiskVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *AzureDiskVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*AzureDiskVolumeSourceDie) DieReleaseYAML ¶
func (d *AzureDiskVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*AzureDiskVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *AzureDiskVolumeSourceDie) DieSeal() *AzureDiskVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*AzureDiskVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *AzureDiskVolumeSourceDie) DieSealFeed(r corev1.AzureDiskVolumeSource) *AzureDiskVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*AzureDiskVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *AzureDiskVolumeSourceDie) DieSealFeedPtr(r *corev1.AzureDiskVolumeSource) *AzureDiskVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*AzureDiskVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *AzureDiskVolumeSourceDie) DieSealRelease() corev1.AzureDiskVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*AzureDiskVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *AzureDiskVolumeSourceDie) DieSealReleasePtr() *corev1.AzureDiskVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *AzureFilePersistentVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*AzureFilePersistentVolumeSourceDie) DieFeed ¶
func (d *AzureFilePersistentVolumeSourceDie) DieFeed(r corev1.AzureFilePersistentVolumeSource) *AzureFilePersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*AzureFilePersistentVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *AzureFilePersistentVolumeSourceDie) DieFeedYAML(y []byte) *AzureFilePersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*AzureFilePersistentVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *AzureFilePersistentVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*AzureFilePersistentVolumeSourceDie) DieRelease ¶
func (d *AzureFilePersistentVolumeSourceDie) DieRelease() corev1.AzureFilePersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*AzureFilePersistentVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *AzureFilePersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*AzureFilePersistentVolumeSourceDie) DieReleaseYAML ¶
func (d *AzureFilePersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*AzureFilePersistentVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *AzureFilePersistentVolumeSourceDie) DieSeal() *AzureFilePersistentVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*AzureFilePersistentVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *AzureFilePersistentVolumeSourceDie) DieSealFeed(r corev1.AzureFilePersistentVolumeSource) *AzureFilePersistentVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*AzureFilePersistentVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *AzureFilePersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.AzureFilePersistentVolumeSource) *AzureFilePersistentVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*AzureFilePersistentVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *AzureFilePersistentVolumeSourceDie) DieSealRelease() corev1.AzureFilePersistentVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*AzureFilePersistentVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *AzureFilePersistentVolumeSourceDie) DieSealReleasePtr() *corev1.AzureFilePersistentVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *AzureFileVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*AzureFileVolumeSourceDie) DieFeed ¶
func (d *AzureFileVolumeSourceDie) DieFeed(r corev1.AzureFileVolumeSource) *AzureFileVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*AzureFileVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *AzureFileVolumeSourceDie) DieFeedYAML(y []byte) *AzureFileVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*AzureFileVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *AzureFileVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*AzureFileVolumeSourceDie) DieRelease ¶
func (d *AzureFileVolumeSourceDie) DieRelease() corev1.AzureFileVolumeSource
DieRelease returns the resource managed by the die.
func (*AzureFileVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *AzureFileVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*AzureFileVolumeSourceDie) DieReleaseYAML ¶
func (d *AzureFileVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*AzureFileVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *AzureFileVolumeSourceDie) DieSeal() *AzureFileVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*AzureFileVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *AzureFileVolumeSourceDie) DieSealFeed(r corev1.AzureFileVolumeSource) *AzureFileVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*AzureFileVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *AzureFileVolumeSourceDie) DieSealFeedPtr(r *corev1.AzureFileVolumeSource) *AzureFileVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*AzureFileVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *AzureFileVolumeSourceDie) DieSealRelease() corev1.AzureFileVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*AzureFileVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *AzureFileVolumeSourceDie) DieSealReleasePtr() *corev1.AzureFileVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
type BindingDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*BindingDie) APIVersion ¶
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 ¶
func (d *BindingDie) DeepCopy() *BindingDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*BindingDie) DeepCopyObject ¶
func (d *BindingDie) DeepCopyObject() runtime.Object
func (*BindingDie) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *BindingDie) DieDefaultTypeMetadata() *BindingDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "Binding" respectively.
func (*BindingDie) DieDiff ¶ added in v0.13.0
func (d *BindingDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*BindingDie) DieFeed ¶
func (d *BindingDie) DieFeed(r corev1.Binding) *BindingDie
DieFeed returns a new die with the provided resource.
func (*BindingDie) DieFeedJSON ¶
func (d *BindingDie) DieFeedJSON(j []byte) *BindingDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*BindingDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *BindingDie) DieFeedYAML(y []byte) *BindingDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*BindingDie) DieFeedYAMLFile ¶
func (d *BindingDie) DieFeedYAMLFile(name string) *BindingDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*BindingDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *BindingDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*BindingDie) DieRelease ¶
func (d *BindingDie) DieRelease() corev1.Binding
DieRelease returns the resource managed by the die.
func (*BindingDie) DieReleaseJSON ¶
func (d *BindingDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*BindingDie) DieReleasePtr ¶
func (d *BindingDie) DieReleasePtr() *corev1.Binding
DieReleasePtr returns a pointer to the resource managed by the die.
func (*BindingDie) DieReleaseRawExtension ¶
func (d *BindingDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*BindingDie) DieReleaseUnstructured ¶
func (d *BindingDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*BindingDie) DieReleaseYAML ¶
func (d *BindingDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*BindingDie) DieSeal ¶ added in v0.13.0
func (d *BindingDie) DieSeal() *BindingDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*BindingDie) DieSealFeed ¶ added in v0.13.0
func (d *BindingDie) DieSealFeed(r corev1.Binding) *BindingDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*BindingDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *BindingDie) DieSealFeedPtr(r *corev1.Binding) *BindingDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*BindingDie) DieSealRelease ¶ added in v0.13.0
func (d *BindingDie) DieSealRelease() corev1.Binding
DieSealRelease returns the sealed resource managed by the die.
func (*BindingDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *BindingDie) DieSealReleasePtr() *corev1.Binding
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*BindingDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
func (d *BindingDie) GetObjectKind() schema.ObjectKind
func (*BindingDie) Kind ¶
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 ¶
func (d *BindingDie) MarshalJSON() ([]byte, error)
func (*BindingDie) Metadata ¶ added in v0.13.0
func (d *BindingDie) Metadata(v apismetav1.ObjectMeta) *BindingDie
Metadata standard object's metadata.
func (*BindingDie) MetadataDie ¶
func (d *BindingDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *BindingDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*BindingDie) Target ¶
func (d *BindingDie) Target(v corev1.ObjectReference) *BindingDie
The target object that you want to bind to the standard object.
func (*BindingDie) TargetDie ¶
func (d *BindingDie) TargetDie(fn func(d *ObjectReferenceDie)) *BindingDie
TargetDie mutates Target as a die.
The target object that you want to bind to the standard object.
func (*BindingDie) TypeMetadata ¶ added in v0.13.0
func (d *BindingDie) TypeMetadata(v apismetav1.TypeMeta) *BindingDie
TypeMetadata standard object's type metadata.
func (*BindingDie) TypeMetadataDie ¶ added in v0.13.0
func (d *BindingDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *BindingDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*BindingDie) UnmarshalJSON ¶
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
ControllerExpandSecretRefDie mutates ControllerExpandSecretRef as a die.
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) 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
ControllerPublishSecretRefDie mutates ControllerPublishSecretRef as a die.
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) DeepCopy ¶
func (d *CSIPersistentVolumeSourceDie) DeepCopy() *CSIPersistentVolumeSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*CSIPersistentVolumeSourceDie) DieDiff ¶ added in v0.13.0
func (d *CSIPersistentVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*CSIPersistentVolumeSourceDie) DieFeed ¶
func (d *CSIPersistentVolumeSourceDie) DieFeed(r corev1.CSIPersistentVolumeSource) *CSIPersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*CSIPersistentVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *CSIPersistentVolumeSourceDie) DieFeedYAML(y []byte) *CSIPersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*CSIPersistentVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *CSIPersistentVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*CSIPersistentVolumeSourceDie) DieRelease ¶
func (d *CSIPersistentVolumeSourceDie) DieRelease() corev1.CSIPersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*CSIPersistentVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *CSIPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CSIPersistentVolumeSourceDie) DieReleaseYAML ¶
func (d *CSIPersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*CSIPersistentVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *CSIPersistentVolumeSourceDie) DieSeal() *CSIPersistentVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*CSIPersistentVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *CSIPersistentVolumeSourceDie) DieSealFeed(r corev1.CSIPersistentVolumeSource) *CSIPersistentVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*CSIPersistentVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *CSIPersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.CSIPersistentVolumeSource) *CSIPersistentVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*CSIPersistentVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *CSIPersistentVolumeSourceDie) DieSealRelease() corev1.CSIPersistentVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*CSIPersistentVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *CSIPersistentVolumeSourceDie) DieSealReleasePtr() *corev1.CSIPersistentVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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 ¶
func (d *CSIPersistentVolumeSourceDie) NodeExpandSecretRefDie(fn func(d *SecretReferenceDie)) *CSIPersistentVolumeSourceDie
NodeExpandSecretRefDie mutates NodeExpandSecretRef as a die.
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) 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
NodePublishSecretRefDie mutates NodePublishSecretRef as a die.
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) 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
NodeStageSecretRefDie mutates NodeStageSecretRef as a die.
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) 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) DieDiff ¶ added in v0.13.0
func (d *CSIVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*CSIVolumeSourceDie) DieFeed ¶
func (d *CSIVolumeSourceDie) DieFeed(r corev1.CSIVolumeSource) *CSIVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*CSIVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *CSIVolumeSourceDie) DieFeedYAML(y []byte) *CSIVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*CSIVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *CSIVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*CSIVolumeSourceDie) DieRelease ¶
func (d *CSIVolumeSourceDie) DieRelease() corev1.CSIVolumeSource
DieRelease returns the resource managed by the die.
func (*CSIVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *CSIVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CSIVolumeSourceDie) DieReleaseYAML ¶
func (d *CSIVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*CSIVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *CSIVolumeSourceDie) DieSeal() *CSIVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*CSIVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *CSIVolumeSourceDie) DieSealFeed(r corev1.CSIVolumeSource) *CSIVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*CSIVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *CSIVolumeSourceDie) DieSealFeedPtr(r *corev1.CSIVolumeSource) *CSIVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*CSIVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *CSIVolumeSourceDie) DieSealRelease() corev1.CSIVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*CSIVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *CSIVolumeSourceDie) DieSealReleasePtr() *corev1.CSIVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
NodePublishSecretRefDie mutates NodePublishSecretRef as a die.
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) 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) DieDiff ¶ added in v0.13.0
func (d *CapabilitiesDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*CapabilitiesDie) DieFeed ¶
func (d *CapabilitiesDie) DieFeed(r corev1.Capabilities) *CapabilitiesDie
DieFeed returns a new die with the provided resource.
func (*CapabilitiesDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *CapabilitiesDie) DieFeedYAML(y []byte) *CapabilitiesDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*CapabilitiesDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *CapabilitiesDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*CapabilitiesDie) DieRelease ¶
func (d *CapabilitiesDie) DieRelease() corev1.Capabilities
DieRelease returns the resource managed by the die.
func (*CapabilitiesDie) DieReleaseJSON ¶
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 ¶
func (d *CapabilitiesDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CapabilitiesDie) DieReleaseYAML ¶
func (d *CapabilitiesDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*CapabilitiesDie) DieSeal ¶ added in v0.13.0
func (d *CapabilitiesDie) DieSeal() *CapabilitiesDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*CapabilitiesDie) DieSealFeed ¶ added in v0.13.0
func (d *CapabilitiesDie) DieSealFeed(r corev1.Capabilities) *CapabilitiesDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*CapabilitiesDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *CapabilitiesDie) DieSealFeedPtr(r *corev1.Capabilities) *CapabilitiesDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*CapabilitiesDie) DieSealRelease ¶ added in v0.13.0
func (d *CapabilitiesDie) DieSealRelease() corev1.Capabilities
DieSealRelease returns the sealed resource managed by the die.
func (*CapabilitiesDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *CapabilitiesDie) DieSealReleasePtr() *corev1.Capabilities
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *CephFSPersistentVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*CephFSPersistentVolumeSourceDie) DieFeed ¶
func (d *CephFSPersistentVolumeSourceDie) DieFeed(r corev1.CephFSPersistentVolumeSource) *CephFSPersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*CephFSPersistentVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *CephFSPersistentVolumeSourceDie) DieFeedYAML(y []byte) *CephFSPersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*CephFSPersistentVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *CephFSPersistentVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*CephFSPersistentVolumeSourceDie) DieRelease ¶
func (d *CephFSPersistentVolumeSourceDie) DieRelease() corev1.CephFSPersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*CephFSPersistentVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *CephFSPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CephFSPersistentVolumeSourceDie) DieReleaseYAML ¶
func (d *CephFSPersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*CephFSPersistentVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *CephFSPersistentVolumeSourceDie) DieSeal() *CephFSPersistentVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*CephFSPersistentVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *CephFSPersistentVolumeSourceDie) DieSealFeed(r corev1.CephFSPersistentVolumeSource) *CephFSPersistentVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*CephFSPersistentVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *CephFSPersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.CephFSPersistentVolumeSource) *CephFSPersistentVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*CephFSPersistentVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *CephFSPersistentVolumeSourceDie) DieSealRelease() corev1.CephFSPersistentVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*CephFSPersistentVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *CephFSPersistentVolumeSourceDie) DieSealReleasePtr() *corev1.CephFSPersistentVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
SecretRefDie mutates SecretRef as a die.
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) 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) DieDiff ¶ added in v0.13.0
func (d *CephFSVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*CephFSVolumeSourceDie) DieFeed ¶
func (d *CephFSVolumeSourceDie) DieFeed(r corev1.CephFSVolumeSource) *CephFSVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*CephFSVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *CephFSVolumeSourceDie) DieFeedYAML(y []byte) *CephFSVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*CephFSVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *CephFSVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*CephFSVolumeSourceDie) DieRelease ¶
func (d *CephFSVolumeSourceDie) DieRelease() corev1.CephFSVolumeSource
DieRelease returns the resource managed by the die.
func (*CephFSVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *CephFSVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CephFSVolumeSourceDie) DieReleaseYAML ¶
func (d *CephFSVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*CephFSVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *CephFSVolumeSourceDie) DieSeal() *CephFSVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*CephFSVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *CephFSVolumeSourceDie) DieSealFeed(r corev1.CephFSVolumeSource) *CephFSVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*CephFSVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *CephFSVolumeSourceDie) DieSealFeedPtr(r *corev1.CephFSVolumeSource) *CephFSVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*CephFSVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *CephFSVolumeSourceDie) DieSealRelease() corev1.CephFSVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*CephFSVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *CephFSVolumeSourceDie) DieSealReleasePtr() *corev1.CephFSVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
SecretRefDie mutates SecretRef as a die.
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) 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) DieDiff ¶ added in v0.13.0
func (d *CinderPersistentVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*CinderPersistentVolumeSourceDie) DieFeed ¶
func (d *CinderPersistentVolumeSourceDie) DieFeed(r corev1.CinderPersistentVolumeSource) *CinderPersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*CinderPersistentVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *CinderPersistentVolumeSourceDie) DieFeedYAML(y []byte) *CinderPersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*CinderPersistentVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *CinderPersistentVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*CinderPersistentVolumeSourceDie) DieRelease ¶
func (d *CinderPersistentVolumeSourceDie) DieRelease() corev1.CinderPersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*CinderPersistentVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *CinderPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CinderPersistentVolumeSourceDie) DieReleaseYAML ¶
func (d *CinderPersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*CinderPersistentVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *CinderPersistentVolumeSourceDie) DieSeal() *CinderPersistentVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*CinderPersistentVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *CinderPersistentVolumeSourceDie) DieSealFeed(r corev1.CinderPersistentVolumeSource) *CinderPersistentVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*CinderPersistentVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *CinderPersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.CinderPersistentVolumeSource) *CinderPersistentVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*CinderPersistentVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *CinderPersistentVolumeSourceDie) DieSealRelease() corev1.CinderPersistentVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*CinderPersistentVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *CinderPersistentVolumeSourceDie) DieSealReleasePtr() *corev1.CinderPersistentVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
SecretRefDie mutates SecretRef as a die.
secretRef is Optional: points to a secret object containing parameters used to connect
to OpenStack.
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) DieDiff ¶ added in v0.13.0
func (d *CinderVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*CinderVolumeSourceDie) DieFeed ¶
func (d *CinderVolumeSourceDie) DieFeed(r corev1.CinderVolumeSource) *CinderVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*CinderVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *CinderVolumeSourceDie) DieFeedYAML(y []byte) *CinderVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*CinderVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *CinderVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*CinderVolumeSourceDie) DieRelease ¶
func (d *CinderVolumeSourceDie) DieRelease() corev1.CinderVolumeSource
DieRelease returns the resource managed by the die.
func (*CinderVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *CinderVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*CinderVolumeSourceDie) DieReleaseYAML ¶
func (d *CinderVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*CinderVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *CinderVolumeSourceDie) DieSeal() *CinderVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*CinderVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *CinderVolumeSourceDie) DieSealFeed(r corev1.CinderVolumeSource) *CinderVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*CinderVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *CinderVolumeSourceDie) DieSealFeedPtr(r *corev1.CinderVolumeSource) *CinderVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*CinderVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *CinderVolumeSourceDie) DieSealRelease() corev1.CinderVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*CinderVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *CinderVolumeSourceDie) DieSealReleasePtr() *corev1.CinderVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
SecretRefDie mutates SecretRef as a die.
secretRef is optional: points to a secret object containing parameters used to connect
to OpenStack.
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 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) DieDiff ¶ added in v0.13.0
func (d *ClientIPConfigDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ClientIPConfigDie) DieFeed ¶
func (d *ClientIPConfigDie) DieFeed(r corev1.ClientIPConfig) *ClientIPConfigDie
DieFeed returns a new die with the provided resource.
func (*ClientIPConfigDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ClientIPConfigDie) DieFeedYAML(y []byte) *ClientIPConfigDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ClientIPConfigDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ClientIPConfigDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ClientIPConfigDie) DieRelease ¶
func (d *ClientIPConfigDie) DieRelease() corev1.ClientIPConfig
DieRelease returns the resource managed by the die.
func (*ClientIPConfigDie) DieReleaseJSON ¶
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 ¶
func (d *ClientIPConfigDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ClientIPConfigDie) DieReleaseYAML ¶
func (d *ClientIPConfigDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ClientIPConfigDie) DieSeal ¶ added in v0.13.0
func (d *ClientIPConfigDie) DieSeal() *ClientIPConfigDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ClientIPConfigDie) DieSealFeed ¶ added in v0.13.0
func (d *ClientIPConfigDie) DieSealFeed(r corev1.ClientIPConfig) *ClientIPConfigDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ClientIPConfigDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ClientIPConfigDie) DieSealFeedPtr(r *corev1.ClientIPConfig) *ClientIPConfigDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ClientIPConfigDie) DieSealRelease ¶ added in v0.13.0
func (d *ClientIPConfigDie) DieSealRelease() corev1.ClientIPConfig
DieSealRelease returns the sealed resource managed by the die.
func (*ClientIPConfigDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ClientIPConfigDie) DieSealReleasePtr() *corev1.ClientIPConfig
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
type ClusterTrustBundleProjectionDie struct {
// contains filtered or unexported fields
}
func (*ClusterTrustBundleProjectionDie) DeepCopy ¶
func (d *ClusterTrustBundleProjectionDie) DeepCopy() *ClusterTrustBundleProjectionDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ClusterTrustBundleProjectionDie) DieDiff ¶ added in v0.13.0
func (d *ClusterTrustBundleProjectionDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ClusterTrustBundleProjectionDie) DieFeed ¶
func (d *ClusterTrustBundleProjectionDie) DieFeed(r corev1.ClusterTrustBundleProjection) *ClusterTrustBundleProjectionDie
DieFeed returns a new die with the provided resource.
func (*ClusterTrustBundleProjectionDie) DieFeedJSON ¶
func (d *ClusterTrustBundleProjectionDie) DieFeedJSON(j []byte) *ClusterTrustBundleProjectionDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ClusterTrustBundleProjectionDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *ClusterTrustBundleProjectionDie) DieFeedYAML(y []byte) *ClusterTrustBundleProjectionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ClusterTrustBundleProjectionDie) DieFeedYAMLFile ¶
func (d *ClusterTrustBundleProjectionDie) DieFeedYAMLFile(name string) *ClusterTrustBundleProjectionDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ClusterTrustBundleProjectionDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *ClusterTrustBundleProjectionDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ClusterTrustBundleProjectionDie) DieRelease ¶
func (d *ClusterTrustBundleProjectionDie) DieRelease() corev1.ClusterTrustBundleProjection
DieRelease returns the resource managed by the die.
func (*ClusterTrustBundleProjectionDie) DieReleaseJSON ¶
func (d *ClusterTrustBundleProjectionDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ClusterTrustBundleProjectionDie) DieReleasePtr ¶
func (d *ClusterTrustBundleProjectionDie) DieReleasePtr() *corev1.ClusterTrustBundleProjection
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ClusterTrustBundleProjectionDie) DieReleaseRawExtension ¶
func (d *ClusterTrustBundleProjectionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ClusterTrustBundleProjectionDie) DieReleaseYAML ¶
func (d *ClusterTrustBundleProjectionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ClusterTrustBundleProjectionDie) DieSeal ¶ added in v0.13.0
func (d *ClusterTrustBundleProjectionDie) DieSeal() *ClusterTrustBundleProjectionDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ClusterTrustBundleProjectionDie) DieSealFeed ¶ added in v0.13.0
func (d *ClusterTrustBundleProjectionDie) DieSealFeed(r corev1.ClusterTrustBundleProjection) *ClusterTrustBundleProjectionDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ClusterTrustBundleProjectionDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ClusterTrustBundleProjectionDie) DieSealFeedPtr(r *corev1.ClusterTrustBundleProjection) *ClusterTrustBundleProjectionDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ClusterTrustBundleProjectionDie) DieSealRelease ¶ added in v0.13.0
func (d *ClusterTrustBundleProjectionDie) DieSealRelease() corev1.ClusterTrustBundleProjection
DieSealRelease returns the sealed resource managed by the die.
func (*ClusterTrustBundleProjectionDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ClusterTrustBundleProjectionDie) DieSealReleasePtr() *corev1.ClusterTrustBundleProjection
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ClusterTrustBundleProjectionDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (d *ClusterTrustBundleProjectionDie) LabelSelectorDie(fn func(d *metav1.LabelSelectorDie)) *ClusterTrustBundleProjectionDie
LabelSelectorDie mutates LabelSelector as a die.
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) Name ¶
func (d *ClusterTrustBundleProjectionDie) Name(v *string) *ClusterTrustBundleProjectionDie
Select a single ClusterTrustBundle by object name. Mutually-exclusive
with signerName and labelSelector.
func (*ClusterTrustBundleProjectionDie) Optional ¶
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 ¶
func (d *ClusterTrustBundleProjectionDie) Path(v string) *ClusterTrustBundleProjectionDie
Relative path from the volume root to write the bundle.
func (*ClusterTrustBundleProjectionDie) SignerName ¶
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 ¶
type ComponentStatusDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*ComponentStatusDie) APIVersion ¶
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 ¶
func (d *ComponentStatusDie) Conditions(v ...corev1.ComponentCondition) *ComponentStatusDie
List of component conditions observed
func (*ComponentStatusDie) ConditionsDie ¶
func (d *ComponentStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *ComponentStatusDie
func (*ComponentStatusDie) DeepCopy ¶
func (d *ComponentStatusDie) DeepCopy() *ComponentStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ComponentStatusDie) DeepCopyObject ¶
func (d *ComponentStatusDie) DeepCopyObject() runtime.Object
func (*ComponentStatusDie) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *ComponentStatusDie) DieDefaultTypeMetadata() *ComponentStatusDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "ComponentStatus" respectively.
func (*ComponentStatusDie) DieDiff ¶ added in v0.13.0
func (d *ComponentStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ComponentStatusDie) DieFeed ¶
func (d *ComponentStatusDie) DieFeed(r corev1.ComponentStatus) *ComponentStatusDie
DieFeed returns a new die with the provided resource.
func (*ComponentStatusDie) DieFeedJSON ¶
func (d *ComponentStatusDie) DieFeedJSON(j []byte) *ComponentStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ComponentStatusDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *ComponentStatusDie) DieFeedYAML(y []byte) *ComponentStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ComponentStatusDie) DieFeedYAMLFile ¶
func (d *ComponentStatusDie) DieFeedYAMLFile(name string) *ComponentStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ComponentStatusDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *ComponentStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ComponentStatusDie) DieRelease ¶
func (d *ComponentStatusDie) DieRelease() corev1.ComponentStatus
DieRelease returns the resource managed by the die.
func (*ComponentStatusDie) DieReleaseJSON ¶
func (d *ComponentStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ComponentStatusDie) DieReleasePtr ¶
func (d *ComponentStatusDie) DieReleasePtr() *corev1.ComponentStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ComponentStatusDie) DieReleaseRawExtension ¶
func (d *ComponentStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ComponentStatusDie) DieReleaseUnstructured ¶
func (d *ComponentStatusDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*ComponentStatusDie) DieReleaseYAML ¶
func (d *ComponentStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ComponentStatusDie) DieSeal ¶ added in v0.13.0
func (d *ComponentStatusDie) DieSeal() *ComponentStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ComponentStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *ComponentStatusDie) DieSealFeed(r corev1.ComponentStatus) *ComponentStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ComponentStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ComponentStatusDie) DieSealFeedPtr(r *corev1.ComponentStatus) *ComponentStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ComponentStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *ComponentStatusDie) DieSealRelease() corev1.ComponentStatus
DieSealRelease returns the sealed resource managed by the die.
func (*ComponentStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ComponentStatusDie) DieSealReleasePtr() *corev1.ComponentStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ComponentStatusDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
func (d *ComponentStatusDie) GetObjectKind() schema.ObjectKind
func (*ComponentStatusDie) Kind ¶
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 ¶
func (d *ComponentStatusDie) MarshalJSON() ([]byte, error)
func (*ComponentStatusDie) Metadata ¶ added in v0.13.0
func (d *ComponentStatusDie) Metadata(v apismetav1.ObjectMeta) *ComponentStatusDie
Metadata standard object's metadata.
func (*ComponentStatusDie) MetadataDie ¶
func (d *ComponentStatusDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ComponentStatusDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*ComponentStatusDie) TypeMetadata ¶ added in v0.13.0
func (d *ComponentStatusDie) TypeMetadata(v apismetav1.TypeMeta) *ComponentStatusDie
TypeMetadata standard object's type metadata.
func (*ComponentStatusDie) TypeMetadataDie ¶ added in v0.13.0
func (d *ComponentStatusDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *ComponentStatusDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*ComponentStatusDie) UnmarshalJSON ¶
func (d *ComponentStatusDie) UnmarshalJSON(b []byte) error
type ConfigMapDie ¶
type ConfigMapDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*ConfigMapDie) APIVersion ¶
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) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *ConfigMapDie) DieDefaultTypeMetadata() *ConfigMapDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "ConfigMap" respectively.
func (*ConfigMapDie) DieDiff ¶ added in v0.13.0
func (d *ConfigMapDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ConfigMapDie) DieFeed ¶
func (d *ConfigMapDie) DieFeed(r corev1.ConfigMap) *ConfigMapDie
DieFeed returns a new die with the provided resource.
func (*ConfigMapDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ConfigMapDie) DieFeedYAML(y []byte) *ConfigMapDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ConfigMapDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ConfigMapDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ConfigMapDie) DieRelease ¶
func (d *ConfigMapDie) DieRelease() corev1.ConfigMap
DieRelease returns the resource managed by the die.
func (*ConfigMapDie) DieReleaseJSON ¶
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 ¶
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 ¶
func (d *ConfigMapDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ConfigMapDie) DieSeal ¶ added in v0.13.0
func (d *ConfigMapDie) DieSeal() *ConfigMapDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ConfigMapDie) DieSealFeed ¶ added in v0.13.0
func (d *ConfigMapDie) DieSealFeed(r corev1.ConfigMap) *ConfigMapDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ConfigMapDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ConfigMapDie) DieSealFeedPtr(r *corev1.ConfigMap) *ConfigMapDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ConfigMapDie) DieSealRelease ¶ added in v0.13.0
func (d *ConfigMapDie) DieSealRelease() corev1.ConfigMap
DieSealRelease returns the sealed resource managed by the die.
func (*ConfigMapDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ConfigMapDie) DieSealReleasePtr() *corev1.ConfigMap
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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) Metadata ¶ added in v0.13.0
func (d *ConfigMapDie) Metadata(v apismetav1.ObjectMeta) *ConfigMapDie
Metadata standard object's metadata.
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) TypeMetadata ¶ added in v0.13.0
func (d *ConfigMapDie) TypeMetadata(v apismetav1.TypeMeta) *ConfigMapDie
TypeMetadata standard object's type metadata.
func (*ConfigMapDie) TypeMetadataDie ¶ added in v0.13.0
func (d *ConfigMapDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *ConfigMapDie
TypeMetadataDie stamps the resource's TypeMeta 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) DieDiff ¶ added in v0.13.0
func (d *ConfigMapEnvSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ConfigMapEnvSourceDie) DieFeed ¶
func (d *ConfigMapEnvSourceDie) DieFeed(r corev1.ConfigMapEnvSource) *ConfigMapEnvSourceDie
DieFeed returns a new die with the provided resource.
func (*ConfigMapEnvSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ConfigMapEnvSourceDie) DieFeedYAML(y []byte) *ConfigMapEnvSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ConfigMapEnvSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ConfigMapEnvSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ConfigMapEnvSourceDie) DieRelease ¶
func (d *ConfigMapEnvSourceDie) DieRelease() corev1.ConfigMapEnvSource
DieRelease returns the resource managed by the die.
func (*ConfigMapEnvSourceDie) DieReleaseJSON ¶
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 ¶
func (d *ConfigMapEnvSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ConfigMapEnvSourceDie) DieReleaseYAML ¶
func (d *ConfigMapEnvSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ConfigMapEnvSourceDie) DieSeal ¶ added in v0.13.0
func (d *ConfigMapEnvSourceDie) DieSeal() *ConfigMapEnvSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ConfigMapEnvSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *ConfigMapEnvSourceDie) DieSealFeed(r corev1.ConfigMapEnvSource) *ConfigMapEnvSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ConfigMapEnvSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ConfigMapEnvSourceDie) DieSealFeedPtr(r *corev1.ConfigMapEnvSource) *ConfigMapEnvSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ConfigMapEnvSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *ConfigMapEnvSourceDie) DieSealRelease() corev1.ConfigMapEnvSource
DieSealRelease returns the sealed resource managed by the die.
func (*ConfigMapEnvSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ConfigMapEnvSourceDie) DieSealReleasePtr() *corev1.ConfigMapEnvSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *ConfigMapKeySelectorDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ConfigMapKeySelectorDie) DieFeed ¶
func (d *ConfigMapKeySelectorDie) DieFeed(r corev1.ConfigMapKeySelector) *ConfigMapKeySelectorDie
DieFeed returns a new die with the provided resource.
func (*ConfigMapKeySelectorDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ConfigMapKeySelectorDie) DieFeedYAML(y []byte) *ConfigMapKeySelectorDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ConfigMapKeySelectorDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ConfigMapKeySelectorDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ConfigMapKeySelectorDie) DieRelease ¶
func (d *ConfigMapKeySelectorDie) DieRelease() corev1.ConfigMapKeySelector
DieRelease returns the resource managed by the die.
func (*ConfigMapKeySelectorDie) DieReleaseJSON ¶
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 ¶
func (d *ConfigMapKeySelectorDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ConfigMapKeySelectorDie) DieReleaseYAML ¶
func (d *ConfigMapKeySelectorDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ConfigMapKeySelectorDie) DieSeal ¶ added in v0.13.0
func (d *ConfigMapKeySelectorDie) DieSeal() *ConfigMapKeySelectorDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ConfigMapKeySelectorDie) DieSealFeed ¶ added in v0.13.0
func (d *ConfigMapKeySelectorDie) DieSealFeed(r corev1.ConfigMapKeySelector) *ConfigMapKeySelectorDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ConfigMapKeySelectorDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ConfigMapKeySelectorDie) DieSealFeedPtr(r *corev1.ConfigMapKeySelector) *ConfigMapKeySelectorDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ConfigMapKeySelectorDie) DieSealRelease ¶ added in v0.13.0
func (d *ConfigMapKeySelectorDie) DieSealRelease() corev1.ConfigMapKeySelector
DieSealRelease returns the sealed resource managed by the die.
func (*ConfigMapKeySelectorDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ConfigMapKeySelectorDie) DieSealReleasePtr() *corev1.ConfigMapKeySelector
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *ConfigMapNodeConfigSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ConfigMapNodeConfigSourceDie) DieFeed ¶
func (d *ConfigMapNodeConfigSourceDie) DieFeed(r corev1.ConfigMapNodeConfigSource) *ConfigMapNodeConfigSourceDie
DieFeed returns a new die with the provided resource.
func (*ConfigMapNodeConfigSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ConfigMapNodeConfigSourceDie) DieFeedYAML(y []byte) *ConfigMapNodeConfigSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ConfigMapNodeConfigSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ConfigMapNodeConfigSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ConfigMapNodeConfigSourceDie) DieRelease ¶
func (d *ConfigMapNodeConfigSourceDie) DieRelease() corev1.ConfigMapNodeConfigSource
DieRelease returns the resource managed by the die.
func (*ConfigMapNodeConfigSourceDie) DieReleaseJSON ¶
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 ¶
func (d *ConfigMapNodeConfigSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ConfigMapNodeConfigSourceDie) DieReleaseYAML ¶
func (d *ConfigMapNodeConfigSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ConfigMapNodeConfigSourceDie) DieSeal ¶ added in v0.13.0
func (d *ConfigMapNodeConfigSourceDie) DieSeal() *ConfigMapNodeConfigSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ConfigMapNodeConfigSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *ConfigMapNodeConfigSourceDie) DieSealFeed(r corev1.ConfigMapNodeConfigSource) *ConfigMapNodeConfigSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ConfigMapNodeConfigSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ConfigMapNodeConfigSourceDie) DieSealFeedPtr(r *corev1.ConfigMapNodeConfigSource) *ConfigMapNodeConfigSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ConfigMapNodeConfigSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *ConfigMapNodeConfigSourceDie) DieSealRelease() corev1.ConfigMapNodeConfigSource
DieSealRelease returns the sealed resource managed by the die.
func (*ConfigMapNodeConfigSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ConfigMapNodeConfigSourceDie) DieSealReleasePtr() *corev1.ConfigMapNodeConfigSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *ConfigMapProjectionDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ConfigMapProjectionDie) DieFeed ¶
func (d *ConfigMapProjectionDie) DieFeed(r corev1.ConfigMapProjection) *ConfigMapProjectionDie
DieFeed returns a new die with the provided resource.
func (*ConfigMapProjectionDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ConfigMapProjectionDie) DieFeedYAML(y []byte) *ConfigMapProjectionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ConfigMapProjectionDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ConfigMapProjectionDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ConfigMapProjectionDie) DieRelease ¶
func (d *ConfigMapProjectionDie) DieRelease() corev1.ConfigMapProjection
DieRelease returns the resource managed by the die.
func (*ConfigMapProjectionDie) DieReleaseJSON ¶
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 ¶
func (d *ConfigMapProjectionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ConfigMapProjectionDie) DieReleaseYAML ¶
func (d *ConfigMapProjectionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ConfigMapProjectionDie) DieSeal ¶ added in v0.13.0
func (d *ConfigMapProjectionDie) DieSeal() *ConfigMapProjectionDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ConfigMapProjectionDie) DieSealFeed ¶ added in v0.13.0
func (d *ConfigMapProjectionDie) DieSealFeed(r corev1.ConfigMapProjection) *ConfigMapProjectionDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ConfigMapProjectionDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ConfigMapProjectionDie) DieSealFeedPtr(r *corev1.ConfigMapProjection) *ConfigMapProjectionDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ConfigMapProjectionDie) DieSealRelease ¶ added in v0.13.0
func (d *ConfigMapProjectionDie) DieSealRelease() corev1.ConfigMapProjection
DieSealRelease returns the sealed resource managed by the die.
func (*ConfigMapProjectionDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ConfigMapProjectionDie) DieSealReleasePtr() *corev1.ConfigMapProjection
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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(v string, fn func(d *KeyToPathDie)) *ConfigMapProjectionDie
ItemDie mutates a single item in Items matched by the nested field Key, appending a new item if no match is found.
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) 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) DieDiff ¶ added in v0.13.0
func (d *ConfigMapVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ConfigMapVolumeSourceDie) DieFeed ¶
func (d *ConfigMapVolumeSourceDie) DieFeed(r corev1.ConfigMapVolumeSource) *ConfigMapVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*ConfigMapVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ConfigMapVolumeSourceDie) DieFeedYAML(y []byte) *ConfigMapVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ConfigMapVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ConfigMapVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ConfigMapVolumeSourceDie) DieRelease ¶
func (d *ConfigMapVolumeSourceDie) DieRelease() corev1.ConfigMapVolumeSource
DieRelease returns the resource managed by the die.
func (*ConfigMapVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *ConfigMapVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ConfigMapVolumeSourceDie) DieReleaseYAML ¶
func (d *ConfigMapVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ConfigMapVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *ConfigMapVolumeSourceDie) DieSeal() *ConfigMapVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ConfigMapVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *ConfigMapVolumeSourceDie) DieSealFeed(r corev1.ConfigMapVolumeSource) *ConfigMapVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ConfigMapVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ConfigMapVolumeSourceDie) DieSealFeedPtr(r *corev1.ConfigMapVolumeSource) *ConfigMapVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ConfigMapVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *ConfigMapVolumeSourceDie) DieSealRelease() corev1.ConfigMapVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*ConfigMapVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ConfigMapVolumeSourceDie) DieSealReleasePtr() *corev1.ConfigMapVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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(v string, fn func(d *KeyToPathDie)) *ConfigMapVolumeSourceDie
ItemDie mutates a single item in Items matched by the nested field Key, appending a new item if no match is found.
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) 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) DieDiff ¶ added in v0.13.0
func (d *ContainerDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ContainerDie) DieFeed ¶
func (d *ContainerDie) DieFeed(r corev1.Container) *ContainerDie
DieFeed returns a new die with the provided resource.
func (*ContainerDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ContainerDie) DieFeedYAML(y []byte) *ContainerDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ContainerDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ContainerDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ContainerDie) DieRelease ¶
func (d *ContainerDie) DieRelease() corev1.Container
DieRelease returns the resource managed by the die.
func (*ContainerDie) DieReleaseJSON ¶
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 ¶
func (d *ContainerDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerDie) DieReleaseYAML ¶
func (d *ContainerDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ContainerDie) DieSeal ¶ added in v0.13.0
func (d *ContainerDie) DieSeal() *ContainerDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ContainerDie) DieSealFeed ¶ added in v0.13.0
func (d *ContainerDie) DieSealFeed(r corev1.Container) *ContainerDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ContainerDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ContainerDie) DieSealFeedPtr(r *corev1.Container) *ContainerDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ContainerDie) DieSealRelease ¶ added in v0.13.0
func (d *ContainerDie) DieSealRelease() corev1.Container
DieSealRelease returns the sealed resource managed by the die.
func (*ContainerDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ContainerDie) DieSealReleasePtr() *corev1.Container
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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(v string, fn func(d *EnvVarDie)) *ContainerDie
EnvDie mutates a single item in Env matched by the nested field Name, appending a new item if no match is found.
List of environment variables to set in the container.
Cannot be updated.
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(v string, fn func(d *EnvFromSourceDie)) *ContainerDie
EnvFromDie mutates a single item in EnvFrom matched by the nested field Prefix, appending a new item if no match is found.
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) 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
LifecycleDie mutates Lifecycle as a die.
Actions that the management system should take in response to container lifecycle events.
Cannot be updated.
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
LivenessProbeDie mutates LivenessProbe as a die.
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) 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(v ...*ContainerPortDie) *ContainerDie
PortsDie replaces Ports by collecting the released value from each die passed.
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) 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
ReadinessProbeDie mutates ReadinessProbe as a die.
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) ResizePolicy ¶
func (d *ContainerDie) ResizePolicy(v ...corev1.ContainerResizePolicy) *ContainerDie
Resources resize policy for the container.
func (*ContainerDie) ResizePolicyDie ¶
func (d *ContainerDie) ResizePolicyDie(v corev1.ResourceName, fn func(d *ContainerResizePolicyDie)) *ContainerDie
ResizePolicyDie mutates a single item in ResizePolicy matched by the nested field ResourceName, appending a new item if no match is found.
Resources resize policy for the container.
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
ResourcesDie mutates Resources as a die.
Compute Resources required by this container.
Cannot be updated.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
func (*ContainerDie) RestartPolicy ¶
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
SecurityContextDie mutates SecurityContext as a die.
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) 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
StartupProbeDie mutates StartupProbe as a die.
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) 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(v string, fn func(d *VolumeDeviceDie)) *ContainerDie
VolumeDeviceDie mutates a single item in VolumeDevices matched by the nested field Name, appending a new item if no match is found.
volumeDevices is the list of block devices to be used by the container.
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(v string, fn func(d *VolumeMountDie)) *ContainerDie
VolumeMountDie mutates a single item in VolumeMounts matched by the nested field Name, appending a new item if no match is found.
Pod volumes to mount into the container's filesystem.
Cannot be updated.
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) DieDiff ¶ added in v0.13.0
func (d *ContainerImageDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ContainerImageDie) DieFeed ¶
func (d *ContainerImageDie) DieFeed(r corev1.ContainerImage) *ContainerImageDie
DieFeed returns a new die with the provided resource.
func (*ContainerImageDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ContainerImageDie) DieFeedYAML(y []byte) *ContainerImageDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ContainerImageDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ContainerImageDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ContainerImageDie) DieRelease ¶
func (d *ContainerImageDie) DieRelease() corev1.ContainerImage
DieRelease returns the resource managed by the die.
func (*ContainerImageDie) DieReleaseJSON ¶
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 ¶
func (d *ContainerImageDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerImageDie) DieReleaseYAML ¶
func (d *ContainerImageDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ContainerImageDie) DieSeal ¶ added in v0.13.0
func (d *ContainerImageDie) DieSeal() *ContainerImageDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ContainerImageDie) DieSealFeed ¶ added in v0.13.0
func (d *ContainerImageDie) DieSealFeed(r corev1.ContainerImage) *ContainerImageDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ContainerImageDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ContainerImageDie) DieSealFeedPtr(r *corev1.ContainerImage) *ContainerImageDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ContainerImageDie) DieSealRelease ¶ added in v0.13.0
func (d *ContainerImageDie) DieSealRelease() corev1.ContainerImage
DieSealRelease returns the sealed resource managed by the die.
func (*ContainerImageDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ContainerImageDie) DieSealReleasePtr() *corev1.ContainerImage
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *ContainerPortDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ContainerPortDie) DieFeed ¶
func (d *ContainerPortDie) DieFeed(r corev1.ContainerPort) *ContainerPortDie
DieFeed returns a new die with the provided resource.
func (*ContainerPortDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ContainerPortDie) DieFeedYAML(y []byte) *ContainerPortDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ContainerPortDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ContainerPortDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ContainerPortDie) DieRelease ¶
func (d *ContainerPortDie) DieRelease() corev1.ContainerPort
DieRelease returns the resource managed by the die.
func (*ContainerPortDie) DieReleaseJSON ¶
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 ¶
func (d *ContainerPortDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerPortDie) DieReleaseYAML ¶
func (d *ContainerPortDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ContainerPortDie) DieSeal ¶ added in v0.13.0
func (d *ContainerPortDie) DieSeal() *ContainerPortDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ContainerPortDie) DieSealFeed ¶ added in v0.13.0
func (d *ContainerPortDie) DieSealFeed(r corev1.ContainerPort) *ContainerPortDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ContainerPortDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ContainerPortDie) DieSealFeedPtr(r *corev1.ContainerPort) *ContainerPortDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ContainerPortDie) DieSealRelease ¶ added in v0.13.0
func (d *ContainerPortDie) DieSealRelease() corev1.ContainerPort
DieSealRelease returns the sealed resource managed by the die.
func (*ContainerPortDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ContainerPortDie) DieSealReleasePtr() *corev1.ContainerPort
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
type ContainerResizePolicyDie struct {
// contains filtered or unexported fields
}
func (*ContainerResizePolicyDie) DeepCopy ¶
func (d *ContainerResizePolicyDie) DeepCopy() *ContainerResizePolicyDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ContainerResizePolicyDie) DieDiff ¶ added in v0.13.0
func (d *ContainerResizePolicyDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ContainerResizePolicyDie) DieFeed ¶
func (d *ContainerResizePolicyDie) DieFeed(r corev1.ContainerResizePolicy) *ContainerResizePolicyDie
DieFeed returns a new die with the provided resource.
func (*ContainerResizePolicyDie) DieFeedJSON ¶
func (d *ContainerResizePolicyDie) DieFeedJSON(j []byte) *ContainerResizePolicyDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ContainerResizePolicyDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *ContainerResizePolicyDie) DieFeedYAML(y []byte) *ContainerResizePolicyDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ContainerResizePolicyDie) DieFeedYAMLFile ¶
func (d *ContainerResizePolicyDie) DieFeedYAMLFile(name string) *ContainerResizePolicyDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ContainerResizePolicyDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *ContainerResizePolicyDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ContainerResizePolicyDie) DieRelease ¶
func (d *ContainerResizePolicyDie) DieRelease() corev1.ContainerResizePolicy
DieRelease returns the resource managed by the die.
func (*ContainerResizePolicyDie) DieReleaseJSON ¶
func (d *ContainerResizePolicyDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ContainerResizePolicyDie) DieReleasePtr ¶
func (d *ContainerResizePolicyDie) DieReleasePtr() *corev1.ContainerResizePolicy
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ContainerResizePolicyDie) DieReleaseRawExtension ¶
func (d *ContainerResizePolicyDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerResizePolicyDie) DieReleaseYAML ¶
func (d *ContainerResizePolicyDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ContainerResizePolicyDie) DieSeal ¶ added in v0.13.0
func (d *ContainerResizePolicyDie) DieSeal() *ContainerResizePolicyDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ContainerResizePolicyDie) DieSealFeed ¶ added in v0.13.0
func (d *ContainerResizePolicyDie) DieSealFeed(r corev1.ContainerResizePolicy) *ContainerResizePolicyDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ContainerResizePolicyDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ContainerResizePolicyDie) DieSealFeedPtr(r *corev1.ContainerResizePolicy) *ContainerResizePolicyDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ContainerResizePolicyDie) DieSealRelease ¶ added in v0.13.0
func (d *ContainerResizePolicyDie) DieSealRelease() corev1.ContainerResizePolicy
DieSealRelease returns the sealed resource managed by the die.
func (*ContainerResizePolicyDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ContainerResizePolicyDie) DieSealReleasePtr() *corev1.ContainerResizePolicy
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ContainerResizePolicyDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *ContainerStateDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ContainerStateDie) DieFeed ¶
func (d *ContainerStateDie) DieFeed(r corev1.ContainerState) *ContainerStateDie
DieFeed returns a new die with the provided resource.
func (*ContainerStateDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ContainerStateDie) DieFeedYAML(y []byte) *ContainerStateDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ContainerStateDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ContainerStateDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ContainerStateDie) DieRelease ¶
func (d *ContainerStateDie) DieRelease() corev1.ContainerState
DieRelease returns the resource managed by the die.
func (*ContainerStateDie) DieReleaseJSON ¶
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 ¶
func (d *ContainerStateDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerStateDie) DieReleaseYAML ¶
func (d *ContainerStateDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ContainerStateDie) DieSeal ¶ added in v0.13.0
func (d *ContainerStateDie) DieSeal() *ContainerStateDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ContainerStateDie) DieSealFeed ¶ added in v0.13.0
func (d *ContainerStateDie) DieSealFeed(r corev1.ContainerState) *ContainerStateDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ContainerStateDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ContainerStateDie) DieSealFeedPtr(r *corev1.ContainerState) *ContainerStateDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ContainerStateDie) DieSealRelease ¶ added in v0.13.0
func (d *ContainerStateDie) DieSealRelease() corev1.ContainerState
DieSealRelease returns the sealed resource managed by the die.
func (*ContainerStateDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ContainerStateDie) DieSealReleasePtr() *corev1.ContainerState
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
RunningDie mutates Running as a die.
Details about a running container
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
TerminatedDie mutates Terminated as a die.
Details about a terminated container
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
WaitingDie mutates Waiting as a die.
Details about a waiting container
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) DieDiff ¶ added in v0.13.0
func (d *ContainerStateRunningDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ContainerStateRunningDie) DieFeed ¶
func (d *ContainerStateRunningDie) DieFeed(r corev1.ContainerStateRunning) *ContainerStateRunningDie
DieFeed returns a new die with the provided resource.
func (*ContainerStateRunningDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ContainerStateRunningDie) DieFeedYAML(y []byte) *ContainerStateRunningDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ContainerStateRunningDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ContainerStateRunningDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ContainerStateRunningDie) DieRelease ¶
func (d *ContainerStateRunningDie) DieRelease() corev1.ContainerStateRunning
DieRelease returns the resource managed by the die.
func (*ContainerStateRunningDie) DieReleaseJSON ¶
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 ¶
func (d *ContainerStateRunningDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerStateRunningDie) DieReleaseYAML ¶
func (d *ContainerStateRunningDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ContainerStateRunningDie) DieSeal ¶ added in v0.13.0
func (d *ContainerStateRunningDie) DieSeal() *ContainerStateRunningDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ContainerStateRunningDie) DieSealFeed ¶ added in v0.13.0
func (d *ContainerStateRunningDie) DieSealFeed(r corev1.ContainerStateRunning) *ContainerStateRunningDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ContainerStateRunningDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ContainerStateRunningDie) DieSealFeedPtr(r *corev1.ContainerStateRunning) *ContainerStateRunningDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ContainerStateRunningDie) DieSealRelease ¶ added in v0.13.0
func (d *ContainerStateRunningDie) DieSealRelease() corev1.ContainerStateRunning
DieSealRelease returns the sealed resource managed by the die.
func (*ContainerStateRunningDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ContainerStateRunningDie) DieSealReleasePtr() *corev1.ContainerStateRunning
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *ContainerStateTerminatedDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ContainerStateTerminatedDie) DieFeed ¶
func (d *ContainerStateTerminatedDie) DieFeed(r corev1.ContainerStateTerminated) *ContainerStateTerminatedDie
DieFeed returns a new die with the provided resource.
func (*ContainerStateTerminatedDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ContainerStateTerminatedDie) DieFeedYAML(y []byte) *ContainerStateTerminatedDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ContainerStateTerminatedDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ContainerStateTerminatedDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ContainerStateTerminatedDie) DieRelease ¶
func (d *ContainerStateTerminatedDie) DieRelease() corev1.ContainerStateTerminated
DieRelease returns the resource managed by the die.
func (*ContainerStateTerminatedDie) DieReleaseJSON ¶
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 ¶
func (d *ContainerStateTerminatedDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerStateTerminatedDie) DieReleaseYAML ¶
func (d *ContainerStateTerminatedDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ContainerStateTerminatedDie) DieSeal ¶ added in v0.13.0
func (d *ContainerStateTerminatedDie) DieSeal() *ContainerStateTerminatedDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ContainerStateTerminatedDie) DieSealFeed ¶ added in v0.13.0
func (d *ContainerStateTerminatedDie) DieSealFeed(r corev1.ContainerStateTerminated) *ContainerStateTerminatedDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ContainerStateTerminatedDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ContainerStateTerminatedDie) DieSealFeedPtr(r *corev1.ContainerStateTerminated) *ContainerStateTerminatedDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ContainerStateTerminatedDie) DieSealRelease ¶ added in v0.13.0
func (d *ContainerStateTerminatedDie) DieSealRelease() corev1.ContainerStateTerminated
DieSealRelease returns the sealed resource managed by the die.
func (*ContainerStateTerminatedDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ContainerStateTerminatedDie) DieSealReleasePtr() *corev1.ContainerStateTerminated
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *ContainerStateWaitingDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ContainerStateWaitingDie) DieFeed ¶
func (d *ContainerStateWaitingDie) DieFeed(r corev1.ContainerStateWaiting) *ContainerStateWaitingDie
DieFeed returns a new die with the provided resource.
func (*ContainerStateWaitingDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ContainerStateWaitingDie) DieFeedYAML(y []byte) *ContainerStateWaitingDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ContainerStateWaitingDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ContainerStateWaitingDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ContainerStateWaitingDie) DieRelease ¶
func (d *ContainerStateWaitingDie) DieRelease() corev1.ContainerStateWaiting
DieRelease returns the resource managed by the die.
func (*ContainerStateWaitingDie) DieReleaseJSON ¶
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 ¶
func (d *ContainerStateWaitingDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerStateWaitingDie) DieReleaseYAML ¶
func (d *ContainerStateWaitingDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ContainerStateWaitingDie) DieSeal ¶ added in v0.13.0
func (d *ContainerStateWaitingDie) DieSeal() *ContainerStateWaitingDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ContainerStateWaitingDie) DieSealFeed ¶ added in v0.13.0
func (d *ContainerStateWaitingDie) DieSealFeed(r corev1.ContainerStateWaiting) *ContainerStateWaitingDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ContainerStateWaitingDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ContainerStateWaitingDie) DieSealFeedPtr(r *corev1.ContainerStateWaiting) *ContainerStateWaitingDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ContainerStateWaitingDie) DieSealRelease ¶ added in v0.13.0
func (d *ContainerStateWaitingDie) DieSealRelease() corev1.ContainerStateWaiting
DieSealRelease returns the sealed resource managed by the die.
func (*ContainerStateWaitingDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ContainerStateWaitingDie) DieSealReleasePtr() *corev1.ContainerStateWaiting
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
func (d *ContainerStatusDie) AddAllocatedResource(name corev1.ResourceName, quantity resource.Quantity) *ContainerStatusDie
AddAllocatedResource sets a single quantity on the AllocatedResources resource list.
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) AddAllocatedResourceString ¶
func (d *ContainerStatusDie) AddAllocatedResourceString(name corev1.ResourceName, quantity string) *ContainerStatusDie
AddAllocatedResourceString parses the quantity setting a single value on the AllocatedResources resource list. Panics if the string is not parsable.
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) AllocatedResources ¶
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) AllocatedResourcesStatuDie ¶ added in v0.14.0
func (d *ContainerStatusDie) AllocatedResourcesStatuDie(v corev1.ResourceName, fn func(d *ResourceStatusDie)) *ContainerStatusDie
AllocatedResourcesStatuDie mutates a single item in AllocatedResourcesStatus matched by the nested field Name, appending a new item if no match is found.
AllocatedResourcesStatus represents the status of various resources ¶
allocated for this Pod.
func (*ContainerStatusDie) AllocatedResourcesStatus ¶ added in v0.14.0
func (d *ContainerStatusDie) AllocatedResourcesStatus(v ...corev1.ResourceStatus) *ContainerStatusDie
AllocatedResourcesStatus represents the status of various resources
allocated for this Pod.
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) DieDiff ¶ added in v0.13.0
func (d *ContainerStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ContainerStatusDie) DieFeed ¶
func (d *ContainerStatusDie) DieFeed(r corev1.ContainerStatus) *ContainerStatusDie
DieFeed returns a new die with the provided resource.
func (*ContainerStatusDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ContainerStatusDie) DieFeedYAML(y []byte) *ContainerStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ContainerStatusDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ContainerStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ContainerStatusDie) DieRelease ¶
func (d *ContainerStatusDie) DieRelease() corev1.ContainerStatus
DieRelease returns the resource managed by the die.
func (*ContainerStatusDie) DieReleaseJSON ¶
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 ¶
func (d *ContainerStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerStatusDie) DieReleaseYAML ¶
func (d *ContainerStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ContainerStatusDie) DieSeal ¶ added in v0.13.0
func (d *ContainerStatusDie) DieSeal() *ContainerStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ContainerStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *ContainerStatusDie) DieSealFeed(r corev1.ContainerStatus) *ContainerStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ContainerStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ContainerStatusDie) DieSealFeedPtr(r *corev1.ContainerStatus) *ContainerStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ContainerStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *ContainerStatusDie) DieSealRelease() corev1.ContainerStatus
DieSealRelease returns the sealed resource managed by the die.
func (*ContainerStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ContainerStatusDie) DieSealReleasePtr() *corev1.ContainerStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
LastTerminationStateDie mutates LastTerminationState as a die.
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) 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 ¶
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 ¶
func (d *ContainerStatusDie) ResourcesDie(fn func(d *ResourceRequirementsDie)) *ContainerStatusDie
ResourcesDie mutates Resources as a die.
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) 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
StateDie mutates State as a die.
State holds details about the container's current condition.
func (*ContainerStatusDie) User ¶ added in v0.14.0
func (d *ContainerStatusDie) User(v *corev1.ContainerUser) *ContainerStatusDie
User represents user identity information initially attached to the first process of the container
func (*ContainerStatusDie) UserDie ¶ added in v0.14.0
func (d *ContainerStatusDie) UserDie(fn func(d *ContainerUserDie)) *ContainerStatusDie
UserDie mutates User as a die.
User represents user identity information initially attached to the first process of the container
func (*ContainerStatusDie) VolumeMountDie ¶ added in v0.12.0
func (d *ContainerStatusDie) VolumeMountDie(v string, fn func(d *VolumeMountStatusDie)) *ContainerStatusDie
VolumeMountDie mutates a single item in VolumeMounts matched by the nested field Name, appending a new item if no match is found.
Status of volume mounts.
func (*ContainerStatusDie) VolumeMounts ¶ added in v0.12.0
func (d *ContainerStatusDie) VolumeMounts(v ...corev1.VolumeMountStatus) *ContainerStatusDie
Status of volume mounts.
type ContainerUserDie ¶ added in v0.14.0
type ContainerUserDie struct {
// contains filtered or unexported fields
}
func (*ContainerUserDie) DeepCopy ¶ added in v0.14.0
func (d *ContainerUserDie) DeepCopy() *ContainerUserDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ContainerUserDie) DieDiff ¶ added in v0.14.0
func (d *ContainerUserDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ContainerUserDie) DieFeed ¶ added in v0.14.0
func (d *ContainerUserDie) DieFeed(r corev1.ContainerUser) *ContainerUserDie
DieFeed returns a new die with the provided resource.
func (*ContainerUserDie) DieFeedJSON ¶ added in v0.14.0
func (d *ContainerUserDie) DieFeedJSON(j []byte) *ContainerUserDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ContainerUserDie) DieFeedPtr ¶ added in v0.14.0
func (d *ContainerUserDie) DieFeedPtr(r *corev1.ContainerUser) *ContainerUserDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ContainerUserDie) DieFeedRawExtension ¶ added in v0.14.0
func (d *ContainerUserDie) DieFeedRawExtension(raw runtime.RawExtension) *ContainerUserDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerUserDie) DieFeedYAML ¶ added in v0.14.0
func (d *ContainerUserDie) DieFeedYAML(y []byte) *ContainerUserDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ContainerUserDie) DieFeedYAMLFile ¶ added in v0.14.0
func (d *ContainerUserDie) DieFeedYAMLFile(name string) *ContainerUserDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ContainerUserDie) DieImmutable ¶ added in v0.14.0
func (d *ContainerUserDie) DieImmutable(immutable bool) *ContainerUserDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ContainerUserDie) DiePatch ¶ added in v0.14.0
func (d *ContainerUserDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ContainerUserDie) DieRelease ¶ added in v0.14.0
func (d *ContainerUserDie) DieRelease() corev1.ContainerUser
DieRelease returns the resource managed by the die.
func (*ContainerUserDie) DieReleaseJSON ¶ added in v0.14.0
func (d *ContainerUserDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ContainerUserDie) DieReleasePtr ¶ added in v0.14.0
func (d *ContainerUserDie) DieReleasePtr() *corev1.ContainerUser
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ContainerUserDie) DieReleaseRawExtension ¶ added in v0.14.0
func (d *ContainerUserDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ContainerUserDie) DieReleaseYAML ¶ added in v0.14.0
func (d *ContainerUserDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ContainerUserDie) DieSeal ¶ added in v0.14.0
func (d *ContainerUserDie) DieSeal() *ContainerUserDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ContainerUserDie) DieSealFeed ¶ added in v0.14.0
func (d *ContainerUserDie) DieSealFeed(r corev1.ContainerUser) *ContainerUserDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ContainerUserDie) DieSealFeedPtr ¶ added in v0.14.0
func (d *ContainerUserDie) DieSealFeedPtr(r *corev1.ContainerUser) *ContainerUserDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ContainerUserDie) DieSealRelease ¶ added in v0.14.0
func (d *ContainerUserDie) DieSealRelease() corev1.ContainerUser
DieSealRelease returns the sealed resource managed by the die.
func (*ContainerUserDie) DieSealReleasePtr ¶ added in v0.14.0
func (d *ContainerUserDie) DieSealReleasePtr() *corev1.ContainerUser
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ContainerUserDie) DieStamp ¶ added in v0.14.0
func (d *ContainerUserDie) DieStamp(fn func(r *corev1.ContainerUser)) *ContainerUserDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ContainerUserDie) DieStampAt ¶ added in v0.14.0
func (d *ContainerUserDie) DieStampAt(jp string, fn interface{}) *ContainerUserDie
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 (*ContainerUserDie) DieWith ¶ added in v0.14.0
func (d *ContainerUserDie) DieWith(fns ...func(d *ContainerUserDie)) *ContainerUserDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ContainerUserDie) Linux ¶ added in v0.14.0
func (d *ContainerUserDie) Linux(v *corev1.LinuxContainerUser) *ContainerUserDie
Linux holds user identity information initially attached to the first process of the containers in Linux.
Note that the actual running identity can be changed if the process has enough privilege to do so.
func (*ContainerUserDie) LinuxDie ¶ added in v0.14.0
func (d *ContainerUserDie) LinuxDie(fn func(d *LinuxContainerUserDie)) *ContainerUserDie
LinuxDie mutates Linux as a die.
Linux holds user identity information initially attached to the first process of the containers in Linux.
Note that the actual running identity can be changed if the process has enough privilege to do so.
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) DieDiff ¶ added in v0.13.0
func (d *DaemonEndpointDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*DaemonEndpointDie) DieFeed ¶
func (d *DaemonEndpointDie) DieFeed(r corev1.DaemonEndpoint) *DaemonEndpointDie
DieFeed returns a new die with the provided resource.
func (*DaemonEndpointDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *DaemonEndpointDie) DieFeedYAML(y []byte) *DaemonEndpointDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*DaemonEndpointDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *DaemonEndpointDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*DaemonEndpointDie) DieRelease ¶
func (d *DaemonEndpointDie) DieRelease() corev1.DaemonEndpoint
DieRelease returns the resource managed by the die.
func (*DaemonEndpointDie) DieReleaseJSON ¶
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 ¶
func (d *DaemonEndpointDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DaemonEndpointDie) DieReleaseYAML ¶
func (d *DaemonEndpointDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*DaemonEndpointDie) DieSeal ¶ added in v0.13.0
func (d *DaemonEndpointDie) DieSeal() *DaemonEndpointDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*DaemonEndpointDie) DieSealFeed ¶ added in v0.13.0
func (d *DaemonEndpointDie) DieSealFeed(r corev1.DaemonEndpoint) *DaemonEndpointDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*DaemonEndpointDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *DaemonEndpointDie) DieSealFeedPtr(r *corev1.DaemonEndpoint) *DaemonEndpointDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*DaemonEndpointDie) DieSealRelease ¶ added in v0.13.0
func (d *DaemonEndpointDie) DieSealRelease() corev1.DaemonEndpoint
DieSealRelease returns the sealed resource managed by the die.
func (*DaemonEndpointDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *DaemonEndpointDie) DieSealReleasePtr() *corev1.DaemonEndpoint
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *DownwardAPIProjectionDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*DownwardAPIProjectionDie) DieFeed ¶
func (d *DownwardAPIProjectionDie) DieFeed(r corev1.DownwardAPIProjection) *DownwardAPIProjectionDie
DieFeed returns a new die with the provided resource.
func (*DownwardAPIProjectionDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *DownwardAPIProjectionDie) DieFeedYAML(y []byte) *DownwardAPIProjectionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*DownwardAPIProjectionDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *DownwardAPIProjectionDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*DownwardAPIProjectionDie) DieRelease ¶
func (d *DownwardAPIProjectionDie) DieRelease() corev1.DownwardAPIProjection
DieRelease returns the resource managed by the die.
func (*DownwardAPIProjectionDie) DieReleaseJSON ¶
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 ¶
func (d *DownwardAPIProjectionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DownwardAPIProjectionDie) DieReleaseYAML ¶
func (d *DownwardAPIProjectionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*DownwardAPIProjectionDie) DieSeal ¶ added in v0.13.0
func (d *DownwardAPIProjectionDie) DieSeal() *DownwardAPIProjectionDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*DownwardAPIProjectionDie) DieSealFeed ¶ added in v0.13.0
func (d *DownwardAPIProjectionDie) DieSealFeed(r corev1.DownwardAPIProjection) *DownwardAPIProjectionDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*DownwardAPIProjectionDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *DownwardAPIProjectionDie) DieSealFeedPtr(r *corev1.DownwardAPIProjection) *DownwardAPIProjectionDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*DownwardAPIProjectionDie) DieSealRelease ¶ added in v0.13.0
func (d *DownwardAPIProjectionDie) DieSealRelease() corev1.DownwardAPIProjection
DieSealRelease returns the sealed resource managed by the die.
func (*DownwardAPIProjectionDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *DownwardAPIProjectionDie) DieSealReleasePtr() *corev1.DownwardAPIProjection
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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(v string, fn func(d *DownwardAPIVolumeFileDie)) *DownwardAPIProjectionDie
ItemDie mutates a single item in Items matched by the nested field Path, appending a new item if no match is found.
Items is a list of DownwardAPIVolume file
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) DieDiff ¶ added in v0.13.0
func (d *DownwardAPIVolumeFileDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*DownwardAPIVolumeFileDie) DieFeed ¶
func (d *DownwardAPIVolumeFileDie) DieFeed(r corev1.DownwardAPIVolumeFile) *DownwardAPIVolumeFileDie
DieFeed returns a new die with the provided resource.
func (*DownwardAPIVolumeFileDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *DownwardAPIVolumeFileDie) DieFeedYAML(y []byte) *DownwardAPIVolumeFileDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*DownwardAPIVolumeFileDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *DownwardAPIVolumeFileDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*DownwardAPIVolumeFileDie) DieRelease ¶
func (d *DownwardAPIVolumeFileDie) DieRelease() corev1.DownwardAPIVolumeFile
DieRelease returns the resource managed by the die.
func (*DownwardAPIVolumeFileDie) DieReleaseJSON ¶
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 ¶
func (d *DownwardAPIVolumeFileDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DownwardAPIVolumeFileDie) DieReleaseYAML ¶
func (d *DownwardAPIVolumeFileDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*DownwardAPIVolumeFileDie) DieSeal ¶ added in v0.13.0
func (d *DownwardAPIVolumeFileDie) DieSeal() *DownwardAPIVolumeFileDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*DownwardAPIVolumeFileDie) DieSealFeed ¶ added in v0.13.0
func (d *DownwardAPIVolumeFileDie) DieSealFeed(r corev1.DownwardAPIVolumeFile) *DownwardAPIVolumeFileDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*DownwardAPIVolumeFileDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *DownwardAPIVolumeFileDie) DieSealFeedPtr(r *corev1.DownwardAPIVolumeFile) *DownwardAPIVolumeFileDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*DownwardAPIVolumeFileDie) DieSealRelease ¶ added in v0.13.0
func (d *DownwardAPIVolumeFileDie) DieSealRelease() corev1.DownwardAPIVolumeFile
DieSealRelease returns the sealed resource managed by the die.
func (*DownwardAPIVolumeFileDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *DownwardAPIVolumeFileDie) DieSealReleasePtr() *corev1.DownwardAPIVolumeFile
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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, namespace and uid are supported.
func (*DownwardAPIVolumeFileDie) FieldRefDie ¶
func (d *DownwardAPIVolumeFileDie) FieldRefDie(fn func(d *ObjectFieldSelectorDie)) *DownwardAPIVolumeFileDie
FieldRefDie mutates FieldRef as a die.
Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.
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
ResourceFieldRefDie mutates ResourceFieldRef as a die.
Selects a resource of the container: only resources limits and requests
(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
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) DieDiff ¶ added in v0.13.0
func (d *DownwardAPIVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*DownwardAPIVolumeSourceDie) DieFeed ¶
func (d *DownwardAPIVolumeSourceDie) DieFeed(r corev1.DownwardAPIVolumeSource) *DownwardAPIVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*DownwardAPIVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *DownwardAPIVolumeSourceDie) DieFeedYAML(y []byte) *DownwardAPIVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*DownwardAPIVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *DownwardAPIVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*DownwardAPIVolumeSourceDie) DieRelease ¶
func (d *DownwardAPIVolumeSourceDie) DieRelease() corev1.DownwardAPIVolumeSource
DieRelease returns the resource managed by the die.
func (*DownwardAPIVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *DownwardAPIVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DownwardAPIVolumeSourceDie) DieReleaseYAML ¶
func (d *DownwardAPIVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*DownwardAPIVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *DownwardAPIVolumeSourceDie) DieSeal() *DownwardAPIVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*DownwardAPIVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *DownwardAPIVolumeSourceDie) DieSealFeed(r corev1.DownwardAPIVolumeSource) *DownwardAPIVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*DownwardAPIVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *DownwardAPIVolumeSourceDie) DieSealFeedPtr(r *corev1.DownwardAPIVolumeSource) *DownwardAPIVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*DownwardAPIVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *DownwardAPIVolumeSourceDie) DieSealRelease() corev1.DownwardAPIVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*DownwardAPIVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *DownwardAPIVolumeSourceDie) DieSealReleasePtr() *corev1.DownwardAPIVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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(v string, fn func(d *DownwardAPIVolumeFileDie)) *DownwardAPIVolumeSourceDie
ItemDie mutates a single item in Items matched by the nested field Path, appending a new item if no match is found.
Items is a list of downward API volume file
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) DieDiff ¶ added in v0.13.0
func (d *EmptyDirVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*EmptyDirVolumeSourceDie) DieFeed ¶
func (d *EmptyDirVolumeSourceDie) DieFeed(r corev1.EmptyDirVolumeSource) *EmptyDirVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*EmptyDirVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *EmptyDirVolumeSourceDie) DieFeedYAML(y []byte) *EmptyDirVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EmptyDirVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *EmptyDirVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*EmptyDirVolumeSourceDie) DieRelease ¶
func (d *EmptyDirVolumeSourceDie) DieRelease() corev1.EmptyDirVolumeSource
DieRelease returns the resource managed by the die.
func (*EmptyDirVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *EmptyDirVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EmptyDirVolumeSourceDie) DieReleaseYAML ¶
func (d *EmptyDirVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EmptyDirVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *EmptyDirVolumeSourceDie) DieSeal() *EmptyDirVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*EmptyDirVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *EmptyDirVolumeSourceDie) DieSealFeed(r corev1.EmptyDirVolumeSource) *EmptyDirVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*EmptyDirVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *EmptyDirVolumeSourceDie) DieSealFeedPtr(r *corev1.EmptyDirVolumeSource) *EmptyDirVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*EmptyDirVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *EmptyDirVolumeSourceDie) DieSealRelease() corev1.EmptyDirVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*EmptyDirVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *EmptyDirVolumeSourceDie) DieSealReleasePtr() *corev1.EmptyDirVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
func (*EmptyDirVolumeSourceDie) SizeLimitString ¶ added in v0.13.0
func (d *EmptyDirVolumeSourceDie) SizeLimitString(s string) *EmptyDirVolumeSourceDie
SizeLimitString sets SizeLimit by parsing the string as a Quantity. Panics if the string is not parsable.
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) DieDiff ¶ added in v0.13.0
func (d *EndpointAddressDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*EndpointAddressDie) DieFeed ¶
func (d *EndpointAddressDie) DieFeed(r corev1.EndpointAddress) *EndpointAddressDie
DieFeed returns a new die with the provided resource.
func (*EndpointAddressDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *EndpointAddressDie) DieFeedYAML(y []byte) *EndpointAddressDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EndpointAddressDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *EndpointAddressDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*EndpointAddressDie) DieRelease ¶
func (d *EndpointAddressDie) DieRelease() corev1.EndpointAddress
DieRelease returns the resource managed by the die.
func (*EndpointAddressDie) DieReleaseJSON ¶
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 ¶
func (d *EndpointAddressDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EndpointAddressDie) DieReleaseYAML ¶
func (d *EndpointAddressDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EndpointAddressDie) DieSeal ¶ added in v0.13.0
func (d *EndpointAddressDie) DieSeal() *EndpointAddressDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*EndpointAddressDie) DieSealFeed ¶ added in v0.13.0
func (d *EndpointAddressDie) DieSealFeed(r corev1.EndpointAddress) *EndpointAddressDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*EndpointAddressDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *EndpointAddressDie) DieSealFeedPtr(r *corev1.EndpointAddress) *EndpointAddressDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*EndpointAddressDie) DieSealRelease ¶ added in v0.13.0
func (d *EndpointAddressDie) DieSealRelease() corev1.EndpointAddress
DieSealRelease returns the sealed resource managed by the die.
func (*EndpointAddressDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *EndpointAddressDie) DieSealReleasePtr() *corev1.EndpointAddress
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
TargetRefDie mutates TargetRef as a die.
Reference to object providing the endpoint.
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) DieDiff ¶ added in v0.13.0
func (d *EndpointPortDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*EndpointPortDie) DieFeed ¶
func (d *EndpointPortDie) DieFeed(r corev1.EndpointPort) *EndpointPortDie
DieFeed returns a new die with the provided resource.
func (*EndpointPortDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *EndpointPortDie) DieFeedYAML(y []byte) *EndpointPortDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EndpointPortDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *EndpointPortDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*EndpointPortDie) DieRelease ¶
func (d *EndpointPortDie) DieRelease() corev1.EndpointPort
DieRelease returns the resource managed by the die.
func (*EndpointPortDie) DieReleaseJSON ¶
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 ¶
func (d *EndpointPortDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EndpointPortDie) DieReleaseYAML ¶
func (d *EndpointPortDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EndpointPortDie) DieSeal ¶ added in v0.13.0
func (d *EndpointPortDie) DieSeal() *EndpointPortDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*EndpointPortDie) DieSealFeed ¶ added in v0.13.0
func (d *EndpointPortDie) DieSealFeed(r corev1.EndpointPort) *EndpointPortDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*EndpointPortDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *EndpointPortDie) DieSealFeedPtr(r *corev1.EndpointPort) *EndpointPortDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*EndpointPortDie) DieSealRelease ¶ added in v0.13.0
func (d *EndpointPortDie) DieSealRelease() corev1.EndpointPort
DieSealRelease returns the sealed resource managed by the die.
func (*EndpointPortDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *EndpointPortDie) DieSealReleasePtr() *corev1.EndpointPort
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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(v ...*EndpointAddressDie) *EndpointSubsetDie
AddressesDie replaces Addresses by collecting the released value from each die passed.
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) DeepCopy ¶
func (d *EndpointSubsetDie) DeepCopy() *EndpointSubsetDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*EndpointSubsetDie) DieDiff ¶ added in v0.13.0
func (d *EndpointSubsetDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*EndpointSubsetDie) DieFeed ¶
func (d *EndpointSubsetDie) DieFeed(r corev1.EndpointSubset) *EndpointSubsetDie
DieFeed returns a new die with the provided resource.
func (*EndpointSubsetDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *EndpointSubsetDie) DieFeedYAML(y []byte) *EndpointSubsetDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EndpointSubsetDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *EndpointSubsetDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*EndpointSubsetDie) DieRelease ¶
func (d *EndpointSubsetDie) DieRelease() corev1.EndpointSubset
DieRelease returns the resource managed by the die.
func (*EndpointSubsetDie) DieReleaseJSON ¶
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 ¶
func (d *EndpointSubsetDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EndpointSubsetDie) DieReleaseYAML ¶
func (d *EndpointSubsetDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EndpointSubsetDie) DieSeal ¶ added in v0.13.0
func (d *EndpointSubsetDie) DieSeal() *EndpointSubsetDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*EndpointSubsetDie) DieSealFeed ¶ added in v0.13.0
func (d *EndpointSubsetDie) DieSealFeed(r corev1.EndpointSubset) *EndpointSubsetDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*EndpointSubsetDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *EndpointSubsetDie) DieSealFeedPtr(r *corev1.EndpointSubset) *EndpointSubsetDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*EndpointSubsetDie) DieSealRelease ¶ added in v0.13.0
func (d *EndpointSubsetDie) DieSealRelease() corev1.EndpointSubset
DieSealRelease returns the sealed resource managed by the die.
func (*EndpointSubsetDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *EndpointSubsetDie) DieSealReleasePtr() *corev1.EndpointSubset
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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(v ...*EndpointAddressDie) *EndpointSubsetDie
NotReadyAddressesDie replaces NotReadyAddresses by collecting the released value from each die passed.
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) Ports ¶
func (d *EndpointSubsetDie) Ports(v ...corev1.EndpointPort) *EndpointSubsetDie
Port numbers available on the related IP addresses.
func (*EndpointSubsetDie) PortsDie ¶
func (d *EndpointSubsetDie) PortsDie(v ...*EndpointPortDie) *EndpointSubsetDie
PortsDie replaces Ports by collecting the released value from each die passed.
Port numbers available on the related IP addresses.
type EndpointsDie ¶
type EndpointsDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*EndpointsDie) APIVersion ¶
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) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *EndpointsDie) DieDefaultTypeMetadata() *EndpointsDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "Endpoints" respectively.
func (*EndpointsDie) DieDiff ¶ added in v0.13.0
func (d *EndpointsDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*EndpointsDie) DieFeed ¶
func (d *EndpointsDie) DieFeed(r corev1.Endpoints) *EndpointsDie
DieFeed returns a new die with the provided resource.
func (*EndpointsDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *EndpointsDie) DieFeedYAML(y []byte) *EndpointsDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EndpointsDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *EndpointsDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*EndpointsDie) DieRelease ¶
func (d *EndpointsDie) DieRelease() corev1.Endpoints
DieRelease returns the resource managed by the die.
func (*EndpointsDie) DieReleaseJSON ¶
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 ¶
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 ¶
func (d *EndpointsDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EndpointsDie) DieSeal ¶ added in v0.13.0
func (d *EndpointsDie) DieSeal() *EndpointsDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*EndpointsDie) DieSealFeed ¶ added in v0.13.0
func (d *EndpointsDie) DieSealFeed(r corev1.Endpoints) *EndpointsDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*EndpointsDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *EndpointsDie) DieSealFeedPtr(r *corev1.Endpoints) *EndpointsDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*EndpointsDie) DieSealRelease ¶ added in v0.13.0
func (d *EndpointsDie) DieSealRelease() corev1.Endpoints
DieSealRelease returns the sealed resource managed by the die.
func (*EndpointsDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *EndpointsDie) DieSealReleasePtr() *corev1.Endpoints
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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) Metadata ¶ added in v0.13.0
func (d *EndpointsDie) Metadata(v apismetav1.ObjectMeta) *EndpointsDie
Metadata standard object's metadata.
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(v ...*EndpointSubsetDie) *EndpointsDie
SubsetsDie replaces Subsets by collecting the released value from each die passed.
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) TypeMetadata ¶ added in v0.13.0
func (d *EndpointsDie) TypeMetadata(v apismetav1.TypeMeta) *EndpointsDie
TypeMetadata standard object's type metadata.
func (*EndpointsDie) TypeMetadataDie ¶ added in v0.13.0
func (d *EndpointsDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *EndpointsDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
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
ConfigMapRefDie mutates ConfigMapRef as a die.
The ConfigMap to select from
func (*EnvFromSourceDie) DeepCopy ¶
func (d *EnvFromSourceDie) DeepCopy() *EnvFromSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*EnvFromSourceDie) DieDiff ¶ added in v0.13.0
func (d *EnvFromSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*EnvFromSourceDie) DieFeed ¶
func (d *EnvFromSourceDie) DieFeed(r corev1.EnvFromSource) *EnvFromSourceDie
DieFeed returns a new die with the provided resource.
func (*EnvFromSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *EnvFromSourceDie) DieFeedYAML(y []byte) *EnvFromSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EnvFromSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *EnvFromSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*EnvFromSourceDie) DieRelease ¶
func (d *EnvFromSourceDie) DieRelease() corev1.EnvFromSource
DieRelease returns the resource managed by the die.
func (*EnvFromSourceDie) DieReleaseJSON ¶
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 ¶
func (d *EnvFromSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EnvFromSourceDie) DieReleaseYAML ¶
func (d *EnvFromSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EnvFromSourceDie) DieSeal ¶ added in v0.13.0
func (d *EnvFromSourceDie) DieSeal() *EnvFromSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*EnvFromSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *EnvFromSourceDie) DieSealFeed(r corev1.EnvFromSource) *EnvFromSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*EnvFromSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *EnvFromSourceDie) DieSealFeedPtr(r *corev1.EnvFromSource) *EnvFromSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*EnvFromSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *EnvFromSourceDie) DieSealRelease() corev1.EnvFromSource
DieSealRelease returns the sealed resource managed by the die.
func (*EnvFromSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *EnvFromSourceDie) DieSealReleasePtr() *corev1.EnvFromSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
SecretRefDie mutates SecretRef as a die.
The Secret to select from
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) DieDiff ¶ added in v0.13.0
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*EnvVarDie) DieFeedJSON ¶
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 ¶
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 ¶
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EnvVarDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
DiePatch generates a patch between the current value of the die and the sealed value.
func (*EnvVarDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*EnvVarDie) DieReleaseJSON ¶
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 ¶
func (d *EnvVarDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EnvVarDie) DieReleaseYAML ¶
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EnvVarDie) DieSeal ¶ added in v0.13.0
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*EnvVarDie) DieSealFeed ¶ added in v0.13.0
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*EnvVarDie) DieSealFeedPtr ¶ added in v0.13.0
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*EnvVarDie) DieSealRelease ¶ added in v0.13.0
DieSealRelease returns the sealed resource managed by the die.
func (*EnvVarDie) DieSealReleasePtr ¶ added in v0.13.0
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*EnvVarDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*EnvVarDie) DieStampAt ¶
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 ¶
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
ValueFromDie mutates ValueFrom as a die.
Source for the environment variable's value. Cannot be used if value is not empty.
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
ConfigMapKeyRefDie mutates ConfigMapKeyRef as a die.
Selects a key of a ConfigMap.
func (*EnvVarSourceDie) DeepCopy ¶
func (d *EnvVarSourceDie) DeepCopy() *EnvVarSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*EnvVarSourceDie) DieDiff ¶ added in v0.13.0
func (d *EnvVarSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*EnvVarSourceDie) DieFeed ¶
func (d *EnvVarSourceDie) DieFeed(r corev1.EnvVarSource) *EnvVarSourceDie
DieFeed returns a new die with the provided resource.
func (*EnvVarSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *EnvVarSourceDie) DieFeedYAML(y []byte) *EnvVarSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EnvVarSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *EnvVarSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*EnvVarSourceDie) DieRelease ¶
func (d *EnvVarSourceDie) DieRelease() corev1.EnvVarSource
DieRelease returns the resource managed by the die.
func (*EnvVarSourceDie) DieReleaseJSON ¶
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 ¶
func (d *EnvVarSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EnvVarSourceDie) DieReleaseYAML ¶
func (d *EnvVarSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EnvVarSourceDie) DieSeal ¶ added in v0.13.0
func (d *EnvVarSourceDie) DieSeal() *EnvVarSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*EnvVarSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *EnvVarSourceDie) DieSealFeed(r corev1.EnvVarSource) *EnvVarSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*EnvVarSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *EnvVarSourceDie) DieSealFeedPtr(r *corev1.EnvVarSource) *EnvVarSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*EnvVarSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *EnvVarSourceDie) DieSealRelease() corev1.EnvVarSource
DieSealRelease returns the sealed resource managed by the die.
func (*EnvVarSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *EnvVarSourceDie) DieSealReleasePtr() *corev1.EnvVarSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
FieldRefDie mutates FieldRef as a die.
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) 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
ResourceFieldRefDie mutates ResourceFieldRef as a die.
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) 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
SecretKeyRefDie mutates SecretKeyRef as a die.
Selects a key of a secret in the pod's namespace
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) DieDiff ¶ added in v0.13.0
func (d *EphemeralVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*EphemeralVolumeSourceDie) DieFeed ¶
func (d *EphemeralVolumeSourceDie) DieFeed(r corev1.EphemeralVolumeSource) *EphemeralVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*EphemeralVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *EphemeralVolumeSourceDie) DieFeedYAML(y []byte) *EphemeralVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EphemeralVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *EphemeralVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*EphemeralVolumeSourceDie) DieRelease ¶
func (d *EphemeralVolumeSourceDie) DieRelease() corev1.EphemeralVolumeSource
DieRelease returns the resource managed by the die.
func (*EphemeralVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *EphemeralVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EphemeralVolumeSourceDie) DieReleaseYAML ¶
func (d *EphemeralVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EphemeralVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *EphemeralVolumeSourceDie) DieSeal() *EphemeralVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*EphemeralVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *EphemeralVolumeSourceDie) DieSealFeed(r corev1.EphemeralVolumeSource) *EphemeralVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*EphemeralVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *EphemeralVolumeSourceDie) DieSealFeedPtr(r *corev1.EphemeralVolumeSource) *EphemeralVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*EphemeralVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *EphemeralVolumeSourceDie) DieSealRelease() corev1.EphemeralVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*EphemeralVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *EphemeralVolumeSourceDie) DieSealReleasePtr() *corev1.EphemeralVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
VolumeClaimTemplateDie mutates VolumeClaimTemplate as a die.
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.
type EventDie ¶
type EventDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*EventDie) APIVersion ¶
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) DieDefaultTypeMetadata ¶ added in v0.13.0
DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "Event" respectively.
func (*EventDie) DieDiff ¶ added in v0.13.0
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*EventDie) DieFeedJSON ¶
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 ¶
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 ¶
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EventDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
DiePatch generates a patch between the current value of the die and the sealed value.
func (*EventDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*EventDie) DieReleaseJSON ¶
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 ¶
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 ¶
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EventDie) DieSeal ¶ added in v0.13.0
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*EventDie) DieSealFeed ¶ added in v0.13.0
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*EventDie) DieSealFeedPtr ¶ added in v0.13.0
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*EventDie) DieSealRelease ¶ added in v0.13.0
DieSealRelease returns the sealed resource managed by the die.
func (*EventDie) DieSealReleasePtr ¶ added in v0.13.0
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*EventDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*EventDie) DieStampAt ¶
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 ¶
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
InvolvedObjectDie mutates InvolvedObject as a die.
The object that this event is about.
func (*EventDie) Kind ¶
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) Metadata ¶ added in v0.13.0
func (d *EventDie) Metadata(v apismetav1.ObjectMeta) *EventDie
Metadata standard object's metadata.
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
RelatedDie mutates Related as a die.
Optional secondary object for more complex actions.
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
SeriesDie mutates Series as a die.
Data about the Event series this event represents or nil if it's a singleton Event.
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
SourceDie mutates Source as a die.
The component reporting this event. Should be a short machine understandable string.
func (*EventDie) Type ¶
Type of this event (Normal, Warning), new types could be added in the future
func (*EventDie) TypeMetadata ¶ added in v0.13.0
func (d *EventDie) TypeMetadata(v apismetav1.TypeMeta) *EventDie
TypeMetadata standard object's type metadata.
func (*EventDie) TypeMetadataDie ¶ added in v0.13.0
func (d *EventDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *EventDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
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) DieDiff ¶ added in v0.13.0
func (d *EventSeriesDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*EventSeriesDie) DieFeed ¶
func (d *EventSeriesDie) DieFeed(r corev1.EventSeries) *EventSeriesDie
DieFeed returns a new die with the provided resource.
func (*EventSeriesDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *EventSeriesDie) DieFeedYAML(y []byte) *EventSeriesDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EventSeriesDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *EventSeriesDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*EventSeriesDie) DieRelease ¶
func (d *EventSeriesDie) DieRelease() corev1.EventSeries
DieRelease returns the resource managed by the die.
func (*EventSeriesDie) DieReleaseJSON ¶
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 ¶
func (d *EventSeriesDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EventSeriesDie) DieReleaseYAML ¶
func (d *EventSeriesDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EventSeriesDie) DieSeal ¶ added in v0.13.0
func (d *EventSeriesDie) DieSeal() *EventSeriesDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*EventSeriesDie) DieSealFeed ¶ added in v0.13.0
func (d *EventSeriesDie) DieSealFeed(r corev1.EventSeries) *EventSeriesDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*EventSeriesDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *EventSeriesDie) DieSealFeedPtr(r *corev1.EventSeries) *EventSeriesDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*EventSeriesDie) DieSealRelease ¶ added in v0.13.0
func (d *EventSeriesDie) DieSealRelease() corev1.EventSeries
DieSealRelease returns the sealed resource managed by the die.
func (*EventSeriesDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *EventSeriesDie) DieSealReleasePtr() *corev1.EventSeries
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *EventSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*EventSourceDie) DieFeed ¶
func (d *EventSourceDie) DieFeed(r corev1.EventSource) *EventSourceDie
DieFeed returns a new die with the provided resource.
func (*EventSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *EventSourceDie) DieFeedYAML(y []byte) *EventSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EventSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *EventSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*EventSourceDie) DieRelease ¶
func (d *EventSourceDie) DieRelease() corev1.EventSource
DieRelease returns the resource managed by the die.
func (*EventSourceDie) DieReleaseJSON ¶
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 ¶
func (d *EventSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EventSourceDie) DieReleaseYAML ¶
func (d *EventSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EventSourceDie) DieSeal ¶ added in v0.13.0
func (d *EventSourceDie) DieSeal() *EventSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*EventSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *EventSourceDie) DieSealFeed(r corev1.EventSource) *EventSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*EventSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *EventSourceDie) DieSealFeedPtr(r *corev1.EventSource) *EventSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*EventSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *EventSourceDie) DieSealRelease() corev1.EventSource
DieSealRelease returns the sealed resource managed by the die.
func (*EventSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *EventSourceDie) DieSealReleasePtr() *corev1.EventSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *ExecActionDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ExecActionDie) DieFeed ¶
func (d *ExecActionDie) DieFeed(r corev1.ExecAction) *ExecActionDie
DieFeed returns a new die with the provided resource.
func (*ExecActionDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ExecActionDie) DieFeedYAML(y []byte) *ExecActionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ExecActionDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ExecActionDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ExecActionDie) DieRelease ¶
func (d *ExecActionDie) DieRelease() corev1.ExecAction
DieRelease returns the resource managed by the die.
func (*ExecActionDie) DieReleaseJSON ¶
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 ¶
func (d *ExecActionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ExecActionDie) DieReleaseYAML ¶
func (d *ExecActionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ExecActionDie) DieSeal ¶ added in v0.13.0
func (d *ExecActionDie) DieSeal() *ExecActionDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ExecActionDie) DieSealFeed ¶ added in v0.13.0
func (d *ExecActionDie) DieSealFeed(r corev1.ExecAction) *ExecActionDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ExecActionDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ExecActionDie) DieSealFeedPtr(r *corev1.ExecAction) *ExecActionDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ExecActionDie) DieSealRelease ¶ added in v0.13.0
func (d *ExecActionDie) DieSealRelease() corev1.ExecAction
DieSealRelease returns the sealed resource managed by the die.
func (*ExecActionDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ExecActionDie) DieSealReleasePtr() *corev1.ExecAction
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *FCVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*FCVolumeSourceDie) DieFeed ¶
func (d *FCVolumeSourceDie) DieFeed(r corev1.FCVolumeSource) *FCVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*FCVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *FCVolumeSourceDie) DieFeedYAML(y []byte) *FCVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*FCVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *FCVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*FCVolumeSourceDie) DieRelease ¶
func (d *FCVolumeSourceDie) DieRelease() corev1.FCVolumeSource
DieRelease returns the resource managed by the die.
func (*FCVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *FCVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FCVolumeSourceDie) DieReleaseYAML ¶
func (d *FCVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*FCVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *FCVolumeSourceDie) DieSeal() *FCVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*FCVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *FCVolumeSourceDie) DieSealFeed(r corev1.FCVolumeSource) *FCVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*FCVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *FCVolumeSourceDie) DieSealFeedPtr(r *corev1.FCVolumeSource) *FCVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*FCVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *FCVolumeSourceDie) DieSealRelease() corev1.FCVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*FCVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *FCVolumeSourceDie) DieSealReleasePtr() *corev1.FCVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *FlexPersistentVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*FlexPersistentVolumeSourceDie) DieFeed ¶
func (d *FlexPersistentVolumeSourceDie) DieFeed(r corev1.FlexPersistentVolumeSource) *FlexPersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*FlexPersistentVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *FlexPersistentVolumeSourceDie) DieFeedYAML(y []byte) *FlexPersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*FlexPersistentVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *FlexPersistentVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*FlexPersistentVolumeSourceDie) DieRelease ¶
func (d *FlexPersistentVolumeSourceDie) DieRelease() corev1.FlexPersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*FlexPersistentVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *FlexPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FlexPersistentVolumeSourceDie) DieReleaseYAML ¶
func (d *FlexPersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*FlexPersistentVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *FlexPersistentVolumeSourceDie) DieSeal() *FlexPersistentVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*FlexPersistentVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *FlexPersistentVolumeSourceDie) DieSealFeed(r corev1.FlexPersistentVolumeSource) *FlexPersistentVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*FlexPersistentVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *FlexPersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.FlexPersistentVolumeSource) *FlexPersistentVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*FlexPersistentVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *FlexPersistentVolumeSourceDie) DieSealRelease() corev1.FlexPersistentVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*FlexPersistentVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *FlexPersistentVolumeSourceDie) DieSealReleasePtr() *corev1.FlexPersistentVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
SecretRefDie mutates SecretRef as a die.
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.
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) DieDiff ¶ added in v0.13.0
func (d *FlexVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*FlexVolumeSourceDie) DieFeed ¶
func (d *FlexVolumeSourceDie) DieFeed(r corev1.FlexVolumeSource) *FlexVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*FlexVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *FlexVolumeSourceDie) DieFeedYAML(y []byte) *FlexVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*FlexVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *FlexVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*FlexVolumeSourceDie) DieRelease ¶
func (d *FlexVolumeSourceDie) DieRelease() corev1.FlexVolumeSource
DieRelease returns the resource managed by the die.
func (*FlexVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *FlexVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FlexVolumeSourceDie) DieReleaseYAML ¶
func (d *FlexVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*FlexVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *FlexVolumeSourceDie) DieSeal() *FlexVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*FlexVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *FlexVolumeSourceDie) DieSealFeed(r corev1.FlexVolumeSource) *FlexVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*FlexVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *FlexVolumeSourceDie) DieSealFeedPtr(r *corev1.FlexVolumeSource) *FlexVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*FlexVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *FlexVolumeSourceDie) DieSealRelease() corev1.FlexVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*FlexVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *FlexVolumeSourceDie) DieSealReleasePtr() *corev1.FlexVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
SecretRefDie mutates SecretRef as a die.
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.
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) DieDiff ¶ added in v0.13.0
func (d *FlockerVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*FlockerVolumeSourceDie) DieFeed ¶
func (d *FlockerVolumeSourceDie) DieFeed(r corev1.FlockerVolumeSource) *FlockerVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*FlockerVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *FlockerVolumeSourceDie) DieFeedYAML(y []byte) *FlockerVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*FlockerVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *FlockerVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*FlockerVolumeSourceDie) DieRelease ¶
func (d *FlockerVolumeSourceDie) DieRelease() corev1.FlockerVolumeSource
DieRelease returns the resource managed by the die.
func (*FlockerVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *FlockerVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FlockerVolumeSourceDie) DieReleaseYAML ¶
func (d *FlockerVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*FlockerVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *FlockerVolumeSourceDie) DieSeal() *FlockerVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*FlockerVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *FlockerVolumeSourceDie) DieSealFeed(r corev1.FlockerVolumeSource) *FlockerVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*FlockerVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *FlockerVolumeSourceDie) DieSealFeedPtr(r *corev1.FlockerVolumeSource) *FlockerVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*FlockerVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *FlockerVolumeSourceDie) DieSealRelease() corev1.FlockerVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*FlockerVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *FlockerVolumeSourceDie) DieSealReleasePtr() *corev1.FlockerVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *GCEPersistentDiskVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*GCEPersistentDiskVolumeSourceDie) DieFeed ¶
func (d *GCEPersistentDiskVolumeSourceDie) DieFeed(r corev1.GCEPersistentDiskVolumeSource) *GCEPersistentDiskVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*GCEPersistentDiskVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *GCEPersistentDiskVolumeSourceDie) DieFeedYAML(y []byte) *GCEPersistentDiskVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*GCEPersistentDiskVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *GCEPersistentDiskVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*GCEPersistentDiskVolumeSourceDie) DieRelease ¶
func (d *GCEPersistentDiskVolumeSourceDie) DieRelease() corev1.GCEPersistentDiskVolumeSource
DieRelease returns the resource managed by the die.
func (*GCEPersistentDiskVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *GCEPersistentDiskVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GCEPersistentDiskVolumeSourceDie) DieReleaseYAML ¶
func (d *GCEPersistentDiskVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*GCEPersistentDiskVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *GCEPersistentDiskVolumeSourceDie) DieSeal() *GCEPersistentDiskVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*GCEPersistentDiskVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *GCEPersistentDiskVolumeSourceDie) DieSealFeed(r corev1.GCEPersistentDiskVolumeSource) *GCEPersistentDiskVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*GCEPersistentDiskVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *GCEPersistentDiskVolumeSourceDie) DieSealFeedPtr(r *corev1.GCEPersistentDiskVolumeSource) *GCEPersistentDiskVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*GCEPersistentDiskVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *GCEPersistentDiskVolumeSourceDie) DieSealRelease() corev1.GCEPersistentDiskVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*GCEPersistentDiskVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *GCEPersistentDiskVolumeSourceDie) DieSealReleasePtr() *corev1.GCEPersistentDiskVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
type GRPCActionDie struct {
// contains filtered or unexported fields
}
func (*GRPCActionDie) DeepCopy ¶
func (d *GRPCActionDie) DeepCopy() *GRPCActionDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*GRPCActionDie) DieDiff ¶ added in v0.13.0
func (d *GRPCActionDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*GRPCActionDie) DieFeed ¶
func (d *GRPCActionDie) DieFeed(r corev1.GRPCAction) *GRPCActionDie
DieFeed returns a new die with the provided resource.
func (*GRPCActionDie) DieFeedJSON ¶
func (d *GRPCActionDie) DieFeedJSON(j []byte) *GRPCActionDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*GRPCActionDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *GRPCActionDie) DieFeedYAML(y []byte) *GRPCActionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*GRPCActionDie) DieFeedYAMLFile ¶
func (d *GRPCActionDie) DieFeedYAMLFile(name string) *GRPCActionDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*GRPCActionDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *GRPCActionDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*GRPCActionDie) DieRelease ¶
func (d *GRPCActionDie) DieRelease() corev1.GRPCAction
DieRelease returns the resource managed by the die.
func (*GRPCActionDie) DieReleaseJSON ¶
func (d *GRPCActionDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*GRPCActionDie) DieReleasePtr ¶
func (d *GRPCActionDie) DieReleasePtr() *corev1.GRPCAction
DieReleasePtr returns a pointer to the resource managed by the die.
func (*GRPCActionDie) DieReleaseRawExtension ¶
func (d *GRPCActionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GRPCActionDie) DieReleaseYAML ¶
func (d *GRPCActionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*GRPCActionDie) DieSeal ¶ added in v0.13.0
func (d *GRPCActionDie) DieSeal() *GRPCActionDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*GRPCActionDie) DieSealFeed ¶ added in v0.13.0
func (d *GRPCActionDie) DieSealFeed(r corev1.GRPCAction) *GRPCActionDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*GRPCActionDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *GRPCActionDie) DieSealFeedPtr(r *corev1.GRPCAction) *GRPCActionDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*GRPCActionDie) DieSealRelease ¶ added in v0.13.0
func (d *GRPCActionDie) DieSealRelease() corev1.GRPCAction
DieSealRelease returns the sealed resource managed by the die.
func (*GRPCActionDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *GRPCActionDie) DieSealReleasePtr() *corev1.GRPCAction
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*GRPCActionDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *GitRepoVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*GitRepoVolumeSourceDie) DieFeed ¶
func (d *GitRepoVolumeSourceDie) DieFeed(r corev1.GitRepoVolumeSource) *GitRepoVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*GitRepoVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *GitRepoVolumeSourceDie) DieFeedYAML(y []byte) *GitRepoVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*GitRepoVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *GitRepoVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*GitRepoVolumeSourceDie) DieRelease ¶
func (d *GitRepoVolumeSourceDie) DieRelease() corev1.GitRepoVolumeSource
DieRelease returns the resource managed by the die.
func (*GitRepoVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *GitRepoVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GitRepoVolumeSourceDie) DieReleaseYAML ¶
func (d *GitRepoVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*GitRepoVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *GitRepoVolumeSourceDie) DieSeal() *GitRepoVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*GitRepoVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *GitRepoVolumeSourceDie) DieSealFeed(r corev1.GitRepoVolumeSource) *GitRepoVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*GitRepoVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *GitRepoVolumeSourceDie) DieSealFeedPtr(r *corev1.GitRepoVolumeSource) *GitRepoVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*GitRepoVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *GitRepoVolumeSourceDie) DieSealRelease() corev1.GitRepoVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*GitRepoVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *GitRepoVolumeSourceDie) DieSealReleasePtr() *corev1.GitRepoVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *GlusterfsPersistentVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*GlusterfsPersistentVolumeSourceDie) DieFeed ¶
func (d *GlusterfsPersistentVolumeSourceDie) DieFeed(r corev1.GlusterfsPersistentVolumeSource) *GlusterfsPersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*GlusterfsPersistentVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *GlusterfsPersistentVolumeSourceDie) DieFeedYAML(y []byte) *GlusterfsPersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*GlusterfsPersistentVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *GlusterfsPersistentVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*GlusterfsPersistentVolumeSourceDie) DieRelease ¶
func (d *GlusterfsPersistentVolumeSourceDie) DieRelease() corev1.GlusterfsPersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*GlusterfsPersistentVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *GlusterfsPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GlusterfsPersistentVolumeSourceDie) DieReleaseYAML ¶
func (d *GlusterfsPersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*GlusterfsPersistentVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *GlusterfsPersistentVolumeSourceDie) DieSeal() *GlusterfsPersistentVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*GlusterfsPersistentVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *GlusterfsPersistentVolumeSourceDie) DieSealFeed(r corev1.GlusterfsPersistentVolumeSource) *GlusterfsPersistentVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*GlusterfsPersistentVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *GlusterfsPersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.GlusterfsPersistentVolumeSource) *GlusterfsPersistentVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*GlusterfsPersistentVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *GlusterfsPersistentVolumeSourceDie) DieSealRelease() corev1.GlusterfsPersistentVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*GlusterfsPersistentVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *GlusterfsPersistentVolumeSourceDie) DieSealReleasePtr() *corev1.GlusterfsPersistentVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *GlusterfsVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*GlusterfsVolumeSourceDie) DieFeed ¶
func (d *GlusterfsVolumeSourceDie) DieFeed(r corev1.GlusterfsVolumeSource) *GlusterfsVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*GlusterfsVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *GlusterfsVolumeSourceDie) DieFeedYAML(y []byte) *GlusterfsVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*GlusterfsVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *GlusterfsVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*GlusterfsVolumeSourceDie) DieRelease ¶
func (d *GlusterfsVolumeSourceDie) DieRelease() corev1.GlusterfsVolumeSource
DieRelease returns the resource managed by the die.
func (*GlusterfsVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *GlusterfsVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GlusterfsVolumeSourceDie) DieReleaseYAML ¶
func (d *GlusterfsVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*GlusterfsVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *GlusterfsVolumeSourceDie) DieSeal() *GlusterfsVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*GlusterfsVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *GlusterfsVolumeSourceDie) DieSealFeed(r corev1.GlusterfsVolumeSource) *GlusterfsVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*GlusterfsVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *GlusterfsVolumeSourceDie) DieSealFeedPtr(r *corev1.GlusterfsVolumeSource) *GlusterfsVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*GlusterfsVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *GlusterfsVolumeSourceDie) DieSealRelease() corev1.GlusterfsVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*GlusterfsVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *GlusterfsVolumeSourceDie) DieSealReleasePtr() *corev1.GlusterfsVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *HTTPGetActionDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*HTTPGetActionDie) DieFeed ¶
func (d *HTTPGetActionDie) DieFeed(r corev1.HTTPGetAction) *HTTPGetActionDie
DieFeed returns a new die with the provided resource.
func (*HTTPGetActionDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *HTTPGetActionDie) DieFeedYAML(y []byte) *HTTPGetActionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*HTTPGetActionDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *HTTPGetActionDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*HTTPGetActionDie) DieRelease ¶
func (d *HTTPGetActionDie) DieRelease() corev1.HTTPGetAction
DieRelease returns the resource managed by the die.
func (*HTTPGetActionDie) DieReleaseJSON ¶
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 ¶
func (d *HTTPGetActionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*HTTPGetActionDie) DieReleaseYAML ¶
func (d *HTTPGetActionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*HTTPGetActionDie) DieSeal ¶ added in v0.13.0
func (d *HTTPGetActionDie) DieSeal() *HTTPGetActionDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*HTTPGetActionDie) DieSealFeed ¶ added in v0.13.0
func (d *HTTPGetActionDie) DieSealFeed(r corev1.HTTPGetAction) *HTTPGetActionDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*HTTPGetActionDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *HTTPGetActionDie) DieSealFeedPtr(r *corev1.HTTPGetAction) *HTTPGetActionDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*HTTPGetActionDie) DieSealRelease ¶ added in v0.13.0
func (d *HTTPGetActionDie) DieSealRelease() corev1.HTTPGetAction
DieSealRelease returns the sealed resource managed by the die.
func (*HTTPGetActionDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *HTTPGetActionDie) DieSealReleasePtr() *corev1.HTTPGetAction
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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(v ...*HTTPHeaderDie) *HTTPGetActionDie
HTTPHeadersDie replaces HTTPHeaders by collecting the released value from each die passed.
Custom headers to set in the request. HTTP allows repeated headers.
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
PortInt sets Port with the int value.
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) PortString ¶
func (d *HTTPGetActionDie) PortString(s string) *HTTPGetActionDie
PortString sets Port with the string value.
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) 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) DieDiff ¶ added in v0.13.0
func (d *HTTPHeaderDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*HTTPHeaderDie) DieFeed ¶
func (d *HTTPHeaderDie) DieFeed(r corev1.HTTPHeader) *HTTPHeaderDie
DieFeed returns a new die with the provided resource.
func (*HTTPHeaderDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *HTTPHeaderDie) DieFeedYAML(y []byte) *HTTPHeaderDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*HTTPHeaderDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *HTTPHeaderDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*HTTPHeaderDie) DieRelease ¶
func (d *HTTPHeaderDie) DieRelease() corev1.HTTPHeader
DieRelease returns the resource managed by the die.
func (*HTTPHeaderDie) DieReleaseJSON ¶
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 ¶
func (d *HTTPHeaderDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*HTTPHeaderDie) DieReleaseYAML ¶
func (d *HTTPHeaderDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*HTTPHeaderDie) DieSeal ¶ added in v0.13.0
func (d *HTTPHeaderDie) DieSeal() *HTTPHeaderDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*HTTPHeaderDie) DieSealFeed ¶ added in v0.13.0
func (d *HTTPHeaderDie) DieSealFeed(r corev1.HTTPHeader) *HTTPHeaderDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*HTTPHeaderDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *HTTPHeaderDie) DieSealFeedPtr(r *corev1.HTTPHeader) *HTTPHeaderDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*HTTPHeaderDie) DieSealRelease ¶ added in v0.13.0
func (d *HTTPHeaderDie) DieSealRelease() corev1.HTTPHeader
DieSealRelease returns the sealed resource managed by the die.
func (*HTTPHeaderDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *HTTPHeaderDie) DieSealReleasePtr() *corev1.HTTPHeader
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *HostAliasDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*HostAliasDie) DieFeed ¶
func (d *HostAliasDie) DieFeed(r corev1.HostAlias) *HostAliasDie
DieFeed returns a new die with the provided resource.
func (*HostAliasDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *HostAliasDie) DieFeedYAML(y []byte) *HostAliasDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*HostAliasDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *HostAliasDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*HostAliasDie) DieRelease ¶
func (d *HostAliasDie) DieRelease() corev1.HostAlias
DieRelease returns the resource managed by the die.
func (*HostAliasDie) DieReleaseJSON ¶
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 ¶
func (d *HostAliasDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*HostAliasDie) DieReleaseYAML ¶
func (d *HostAliasDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*HostAliasDie) DieSeal ¶ added in v0.13.0
func (d *HostAliasDie) DieSeal() *HostAliasDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*HostAliasDie) DieSealFeed ¶ added in v0.13.0
func (d *HostAliasDie) DieSealFeed(r corev1.HostAlias) *HostAliasDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*HostAliasDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *HostAliasDie) DieSealFeedPtr(r *corev1.HostAlias) *HostAliasDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*HostAliasDie) DieSealRelease ¶ added in v0.13.0
func (d *HostAliasDie) DieSealRelease() corev1.HostAlias
DieSealRelease returns the sealed resource managed by the die.
func (*HostAliasDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *HostAliasDie) DieSealReleasePtr() *corev1.HostAlias
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *HostPathVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*HostPathVolumeSourceDie) DieFeed ¶
func (d *HostPathVolumeSourceDie) DieFeed(r corev1.HostPathVolumeSource) *HostPathVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*HostPathVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *HostPathVolumeSourceDie) DieFeedYAML(y []byte) *HostPathVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*HostPathVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *HostPathVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*HostPathVolumeSourceDie) DieRelease ¶
func (d *HostPathVolumeSourceDie) DieRelease() corev1.HostPathVolumeSource
DieRelease returns the resource managed by the die.
func (*HostPathVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *HostPathVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*HostPathVolumeSourceDie) DieReleaseYAML ¶
func (d *HostPathVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*HostPathVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *HostPathVolumeSourceDie) DieSeal() *HostPathVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*HostPathVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *HostPathVolumeSourceDie) DieSealFeed(r corev1.HostPathVolumeSource) *HostPathVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*HostPathVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *HostPathVolumeSourceDie) DieSealFeedPtr(r *corev1.HostPathVolumeSource) *HostPathVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*HostPathVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *HostPathVolumeSourceDie) DieSealRelease() corev1.HostPathVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*HostPathVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *HostPathVolumeSourceDie) DieSealReleasePtr() *corev1.HostPathVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *ISCSIPersistentVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ISCSIPersistentVolumeSourceDie) DieFeed ¶
func (d *ISCSIPersistentVolumeSourceDie) DieFeed(r corev1.ISCSIPersistentVolumeSource) *ISCSIPersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*ISCSIPersistentVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ISCSIPersistentVolumeSourceDie) DieFeedYAML(y []byte) *ISCSIPersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ISCSIPersistentVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ISCSIPersistentVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ISCSIPersistentVolumeSourceDie) DieRelease ¶
func (d *ISCSIPersistentVolumeSourceDie) DieRelease() corev1.ISCSIPersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*ISCSIPersistentVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *ISCSIPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ISCSIPersistentVolumeSourceDie) DieReleaseYAML ¶
func (d *ISCSIPersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ISCSIPersistentVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *ISCSIPersistentVolumeSourceDie) DieSeal() *ISCSIPersistentVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ISCSIPersistentVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *ISCSIPersistentVolumeSourceDie) DieSealFeed(r corev1.ISCSIPersistentVolumeSource) *ISCSIPersistentVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ISCSIPersistentVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ISCSIPersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.ISCSIPersistentVolumeSource) *ISCSIPersistentVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ISCSIPersistentVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *ISCSIPersistentVolumeSourceDie) DieSealRelease() corev1.ISCSIPersistentVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*ISCSIPersistentVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ISCSIPersistentVolumeSourceDie) DieSealReleasePtr() *corev1.ISCSIPersistentVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
SecretRefDie mutates SecretRef as a die.
secretRef is the CHAP Secret for iSCSI target and initiator authentication
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) DieDiff ¶ added in v0.13.0
func (d *ISCSIVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ISCSIVolumeSourceDie) DieFeed ¶
func (d *ISCSIVolumeSourceDie) DieFeed(r corev1.ISCSIVolumeSource) *ISCSIVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*ISCSIVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ISCSIVolumeSourceDie) DieFeedYAML(y []byte) *ISCSIVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ISCSIVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ISCSIVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ISCSIVolumeSourceDie) DieRelease ¶
func (d *ISCSIVolumeSourceDie) DieRelease() corev1.ISCSIVolumeSource
DieRelease returns the resource managed by the die.
func (*ISCSIVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *ISCSIVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ISCSIVolumeSourceDie) DieReleaseYAML ¶
func (d *ISCSIVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ISCSIVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *ISCSIVolumeSourceDie) DieSeal() *ISCSIVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ISCSIVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *ISCSIVolumeSourceDie) DieSealFeed(r corev1.ISCSIVolumeSource) *ISCSIVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ISCSIVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ISCSIVolumeSourceDie) DieSealFeedPtr(r *corev1.ISCSIVolumeSource) *ISCSIVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ISCSIVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *ISCSIVolumeSourceDie) DieSealRelease() corev1.ISCSIVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*ISCSIVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ISCSIVolumeSourceDie) DieSealReleasePtr() *corev1.ISCSIVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
SecretRefDie mutates SecretRef as a die.
secretRef is the CHAP Secret for iSCSI target and initiator authentication
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) DieDiff ¶ added in v0.13.0
func (d *KeyToPathDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*KeyToPathDie) DieFeed ¶
func (d *KeyToPathDie) DieFeed(r corev1.KeyToPath) *KeyToPathDie
DieFeed returns a new die with the provided resource.
func (*KeyToPathDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *KeyToPathDie) DieFeedYAML(y []byte) *KeyToPathDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*KeyToPathDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *KeyToPathDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*KeyToPathDie) DieRelease ¶
func (d *KeyToPathDie) DieRelease() corev1.KeyToPath
DieRelease returns the resource managed by the die.
func (*KeyToPathDie) DieReleaseJSON ¶
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 ¶
func (d *KeyToPathDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*KeyToPathDie) DieReleaseYAML ¶
func (d *KeyToPathDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*KeyToPathDie) DieSeal ¶ added in v0.13.0
func (d *KeyToPathDie) DieSeal() *KeyToPathDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*KeyToPathDie) DieSealFeed ¶ added in v0.13.0
func (d *KeyToPathDie) DieSealFeed(r corev1.KeyToPath) *KeyToPathDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*KeyToPathDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *KeyToPathDie) DieSealFeedPtr(r *corev1.KeyToPath) *KeyToPathDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*KeyToPathDie) DieSealRelease ¶ added in v0.13.0
func (d *KeyToPathDie) DieSealRelease() corev1.KeyToPath
DieSealRelease returns the sealed resource managed by the die.
func (*KeyToPathDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *KeyToPathDie) DieSealReleasePtr() *corev1.KeyToPath
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *LifecycleDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*LifecycleDie) DieFeed ¶
func (d *LifecycleDie) DieFeed(r corev1.Lifecycle) *LifecycleDie
DieFeed returns a new die with the provided resource.
func (*LifecycleDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *LifecycleDie) DieFeedYAML(y []byte) *LifecycleDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LifecycleDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *LifecycleDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*LifecycleDie) DieRelease ¶
func (d *LifecycleDie) DieRelease() corev1.Lifecycle
DieRelease returns the resource managed by the die.
func (*LifecycleDie) DieReleaseJSON ¶
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 ¶
func (d *LifecycleDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LifecycleDie) DieReleaseYAML ¶
func (d *LifecycleDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LifecycleDie) DieSeal ¶ added in v0.13.0
func (d *LifecycleDie) DieSeal() *LifecycleDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*LifecycleDie) DieSealFeed ¶ added in v0.13.0
func (d *LifecycleDie) DieSealFeed(r corev1.Lifecycle) *LifecycleDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*LifecycleDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *LifecycleDie) DieSealFeedPtr(r *corev1.Lifecycle) *LifecycleDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*LifecycleDie) DieSealRelease ¶ added in v0.13.0
func (d *LifecycleDie) DieSealRelease() corev1.Lifecycle
DieSealRelease returns the sealed resource managed by the die.
func (*LifecycleDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *LifecycleDie) DieSealReleasePtr() *corev1.Lifecycle
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
PostStartDie mutates PostStart as a die.
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) 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
PreStopDie mutates PreStop as a die.
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
type LifecycleHandlerDie ¶
type LifecycleHandlerDie struct {
// contains filtered or unexported fields
}
func (*LifecycleHandlerDie) DeepCopy ¶
func (d *LifecycleHandlerDie) DeepCopy() *LifecycleHandlerDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*LifecycleHandlerDie) DieDiff ¶ added in v0.13.0
func (d *LifecycleHandlerDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*LifecycleHandlerDie) DieFeed ¶
func (d *LifecycleHandlerDie) DieFeed(r corev1.LifecycleHandler) *LifecycleHandlerDie
DieFeed returns a new die with the provided resource.
func (*LifecycleHandlerDie) DieFeedJSON ¶
func (d *LifecycleHandlerDie) DieFeedJSON(j []byte) *LifecycleHandlerDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*LifecycleHandlerDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *LifecycleHandlerDie) DieFeedYAML(y []byte) *LifecycleHandlerDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LifecycleHandlerDie) DieFeedYAMLFile ¶
func (d *LifecycleHandlerDie) DieFeedYAMLFile(name string) *LifecycleHandlerDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*LifecycleHandlerDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *LifecycleHandlerDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*LifecycleHandlerDie) DieRelease ¶
func (d *LifecycleHandlerDie) DieRelease() corev1.LifecycleHandler
DieRelease returns the resource managed by the die.
func (*LifecycleHandlerDie) DieReleaseJSON ¶
func (d *LifecycleHandlerDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*LifecycleHandlerDie) DieReleasePtr ¶
func (d *LifecycleHandlerDie) DieReleasePtr() *corev1.LifecycleHandler
DieReleasePtr returns a pointer to the resource managed by the die.
func (*LifecycleHandlerDie) DieReleaseRawExtension ¶
func (d *LifecycleHandlerDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LifecycleHandlerDie) DieReleaseYAML ¶
func (d *LifecycleHandlerDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LifecycleHandlerDie) DieSeal ¶ added in v0.13.0
func (d *LifecycleHandlerDie) DieSeal() *LifecycleHandlerDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*LifecycleHandlerDie) DieSealFeed ¶ added in v0.13.0
func (d *LifecycleHandlerDie) DieSealFeed(r corev1.LifecycleHandler) *LifecycleHandlerDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*LifecycleHandlerDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *LifecycleHandlerDie) DieSealFeedPtr(r *corev1.LifecycleHandler) *LifecycleHandlerDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*LifecycleHandlerDie) DieSealRelease ¶ added in v0.13.0
func (d *LifecycleHandlerDie) DieSealRelease() corev1.LifecycleHandler
DieSealRelease returns the sealed resource managed by the die.
func (*LifecycleHandlerDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *LifecycleHandlerDie) DieSealReleasePtr() *corev1.LifecycleHandler
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*LifecycleHandlerDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
func (d *LifecycleHandlerDie) Exec(v *corev1.ExecAction) *LifecycleHandlerDie
Exec specifies the action to take.
func (*LifecycleHandlerDie) ExecDie ¶
func (d *LifecycleHandlerDie) ExecDie(fn func(d *ExecActionDie)) *LifecycleHandlerDie
ExecDie mutates Exec as a die.
Exec specifies the action to take.
func (*LifecycleHandlerDie) HTTPGet ¶
func (d *LifecycleHandlerDie) HTTPGet(v *corev1.HTTPGetAction) *LifecycleHandlerDie
HTTPGet specifies the http request to perform.
func (*LifecycleHandlerDie) HTTPGetDie ¶
func (d *LifecycleHandlerDie) HTTPGetDie(fn func(d *HTTPGetActionDie)) *LifecycleHandlerDie
HTTPGetDie mutates HTTPGet as a die.
HTTPGet specifies the http request to perform.
func (*LifecycleHandlerDie) Sleep ¶
func (d *LifecycleHandlerDie) Sleep(v *corev1.SleepAction) *LifecycleHandlerDie
Sleep represents the duration that the container should sleep before being terminated.
func (*LifecycleHandlerDie) SleepDie ¶
func (d *LifecycleHandlerDie) SleepDie(fn func(d *SleepActionDie)) *LifecycleHandlerDie
SleepDie mutates Sleep as a die.
Sleep represents the duration that the container should sleep before being terminated.
func (*LifecycleHandlerDie) TCPSocket ¶
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 ¶
func (d *LifecycleHandlerDie) TCPSocketDie(fn func(d *TCPSocketActionDie)) *LifecycleHandlerDie
TCPSocketDie mutates TCPSocket as a die.
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.
type LimitRangeDie ¶
type LimitRangeDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*LimitRangeDie) APIVersion ¶
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) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *LimitRangeDie) DieDefaultTypeMetadata() *LimitRangeDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "LimitRange" respectively.
func (*LimitRangeDie) DieDiff ¶ added in v0.13.0
func (d *LimitRangeDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*LimitRangeDie) DieFeed ¶
func (d *LimitRangeDie) DieFeed(r corev1.LimitRange) *LimitRangeDie
DieFeed returns a new die with the provided resource.
func (*LimitRangeDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *LimitRangeDie) DieFeedYAML(y []byte) *LimitRangeDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LimitRangeDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *LimitRangeDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*LimitRangeDie) DieRelease ¶
func (d *LimitRangeDie) DieRelease() corev1.LimitRange
DieRelease returns the resource managed by the die.
func (*LimitRangeDie) DieReleaseJSON ¶
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 ¶
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 ¶
func (d *LimitRangeDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LimitRangeDie) DieSeal ¶ added in v0.13.0
func (d *LimitRangeDie) DieSeal() *LimitRangeDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*LimitRangeDie) DieSealFeed ¶ added in v0.13.0
func (d *LimitRangeDie) DieSealFeed(r corev1.LimitRange) *LimitRangeDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*LimitRangeDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *LimitRangeDie) DieSealFeedPtr(r *corev1.LimitRange) *LimitRangeDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*LimitRangeDie) DieSealRelease ¶ added in v0.13.0
func (d *LimitRangeDie) DieSealRelease() corev1.LimitRange
DieSealRelease returns the sealed resource managed by the die.
func (*LimitRangeDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *LimitRangeDie) DieSealReleasePtr() *corev1.LimitRange
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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) Metadata ¶ added in v0.13.0
func (d *LimitRangeDie) Metadata(v apismetav1.ObjectMeta) *LimitRangeDie
Metadata standard object's metadata.
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) TypeMetadata ¶ added in v0.13.0
func (d *LimitRangeDie) TypeMetadata(v apismetav1.TypeMeta) *LimitRangeDie
TypeMetadata standard object's type metadata.
func (*LimitRangeDie) TypeMetadataDie ¶ added in v0.13.0
func (d *LimitRangeDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *LimitRangeDie
TypeMetadataDie stamps the resource's TypeMeta 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
AddDefault sets a single quantity on the Default resource list.
Default resource requirement limit value by resource name if resource limit is omitted.
func (*LimitRangeItemDie) AddDefaultRequest ¶
func (d *LimitRangeItemDie) AddDefaultRequest(name corev1.ResourceName, quantity resource.Quantity) *LimitRangeItemDie
AddDefaultRequest sets a single quantity on the DefaultRequest resource list.
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
func (*LimitRangeItemDie) AddDefaultRequestString ¶
func (d *LimitRangeItemDie) AddDefaultRequestString(name corev1.ResourceName, quantity string) *LimitRangeItemDie
AddDefaultRequestString parses the quantity setting a single value on the DefaultRequest resource list. Panics if the string is not parsable.
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
func (*LimitRangeItemDie) AddDefaultString ¶
func (d *LimitRangeItemDie) AddDefaultString(name corev1.ResourceName, quantity string) *LimitRangeItemDie
AddDefaultString parses the quantity setting a single value on the Default resource list. Panics if the string is not parsable.
Default resource requirement limit value by resource name if resource limit is omitted.
func (*LimitRangeItemDie) AddMax ¶
func (d *LimitRangeItemDie) AddMax(name corev1.ResourceName, quantity resource.Quantity) *LimitRangeItemDie
AddMax sets a single quantity on the Max resource list.
Max usage constraints on this kind by resource name.
func (*LimitRangeItemDie) AddMaxLimitRequestRatio ¶
func (d *LimitRangeItemDie) AddMaxLimitRequestRatio(name corev1.ResourceName, quantity resource.Quantity) *LimitRangeItemDie
AddMaxLimitRequestRatio sets a single quantity on the MaxLimitRequestRatio resource list.
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) AddMaxLimitRequestRatioString ¶
func (d *LimitRangeItemDie) AddMaxLimitRequestRatioString(name corev1.ResourceName, quantity string) *LimitRangeItemDie
AddMaxLimitRequestRatioString parses the quantity setting a single value on the MaxLimitRequestRatio resource list. Panics if the string is not parsable.
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) AddMaxString ¶
func (d *LimitRangeItemDie) AddMaxString(name corev1.ResourceName, quantity string) *LimitRangeItemDie
AddMaxString parses the quantity setting a single value on the Max resource list. Panics if the string is not parsable.
Max usage constraints on this kind by resource name.
func (*LimitRangeItemDie) AddMin ¶
func (d *LimitRangeItemDie) AddMin(name corev1.ResourceName, quantity resource.Quantity) *LimitRangeItemDie
AddMin sets a single quantity on the Min resource list.
Min usage constraints on this kind by resource name.
func (*LimitRangeItemDie) AddMinString ¶
func (d *LimitRangeItemDie) AddMinString(name corev1.ResourceName, quantity string) *LimitRangeItemDie
AddMinString parses the quantity setting a single value on the Min resource list. Panics if the string is not parsable.
Min usage constraints on this kind by resource name.
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) DieDiff ¶ added in v0.13.0
func (d *LimitRangeItemDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*LimitRangeItemDie) DieFeed ¶
func (d *LimitRangeItemDie) DieFeed(r corev1.LimitRangeItem) *LimitRangeItemDie
DieFeed returns a new die with the provided resource.
func (*LimitRangeItemDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *LimitRangeItemDie) DieFeedYAML(y []byte) *LimitRangeItemDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LimitRangeItemDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *LimitRangeItemDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*LimitRangeItemDie) DieRelease ¶
func (d *LimitRangeItemDie) DieRelease() corev1.LimitRangeItem
DieRelease returns the resource managed by the die.
func (*LimitRangeItemDie) DieReleaseJSON ¶
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 ¶
func (d *LimitRangeItemDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LimitRangeItemDie) DieReleaseYAML ¶
func (d *LimitRangeItemDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LimitRangeItemDie) DieSeal ¶ added in v0.13.0
func (d *LimitRangeItemDie) DieSeal() *LimitRangeItemDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*LimitRangeItemDie) DieSealFeed ¶ added in v0.13.0
func (d *LimitRangeItemDie) DieSealFeed(r corev1.LimitRangeItem) *LimitRangeItemDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*LimitRangeItemDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *LimitRangeItemDie) DieSealFeedPtr(r *corev1.LimitRangeItem) *LimitRangeItemDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*LimitRangeItemDie) DieSealRelease ¶ added in v0.13.0
func (d *LimitRangeItemDie) DieSealRelease() corev1.LimitRangeItem
DieSealRelease returns the sealed resource managed by the die.
func (*LimitRangeItemDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *LimitRangeItemDie) DieSealReleasePtr() *corev1.LimitRangeItem
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *LimitRangeSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*LimitRangeSpecDie) DieFeed ¶
func (d *LimitRangeSpecDie) DieFeed(r corev1.LimitRangeSpec) *LimitRangeSpecDie
DieFeed returns a new die with the provided resource.
func (*LimitRangeSpecDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *LimitRangeSpecDie) DieFeedYAML(y []byte) *LimitRangeSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LimitRangeSpecDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *LimitRangeSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*LimitRangeSpecDie) DieRelease ¶
func (d *LimitRangeSpecDie) DieRelease() corev1.LimitRangeSpec
DieRelease returns the resource managed by the die.
func (*LimitRangeSpecDie) DieReleaseJSON ¶
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 ¶
func (d *LimitRangeSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LimitRangeSpecDie) DieReleaseYAML ¶
func (d *LimitRangeSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LimitRangeSpecDie) DieSeal ¶ added in v0.13.0
func (d *LimitRangeSpecDie) DieSeal() *LimitRangeSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*LimitRangeSpecDie) DieSealFeed ¶ added in v0.13.0
func (d *LimitRangeSpecDie) DieSealFeed(r corev1.LimitRangeSpec) *LimitRangeSpecDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*LimitRangeSpecDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *LimitRangeSpecDie) DieSealFeedPtr(r *corev1.LimitRangeSpec) *LimitRangeSpecDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*LimitRangeSpecDie) DieSealRelease ¶ added in v0.13.0
func (d *LimitRangeSpecDie) DieSealRelease() corev1.LimitRangeSpec
DieSealRelease returns the sealed resource managed by the die.
func (*LimitRangeSpecDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *LimitRangeSpecDie) DieSealReleasePtr() *corev1.LimitRangeSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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(v ...*LimitRangeItemDie) *LimitRangeSpecDie
LimitsDie replaces Limits by collecting the released value from each die passed.
Limits is the list of LimitRangeItem objects that are enforced.
type LinuxContainerUserDie ¶ added in v0.14.0
type LinuxContainerUserDie struct {
// contains filtered or unexported fields
}
func (*LinuxContainerUserDie) DeepCopy ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DeepCopy() *LinuxContainerUserDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*LinuxContainerUserDie) DieDiff ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*LinuxContainerUserDie) DieFeed ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieFeed(r corev1.LinuxContainerUser) *LinuxContainerUserDie
DieFeed returns a new die with the provided resource.
func (*LinuxContainerUserDie) DieFeedJSON ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieFeedJSON(j []byte) *LinuxContainerUserDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*LinuxContainerUserDie) DieFeedPtr ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieFeedPtr(r *corev1.LinuxContainerUser) *LinuxContainerUserDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*LinuxContainerUserDie) DieFeedRawExtension ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieFeedRawExtension(raw runtime.RawExtension) *LinuxContainerUserDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LinuxContainerUserDie) DieFeedYAML ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieFeedYAML(y []byte) *LinuxContainerUserDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LinuxContainerUserDie) DieFeedYAMLFile ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieFeedYAMLFile(name string) *LinuxContainerUserDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*LinuxContainerUserDie) DieImmutable ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieImmutable(immutable bool) *LinuxContainerUserDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*LinuxContainerUserDie) DiePatch ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*LinuxContainerUserDie) DieRelease ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieRelease() corev1.LinuxContainerUser
DieRelease returns the resource managed by the die.
func (*LinuxContainerUserDie) DieReleaseJSON ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*LinuxContainerUserDie) DieReleasePtr ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieReleasePtr() *corev1.LinuxContainerUser
DieReleasePtr returns a pointer to the resource managed by the die.
func (*LinuxContainerUserDie) DieReleaseRawExtension ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LinuxContainerUserDie) DieReleaseYAML ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LinuxContainerUserDie) DieSeal ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieSeal() *LinuxContainerUserDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*LinuxContainerUserDie) DieSealFeed ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieSealFeed(r corev1.LinuxContainerUser) *LinuxContainerUserDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*LinuxContainerUserDie) DieSealFeedPtr ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieSealFeedPtr(r *corev1.LinuxContainerUser) *LinuxContainerUserDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*LinuxContainerUserDie) DieSealRelease ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieSealRelease() corev1.LinuxContainerUser
DieSealRelease returns the sealed resource managed by the die.
func (*LinuxContainerUserDie) DieSealReleasePtr ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieSealReleasePtr() *corev1.LinuxContainerUser
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*LinuxContainerUserDie) DieStamp ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieStamp(fn func(r *corev1.LinuxContainerUser)) *LinuxContainerUserDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*LinuxContainerUserDie) DieStampAt ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieStampAt(jp string, fn interface{}) *LinuxContainerUserDie
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 (*LinuxContainerUserDie) DieWith ¶ added in v0.14.0
func (d *LinuxContainerUserDie) DieWith(fns ...func(d *LinuxContainerUserDie)) *LinuxContainerUserDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*LinuxContainerUserDie) GID ¶ added in v0.14.0
func (d *LinuxContainerUserDie) GID(v int64) *LinuxContainerUserDie
GID is the primary gid initially attached to the first process in the container
func (*LinuxContainerUserDie) SupplementalGroups ¶ added in v0.14.0
func (d *LinuxContainerUserDie) SupplementalGroups(v ...int64) *LinuxContainerUserDie
SupplementalGroups are the supplemental groups initially attached to the first process in the container
func (*LinuxContainerUserDie) UID ¶ added in v0.14.0
func (d *LinuxContainerUserDie) UID(v int64) *LinuxContainerUserDie
UID is the primary uid initially attached to the first process in the container
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) DieDiff ¶ added in v0.13.0
func (d *LoadBalancerIngressDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*LoadBalancerIngressDie) DieFeed ¶
func (d *LoadBalancerIngressDie) DieFeed(r corev1.LoadBalancerIngress) *LoadBalancerIngressDie
DieFeed returns a new die with the provided resource.
func (*LoadBalancerIngressDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *LoadBalancerIngressDie) DieFeedYAML(y []byte) *LoadBalancerIngressDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LoadBalancerIngressDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *LoadBalancerIngressDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*LoadBalancerIngressDie) DieRelease ¶
func (d *LoadBalancerIngressDie) DieRelease() corev1.LoadBalancerIngress
DieRelease returns the resource managed by the die.
func (*LoadBalancerIngressDie) DieReleaseJSON ¶
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 ¶
func (d *LoadBalancerIngressDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LoadBalancerIngressDie) DieReleaseYAML ¶
func (d *LoadBalancerIngressDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LoadBalancerIngressDie) DieSeal ¶ added in v0.13.0
func (d *LoadBalancerIngressDie) DieSeal() *LoadBalancerIngressDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*LoadBalancerIngressDie) DieSealFeed ¶ added in v0.13.0
func (d *LoadBalancerIngressDie) DieSealFeed(r corev1.LoadBalancerIngress) *LoadBalancerIngressDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*LoadBalancerIngressDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *LoadBalancerIngressDie) DieSealFeedPtr(r *corev1.LoadBalancerIngress) *LoadBalancerIngressDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*LoadBalancerIngressDie) DieSealRelease ¶ added in v0.13.0
func (d *LoadBalancerIngressDie) DieSealRelease() corev1.LoadBalancerIngress
DieSealRelease returns the sealed resource managed by the die.
func (*LoadBalancerIngressDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *LoadBalancerIngressDie) DieSealReleasePtr() *corev1.LoadBalancerIngress
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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(v ...*PortStatusDie) *LoadBalancerIngressDie
PortsDie replaces Ports by collecting the released value from each die passed.
Ports is a list of records of service ports ¶
If used, every port defined in the service should have an entry in it
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) DieDiff ¶ added in v0.13.0
func (d *LoadBalancerStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*LoadBalancerStatusDie) DieFeed ¶
func (d *LoadBalancerStatusDie) DieFeed(r corev1.LoadBalancerStatus) *LoadBalancerStatusDie
DieFeed returns a new die with the provided resource.
func (*LoadBalancerStatusDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *LoadBalancerStatusDie) DieFeedYAML(y []byte) *LoadBalancerStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LoadBalancerStatusDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *LoadBalancerStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*LoadBalancerStatusDie) DieRelease ¶
func (d *LoadBalancerStatusDie) DieRelease() corev1.LoadBalancerStatus
DieRelease returns the resource managed by the die.
func (*LoadBalancerStatusDie) DieReleaseJSON ¶
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 ¶
func (d *LoadBalancerStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LoadBalancerStatusDie) DieReleaseYAML ¶
func (d *LoadBalancerStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LoadBalancerStatusDie) DieSeal ¶ added in v0.13.0
func (d *LoadBalancerStatusDie) DieSeal() *LoadBalancerStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*LoadBalancerStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *LoadBalancerStatusDie) DieSealFeed(r corev1.LoadBalancerStatus) *LoadBalancerStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*LoadBalancerStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *LoadBalancerStatusDie) DieSealFeedPtr(r *corev1.LoadBalancerStatus) *LoadBalancerStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*LoadBalancerStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *LoadBalancerStatusDie) DieSealRelease() corev1.LoadBalancerStatus
DieSealRelease returns the sealed resource managed by the die.
func (*LoadBalancerStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *LoadBalancerStatusDie) DieSealReleasePtr() *corev1.LoadBalancerStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) IngressDie ¶ added in v0.13.0
func (d *LoadBalancerStatusDie) IngressDie(v ...*LoadBalancerIngressDie) *LoadBalancerStatusDie
IngressDie replaces Ingress by collecting the released value from each die passed.
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
deprecated: use IngressDie
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) DieDiff ¶ added in v0.13.0
func (d *LocalObjectReferenceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*LocalObjectReferenceDie) DieFeed ¶
func (d *LocalObjectReferenceDie) DieFeed(r corev1.LocalObjectReference) *LocalObjectReferenceDie
DieFeed returns a new die with the provided resource.
func (*LocalObjectReferenceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *LocalObjectReferenceDie) DieFeedYAML(y []byte) *LocalObjectReferenceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LocalObjectReferenceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *LocalObjectReferenceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*LocalObjectReferenceDie) DieRelease ¶
func (d *LocalObjectReferenceDie) DieRelease() corev1.LocalObjectReference
DieRelease returns the resource managed by the die.
func (*LocalObjectReferenceDie) DieReleaseJSON ¶
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 ¶
func (d *LocalObjectReferenceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LocalObjectReferenceDie) DieReleaseYAML ¶
func (d *LocalObjectReferenceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LocalObjectReferenceDie) DieSeal ¶ added in v0.13.0
func (d *LocalObjectReferenceDie) DieSeal() *LocalObjectReferenceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*LocalObjectReferenceDie) DieSealFeed ¶ added in v0.13.0
func (d *LocalObjectReferenceDie) DieSealFeed(r corev1.LocalObjectReference) *LocalObjectReferenceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*LocalObjectReferenceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *LocalObjectReferenceDie) DieSealFeedPtr(r *corev1.LocalObjectReference) *LocalObjectReferenceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*LocalObjectReferenceDie) DieSealRelease ¶ added in v0.13.0
func (d *LocalObjectReferenceDie) DieSealRelease() corev1.LocalObjectReference
DieSealRelease returns the sealed resource managed by the die.
func (*LocalObjectReferenceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *LocalObjectReferenceDie) DieSealReleasePtr() *corev1.LocalObjectReference
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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.
This field is effectively required, but due to backwards compatibility is ¶
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
TODO: Add other useful fields. apiVersion, kind, uid?
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
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) DieDiff ¶ added in v0.13.0
func (d *LocalVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*LocalVolumeSourceDie) DieFeed ¶
func (d *LocalVolumeSourceDie) DieFeed(r corev1.LocalVolumeSource) *LocalVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*LocalVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *LocalVolumeSourceDie) DieFeedYAML(y []byte) *LocalVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LocalVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *LocalVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*LocalVolumeSourceDie) DieRelease ¶
func (d *LocalVolumeSourceDie) DieRelease() corev1.LocalVolumeSource
DieRelease returns the resource managed by the die.
func (*LocalVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *LocalVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LocalVolumeSourceDie) DieReleaseYAML ¶
func (d *LocalVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LocalVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *LocalVolumeSourceDie) DieSeal() *LocalVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*LocalVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *LocalVolumeSourceDie) DieSealFeed(r corev1.LocalVolumeSource) *LocalVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*LocalVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *LocalVolumeSourceDie) DieSealFeedPtr(r *corev1.LocalVolumeSource) *LocalVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*LocalVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *LocalVolumeSourceDie) DieSealRelease() corev1.LocalVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*LocalVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *LocalVolumeSourceDie) DieSealReleasePtr() *corev1.LocalVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
type ModifyVolumeStatusDie struct {
// contains filtered or unexported fields
}
func (*ModifyVolumeStatusDie) DeepCopy ¶
func (d *ModifyVolumeStatusDie) DeepCopy() *ModifyVolumeStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ModifyVolumeStatusDie) DieDiff ¶ added in v0.13.0
func (d *ModifyVolumeStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ModifyVolumeStatusDie) DieFeed ¶
func (d *ModifyVolumeStatusDie) DieFeed(r corev1.ModifyVolumeStatus) *ModifyVolumeStatusDie
DieFeed returns a new die with the provided resource.
func (*ModifyVolumeStatusDie) DieFeedJSON ¶
func (d *ModifyVolumeStatusDie) DieFeedJSON(j []byte) *ModifyVolumeStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ModifyVolumeStatusDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *ModifyVolumeStatusDie) DieFeedYAML(y []byte) *ModifyVolumeStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ModifyVolumeStatusDie) DieFeedYAMLFile ¶
func (d *ModifyVolumeStatusDie) DieFeedYAMLFile(name string) *ModifyVolumeStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ModifyVolumeStatusDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *ModifyVolumeStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ModifyVolumeStatusDie) DieRelease ¶
func (d *ModifyVolumeStatusDie) DieRelease() corev1.ModifyVolumeStatus
DieRelease returns the resource managed by the die.
func (*ModifyVolumeStatusDie) DieReleaseJSON ¶
func (d *ModifyVolumeStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ModifyVolumeStatusDie) DieReleasePtr ¶
func (d *ModifyVolumeStatusDie) DieReleasePtr() *corev1.ModifyVolumeStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ModifyVolumeStatusDie) DieReleaseRawExtension ¶
func (d *ModifyVolumeStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ModifyVolumeStatusDie) DieReleaseYAML ¶
func (d *ModifyVolumeStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ModifyVolumeStatusDie) DieSeal ¶ added in v0.13.0
func (d *ModifyVolumeStatusDie) DieSeal() *ModifyVolumeStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ModifyVolumeStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *ModifyVolumeStatusDie) DieSealFeed(r corev1.ModifyVolumeStatus) *ModifyVolumeStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ModifyVolumeStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ModifyVolumeStatusDie) DieSealFeedPtr(r *corev1.ModifyVolumeStatus) *ModifyVolumeStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ModifyVolumeStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *ModifyVolumeStatusDie) DieSealRelease() corev1.ModifyVolumeStatus
DieSealRelease returns the sealed resource managed by the die.
func (*ModifyVolumeStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ModifyVolumeStatusDie) DieSealReleasePtr() *corev1.ModifyVolumeStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ModifyVolumeStatusDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *NFSVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NFSVolumeSourceDie) DieFeed ¶
func (d *NFSVolumeSourceDie) DieFeed(r corev1.NFSVolumeSource) *NFSVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*NFSVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *NFSVolumeSourceDie) DieFeedYAML(y []byte) *NFSVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NFSVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *NFSVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NFSVolumeSourceDie) DieRelease ¶
func (d *NFSVolumeSourceDie) DieRelease() corev1.NFSVolumeSource
DieRelease returns the resource managed by the die.
func (*NFSVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *NFSVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NFSVolumeSourceDie) DieReleaseYAML ¶
func (d *NFSVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NFSVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *NFSVolumeSourceDie) DieSeal() *NFSVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NFSVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *NFSVolumeSourceDie) DieSealFeed(r corev1.NFSVolumeSource) *NFSVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NFSVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NFSVolumeSourceDie) DieSealFeedPtr(r *corev1.NFSVolumeSource) *NFSVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NFSVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *NFSVolumeSourceDie) DieSealRelease() corev1.NFSVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*NFSVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NFSVolumeSourceDie) DieSealReleasePtr() *corev1.NFSVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *NamespaceDie) DieDefaultTypeMetadata() *NamespaceDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "Namespace" respectively.
func (*NamespaceDie) DieDiff ¶ added in v0.13.0
func (d *NamespaceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NamespaceDie) DieFeed ¶
func (d *NamespaceDie) DieFeed(r corev1.Namespace) *NamespaceDie
DieFeed returns a new die with the provided resource.
func (*NamespaceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *NamespaceDie) DieFeedYAML(y []byte) *NamespaceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NamespaceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *NamespaceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NamespaceDie) DieRelease ¶
func (d *NamespaceDie) DieRelease() corev1.Namespace
DieRelease returns the resource managed by the die.
func (*NamespaceDie) DieReleaseJSON ¶
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 ¶
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 ¶
func (d *NamespaceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NamespaceDie) DieSeal ¶ added in v0.13.0
func (d *NamespaceDie) DieSeal() *NamespaceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NamespaceDie) DieSealFeed ¶ added in v0.13.0
func (d *NamespaceDie) DieSealFeed(r corev1.Namespace) *NamespaceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NamespaceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NamespaceDie) DieSealFeedPtr(r *corev1.Namespace) *NamespaceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NamespaceDie) DieSealRelease ¶ added in v0.13.0
func (d *NamespaceDie) DieSealRelease() corev1.Namespace
DieSealRelease returns the sealed resource managed by the die.
func (*NamespaceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NamespaceDie) DieSealReleasePtr() *corev1.Namespace
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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) Metadata ¶ added in v0.13.0
func (d *NamespaceDie) Metadata(v apismetav1.ObjectMeta) *NamespaceDie
Metadata standard object's metadata.
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) TypeMetadata ¶ added in v0.13.0
func (d *NamespaceDie) TypeMetadata(v apismetav1.TypeMeta) *NamespaceDie
TypeMetadata standard object's type metadata.
func (*NamespaceDie) TypeMetadataDie ¶ added in v0.13.0
func (d *NamespaceDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *NamespaceDie
TypeMetadataDie stamps the resource's TypeMeta 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) DieDiff ¶ added in v0.13.0
func (d *NamespaceSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NamespaceSpecDie) DieFeed ¶
func (d *NamespaceSpecDie) DieFeed(r corev1.NamespaceSpec) *NamespaceSpecDie
DieFeed returns a new die with the provided resource.
func (*NamespaceSpecDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *NamespaceSpecDie) DieFeedYAML(y []byte) *NamespaceSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NamespaceSpecDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *NamespaceSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NamespaceSpecDie) DieRelease ¶
func (d *NamespaceSpecDie) DieRelease() corev1.NamespaceSpec
DieRelease returns the resource managed by the die.
func (*NamespaceSpecDie) DieReleaseJSON ¶
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 ¶
func (d *NamespaceSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NamespaceSpecDie) DieReleaseYAML ¶
func (d *NamespaceSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NamespaceSpecDie) DieSeal ¶ added in v0.13.0
func (d *NamespaceSpecDie) DieSeal() *NamespaceSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NamespaceSpecDie) DieSealFeed ¶ added in v0.13.0
func (d *NamespaceSpecDie) DieSealFeed(r corev1.NamespaceSpec) *NamespaceSpecDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NamespaceSpecDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NamespaceSpecDie) DieSealFeedPtr(r *corev1.NamespaceSpec) *NamespaceSpecDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NamespaceSpecDie) DieSealRelease ¶ added in v0.13.0
func (d *NamespaceSpecDie) DieSealRelease() corev1.NamespaceSpec
DieSealRelease returns the sealed resource managed by the die.
func (*NamespaceSpecDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NamespaceSpecDie) DieSealReleasePtr() *corev1.NamespaceSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *NamespaceStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NamespaceStatusDie) DieFeed ¶
func (d *NamespaceStatusDie) DieFeed(r corev1.NamespaceStatus) *NamespaceStatusDie
DieFeed returns a new die with the provided resource.
func (*NamespaceStatusDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *NamespaceStatusDie) DieFeedYAML(y []byte) *NamespaceStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NamespaceStatusDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *NamespaceStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NamespaceStatusDie) DieRelease ¶
func (d *NamespaceStatusDie) DieRelease() corev1.NamespaceStatus
DieRelease returns the resource managed by the die.
func (*NamespaceStatusDie) DieReleaseJSON ¶
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 ¶
func (d *NamespaceStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NamespaceStatusDie) DieReleaseYAML ¶
func (d *NamespaceStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NamespaceStatusDie) DieSeal ¶ added in v0.13.0
func (d *NamespaceStatusDie) DieSeal() *NamespaceStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NamespaceStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *NamespaceStatusDie) DieSealFeed(r corev1.NamespaceStatus) *NamespaceStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NamespaceStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NamespaceStatusDie) DieSealFeedPtr(r *corev1.NamespaceStatus) *NamespaceStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NamespaceStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *NamespaceStatusDie) DieSealRelease() corev1.NamespaceStatus
DieSealRelease returns the sealed resource managed by the die.
func (*NamespaceStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NamespaceStatusDie) DieSealReleasePtr() *corev1.NamespaceStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *NodeAddressDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NodeAddressDie) DieFeed ¶
func (d *NodeAddressDie) DieFeed(r corev1.NodeAddress) *NodeAddressDie
DieFeed returns a new die with the provided resource.
func (*NodeAddressDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *NodeAddressDie) DieFeedYAML(y []byte) *NodeAddressDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeAddressDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *NodeAddressDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NodeAddressDie) DieRelease ¶
func (d *NodeAddressDie) DieRelease() corev1.NodeAddress
DieRelease returns the resource managed by the die.
func (*NodeAddressDie) DieReleaseJSON ¶
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 ¶
func (d *NodeAddressDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeAddressDie) DieReleaseYAML ¶
func (d *NodeAddressDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeAddressDie) DieSeal ¶ added in v0.13.0
func (d *NodeAddressDie) DieSeal() *NodeAddressDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NodeAddressDie) DieSealFeed ¶ added in v0.13.0
func (d *NodeAddressDie) DieSealFeed(r corev1.NodeAddress) *NodeAddressDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NodeAddressDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NodeAddressDie) DieSealFeedPtr(r *corev1.NodeAddress) *NodeAddressDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NodeAddressDie) DieSealRelease ¶ added in v0.13.0
func (d *NodeAddressDie) DieSealRelease() corev1.NodeAddress
DieSealRelease returns the sealed resource managed by the die.
func (*NodeAddressDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NodeAddressDie) DieSealReleasePtr() *corev1.NodeAddress
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
ConfigMapDie mutates ConfigMap as a die.
ConfigMap is a reference to a Node's ConfigMap
func (*NodeConfigSourceDie) DeepCopy ¶
func (d *NodeConfigSourceDie) DeepCopy() *NodeConfigSourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NodeConfigSourceDie) DieDiff ¶ added in v0.13.0
func (d *NodeConfigSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NodeConfigSourceDie) DieFeed ¶
func (d *NodeConfigSourceDie) DieFeed(r corev1.NodeConfigSource) *NodeConfigSourceDie
DieFeed returns a new die with the provided resource.
func (*NodeConfigSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *NodeConfigSourceDie) DieFeedYAML(y []byte) *NodeConfigSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeConfigSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *NodeConfigSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NodeConfigSourceDie) DieRelease ¶
func (d *NodeConfigSourceDie) DieRelease() corev1.NodeConfigSource
DieRelease returns the resource managed by the die.
func (*NodeConfigSourceDie) DieReleaseJSON ¶
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 ¶
func (d *NodeConfigSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeConfigSourceDie) DieReleaseYAML ¶
func (d *NodeConfigSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeConfigSourceDie) DieSeal ¶ added in v0.13.0
func (d *NodeConfigSourceDie) DieSeal() *NodeConfigSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NodeConfigSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *NodeConfigSourceDie) DieSealFeed(r corev1.NodeConfigSource) *NodeConfigSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NodeConfigSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NodeConfigSourceDie) DieSealFeedPtr(r *corev1.NodeConfigSource) *NodeConfigSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NodeConfigSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *NodeConfigSourceDie) DieSealRelease() corev1.NodeConfigSource
DieSealRelease returns the sealed resource managed by the die.
func (*NodeConfigSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NodeConfigSourceDie) DieSealReleasePtr() *corev1.NodeConfigSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
ActiveDie mutates Active as a die.
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) 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
AssignedDie mutates Assigned as a die.
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) DeepCopy ¶
func (d *NodeConfigStatusDie) DeepCopy() *NodeConfigStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NodeConfigStatusDie) DieDiff ¶ added in v0.13.0
func (d *NodeConfigStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NodeConfigStatusDie) DieFeed ¶
func (d *NodeConfigStatusDie) DieFeed(r corev1.NodeConfigStatus) *NodeConfigStatusDie
DieFeed returns a new die with the provided resource.
func (*NodeConfigStatusDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *NodeConfigStatusDie) DieFeedYAML(y []byte) *NodeConfigStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeConfigStatusDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *NodeConfigStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NodeConfigStatusDie) DieRelease ¶
func (d *NodeConfigStatusDie) DieRelease() corev1.NodeConfigStatus
DieRelease returns the resource managed by the die.
func (*NodeConfigStatusDie) DieReleaseJSON ¶
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 ¶
func (d *NodeConfigStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeConfigStatusDie) DieReleaseYAML ¶
func (d *NodeConfigStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeConfigStatusDie) DieSeal ¶ added in v0.13.0
func (d *NodeConfigStatusDie) DieSeal() *NodeConfigStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NodeConfigStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *NodeConfigStatusDie) DieSealFeed(r corev1.NodeConfigStatus) *NodeConfigStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NodeConfigStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NodeConfigStatusDie) DieSealFeedPtr(r *corev1.NodeConfigStatus) *NodeConfigStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NodeConfigStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *NodeConfigStatusDie) DieSealRelease() corev1.NodeConfigStatus
DieSealRelease returns the sealed resource managed by the die.
func (*NodeConfigStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NodeConfigStatusDie) DieSealReleasePtr() *corev1.NodeConfigStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
LastKnownGoodDie mutates LastKnownGood as a die.
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.
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) DieDiff ¶ added in v0.13.0
func (d *NodeDaemonEndpointsDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NodeDaemonEndpointsDie) DieFeed ¶
func (d *NodeDaemonEndpointsDie) DieFeed(r corev1.NodeDaemonEndpoints) *NodeDaemonEndpointsDie
DieFeed returns a new die with the provided resource.
func (*NodeDaemonEndpointsDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *NodeDaemonEndpointsDie) DieFeedYAML(y []byte) *NodeDaemonEndpointsDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeDaemonEndpointsDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *NodeDaemonEndpointsDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NodeDaemonEndpointsDie) DieRelease ¶
func (d *NodeDaemonEndpointsDie) DieRelease() corev1.NodeDaemonEndpoints
DieRelease returns the resource managed by the die.
func (*NodeDaemonEndpointsDie) DieReleaseJSON ¶
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 ¶
func (d *NodeDaemonEndpointsDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeDaemonEndpointsDie) DieReleaseYAML ¶
func (d *NodeDaemonEndpointsDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeDaemonEndpointsDie) DieSeal ¶ added in v0.13.0
func (d *NodeDaemonEndpointsDie) DieSeal() *NodeDaemonEndpointsDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NodeDaemonEndpointsDie) DieSealFeed ¶ added in v0.13.0
func (d *NodeDaemonEndpointsDie) DieSealFeed(r corev1.NodeDaemonEndpoints) *NodeDaemonEndpointsDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NodeDaemonEndpointsDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NodeDaemonEndpointsDie) DieSealFeedPtr(r *corev1.NodeDaemonEndpoints) *NodeDaemonEndpointsDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NodeDaemonEndpointsDie) DieSealRelease ¶ added in v0.13.0
func (d *NodeDaemonEndpointsDie) DieSealRelease() corev1.NodeDaemonEndpoints
DieSealRelease returns the sealed resource managed by the die.
func (*NodeDaemonEndpointsDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NodeDaemonEndpointsDie) DieSealReleasePtr() *corev1.NodeDaemonEndpoints
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
KubeletEndpointDie mutates KubeletEndpoint as a die.
Endpoint on which Kubelet is listening.
type NodeDie ¶
type NodeDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*NodeDie) APIVersion ¶
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) DieDefaultTypeMetadata ¶ added in v0.13.0
DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "Node" respectively.
func (*NodeDie) DieDiff ¶ added in v0.13.0
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NodeDie) DieFeedJSON ¶
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 ¶
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 ¶
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NodeDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*NodeDie) DieReleaseJSON ¶
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 ¶
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 ¶
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeDie) DieSeal ¶ added in v0.13.0
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NodeDie) DieSealFeed ¶ added in v0.13.0
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NodeDie) DieSealFeedPtr ¶ added in v0.13.0
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NodeDie) DieSealRelease ¶ added in v0.13.0
DieSealRelease returns the sealed resource managed by the die.
func (*NodeDie) DieSealReleasePtr ¶ added in v0.13.0
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*NodeDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NodeDie) DieStampAt ¶
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 ¶
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 ¶
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) Metadata ¶ added in v0.13.0
func (d *NodeDie) Metadata(v apismetav1.ObjectMeta) *NodeDie
Metadata standard object's metadata.
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) TypeMetadata ¶ added in v0.13.0
func (d *NodeDie) TypeMetadata(v apismetav1.TypeMeta) *NodeDie
TypeMetadata standard object's type metadata.
func (*NodeDie) TypeMetadataDie ¶ added in v0.13.0
func (d *NodeDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *NodeDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*NodeDie) UnmarshalJSON ¶
type NodeFeaturesDie ¶ added in v0.14.0
type NodeFeaturesDie struct {
// contains filtered or unexported fields
}
func (*NodeFeaturesDie) DeepCopy ¶ added in v0.14.0
func (d *NodeFeaturesDie) DeepCopy() *NodeFeaturesDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NodeFeaturesDie) DieDiff ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NodeFeaturesDie) DieFeed ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieFeed(r corev1.NodeFeatures) *NodeFeaturesDie
DieFeed returns a new die with the provided resource.
func (*NodeFeaturesDie) DieFeedJSON ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieFeedJSON(j []byte) *NodeFeaturesDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NodeFeaturesDie) DieFeedPtr ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieFeedPtr(r *corev1.NodeFeatures) *NodeFeaturesDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NodeFeaturesDie) DieFeedRawExtension ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeFeaturesDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeFeaturesDie) DieFeedYAML ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieFeedYAML(y []byte) *NodeFeaturesDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeFeaturesDie) DieFeedYAMLFile ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieFeedYAMLFile(name string) *NodeFeaturesDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*NodeFeaturesDie) DieImmutable ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieImmutable(immutable bool) *NodeFeaturesDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*NodeFeaturesDie) DiePatch ¶ added in v0.14.0
func (d *NodeFeaturesDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NodeFeaturesDie) DieRelease ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieRelease() corev1.NodeFeatures
DieRelease returns the resource managed by the die.
func (*NodeFeaturesDie) DieReleaseJSON ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NodeFeaturesDie) DieReleasePtr ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieReleasePtr() *corev1.NodeFeatures
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NodeFeaturesDie) DieReleaseRawExtension ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeFeaturesDie) DieReleaseYAML ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeFeaturesDie) DieSeal ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieSeal() *NodeFeaturesDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NodeFeaturesDie) DieSealFeed ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieSealFeed(r corev1.NodeFeatures) *NodeFeaturesDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NodeFeaturesDie) DieSealFeedPtr ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieSealFeedPtr(r *corev1.NodeFeatures) *NodeFeaturesDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NodeFeaturesDie) DieSealRelease ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieSealRelease() corev1.NodeFeatures
DieSealRelease returns the sealed resource managed by the die.
func (*NodeFeaturesDie) DieSealReleasePtr ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieSealReleasePtr() *corev1.NodeFeatures
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*NodeFeaturesDie) DieStamp ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieStamp(fn func(r *corev1.NodeFeatures)) *NodeFeaturesDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NodeFeaturesDie) DieStampAt ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieStampAt(jp string, fn interface{}) *NodeFeaturesDie
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 (*NodeFeaturesDie) DieWith ¶ added in v0.14.0
func (d *NodeFeaturesDie) DieWith(fns ...func(d *NodeFeaturesDie)) *NodeFeaturesDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NodeFeaturesDie) SupplementalGroupsPolicy ¶ added in v0.14.0
func (d *NodeFeaturesDie) SupplementalGroupsPolicy(v *bool) *NodeFeaturesDie
SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser.
type NodeRuntimeHandlerDie ¶ added in v0.12.0
type NodeRuntimeHandlerDie struct {
// contains filtered or unexported fields
}
func (*NodeRuntimeHandlerDie) DeepCopy ¶ added in v0.12.0
func (d *NodeRuntimeHandlerDie) DeepCopy() *NodeRuntimeHandlerDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NodeRuntimeHandlerDie) DieDiff ¶ added in v0.13.0
func (d *NodeRuntimeHandlerDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NodeRuntimeHandlerDie) DieFeed ¶ added in v0.12.0
func (d *NodeRuntimeHandlerDie) DieFeed(r corev1.NodeRuntimeHandler) *NodeRuntimeHandlerDie
DieFeed returns a new die with the provided resource.
func (*NodeRuntimeHandlerDie) DieFeedJSON ¶ added in v0.12.0
func (d *NodeRuntimeHandlerDie) DieFeedJSON(j []byte) *NodeRuntimeHandlerDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NodeRuntimeHandlerDie) DieFeedPtr ¶ added in v0.12.0
func (d *NodeRuntimeHandlerDie) DieFeedPtr(r *corev1.NodeRuntimeHandler) *NodeRuntimeHandlerDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NodeRuntimeHandlerDie) DieFeedRawExtension ¶ added in v0.12.0
func (d *NodeRuntimeHandlerDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeRuntimeHandlerDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeRuntimeHandlerDie) DieFeedYAML ¶ added in v0.12.0
func (d *NodeRuntimeHandlerDie) DieFeedYAML(y []byte) *NodeRuntimeHandlerDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeRuntimeHandlerDie) DieFeedYAMLFile ¶ added in v0.12.0
func (d *NodeRuntimeHandlerDie) DieFeedYAMLFile(name string) *NodeRuntimeHandlerDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*NodeRuntimeHandlerDie) DieImmutable ¶ added in v0.12.0
func (d *NodeRuntimeHandlerDie) DieImmutable(immutable bool) *NodeRuntimeHandlerDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*NodeRuntimeHandlerDie) DiePatch ¶ added in v0.13.0
func (d *NodeRuntimeHandlerDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NodeRuntimeHandlerDie) DieRelease ¶ added in v0.12.0
func (d *NodeRuntimeHandlerDie) DieRelease() corev1.NodeRuntimeHandler
DieRelease returns the resource managed by the die.
func (*NodeRuntimeHandlerDie) DieReleaseJSON ¶ added in v0.12.0
func (d *NodeRuntimeHandlerDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NodeRuntimeHandlerDie) DieReleasePtr ¶ added in v0.12.0
func (d *NodeRuntimeHandlerDie) DieReleasePtr() *corev1.NodeRuntimeHandler
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NodeRuntimeHandlerDie) DieReleaseRawExtension ¶ added in v0.12.0
func (d *NodeRuntimeHandlerDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeRuntimeHandlerDie) DieReleaseYAML ¶ added in v0.12.0
func (d *NodeRuntimeHandlerDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeRuntimeHandlerDie) DieSeal ¶ added in v0.13.0
func (d *NodeRuntimeHandlerDie) DieSeal() *NodeRuntimeHandlerDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NodeRuntimeHandlerDie) DieSealFeed ¶ added in v0.13.0
func (d *NodeRuntimeHandlerDie) DieSealFeed(r corev1.NodeRuntimeHandler) *NodeRuntimeHandlerDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NodeRuntimeHandlerDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NodeRuntimeHandlerDie) DieSealFeedPtr(r *corev1.NodeRuntimeHandler) *NodeRuntimeHandlerDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NodeRuntimeHandlerDie) DieSealRelease ¶ added in v0.13.0
func (d *NodeRuntimeHandlerDie) DieSealRelease() corev1.NodeRuntimeHandler
DieSealRelease returns the sealed resource managed by the die.
func (*NodeRuntimeHandlerDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NodeRuntimeHandlerDie) DieSealReleasePtr() *corev1.NodeRuntimeHandler
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*NodeRuntimeHandlerDie) DieStamp ¶ added in v0.12.0
func (d *NodeRuntimeHandlerDie) DieStamp(fn func(r *corev1.NodeRuntimeHandler)) *NodeRuntimeHandlerDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NodeRuntimeHandlerDie) DieStampAt ¶ added in v0.12.0
func (d *NodeRuntimeHandlerDie) DieStampAt(jp string, fn interface{}) *NodeRuntimeHandlerDie
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 (*NodeRuntimeHandlerDie) DieWith ¶ added in v0.12.0
func (d *NodeRuntimeHandlerDie) DieWith(fns ...func(d *NodeRuntimeHandlerDie)) *NodeRuntimeHandlerDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NodeRuntimeHandlerDie) Features ¶ added in v0.12.0
func (d *NodeRuntimeHandlerDie) Features(v *corev1.NodeRuntimeHandlerFeatures) *NodeRuntimeHandlerDie
Supported features.
func (*NodeRuntimeHandlerDie) FeaturesDie ¶ added in v0.12.0
func (d *NodeRuntimeHandlerDie) FeaturesDie(fn func(d *NodeRuntimeHandlerFeaturesDie)) *NodeRuntimeHandlerDie
FeaturesDie mutates Features as a die.
Supported features.
func (*NodeRuntimeHandlerDie) Name ¶ added in v0.12.0
func (d *NodeRuntimeHandlerDie) Name(v string) *NodeRuntimeHandlerDie
Runtime handler name.
Empty for the default runtime handler.
type NodeRuntimeHandlerFeaturesDie ¶ added in v0.12.0
type NodeRuntimeHandlerFeaturesDie struct {
// contains filtered or unexported fields
}
func (*NodeRuntimeHandlerFeaturesDie) DeepCopy ¶ added in v0.12.0
func (d *NodeRuntimeHandlerFeaturesDie) DeepCopy() *NodeRuntimeHandlerFeaturesDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NodeRuntimeHandlerFeaturesDie) DieDiff ¶ added in v0.13.0
func (d *NodeRuntimeHandlerFeaturesDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NodeRuntimeHandlerFeaturesDie) DieFeed ¶ added in v0.12.0
func (d *NodeRuntimeHandlerFeaturesDie) DieFeed(r corev1.NodeRuntimeHandlerFeatures) *NodeRuntimeHandlerFeaturesDie
DieFeed returns a new die with the provided resource.
func (*NodeRuntimeHandlerFeaturesDie) DieFeedJSON ¶ added in v0.12.0
func (d *NodeRuntimeHandlerFeaturesDie) DieFeedJSON(j []byte) *NodeRuntimeHandlerFeaturesDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NodeRuntimeHandlerFeaturesDie) DieFeedPtr ¶ added in v0.12.0
func (d *NodeRuntimeHandlerFeaturesDie) DieFeedPtr(r *corev1.NodeRuntimeHandlerFeatures) *NodeRuntimeHandlerFeaturesDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NodeRuntimeHandlerFeaturesDie) DieFeedRawExtension ¶ added in v0.12.0
func (d *NodeRuntimeHandlerFeaturesDie) DieFeedRawExtension(raw runtime.RawExtension) *NodeRuntimeHandlerFeaturesDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeRuntimeHandlerFeaturesDie) DieFeedYAML ¶ added in v0.12.0
func (d *NodeRuntimeHandlerFeaturesDie) DieFeedYAML(y []byte) *NodeRuntimeHandlerFeaturesDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeRuntimeHandlerFeaturesDie) DieFeedYAMLFile ¶ added in v0.12.0
func (d *NodeRuntimeHandlerFeaturesDie) DieFeedYAMLFile(name string) *NodeRuntimeHandlerFeaturesDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*NodeRuntimeHandlerFeaturesDie) DieImmutable ¶ added in v0.12.0
func (d *NodeRuntimeHandlerFeaturesDie) DieImmutable(immutable bool) *NodeRuntimeHandlerFeaturesDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*NodeRuntimeHandlerFeaturesDie) DiePatch ¶ added in v0.13.0
func (d *NodeRuntimeHandlerFeaturesDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NodeRuntimeHandlerFeaturesDie) DieRelease ¶ added in v0.12.0
func (d *NodeRuntimeHandlerFeaturesDie) DieRelease() corev1.NodeRuntimeHandlerFeatures
DieRelease returns the resource managed by the die.
func (*NodeRuntimeHandlerFeaturesDie) DieReleaseJSON ¶ added in v0.12.0
func (d *NodeRuntimeHandlerFeaturesDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NodeRuntimeHandlerFeaturesDie) DieReleasePtr ¶ added in v0.12.0
func (d *NodeRuntimeHandlerFeaturesDie) DieReleasePtr() *corev1.NodeRuntimeHandlerFeatures
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NodeRuntimeHandlerFeaturesDie) DieReleaseRawExtension ¶ added in v0.12.0
func (d *NodeRuntimeHandlerFeaturesDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeRuntimeHandlerFeaturesDie) DieReleaseYAML ¶ added in v0.12.0
func (d *NodeRuntimeHandlerFeaturesDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeRuntimeHandlerFeaturesDie) DieSeal ¶ added in v0.13.0
func (d *NodeRuntimeHandlerFeaturesDie) DieSeal() *NodeRuntimeHandlerFeaturesDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NodeRuntimeHandlerFeaturesDie) DieSealFeed ¶ added in v0.13.0
func (d *NodeRuntimeHandlerFeaturesDie) DieSealFeed(r corev1.NodeRuntimeHandlerFeatures) *NodeRuntimeHandlerFeaturesDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NodeRuntimeHandlerFeaturesDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NodeRuntimeHandlerFeaturesDie) DieSealFeedPtr(r *corev1.NodeRuntimeHandlerFeatures) *NodeRuntimeHandlerFeaturesDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NodeRuntimeHandlerFeaturesDie) DieSealRelease ¶ added in v0.13.0
func (d *NodeRuntimeHandlerFeaturesDie) DieSealRelease() corev1.NodeRuntimeHandlerFeatures
DieSealRelease returns the sealed resource managed by the die.
func (*NodeRuntimeHandlerFeaturesDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NodeRuntimeHandlerFeaturesDie) DieSealReleasePtr() *corev1.NodeRuntimeHandlerFeatures
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*NodeRuntimeHandlerFeaturesDie) DieStamp ¶ added in v0.12.0
func (d *NodeRuntimeHandlerFeaturesDie) DieStamp(fn func(r *corev1.NodeRuntimeHandlerFeatures)) *NodeRuntimeHandlerFeaturesDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NodeRuntimeHandlerFeaturesDie) DieStampAt ¶ added in v0.12.0
func (d *NodeRuntimeHandlerFeaturesDie) DieStampAt(jp string, fn interface{}) *NodeRuntimeHandlerFeaturesDie
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 (*NodeRuntimeHandlerFeaturesDie) DieWith ¶ added in v0.12.0
func (d *NodeRuntimeHandlerFeaturesDie) DieWith(fns ...func(d *NodeRuntimeHandlerFeaturesDie)) *NodeRuntimeHandlerFeaturesDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NodeRuntimeHandlerFeaturesDie) RecursiveReadOnlyMounts ¶ added in v0.12.0
func (d *NodeRuntimeHandlerFeaturesDie) RecursiveReadOnlyMounts(v *bool) *NodeRuntimeHandlerFeaturesDie
RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts.
func (*NodeRuntimeHandlerFeaturesDie) UserNamespaces ¶ added in v0.14.0
func (d *NodeRuntimeHandlerFeaturesDie) UserNamespaces(v *bool) *NodeRuntimeHandlerFeaturesDie
UserNamespaces is set to true if the runtime handler supports UserNamespaces, including for volumes.
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) DieDiff ¶ added in v0.13.0
func (d *NodeSelectorDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NodeSelectorDie) DieFeed ¶
func (d *NodeSelectorDie) DieFeed(r corev1.NodeSelector) *NodeSelectorDie
DieFeed returns a new die with the provided resource.
func (*NodeSelectorDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *NodeSelectorDie) DieFeedYAML(y []byte) *NodeSelectorDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeSelectorDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *NodeSelectorDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NodeSelectorDie) DieRelease ¶
func (d *NodeSelectorDie) DieRelease() corev1.NodeSelector
DieRelease returns the resource managed by the die.
func (*NodeSelectorDie) DieReleaseJSON ¶
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 ¶
func (d *NodeSelectorDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeSelectorDie) DieReleaseYAML ¶
func (d *NodeSelectorDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeSelectorDie) DieSeal ¶ added in v0.13.0
func (d *NodeSelectorDie) DieSeal() *NodeSelectorDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NodeSelectorDie) DieSealFeed ¶ added in v0.13.0
func (d *NodeSelectorDie) DieSealFeed(r corev1.NodeSelector) *NodeSelectorDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NodeSelectorDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NodeSelectorDie) DieSealFeedPtr(r *corev1.NodeSelector) *NodeSelectorDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NodeSelectorDie) DieSealRelease ¶ added in v0.13.0
func (d *NodeSelectorDie) DieSealRelease() corev1.NodeSelector
DieSealRelease returns the sealed resource managed by the die.
func (*NodeSelectorDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NodeSelectorDie) DieSealReleasePtr() *corev1.NodeSelector
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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(v ...*NodeSelectorTermDie) *NodeSelectorDie
NodeSelectorTermsDie replaces NodeSelectorTerms by collecting the released value from each die passed.
Required. A list of node selector terms. The terms are ORed.
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) DieDiff ¶ added in v0.13.0
func (d *NodeSelectorRequirementDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NodeSelectorRequirementDie) DieFeed ¶
func (d *NodeSelectorRequirementDie) DieFeed(r corev1.NodeSelectorRequirement) *NodeSelectorRequirementDie
DieFeed returns a new die with the provided resource.
func (*NodeSelectorRequirementDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *NodeSelectorRequirementDie) DieFeedYAML(y []byte) *NodeSelectorRequirementDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeSelectorRequirementDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *NodeSelectorRequirementDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NodeSelectorRequirementDie) DieRelease ¶
func (d *NodeSelectorRequirementDie) DieRelease() corev1.NodeSelectorRequirement
DieRelease returns the resource managed by the die.
func (*NodeSelectorRequirementDie) DieReleaseJSON ¶
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 ¶
func (d *NodeSelectorRequirementDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeSelectorRequirementDie) DieReleaseYAML ¶
func (d *NodeSelectorRequirementDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeSelectorRequirementDie) DieSeal ¶ added in v0.13.0
func (d *NodeSelectorRequirementDie) DieSeal() *NodeSelectorRequirementDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NodeSelectorRequirementDie) DieSealFeed ¶ added in v0.13.0
func (d *NodeSelectorRequirementDie) DieSealFeed(r corev1.NodeSelectorRequirement) *NodeSelectorRequirementDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NodeSelectorRequirementDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NodeSelectorRequirementDie) DieSealFeedPtr(r *corev1.NodeSelectorRequirement) *NodeSelectorRequirementDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NodeSelectorRequirementDie) DieSealRelease ¶ added in v0.13.0
func (d *NodeSelectorRequirementDie) DieSealRelease() corev1.NodeSelectorRequirement
DieSealRelease returns the sealed resource managed by the die.
func (*NodeSelectorRequirementDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NodeSelectorRequirementDie) DieSealReleasePtr() *corev1.NodeSelectorRequirement
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *NodeSelectorTermDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NodeSelectorTermDie) DieFeed ¶
func (d *NodeSelectorTermDie) DieFeed(r corev1.NodeSelectorTerm) *NodeSelectorTermDie
DieFeed returns a new die with the provided resource.
func (*NodeSelectorTermDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *NodeSelectorTermDie) DieFeedYAML(y []byte) *NodeSelectorTermDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeSelectorTermDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *NodeSelectorTermDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NodeSelectorTermDie) DieRelease ¶
func (d *NodeSelectorTermDie) DieRelease() corev1.NodeSelectorTerm
DieRelease returns the resource managed by the die.
func (*NodeSelectorTermDie) DieReleaseJSON ¶
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 ¶
func (d *NodeSelectorTermDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeSelectorTermDie) DieReleaseYAML ¶
func (d *NodeSelectorTermDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeSelectorTermDie) DieSeal ¶ added in v0.13.0
func (d *NodeSelectorTermDie) DieSeal() *NodeSelectorTermDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NodeSelectorTermDie) DieSealFeed ¶ added in v0.13.0
func (d *NodeSelectorTermDie) DieSealFeed(r corev1.NodeSelectorTerm) *NodeSelectorTermDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NodeSelectorTermDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NodeSelectorTermDie) DieSealFeedPtr(r *corev1.NodeSelectorTerm) *NodeSelectorTermDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NodeSelectorTermDie) DieSealRelease ¶ added in v0.13.0
func (d *NodeSelectorTermDie) DieSealRelease() corev1.NodeSelectorTerm
DieSealRelease returns the sealed resource managed by the die.
func (*NodeSelectorTermDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NodeSelectorTermDie) DieSealReleasePtr() *corev1.NodeSelectorTerm
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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(v string, fn func(d *NodeSelectorRequirementDie)) *NodeSelectorTermDie
MatchExpressionDie mutates a single item in MatchExpressions matched by the nested field Key, appending a new item if no match is found.
A list of node selector requirements by node's labels.
func (*NodeSelectorTermDie) MatchExpressions ¶
func (d *NodeSelectorTermDie) MatchExpressions(v ...corev1.NodeSelectorRequirement) *NodeSelectorTermDie
A list of node selector requirements by node's labels.
func (*NodeSelectorTermDie) MatchFieldDie ¶ added in v0.13.0
func (d *NodeSelectorTermDie) MatchFieldDie(v string, fn func(d *NodeSelectorRequirementDie)) *NodeSelectorTermDie
MatchFieldDie mutates a single item in MatchFields matched by the nested field Key, appending a new item if no match is found.
A list of node selector requirements by node's fields.
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
deprecated: use MatchFieldDie
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
deprecated
func (d *NodeSpecDie) ConfigSourceDie(fn func(d *NodeConfigSourceDie)) *NodeSpecDie
ConfigSourceDie mutates ConfigSource as a die.
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed.
func (*NodeSpecDie) DeepCopy ¶
func (d *NodeSpecDie) DeepCopy() *NodeSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NodeSpecDie) DieDiff ¶ added in v0.13.0
func (d *NodeSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NodeSpecDie) DieFeed ¶
func (d *NodeSpecDie) DieFeed(r corev1.NodeSpec) *NodeSpecDie
DieFeed returns a new die with the provided resource.
func (*NodeSpecDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *NodeSpecDie) DieFeedYAML(y []byte) *NodeSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeSpecDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *NodeSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NodeSpecDie) DieRelease ¶
func (d *NodeSpecDie) DieRelease() corev1.NodeSpec
DieRelease returns the resource managed by the die.
func (*NodeSpecDie) DieReleaseJSON ¶
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 ¶
func (d *NodeSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeSpecDie) DieReleaseYAML ¶
func (d *NodeSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeSpecDie) DieSeal ¶ added in v0.13.0
func (d *NodeSpecDie) DieSeal() *NodeSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NodeSpecDie) DieSealFeed ¶ added in v0.13.0
func (d *NodeSpecDie) DieSealFeed(r corev1.NodeSpec) *NodeSpecDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NodeSpecDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NodeSpecDie) DieSealFeedPtr(r *corev1.NodeSpec) *NodeSpecDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NodeSpecDie) DieSealRelease ¶ added in v0.13.0
func (d *NodeSpecDie) DieSealRelease() corev1.NodeSpec
DieSealRelease returns the sealed resource managed by the die.
func (*NodeSpecDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NodeSpecDie) DieSealReleasePtr() *corev1.NodeSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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(v string, fn func(d *TaintDie)) *NodeSpecDie
TaintDie mutates a single item in Taints matched by the nested field Key, appending a new item if no match is found.
If specified, the node's taints.
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
AddAllocatable sets a single quantity on the Allocatable resource list.
Allocatable represents the resources of a node that are available for scheduling.
Defaults to Capacity.
func (*NodeStatusDie) AddAllocatableString ¶
func (d *NodeStatusDie) AddAllocatableString(name corev1.ResourceName, quantity string) *NodeStatusDie
AddAllocatableString parses the quantity setting a single value on the Allocatable resource list. Panics if the string is not parsable.
Allocatable represents the resources of a node that are available for scheduling.
Defaults to Capacity.
func (*NodeStatusDie) AddCapacity ¶
func (d *NodeStatusDie) AddCapacity(name corev1.ResourceName, quantity resource.Quantity) *NodeStatusDie
AddCapacity sets a single quantity on the Capacity resource list.
Capacity represents the total resources of a node.
More info: https://kubernetes.io/docs/reference/node/node-status/#capacity
func (*NodeStatusDie) AddCapacityString ¶
func (d *NodeStatusDie) AddCapacityString(name corev1.ResourceName, quantity string) *NodeStatusDie
AddCapacityString parses the quantity setting a single value on the Capacity resource list. Panics if the string is not parsable.
Capacity represents the total resources of a node.
More info: https://kubernetes.io/docs/reference/node/node-status/#capacity
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) AddressesDie ¶ added in v0.13.0
func (d *NodeStatusDie) AddressesDie(v ...*NodeAddressDie) *NodeStatusDie
AddressesDie replaces Addresses by collecting the released value from each die passed.
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
deprecated: use AddressesDie
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/reference/node/node-status/#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
ConfigDie mutates Config as a die.
Status of the config assigned to the node via the dynamic Kubelet config feature.
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
DaemonEndpointsDie mutates DaemonEndpoints as a die.
Endpoints of daemons running on the Node.
func (*NodeStatusDie) DeepCopy ¶
func (d *NodeStatusDie) DeepCopy() *NodeStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NodeStatusDie) DieDiff ¶ added in v0.13.0
func (d *NodeStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NodeStatusDie) DieFeed ¶
func (d *NodeStatusDie) DieFeed(r corev1.NodeStatus) *NodeStatusDie
DieFeed returns a new die with the provided resource.
func (*NodeStatusDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *NodeStatusDie) DieFeedYAML(y []byte) *NodeStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeStatusDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *NodeStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NodeStatusDie) DieRelease ¶
func (d *NodeStatusDie) DieRelease() corev1.NodeStatus
DieRelease returns the resource managed by the die.
func (*NodeStatusDie) DieReleaseJSON ¶
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 ¶
func (d *NodeStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeStatusDie) DieReleaseYAML ¶
func (d *NodeStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeStatusDie) DieSeal ¶ added in v0.13.0
func (d *NodeStatusDie) DieSeal() *NodeStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NodeStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *NodeStatusDie) DieSealFeed(r corev1.NodeStatus) *NodeStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NodeStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NodeStatusDie) DieSealFeedPtr(r *corev1.NodeStatus) *NodeStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NodeStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *NodeStatusDie) DieSealRelease() corev1.NodeStatus
DieSealRelease returns the sealed resource managed by the die.
func (*NodeStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NodeStatusDie) DieSealReleasePtr() *corev1.NodeStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) Features ¶ added in v0.14.0
func (d *NodeStatusDie) Features(v *corev1.NodeFeatures) *NodeStatusDie
Features describes the set of features implemented by the CRI implementation.
func (*NodeStatusDie) FeaturesDie ¶ added in v0.14.0
func (d *NodeStatusDie) FeaturesDie(fn func(d *NodeFeaturesDie)) *NodeStatusDie
FeaturesDie mutates Features as a die.
Features describes the set of features implemented by the CRI implementation.
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(v ...*ContainerImageDie) *NodeStatusDie
ImagesDie replaces Images by collecting the released value from each die passed.
List of container images on this node
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
NodeInfoDie mutates NodeInfo as a die.
Set of ids/uuids to uniquely identify the node.
More info: https://kubernetes.io/docs/concepts/nodes/node/#info
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) RuntimeHandlers ¶ added in v0.12.0
func (d *NodeStatusDie) RuntimeHandlers(v ...corev1.NodeRuntimeHandler) *NodeStatusDie
The available runtime handlers.
func (*NodeStatusDie) RuntimeHandlersDie ¶ added in v0.12.0
func (d *NodeStatusDie) RuntimeHandlersDie(v ...*NodeRuntimeHandlerDie) *NodeStatusDie
RuntimeHandlersDie replaces RuntimeHandlers by collecting the released value from each die passed.
The available runtime handlers.
func (*NodeStatusDie) VolumeAttachedDie ¶
func (d *NodeStatusDie) VolumeAttachedDie(v corev1.UniqueVolumeName, fn func(d *AttachedVolumeDie)) *NodeStatusDie
VolumeAttachedDie mutates a single item in VolumesAttached matched by the nested field Name, appending a new item if no match is found.
List of volumes that are attached to the node.
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) DieDiff ¶ added in v0.13.0
func (d *NodeSystemInfoDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NodeSystemInfoDie) DieFeed ¶
func (d *NodeSystemInfoDie) DieFeed(r corev1.NodeSystemInfo) *NodeSystemInfoDie
DieFeed returns a new die with the provided resource.
func (*NodeSystemInfoDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *NodeSystemInfoDie) DieFeedYAML(y []byte) *NodeSystemInfoDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NodeSystemInfoDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *NodeSystemInfoDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NodeSystemInfoDie) DieRelease ¶
func (d *NodeSystemInfoDie) DieRelease() corev1.NodeSystemInfo
DieRelease returns the resource managed by the die.
func (*NodeSystemInfoDie) DieReleaseJSON ¶
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 ¶
func (d *NodeSystemInfoDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NodeSystemInfoDie) DieReleaseYAML ¶
func (d *NodeSystemInfoDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NodeSystemInfoDie) DieSeal ¶ added in v0.13.0
func (d *NodeSystemInfoDie) DieSeal() *NodeSystemInfoDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NodeSystemInfoDie) DieSealFeed ¶ added in v0.13.0
func (d *NodeSystemInfoDie) DieSealFeed(r corev1.NodeSystemInfo) *NodeSystemInfoDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NodeSystemInfoDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NodeSystemInfoDie) DieSealFeedPtr(r *corev1.NodeSystemInfo) *NodeSystemInfoDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NodeSystemInfoDie) DieSealRelease ¶ added in v0.13.0
func (d *NodeSystemInfoDie) DieSealRelease() corev1.NodeSystemInfo
DieSealRelease returns the sealed resource managed by the die.
func (*NodeSystemInfoDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NodeSystemInfoDie) DieSealReleasePtr() *corev1.NodeSystemInfo
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
deprecated
func (d *NodeSystemInfoDie) KubeProxyVersion(v string) *NodeSystemInfoDie
Deprecated: 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) DieDiff ¶ added in v0.13.0
func (d *ObjectFieldSelectorDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ObjectFieldSelectorDie) DieFeed ¶
func (d *ObjectFieldSelectorDie) DieFeed(r corev1.ObjectFieldSelector) *ObjectFieldSelectorDie
DieFeed returns a new die with the provided resource.
func (*ObjectFieldSelectorDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ObjectFieldSelectorDie) DieFeedYAML(y []byte) *ObjectFieldSelectorDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ObjectFieldSelectorDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ObjectFieldSelectorDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ObjectFieldSelectorDie) DieRelease ¶
func (d *ObjectFieldSelectorDie) DieRelease() corev1.ObjectFieldSelector
DieRelease returns the resource managed by the die.
func (*ObjectFieldSelectorDie) DieReleaseJSON ¶
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 ¶
func (d *ObjectFieldSelectorDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ObjectFieldSelectorDie) DieReleaseYAML ¶
func (d *ObjectFieldSelectorDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ObjectFieldSelectorDie) DieSeal ¶ added in v0.13.0
func (d *ObjectFieldSelectorDie) DieSeal() *ObjectFieldSelectorDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ObjectFieldSelectorDie) DieSealFeed ¶ added in v0.13.0
func (d *ObjectFieldSelectorDie) DieSealFeed(r corev1.ObjectFieldSelector) *ObjectFieldSelectorDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ObjectFieldSelectorDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ObjectFieldSelectorDie) DieSealFeedPtr(r *corev1.ObjectFieldSelector) *ObjectFieldSelectorDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ObjectFieldSelectorDie) DieSealRelease ¶ added in v0.13.0
func (d *ObjectFieldSelectorDie) DieSealRelease() corev1.ObjectFieldSelector
DieSealRelease returns the sealed resource managed by the die.
func (*ObjectFieldSelectorDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ObjectFieldSelectorDie) DieSealReleasePtr() *corev1.ObjectFieldSelector
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *ObjectReferenceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ObjectReferenceDie) DieFeed ¶
func (d *ObjectReferenceDie) DieFeed(r corev1.ObjectReference) *ObjectReferenceDie
DieFeed returns a new die with the provided resource.
func (*ObjectReferenceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ObjectReferenceDie) DieFeedYAML(y []byte) *ObjectReferenceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ObjectReferenceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ObjectReferenceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ObjectReferenceDie) DieRelease ¶
func (d *ObjectReferenceDie) DieRelease() corev1.ObjectReference
DieRelease returns the resource managed by the die.
func (*ObjectReferenceDie) DieReleaseJSON ¶
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 ¶
func (d *ObjectReferenceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ObjectReferenceDie) DieReleaseYAML ¶
func (d *ObjectReferenceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ObjectReferenceDie) DieSeal ¶ added in v0.13.0
func (d *ObjectReferenceDie) DieSeal() *ObjectReferenceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ObjectReferenceDie) DieSealFeed ¶ added in v0.13.0
func (d *ObjectReferenceDie) DieSealFeed(r corev1.ObjectReference) *ObjectReferenceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ObjectReferenceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ObjectReferenceDie) DieSealFeedPtr(r *corev1.ObjectReference) *ObjectReferenceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ObjectReferenceDie) DieSealRelease ¶ added in v0.13.0
func (d *ObjectReferenceDie) DieSealRelease() corev1.ObjectReference
DieSealRelease returns the sealed resource managed by the die.
func (*ObjectReferenceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ObjectReferenceDie) DieSealReleasePtr() *corev1.ObjectReference
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *PersistentVolumeClaimDie) DieDefaultTypeMetadata() *PersistentVolumeClaimDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "PersistentVolumeClaim" respectively.
func (*PersistentVolumeClaimDie) DieDiff ¶ added in v0.13.0
func (d *PersistentVolumeClaimDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PersistentVolumeClaimDie) DieFeed ¶
func (d *PersistentVolumeClaimDie) DieFeed(r corev1.PersistentVolumeClaim) *PersistentVolumeClaimDie
DieFeed returns a new die with the provided resource.
func (*PersistentVolumeClaimDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *PersistentVolumeClaimDie) DieFeedYAML(y []byte) *PersistentVolumeClaimDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PersistentVolumeClaimDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *PersistentVolumeClaimDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PersistentVolumeClaimDie) DieRelease ¶
func (d *PersistentVolumeClaimDie) DieRelease() corev1.PersistentVolumeClaim
DieRelease returns the resource managed by the die.
func (*PersistentVolumeClaimDie) DieReleaseJSON ¶
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 ¶
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 ¶
func (d *PersistentVolumeClaimDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PersistentVolumeClaimDie) DieSeal ¶ added in v0.13.0
func (d *PersistentVolumeClaimDie) DieSeal() *PersistentVolumeClaimDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PersistentVolumeClaimDie) DieSealFeed ¶ added in v0.13.0
func (d *PersistentVolumeClaimDie) DieSealFeed(r corev1.PersistentVolumeClaim) *PersistentVolumeClaimDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PersistentVolumeClaimDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PersistentVolumeClaimDie) DieSealFeedPtr(r *corev1.PersistentVolumeClaim) *PersistentVolumeClaimDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PersistentVolumeClaimDie) DieSealRelease ¶ added in v0.13.0
func (d *PersistentVolumeClaimDie) DieSealRelease() corev1.PersistentVolumeClaim
DieSealRelease returns the sealed resource managed by the die.
func (*PersistentVolumeClaimDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PersistentVolumeClaimDie) DieSealReleasePtr() *corev1.PersistentVolumeClaim
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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) Metadata ¶ added in v0.13.0
func (d *PersistentVolumeClaimDie) Metadata(v apismetav1.ObjectMeta) *PersistentVolumeClaimDie
Metadata standard object's metadata.
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) TypeMetadata ¶ added in v0.13.0
func (d *PersistentVolumeClaimDie) TypeMetadata(v apismetav1.TypeMeta) *PersistentVolumeClaimDie
TypeMetadata standard object's type metadata.
func (*PersistentVolumeClaimDie) TypeMetadataDie ¶ added in v0.13.0
func (d *PersistentVolumeClaimDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *PersistentVolumeClaimDie
TypeMetadataDie stamps the resource's TypeMeta 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
DataSourceDie mutates DataSource as a die.
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) 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
DataSourceRefDie mutates DataSourceRef as a die.
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) DeepCopy ¶
func (d *PersistentVolumeClaimSpecDie) DeepCopy() *PersistentVolumeClaimSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PersistentVolumeClaimSpecDie) DieDiff ¶ added in v0.13.0
func (d *PersistentVolumeClaimSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PersistentVolumeClaimSpecDie) DieFeed ¶
func (d *PersistentVolumeClaimSpecDie) DieFeed(r corev1.PersistentVolumeClaimSpec) *PersistentVolumeClaimSpecDie
DieFeed returns a new die with the provided resource.
func (*PersistentVolumeClaimSpecDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *PersistentVolumeClaimSpecDie) DieFeedYAML(y []byte) *PersistentVolumeClaimSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PersistentVolumeClaimSpecDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *PersistentVolumeClaimSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PersistentVolumeClaimSpecDie) DieRelease ¶
func (d *PersistentVolumeClaimSpecDie) DieRelease() corev1.PersistentVolumeClaimSpec
DieRelease returns the resource managed by the die.
func (*PersistentVolumeClaimSpecDie) DieReleaseJSON ¶
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 ¶
func (d *PersistentVolumeClaimSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeClaimSpecDie) DieReleaseYAML ¶
func (d *PersistentVolumeClaimSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PersistentVolumeClaimSpecDie) DieSeal ¶ added in v0.13.0
func (d *PersistentVolumeClaimSpecDie) DieSeal() *PersistentVolumeClaimSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PersistentVolumeClaimSpecDie) DieSealFeed ¶ added in v0.13.0
func (d *PersistentVolumeClaimSpecDie) DieSealFeed(r corev1.PersistentVolumeClaimSpec) *PersistentVolumeClaimSpecDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PersistentVolumeClaimSpecDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PersistentVolumeClaimSpecDie) DieSealFeedPtr(r *corev1.PersistentVolumeClaimSpec) *PersistentVolumeClaimSpecDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PersistentVolumeClaimSpecDie) DieSealRelease ¶ added in v0.13.0
func (d *PersistentVolumeClaimSpecDie) DieSealRelease() corev1.PersistentVolumeClaimSpec
DieSealRelease returns the sealed resource managed by the die.
func (*PersistentVolumeClaimSpecDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PersistentVolumeClaimSpecDie) DieSealReleasePtr() *corev1.PersistentVolumeClaimSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
ResourcesDie mutates Resources as a die.
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) 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 *metav1.LabelSelectorDie)) *PersistentVolumeClaimSpecDie
SelectorDie mutates Selector as a die.
selector is a label query over volumes to consider for binding.
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 ¶
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/volume-attributes-classes/
(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).
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) AddAllocatedResource ¶ added in v0.13.0
func (d *PersistentVolumeClaimStatusDie) AddAllocatedResource(name corev1.ResourceName, quantity resource.Quantity) *PersistentVolumeClaimStatusDie
AddAllocatedResource sets a single quantity on the AllocatedResources resource list.
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) AddAllocatedResourceStatus ¶
func (d *PersistentVolumeClaimStatusDie) AddAllocatedResourceStatus(name corev1.ResourceName, status corev1.ClaimResourceStatus) *PersistentVolumeClaimStatusDie
func (*PersistentVolumeClaimStatusDie) AddAllocatedResourceString ¶ added in v0.13.0
func (d *PersistentVolumeClaimStatusDie) AddAllocatedResourceString(name corev1.ResourceName, quantity string) *PersistentVolumeClaimStatusDie
AddAllocatedResourceString parses the quantity setting a single value on the AllocatedResources resource list. Panics if the string is not parsable.
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) AddCapacity ¶
func (d *PersistentVolumeClaimStatusDie) AddCapacity(name corev1.ResourceName, quantity resource.Quantity) *PersistentVolumeClaimStatusDie
AddCapacity sets a single quantity on the Capacity resource list.
capacity represents the actual resources of the underlying volume.
func (*PersistentVolumeClaimStatusDie) AddCapacityString ¶
func (d *PersistentVolumeClaimStatusDie) AddCapacityString(name corev1.ResourceName, quantity string) *PersistentVolumeClaimStatusDie
AddCapacityString parses the quantity setting a single value on the Capacity resource list. Panics if the string is not parsable.
capacity represents the actual resources of the underlying volume.
func (*PersistentVolumeClaimStatusDie) AllocatedResourceStatuses ¶
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 ¶
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 'Resizing'.
func (*PersistentVolumeClaimStatusDie) ConditionsDie ¶
func (d *PersistentVolumeClaimStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *PersistentVolumeClaimStatusDie
func (*PersistentVolumeClaimStatusDie) CurrentVolumeAttributesClassName ¶
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 a beta field and requires enabling VolumeAttributesClass feature (off by default).
func (*PersistentVolumeClaimStatusDie) DeepCopy ¶
func (d *PersistentVolumeClaimStatusDie) DeepCopy() *PersistentVolumeClaimStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PersistentVolumeClaimStatusDie) DieDiff ¶ added in v0.13.0
func (d *PersistentVolumeClaimStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PersistentVolumeClaimStatusDie) DieFeed ¶
func (d *PersistentVolumeClaimStatusDie) DieFeed(r corev1.PersistentVolumeClaimStatus) *PersistentVolumeClaimStatusDie
DieFeed returns a new die with the provided resource.
func (*PersistentVolumeClaimStatusDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *PersistentVolumeClaimStatusDie) DieFeedYAML(y []byte) *PersistentVolumeClaimStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PersistentVolumeClaimStatusDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *PersistentVolumeClaimStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PersistentVolumeClaimStatusDie) DieRelease ¶
func (d *PersistentVolumeClaimStatusDie) DieRelease() corev1.PersistentVolumeClaimStatus
DieRelease returns the resource managed by the die.
func (*PersistentVolumeClaimStatusDie) DieReleaseJSON ¶
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 ¶
func (d *PersistentVolumeClaimStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeClaimStatusDie) DieReleaseYAML ¶
func (d *PersistentVolumeClaimStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PersistentVolumeClaimStatusDie) DieSeal ¶ added in v0.13.0
func (d *PersistentVolumeClaimStatusDie) DieSeal() *PersistentVolumeClaimStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PersistentVolumeClaimStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *PersistentVolumeClaimStatusDie) DieSealFeed(r corev1.PersistentVolumeClaimStatus) *PersistentVolumeClaimStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PersistentVolumeClaimStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PersistentVolumeClaimStatusDie) DieSealFeedPtr(r *corev1.PersistentVolumeClaimStatus) *PersistentVolumeClaimStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PersistentVolumeClaimStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *PersistentVolumeClaimStatusDie) DieSealRelease() corev1.PersistentVolumeClaimStatus
DieSealRelease returns the sealed resource managed by the die.
func (*PersistentVolumeClaimStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PersistentVolumeClaimStatusDie) DieSealReleasePtr() *corev1.PersistentVolumeClaimStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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 a beta field and requires enabling VolumeAttributesClass feature (off by default).
func (*PersistentVolumeClaimStatusDie) ModifyVolumeStatusDie ¶
func (d *PersistentVolumeClaimStatusDie) ModifyVolumeStatusDie(fn func(d *ModifyVolumeStatusDie)) *PersistentVolumeClaimStatusDie
ModifyVolumeStatusDie mutates ModifyVolumeStatus as a die.
ModifyVolumeStatus represents the status object of ControllerModifyVolume operation.
When this is unset, there is no ModifyVolume operation being attempted.
This is a beta field and requires enabling VolumeAttributesClass feature (off by default).
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) DieDiff ¶ added in v0.13.0
func (d *PersistentVolumeClaimTemplateDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PersistentVolumeClaimTemplateDie) DieFeed ¶
func (d *PersistentVolumeClaimTemplateDie) DieFeed(r corev1.PersistentVolumeClaimTemplate) *PersistentVolumeClaimTemplateDie
DieFeed returns a new die with the provided resource.
func (*PersistentVolumeClaimTemplateDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *PersistentVolumeClaimTemplateDie) DieFeedYAML(y []byte) *PersistentVolumeClaimTemplateDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PersistentVolumeClaimTemplateDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *PersistentVolumeClaimTemplateDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PersistentVolumeClaimTemplateDie) DieRelease ¶
func (d *PersistentVolumeClaimTemplateDie) DieRelease() corev1.PersistentVolumeClaimTemplate
DieRelease returns the resource managed by the die.
func (*PersistentVolumeClaimTemplateDie) DieReleaseJSON ¶
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 ¶
func (d *PersistentVolumeClaimTemplateDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeClaimTemplateDie) DieReleaseYAML ¶
func (d *PersistentVolumeClaimTemplateDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PersistentVolumeClaimTemplateDie) DieSeal ¶ added in v0.13.0
func (d *PersistentVolumeClaimTemplateDie) DieSeal() *PersistentVolumeClaimTemplateDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PersistentVolumeClaimTemplateDie) DieSealFeed ¶ added in v0.13.0
func (d *PersistentVolumeClaimTemplateDie) DieSealFeed(r corev1.PersistentVolumeClaimTemplate) *PersistentVolumeClaimTemplateDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PersistentVolumeClaimTemplateDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PersistentVolumeClaimTemplateDie) DieSealFeedPtr(r *corev1.PersistentVolumeClaimTemplate) *PersistentVolumeClaimTemplateDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PersistentVolumeClaimTemplateDie) DieSealRelease ¶ added in v0.13.0
func (d *PersistentVolumeClaimTemplateDie) DieSealRelease() corev1.PersistentVolumeClaimTemplate
DieSealRelease returns the sealed resource managed by the die.
func (*PersistentVolumeClaimTemplateDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PersistentVolumeClaimTemplateDie) DieSealReleasePtr() *corev1.PersistentVolumeClaimTemplate
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) 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) ObjectMetaDie ¶ added in v0.13.0
func (d *PersistentVolumeClaimTemplateDie) ObjectMetaDie(fn func(d *metav1.ObjectMetaDie)) *PersistentVolumeClaimTemplateDie
ObjectMetaDie mutates ObjectMeta as a die.
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
SpecDie mutates Spec as a die.
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.
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) DieDiff ¶ added in v0.13.0
func (d *PersistentVolumeClaimVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PersistentVolumeClaimVolumeSourceDie) DieFeed ¶
func (d *PersistentVolumeClaimVolumeSourceDie) DieFeed(r corev1.PersistentVolumeClaimVolumeSource) *PersistentVolumeClaimVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*PersistentVolumeClaimVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *PersistentVolumeClaimVolumeSourceDie) DieFeedYAML(y []byte) *PersistentVolumeClaimVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PersistentVolumeClaimVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *PersistentVolumeClaimVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PersistentVolumeClaimVolumeSourceDie) DieRelease ¶
func (d *PersistentVolumeClaimVolumeSourceDie) DieRelease() corev1.PersistentVolumeClaimVolumeSource
DieRelease returns the resource managed by the die.
func (*PersistentVolumeClaimVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *PersistentVolumeClaimVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeClaimVolumeSourceDie) DieReleaseYAML ¶
func (d *PersistentVolumeClaimVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PersistentVolumeClaimVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *PersistentVolumeClaimVolumeSourceDie) DieSeal() *PersistentVolumeClaimVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PersistentVolumeClaimVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *PersistentVolumeClaimVolumeSourceDie) DieSealFeed(r corev1.PersistentVolumeClaimVolumeSource) *PersistentVolumeClaimVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PersistentVolumeClaimVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PersistentVolumeClaimVolumeSourceDie) DieSealFeedPtr(r *corev1.PersistentVolumeClaimVolumeSource) *PersistentVolumeClaimVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PersistentVolumeClaimVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *PersistentVolumeClaimVolumeSourceDie) DieSealRelease() corev1.PersistentVolumeClaimVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*PersistentVolumeClaimVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PersistentVolumeClaimVolumeSourceDie) DieSealReleasePtr() *corev1.PersistentVolumeClaimVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *PersistentVolumeDie) DieDefaultTypeMetadata() *PersistentVolumeDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "PersistentVolume" respectively.
func (*PersistentVolumeDie) DieDiff ¶ added in v0.13.0
func (d *PersistentVolumeDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PersistentVolumeDie) DieFeed ¶
func (d *PersistentVolumeDie) DieFeed(r corev1.PersistentVolume) *PersistentVolumeDie
DieFeed returns a new die with the provided resource.
func (*PersistentVolumeDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *PersistentVolumeDie) DieFeedYAML(y []byte) *PersistentVolumeDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PersistentVolumeDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *PersistentVolumeDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PersistentVolumeDie) DieRelease ¶
func (d *PersistentVolumeDie) DieRelease() corev1.PersistentVolume
DieRelease returns the resource managed by the die.
func (*PersistentVolumeDie) DieReleaseJSON ¶
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 ¶
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 ¶
func (d *PersistentVolumeDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PersistentVolumeDie) DieSeal ¶ added in v0.13.0
func (d *PersistentVolumeDie) DieSeal() *PersistentVolumeDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PersistentVolumeDie) DieSealFeed ¶ added in v0.13.0
func (d *PersistentVolumeDie) DieSealFeed(r corev1.PersistentVolume) *PersistentVolumeDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PersistentVolumeDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PersistentVolumeDie) DieSealFeedPtr(r *corev1.PersistentVolume) *PersistentVolumeDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PersistentVolumeDie) DieSealRelease ¶ added in v0.13.0
func (d *PersistentVolumeDie) DieSealRelease() corev1.PersistentVolume
DieSealRelease returns the sealed resource managed by the die.
func (*PersistentVolumeDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PersistentVolumeDie) DieSealReleasePtr() *corev1.PersistentVolume
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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) Metadata ¶ added in v0.13.0
func (d *PersistentVolumeDie) Metadata(v apismetav1.ObjectMeta) *PersistentVolumeDie
Metadata standard object's metadata.
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) TypeMetadata ¶ added in v0.13.0
func (d *PersistentVolumeDie) TypeMetadata(v apismetav1.TypeMeta) *PersistentVolumeDie
TypeMetadata standard object's type metadata.
func (*PersistentVolumeDie) TypeMetadataDie ¶ added in v0.13.0
func (d *PersistentVolumeDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *PersistentVolumeDie
TypeMetadataDie stamps the resource's TypeMeta 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
AddCapacity sets a single quantity on the Capacity resource list.
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) AddCapacityString ¶
func (d *PersistentVolumeSpecDie) AddCapacityString(name corev1.ResourceName, quantity string) *PersistentVolumeSpecDie
AddCapacityString parses the quantity setting a single value on the Capacity resource list. Panics if the string is not parsable.
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) 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) DieDiff ¶ added in v0.13.0
func (d *PersistentVolumeSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PersistentVolumeSpecDie) DieFeed ¶
func (d *PersistentVolumeSpecDie) DieFeed(r corev1.PersistentVolumeSpec) *PersistentVolumeSpecDie
DieFeed returns a new die with the provided resource.
func (*PersistentVolumeSpecDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *PersistentVolumeSpecDie) DieFeedYAML(y []byte) *PersistentVolumeSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PersistentVolumeSpecDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *PersistentVolumeSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PersistentVolumeSpecDie) DieRelease ¶
func (d *PersistentVolumeSpecDie) DieRelease() corev1.PersistentVolumeSpec
DieRelease returns the resource managed by the die.
func (*PersistentVolumeSpecDie) DieReleaseJSON ¶
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 ¶
func (d *PersistentVolumeSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeSpecDie) DieReleaseYAML ¶
func (d *PersistentVolumeSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PersistentVolumeSpecDie) DieSeal ¶ added in v0.13.0
func (d *PersistentVolumeSpecDie) DieSeal() *PersistentVolumeSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PersistentVolumeSpecDie) DieSealFeed ¶ added in v0.13.0
func (d *PersistentVolumeSpecDie) DieSealFeed(r corev1.PersistentVolumeSpec) *PersistentVolumeSpecDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PersistentVolumeSpecDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PersistentVolumeSpecDie) DieSealFeedPtr(r *corev1.PersistentVolumeSpec) *PersistentVolumeSpecDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PersistentVolumeSpecDie) DieSealRelease ¶ added in v0.13.0
func (d *PersistentVolumeSpecDie) DieSealRelease() corev1.PersistentVolumeSpec
DieSealRelease returns the sealed resource managed by the die.
func (*PersistentVolumeSpecDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PersistentVolumeSpecDie) DieSealReleasePtr() *corev1.PersistentVolumeSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
NodeAffinityDie mutates NodeAffinity as a die.
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) 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 ¶
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 a beta field and requires enabling VolumeAttributesClass feature (off by default).
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) DieDiff ¶ added in v0.13.0
func (d *PersistentVolumeStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PersistentVolumeStatusDie) DieFeed ¶
func (d *PersistentVolumeStatusDie) DieFeed(r corev1.PersistentVolumeStatus) *PersistentVolumeStatusDie
DieFeed returns a new die with the provided resource.
func (*PersistentVolumeStatusDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *PersistentVolumeStatusDie) DieFeedYAML(y []byte) *PersistentVolumeStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PersistentVolumeStatusDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *PersistentVolumeStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PersistentVolumeStatusDie) DieRelease ¶
func (d *PersistentVolumeStatusDie) DieRelease() corev1.PersistentVolumeStatus
DieRelease returns the resource managed by the die.
func (*PersistentVolumeStatusDie) DieReleaseJSON ¶
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 ¶
func (d *PersistentVolumeStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PersistentVolumeStatusDie) DieReleaseYAML ¶
func (d *PersistentVolumeStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PersistentVolumeStatusDie) DieSeal ¶ added in v0.13.0
func (d *PersistentVolumeStatusDie) DieSeal() *PersistentVolumeStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PersistentVolumeStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *PersistentVolumeStatusDie) DieSealFeed(r corev1.PersistentVolumeStatus) *PersistentVolumeStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PersistentVolumeStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PersistentVolumeStatusDie) DieSealFeedPtr(r *corev1.PersistentVolumeStatus) *PersistentVolumeStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PersistentVolumeStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *PersistentVolumeStatusDie) DieSealRelease() corev1.PersistentVolumeStatus
DieSealRelease returns the sealed resource managed by the die.
func (*PersistentVolumeStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PersistentVolumeStatusDie) DieSealReleasePtr() *corev1.PersistentVolumeStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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.
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) DieDiff ¶ added in v0.13.0
func (d *PhotonPersistentDiskVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PhotonPersistentDiskVolumeSourceDie) DieFeed ¶
func (d *PhotonPersistentDiskVolumeSourceDie) DieFeed(r corev1.PhotonPersistentDiskVolumeSource) *PhotonPersistentDiskVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*PhotonPersistentDiskVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *PhotonPersistentDiskVolumeSourceDie) DieFeedYAML(y []byte) *PhotonPersistentDiskVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PhotonPersistentDiskVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *PhotonPersistentDiskVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PhotonPersistentDiskVolumeSourceDie) DieRelease ¶
func (d *PhotonPersistentDiskVolumeSourceDie) DieRelease() corev1.PhotonPersistentDiskVolumeSource
DieRelease returns the resource managed by the die.
func (*PhotonPersistentDiskVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *PhotonPersistentDiskVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PhotonPersistentDiskVolumeSourceDie) DieReleaseYAML ¶
func (d *PhotonPersistentDiskVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PhotonPersistentDiskVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *PhotonPersistentDiskVolumeSourceDie) DieSeal() *PhotonPersistentDiskVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PhotonPersistentDiskVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *PhotonPersistentDiskVolumeSourceDie) DieSealFeed(r corev1.PhotonPersistentDiskVolumeSource) *PhotonPersistentDiskVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PhotonPersistentDiskVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PhotonPersistentDiskVolumeSourceDie) DieSealFeedPtr(r *corev1.PhotonPersistentDiskVolumeSource) *PhotonPersistentDiskVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PhotonPersistentDiskVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *PhotonPersistentDiskVolumeSourceDie) DieSealRelease() corev1.PhotonPersistentDiskVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*PhotonPersistentDiskVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PhotonPersistentDiskVolumeSourceDie) DieSealReleasePtr() *corev1.PhotonPersistentDiskVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *PodDNSConfigDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PodDNSConfigDie) DieFeed ¶
func (d *PodDNSConfigDie) DieFeed(r corev1.PodDNSConfig) *PodDNSConfigDie
DieFeed returns a new die with the provided resource.
func (*PodDNSConfigDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *PodDNSConfigDie) DieFeedYAML(y []byte) *PodDNSConfigDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodDNSConfigDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *PodDNSConfigDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PodDNSConfigDie) DieRelease ¶
func (d *PodDNSConfigDie) DieRelease() corev1.PodDNSConfig
DieRelease returns the resource managed by the die.
func (*PodDNSConfigDie) DieReleaseJSON ¶
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 ¶
func (d *PodDNSConfigDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodDNSConfigDie) DieReleaseYAML ¶
func (d *PodDNSConfigDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodDNSConfigDie) DieSeal ¶ added in v0.13.0
func (d *PodDNSConfigDie) DieSeal() *PodDNSConfigDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PodDNSConfigDie) DieSealFeed ¶ added in v0.13.0
func (d *PodDNSConfigDie) DieSealFeed(r corev1.PodDNSConfig) *PodDNSConfigDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PodDNSConfigDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PodDNSConfigDie) DieSealFeedPtr(r *corev1.PodDNSConfig) *PodDNSConfigDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PodDNSConfigDie) DieSealRelease ¶ added in v0.13.0
func (d *PodDNSConfigDie) DieSealRelease() corev1.PodDNSConfig
DieSealRelease returns the sealed resource managed by the die.
func (*PodDNSConfigDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PodDNSConfigDie) DieSealReleasePtr() *corev1.PodDNSConfig
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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(v ...*PodDNSConfigOptionDie) *PodDNSConfigDie
OptionsDie replaces Options by collecting the released value from each die passed.
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) 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) DieDiff ¶ added in v0.13.0
func (d *PodDNSConfigOptionDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PodDNSConfigOptionDie) DieFeed ¶
func (d *PodDNSConfigOptionDie) DieFeed(r corev1.PodDNSConfigOption) *PodDNSConfigOptionDie
DieFeed returns a new die with the provided resource.
func (*PodDNSConfigOptionDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *PodDNSConfigOptionDie) DieFeedYAML(y []byte) *PodDNSConfigOptionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodDNSConfigOptionDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *PodDNSConfigOptionDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PodDNSConfigOptionDie) DieRelease ¶
func (d *PodDNSConfigOptionDie) DieRelease() corev1.PodDNSConfigOption
DieRelease returns the resource managed by the die.
func (*PodDNSConfigOptionDie) DieReleaseJSON ¶
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 ¶
func (d *PodDNSConfigOptionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodDNSConfigOptionDie) DieReleaseYAML ¶
func (d *PodDNSConfigOptionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodDNSConfigOptionDie) DieSeal ¶ added in v0.13.0
func (d *PodDNSConfigOptionDie) DieSeal() *PodDNSConfigOptionDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PodDNSConfigOptionDie) DieSealFeed ¶ added in v0.13.0
func (d *PodDNSConfigOptionDie) DieSealFeed(r corev1.PodDNSConfigOption) *PodDNSConfigOptionDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PodDNSConfigOptionDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PodDNSConfigOptionDie) DieSealFeedPtr(r *corev1.PodDNSConfigOption) *PodDNSConfigOptionDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PodDNSConfigOptionDie) DieSealRelease ¶ added in v0.13.0
func (d *PodDNSConfigOptionDie) DieSealRelease() corev1.PodDNSConfigOption
DieSealRelease returns the sealed resource managed by the die.
func (*PodDNSConfigOptionDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PodDNSConfigOptionDie) DieSealReleasePtr() *corev1.PodDNSConfigOption
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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) DieDefaultTypeMetadata ¶ added in v0.13.0
DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "Pod" respectively.
func (*PodDie) DieDiff ¶ added in v0.13.0
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PodDie) DieFeedJSON ¶
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 ¶
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 ¶
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PodDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*PodDie) DieReleaseJSON ¶
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 ¶
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 ¶
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodDie) DieSeal ¶ added in v0.13.0
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PodDie) DieSealFeed ¶ added in v0.13.0
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PodDie) DieSealFeedPtr ¶ added in v0.13.0
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PodDie) DieSealRelease ¶ added in v0.13.0
DieSealRelease returns the sealed resource managed by the die.
func (*PodDie) DieSealReleasePtr ¶ added in v0.13.0
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*PodDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PodDie) DieStampAt ¶
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 ¶
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 ¶
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) Metadata ¶ added in v0.13.0
func (d *PodDie) Metadata(v apismetav1.ObjectMeta) *PodDie
Metadata standard object's metadata.
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) TypeMetadata ¶ added in v0.13.0
func (d *PodDie) TypeMetadata(v apismetav1.TypeMeta) *PodDie
TypeMetadata standard object's type metadata.
func (*PodDie) TypeMetadataDie ¶ added in v0.13.0
func (d *PodDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *PodDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*PodDie) UnmarshalJSON ¶
type PodOSDie ¶
type PodOSDie struct {
// contains filtered or unexported fields
}
func (*PodOSDie) DeepCopy ¶
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PodOSDie) DieDiff ¶ added in v0.13.0
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PodOSDie) DieFeedJSON ¶
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PodOSDie) DieFeedPtr ¶
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PodOSDie) DieFeedRawExtension ¶
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 ¶
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodOSDie) DieFeedYAMLFile ¶
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PodOSDie) DieImmutable ¶
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PodOSDie) DiePatch ¶ added in v0.13.0
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PodOSDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*PodOSDie) DieReleaseJSON ¶
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PodOSDie) DieReleasePtr ¶
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PodOSDie) DieReleaseRawExtension ¶
func (d *PodOSDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodOSDie) DieReleaseYAML ¶
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodOSDie) DieSeal ¶ added in v0.13.0
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PodOSDie) DieSealFeed ¶ added in v0.13.0
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PodOSDie) DieSealFeedPtr ¶ added in v0.13.0
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PodOSDie) DieSealRelease ¶ added in v0.13.0
DieSealRelease returns the sealed resource managed by the die.
func (*PodOSDie) DieSealReleasePtr ¶ added in v0.13.0
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*PodOSDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PodOSDie) DieStampAt ¶
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 ¶
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PodOSDie) Name ¶
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) DieDiff ¶ added in v0.13.0
func (d *PodReadinessGateDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PodReadinessGateDie) DieFeed ¶
func (d *PodReadinessGateDie) DieFeed(r corev1.PodReadinessGate) *PodReadinessGateDie
DieFeed returns a new die with the provided resource.
func (*PodReadinessGateDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *PodReadinessGateDie) DieFeedYAML(y []byte) *PodReadinessGateDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodReadinessGateDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *PodReadinessGateDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PodReadinessGateDie) DieRelease ¶
func (d *PodReadinessGateDie) DieRelease() corev1.PodReadinessGate
DieRelease returns the resource managed by the die.
func (*PodReadinessGateDie) DieReleaseJSON ¶
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 ¶
func (d *PodReadinessGateDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodReadinessGateDie) DieReleaseYAML ¶
func (d *PodReadinessGateDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodReadinessGateDie) DieSeal ¶ added in v0.13.0
func (d *PodReadinessGateDie) DieSeal() *PodReadinessGateDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PodReadinessGateDie) DieSealFeed ¶ added in v0.13.0
func (d *PodReadinessGateDie) DieSealFeed(r corev1.PodReadinessGate) *PodReadinessGateDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PodReadinessGateDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PodReadinessGateDie) DieSealFeedPtr(r *corev1.PodReadinessGate) *PodReadinessGateDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PodReadinessGateDie) DieSealRelease ¶ added in v0.13.0
func (d *PodReadinessGateDie) DieSealRelease() corev1.PodReadinessGate
DieSealRelease returns the sealed resource managed by the die.
func (*PodReadinessGateDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PodReadinessGateDie) DieSealReleasePtr() *corev1.PodReadinessGate
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
type PodResourceClaimDie struct {
// contains filtered or unexported fields
}
func (*PodResourceClaimDie) DeepCopy ¶
func (d *PodResourceClaimDie) DeepCopy() *PodResourceClaimDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PodResourceClaimDie) DieDiff ¶ added in v0.13.0
func (d *PodResourceClaimDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PodResourceClaimDie) DieFeed ¶
func (d *PodResourceClaimDie) DieFeed(r corev1.PodResourceClaim) *PodResourceClaimDie
DieFeed returns a new die with the provided resource.
func (*PodResourceClaimDie) DieFeedJSON ¶
func (d *PodResourceClaimDie) DieFeedJSON(j []byte) *PodResourceClaimDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PodResourceClaimDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *PodResourceClaimDie) DieFeedYAML(y []byte) *PodResourceClaimDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodResourceClaimDie) DieFeedYAMLFile ¶
func (d *PodResourceClaimDie) DieFeedYAMLFile(name string) *PodResourceClaimDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PodResourceClaimDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *PodResourceClaimDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PodResourceClaimDie) DieRelease ¶
func (d *PodResourceClaimDie) DieRelease() corev1.PodResourceClaim
DieRelease returns the resource managed by the die.
func (*PodResourceClaimDie) DieReleaseJSON ¶
func (d *PodResourceClaimDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PodResourceClaimDie) DieReleasePtr ¶
func (d *PodResourceClaimDie) DieReleasePtr() *corev1.PodResourceClaim
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PodResourceClaimDie) DieReleaseRawExtension ¶
func (d *PodResourceClaimDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodResourceClaimDie) DieReleaseYAML ¶
func (d *PodResourceClaimDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodResourceClaimDie) DieSeal ¶ added in v0.13.0
func (d *PodResourceClaimDie) DieSeal() *PodResourceClaimDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PodResourceClaimDie) DieSealFeed ¶ added in v0.13.0
func (d *PodResourceClaimDie) DieSealFeed(r corev1.PodResourceClaim) *PodResourceClaimDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PodResourceClaimDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PodResourceClaimDie) DieSealFeedPtr(r *corev1.PodResourceClaim) *PodResourceClaimDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PodResourceClaimDie) DieSealRelease ¶ added in v0.13.0
func (d *PodResourceClaimDie) DieSealRelease() corev1.PodResourceClaim
DieSealRelease returns the sealed resource managed by the die.
func (*PodResourceClaimDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PodResourceClaimDie) DieSealReleasePtr() *corev1.PodResourceClaim
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*PodResourceClaimDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
func (d *PodResourceClaimDie) Name(v string) *PodResourceClaimDie
Name uniquely identifies this resource claim inside the pod.
This must be a DNS_LABEL.
func (*PodResourceClaimDie) ResourceClaimName ¶ added in v0.14.0
func (d *PodResourceClaimDie) ResourceClaimName(v *string) *PodResourceClaimDie
ResourceClaimName is the name of a ResourceClaim object in the same
namespace as this pod.
Exactly one of ResourceClaimName and ResourceClaimTemplateName must ¶
be set.
func (*PodResourceClaimDie) ResourceClaimTemplateName ¶ added in v0.14.0
func (d *PodResourceClaimDie) ResourceClaimTemplateName(v *string) *PodResourceClaimDie
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.
Exactly one of ResourceClaimName and ResourceClaimTemplateName must ¶
be set.
type PodSchedulingGateDie ¶
type PodSchedulingGateDie struct {
// contains filtered or unexported fields
}
func (*PodSchedulingGateDie) DeepCopy ¶
func (d *PodSchedulingGateDie) DeepCopy() *PodSchedulingGateDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PodSchedulingGateDie) DieDiff ¶ added in v0.13.0
func (d *PodSchedulingGateDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PodSchedulingGateDie) DieFeed ¶
func (d *PodSchedulingGateDie) DieFeed(r corev1.PodSchedulingGate) *PodSchedulingGateDie
DieFeed returns a new die with the provided resource.
func (*PodSchedulingGateDie) DieFeedJSON ¶
func (d *PodSchedulingGateDie) DieFeedJSON(j []byte) *PodSchedulingGateDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PodSchedulingGateDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *PodSchedulingGateDie) DieFeedYAML(y []byte) *PodSchedulingGateDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodSchedulingGateDie) DieFeedYAMLFile ¶
func (d *PodSchedulingGateDie) DieFeedYAMLFile(name string) *PodSchedulingGateDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PodSchedulingGateDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *PodSchedulingGateDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PodSchedulingGateDie) DieRelease ¶
func (d *PodSchedulingGateDie) DieRelease() corev1.PodSchedulingGate
DieRelease returns the resource managed by the die.
func (*PodSchedulingGateDie) DieReleaseJSON ¶
func (d *PodSchedulingGateDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PodSchedulingGateDie) DieReleasePtr ¶
func (d *PodSchedulingGateDie) DieReleasePtr() *corev1.PodSchedulingGate
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PodSchedulingGateDie) DieReleaseRawExtension ¶
func (d *PodSchedulingGateDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodSchedulingGateDie) DieReleaseYAML ¶
func (d *PodSchedulingGateDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodSchedulingGateDie) DieSeal ¶ added in v0.13.0
func (d *PodSchedulingGateDie) DieSeal() *PodSchedulingGateDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PodSchedulingGateDie) DieSealFeed ¶ added in v0.13.0
func (d *PodSchedulingGateDie) DieSealFeed(r corev1.PodSchedulingGate) *PodSchedulingGateDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PodSchedulingGateDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PodSchedulingGateDie) DieSealFeedPtr(r *corev1.PodSchedulingGate) *PodSchedulingGateDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PodSchedulingGateDie) DieSealRelease ¶ added in v0.13.0
func (d *PodSchedulingGateDie) DieSealRelease() corev1.PodSchedulingGate
DieSealRelease returns the sealed resource managed by the die.
func (*PodSchedulingGateDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PodSchedulingGateDie) DieSealReleasePtr() *corev1.PodSchedulingGate
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*PodSchedulingGateDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
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) AppArmorProfile ¶ added in v0.12.0
func (d *PodSecurityContextDie) AppArmorProfile(v *corev1.AppArmorProfile) *PodSecurityContextDie
appArmorProfile is the AppArmor options to use by the containers in this pod.
Note that this field cannot be set when spec.os.name is windows.
func (*PodSecurityContextDie) AppArmorProfileDie ¶ added in v0.12.0
func (d *PodSecurityContextDie) AppArmorProfileDie(fn func(d *AppArmorProfileDie)) *PodSecurityContextDie
AppArmorProfileDie mutates AppArmorProfile as a die.
appArmorProfile is the AppArmor options to use by the containers in this pod.
Note that this field cannot be set when spec.os.name is windows.
func (*PodSecurityContextDie) DeepCopy ¶
func (d *PodSecurityContextDie) DeepCopy() *PodSecurityContextDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PodSecurityContextDie) DieDiff ¶ added in v0.13.0
func (d *PodSecurityContextDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PodSecurityContextDie) DieFeed ¶
func (d *PodSecurityContextDie) DieFeed(r corev1.PodSecurityContext) *PodSecurityContextDie
DieFeed returns a new die with the provided resource.
func (*PodSecurityContextDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *PodSecurityContextDie) DieFeedYAML(y []byte) *PodSecurityContextDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodSecurityContextDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *PodSecurityContextDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PodSecurityContextDie) DieRelease ¶
func (d *PodSecurityContextDie) DieRelease() corev1.PodSecurityContext
DieRelease returns the resource managed by the die.
func (*PodSecurityContextDie) DieReleaseJSON ¶
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 ¶
func (d *PodSecurityContextDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodSecurityContextDie) DieReleaseYAML ¶
func (d *PodSecurityContextDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodSecurityContextDie) DieSeal ¶ added in v0.13.0
func (d *PodSecurityContextDie) DieSeal() *PodSecurityContextDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PodSecurityContextDie) DieSealFeed ¶ added in v0.13.0
func (d *PodSecurityContextDie) DieSealFeed(r corev1.PodSecurityContext) *PodSecurityContextDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PodSecurityContextDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PodSecurityContextDie) DieSealFeedPtr(r *corev1.PodSecurityContext) *PodSecurityContextDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PodSecurityContextDie) DieSealRelease ¶ added in v0.13.0
func (d *PodSecurityContextDie) DieSealRelease() corev1.PodSecurityContext
DieSealRelease returns the sealed resource managed by the die.
func (*PodSecurityContextDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PodSecurityContextDie) DieSealReleasePtr() *corev1.PodSecurityContext
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
SELinuxOptionsDie mutates SELinuxOptions as a die.
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) 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
SeccompProfileDie mutates SeccompProfile as a die.
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) 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 and fsGroup (if specified). If
the SupplementalGroupsPolicy feature is enabled, the
supplementalGroupsPolicy field determines whether these are in addition
to or instead of any group memberships defined in the container image.
If unspecified, no additional groups are added, though group memberships ¶
defined in the container image may still be used, depending on the
supplementalGroupsPolicy field.
Note that this field cannot be set when spec.os.name is windows.
func (*PodSecurityContextDie) SupplementalGroupsPolicy ¶ added in v0.14.0
func (d *PodSecurityContextDie) SupplementalGroupsPolicy(v *corev1.SupplementalGroupsPolicy) *PodSecurityContextDie
Defines how supplemental groups of the first container processes are calculated.
Valid values are "Merge" and "Strict". If not specified, "Merge" is used.
(Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled
and the container runtime must implement support for this feature.
Note that this field cannot be set when spec.os.name is windows.
TODO: update the default value to "Merge" when spec.os.name is not windows in v1.34
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(v ...*SysctlDie) *PodSecurityContextDie
SysctlsDie replaces Sysctls by collecting the released value from each die passed.
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) 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
WindowsOptionsDie mutates WindowsOptions as a die.
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.
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
AddOverhead sets a single quantity on the Overhead resource list.
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) AddOverheadString ¶
func (d *PodSpecDie) AddOverheadString(name corev1.ResourceName, quantity string) *PodSpecDie
AddOverheadString parses the quantity setting a single value on the Overhead resource list. Panics if the string is not parsable.
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) 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(v string, fn func(d *ContainerDie)) *PodSpecDie
ContainerDie mutates a single item in Containers matched by the nested field Name, appending a new item if no match is found.
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) 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
DNSConfigDie mutates DNSConfig as a die.
Specifies the DNS parameters of a pod.
Parameters specified here will be merged to the generated DNS ¶
configuration based on DNSPolicy.
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 deprecated alias for ServiceAccountName.
Deprecated: Use serviceAccountName instead.
func (*PodSpecDie) DieDiff ¶ added in v0.13.0
func (d *PodSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PodSpecDie) DieFeed ¶
func (d *PodSpecDie) DieFeed(r corev1.PodSpec) *PodSpecDie
DieFeed returns a new die with the provided resource.
func (*PodSpecDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *PodSpecDie) DieFeedYAML(y []byte) *PodSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodSpecDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *PodSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PodSpecDie) DieRelease ¶
func (d *PodSpecDie) DieRelease() corev1.PodSpec
DieRelease returns the resource managed by the die.
func (*PodSpecDie) DieReleaseJSON ¶
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 ¶
func (d *PodSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodSpecDie) DieReleaseYAML ¶
func (d *PodSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodSpecDie) DieSeal ¶ added in v0.13.0
func (d *PodSpecDie) DieSeal() *PodSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PodSpecDie) DieSealFeed ¶ added in v0.13.0
func (d *PodSpecDie) DieSealFeed(r corev1.PodSpec) *PodSpecDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PodSpecDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PodSpecDie) DieSealFeedPtr(r *corev1.PodSpec) *PodSpecDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PodSpecDie) DieSealRelease ¶ added in v0.13.0
func (d *PodSpecDie) DieSealRelease() corev1.PodSpec
DieSealRelease returns the sealed resource managed by the die.
func (*PodSpecDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PodSpecDie) DieSealReleasePtr() *corev1.PodSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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.
func (*PodSpecDie) HostAliasesDie ¶
func (d *PodSpecDie) HostAliasesDie(v ...*HostAliasDie) *PodSpecDie
HostAliasesDie replaces HostAliases by collecting the released value from each die passed.
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts ¶
file if specified.
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 ¶
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(v string, fn func(d *ContainerDie)) *PodSpecDie
InitContainerDie mutates a single item in InitContainers matched by the nested field Name, appending a new item if no match is found.
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) 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 indicates in which node this pod is scheduled.
If empty, this pod is a candidate for scheduling by the scheduler defined in schedulerName.
Once this field is set, the kubelet for this node becomes responsible for the lifecycle of this pod.
This field should not be used to express a desire for the pod to be scheduled on a specific node.
https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodename
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 ¶
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.appArmorProfile
- 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.securityContext.supplementalGroupsPolicy
- spec.containers[*].securityContext.appArmorProfile
- 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 ¶
func (d *PodSpecDie) OSDie(fn func(d *PodOSDie)) *PodSpecDie
OSDie mutates OS as a die.
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.appArmorProfile
- 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.securityContext.supplementalGroupsPolicy
- spec.containers[*].securityContext.appArmorProfile
- 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) 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(v ...*PodReadinessGateDie) *PodSpecDie
ReadinessGatesDie replaces ReadinessGates by collecting the released value from each die passed.
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) ResourceClaims ¶
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 ¶
func (d *PodSpecDie) ResourceClaimsDie(v ...*PodResourceClaimDie) *PodSpecDie
ResourceClaimsDie replaces ResourceClaims by collecting the released value from each die passed.
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) 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 ¶
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.
func (*PodSpecDie) SchedulingGatesDie ¶
func (d *PodSpecDie) SchedulingGatesDie(v ...*PodSchedulingGateDie) *PodSpecDie
SchedulingGatesDie replaces SchedulingGates by collecting the released value from each die passed.
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.
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
SecurityContextDie mutates SecurityContext as a die.
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) 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(v string, fn func(d *TolerationDie)) *PodSpecDie
TolerationDie mutates a single item in Tolerations matched by the nested field Key, appending a new item if no match is found.
If specified, the pod's tolerations.
func (*PodSpecDie) Tolerations ¶
func (d *PodSpecDie) Tolerations(v ...corev1.Toleration) *PodSpecDie
If specified, the pod's tolerations.
func (*PodSpecDie) TopologySpreadConstraintDie ¶
func (d *PodSpecDie) TopologySpreadConstraintDie(v string, fn func(d *TopologySpreadConstraintDie)) *PodSpecDie
TopologySpreadConstraintDie mutates a single item in TopologySpreadConstraints matched by the nested field TopologyKey, appending a new item if no match is found.
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) 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(v string, fn func(d *VolumeDie)) *PodSpecDie
VolumeDie mutates a single item in Volumes matched by the nested field Name, appending a new item if no match is found.
List of volumes that can be mounted by containers belonging to the pod.
More info: https://kubernetes.io/docs/concepts/storage/volumes
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(v string, fn func(d *ContainerStatusDie)) *PodStatusDie
ContainerStatusDie mutates a single item in ContainerStatuses matched by the nested field Name, appending a new item if no match is found.
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) 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) DieDiff ¶ added in v0.13.0
func (d *PodStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PodStatusDie) DieFeed ¶
func (d *PodStatusDie) DieFeed(r corev1.PodStatus) *PodStatusDie
DieFeed returns a new die with the provided resource.
func (*PodStatusDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *PodStatusDie) DieFeedYAML(y []byte) *PodStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodStatusDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *PodStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PodStatusDie) DieRelease ¶
func (d *PodStatusDie) DieRelease() corev1.PodStatus
DieRelease returns the resource managed by the die.
func (*PodStatusDie) DieReleaseJSON ¶
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 ¶
func (d *PodStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodStatusDie) DieReleaseYAML ¶
func (d *PodStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodStatusDie) DieSeal ¶ added in v0.13.0
func (d *PodStatusDie) DieSeal() *PodStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PodStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *PodStatusDie) DieSealFeed(r corev1.PodStatus) *PodStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PodStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PodStatusDie) DieSealFeedPtr(r *corev1.PodStatus) *PodStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PodStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *PodStatusDie) DieSealRelease() corev1.PodStatus
DieSealRelease returns the sealed resource managed by the die.
func (*PodStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PodStatusDie) DieSealReleasePtr() *corev1.PodStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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(v string, fn func(d *ContainerStatusDie)) *PodStatusDie
EphemeralContainerStatusDie mutates a single item in EphemeralContainerStatuses matched by the nested field Name, appending a new item if no match is found.
Status for any ephemeral containers that have run in this pod.
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 ¶
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(v string, fn func(d *ContainerStatusDie)) *PodStatusDie
InitContainerStatusDie mutates a single item in InitContainerStatuses matched by the nested field Name, appending a new item if no match is found.
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) 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 ¶
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 ¶
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 ¶
type PodTemplateDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*PodTemplateDie) APIVersion ¶
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 ¶
func (d *PodTemplateDie) DeepCopy() *PodTemplateDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PodTemplateDie) DeepCopyObject ¶
func (d *PodTemplateDie) DeepCopyObject() runtime.Object
func (*PodTemplateDie) DieDiff ¶ added in v0.13.0
func (d *PodTemplateDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PodTemplateDie) DieFeed ¶
func (d *PodTemplateDie) DieFeed(r corev1.PodTemplate) *PodTemplateDie
DieFeed returns a new die with the provided resource.
func (*PodTemplateDie) DieFeedJSON ¶
func (d *PodTemplateDie) DieFeedJSON(j []byte) *PodTemplateDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PodTemplateDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *PodTemplateDie) DieFeedYAML(y []byte) *PodTemplateDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodTemplateDie) DieFeedYAMLFile ¶
func (d *PodTemplateDie) DieFeedYAMLFile(name string) *PodTemplateDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PodTemplateDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *PodTemplateDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PodTemplateDie) DieRelease ¶
func (d *PodTemplateDie) DieRelease() corev1.PodTemplate
DieRelease returns the resource managed by the die.
func (*PodTemplateDie) DieReleaseJSON ¶
func (d *PodTemplateDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PodTemplateDie) DieReleasePtr ¶
func (d *PodTemplateDie) DieReleasePtr() *corev1.PodTemplate
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PodTemplateDie) DieReleaseRawExtension ¶
func (d *PodTemplateDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodTemplateDie) DieReleaseUnstructured ¶
func (d *PodTemplateDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*PodTemplateDie) DieReleaseYAML ¶
func (d *PodTemplateDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodTemplateDie) DieSeal ¶ added in v0.13.0
func (d *PodTemplateDie) DieSeal() *PodTemplateDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PodTemplateDie) DieSealFeed ¶ added in v0.13.0
func (d *PodTemplateDie) DieSealFeed(r corev1.PodTemplate) *PodTemplateDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PodTemplateDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PodTemplateDie) DieSealFeedPtr(r *corev1.PodTemplate) *PodTemplateDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PodTemplateDie) DieSealRelease ¶ added in v0.13.0
func (d *PodTemplateDie) DieSealRelease() corev1.PodTemplate
DieSealRelease returns the sealed resource managed by the die.
func (*PodTemplateDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PodTemplateDie) DieSealReleasePtr() *corev1.PodTemplate
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*PodTemplateDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
func (d *PodTemplateDie) GetObjectKind() schema.ObjectKind
func (*PodTemplateDie) Kind ¶
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 ¶
func (d *PodTemplateDie) MarshalJSON() ([]byte, error)
func (*PodTemplateDie) Metadata ¶ added in v0.13.0
func (d *PodTemplateDie) Metadata(v apismetav1.ObjectMeta) *PodTemplateDie
Metadata standard object's metadata.
func (*PodTemplateDie) MetadataDie ¶
func (d *PodTemplateDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *PodTemplateDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*PodTemplateDie) Template ¶
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 ¶
func (d *PodTemplateDie) TemplateDie(fn func(d *PodTemplateSpecDie)) *PodTemplateDie
TemplateDie mutates Template as a die.
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) TypeMetadata ¶ added in v0.13.0
func (d *PodTemplateDie) TypeMetadata(v apismetav1.TypeMeta) *PodTemplateDie
TypeMetadata standard object's type metadata.
func (*PodTemplateDie) TypeMetadataDie ¶ added in v0.13.0
func (d *PodTemplateDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *PodTemplateDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*PodTemplateDie) UnmarshalJSON ¶
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) DieDiff ¶ added in v0.13.0
func (d *PodTemplateSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PodTemplateSpecDie) DieFeed ¶
func (d *PodTemplateSpecDie) DieFeed(r corev1.PodTemplateSpec) *PodTemplateSpecDie
DieFeed returns a new die with the provided resource.
func (*PodTemplateSpecDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *PodTemplateSpecDie) DieFeedYAML(y []byte) *PodTemplateSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PodTemplateSpecDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *PodTemplateSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PodTemplateSpecDie) DieRelease ¶
func (d *PodTemplateSpecDie) DieRelease() corev1.PodTemplateSpec
DieRelease returns the resource managed by the die.
func (*PodTemplateSpecDie) DieReleaseJSON ¶
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 ¶
func (d *PodTemplateSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PodTemplateSpecDie) DieReleaseYAML ¶
func (d *PodTemplateSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PodTemplateSpecDie) DieSeal ¶ added in v0.13.0
func (d *PodTemplateSpecDie) DieSeal() *PodTemplateSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PodTemplateSpecDie) DieSealFeed ¶ added in v0.13.0
func (d *PodTemplateSpecDie) DieSealFeed(r corev1.PodTemplateSpec) *PodTemplateSpecDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PodTemplateSpecDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PodTemplateSpecDie) DieSealFeedPtr(r *corev1.PodTemplateSpec) *PodTemplateSpecDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PodTemplateSpecDie) DieSealRelease ¶ added in v0.13.0
func (d *PodTemplateSpecDie) DieSealRelease() corev1.PodTemplateSpec
DieSealRelease returns the sealed resource managed by the die.
func (*PodTemplateSpecDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PodTemplateSpecDie) DieSealReleasePtr() *corev1.PodTemplateSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 *metav1.ObjectMetaDie)) *PodTemplateSpecDie
MetadataDie mutates ObjectMeta as a die.
Standard object's metadata.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
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
SpecDie mutates Spec as a die.
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
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) DieDiff ¶ added in v0.13.0
func (d *PortStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PortStatusDie) DieFeed ¶
func (d *PortStatusDie) DieFeed(r corev1.PortStatus) *PortStatusDie
DieFeed returns a new die with the provided resource.
func (*PortStatusDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *PortStatusDie) DieFeedYAML(y []byte) *PortStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PortStatusDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *PortStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PortStatusDie) DieRelease ¶
func (d *PortStatusDie) DieRelease() corev1.PortStatus
DieRelease returns the resource managed by the die.
func (*PortStatusDie) DieReleaseJSON ¶
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 ¶
func (d *PortStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PortStatusDie) DieReleaseYAML ¶
func (d *PortStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PortStatusDie) DieSeal ¶ added in v0.13.0
func (d *PortStatusDie) DieSeal() *PortStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PortStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *PortStatusDie) DieSealFeed(r corev1.PortStatus) *PortStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PortStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PortStatusDie) DieSealFeedPtr(r *corev1.PortStatus) *PortStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PortStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *PortStatusDie) DieSealRelease() corev1.PortStatus
DieSealRelease returns the sealed resource managed by the die.
func (*PortStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PortStatusDie) DieSealReleasePtr() *corev1.PortStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *PortworxVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*PortworxVolumeSourceDie) DieFeed ¶
func (d *PortworxVolumeSourceDie) DieFeed(r corev1.PortworxVolumeSource) *PortworxVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*PortworxVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *PortworxVolumeSourceDie) DieFeedYAML(y []byte) *PortworxVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PortworxVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *PortworxVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*PortworxVolumeSourceDie) DieRelease ¶
func (d *PortworxVolumeSourceDie) DieRelease() corev1.PortworxVolumeSource
DieRelease returns the resource managed by the die.
func (*PortworxVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *PortworxVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PortworxVolumeSourceDie) DieReleaseYAML ¶
func (d *PortworxVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PortworxVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *PortworxVolumeSourceDie) DieSeal() *PortworxVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*PortworxVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *PortworxVolumeSourceDie) DieSealFeed(r corev1.PortworxVolumeSource) *PortworxVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*PortworxVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *PortworxVolumeSourceDie) DieSealFeedPtr(r *corev1.PortworxVolumeSource) *PortworxVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*PortworxVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *PortworxVolumeSourceDie) DieSealRelease() corev1.PortworxVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*PortworxVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *PortworxVolumeSourceDie) DieSealReleasePtr() *corev1.PortworxVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ProbeDie) DieFeedJSON ¶
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 ¶
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 ¶
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ProbeDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ProbeDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*ProbeDie) DieReleaseJSON ¶
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 ¶
func (d *ProbeDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ProbeDie) DieReleaseYAML ¶
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ProbeDie) DieSeal ¶ added in v0.13.0
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ProbeDie) DieSealFeed ¶ added in v0.13.0
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ProbeDie) DieSealFeedPtr ¶ added in v0.13.0
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ProbeDie) DieSealRelease ¶ added in v0.13.0
DieSealRelease returns the sealed resource managed by the die.
func (*ProbeDie) DieSealReleasePtr ¶ added in v0.13.0
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ProbeDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ProbeDie) DieStampAt ¶
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 ¶
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 ¶
func (d *ProbeDie) ProbeHandler(v corev1.ProbeHandler) *ProbeDie
The action taken to determine the health of a container
func (*ProbeDie) ProbeHandlerDie ¶
func (d *ProbeDie) ProbeHandlerDie(fn func(d *ProbeHandlerDie)) *ProbeDie
ProbeHandlerDie mutates ProbeHandler as a die.
The action taken to determine the health of a container
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 ¶
type ProbeHandlerDie struct {
// contains filtered or unexported fields
}
func (*ProbeHandlerDie) DeepCopy ¶
func (d *ProbeHandlerDie) DeepCopy() *ProbeHandlerDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ProbeHandlerDie) DieDiff ¶ added in v0.13.0
func (d *ProbeHandlerDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ProbeHandlerDie) DieFeed ¶
func (d *ProbeHandlerDie) DieFeed(r corev1.ProbeHandler) *ProbeHandlerDie
DieFeed returns a new die with the provided resource.
func (*ProbeHandlerDie) DieFeedJSON ¶
func (d *ProbeHandlerDie) DieFeedJSON(j []byte) *ProbeHandlerDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ProbeHandlerDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *ProbeHandlerDie) DieFeedYAML(y []byte) *ProbeHandlerDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ProbeHandlerDie) DieFeedYAMLFile ¶
func (d *ProbeHandlerDie) DieFeedYAMLFile(name string) *ProbeHandlerDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ProbeHandlerDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *ProbeHandlerDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ProbeHandlerDie) DieRelease ¶
func (d *ProbeHandlerDie) DieRelease() corev1.ProbeHandler
DieRelease returns the resource managed by the die.
func (*ProbeHandlerDie) DieReleaseJSON ¶
func (d *ProbeHandlerDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ProbeHandlerDie) DieReleasePtr ¶
func (d *ProbeHandlerDie) DieReleasePtr() *corev1.ProbeHandler
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ProbeHandlerDie) DieReleaseRawExtension ¶
func (d *ProbeHandlerDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ProbeHandlerDie) DieReleaseYAML ¶
func (d *ProbeHandlerDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ProbeHandlerDie) DieSeal ¶ added in v0.13.0
func (d *ProbeHandlerDie) DieSeal() *ProbeHandlerDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ProbeHandlerDie) DieSealFeed ¶ added in v0.13.0
func (d *ProbeHandlerDie) DieSealFeed(r corev1.ProbeHandler) *ProbeHandlerDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ProbeHandlerDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ProbeHandlerDie) DieSealFeedPtr(r *corev1.ProbeHandler) *ProbeHandlerDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ProbeHandlerDie) DieSealRelease ¶ added in v0.13.0
func (d *ProbeHandlerDie) DieSealRelease() corev1.ProbeHandler
DieSealRelease returns the sealed resource managed by the die.
func (*ProbeHandlerDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ProbeHandlerDie) DieSealReleasePtr() *corev1.ProbeHandler
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ProbeHandlerDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
func (d *ProbeHandlerDie) Exec(v *corev1.ExecAction) *ProbeHandlerDie
Exec specifies the action to take.
func (*ProbeHandlerDie) ExecDie ¶
func (d *ProbeHandlerDie) ExecDie(fn func(d *ExecActionDie)) *ProbeHandlerDie
ExecDie mutates Exec as a die.
Exec specifies the action to take.
func (*ProbeHandlerDie) GRPC ¶
func (d *ProbeHandlerDie) GRPC(v *corev1.GRPCAction) *ProbeHandlerDie
GRPC specifies an action involving a GRPC port.
func (*ProbeHandlerDie) GRPCDie ¶
func (d *ProbeHandlerDie) GRPCDie(fn func(d *GRPCActionDie)) *ProbeHandlerDie
GRPCDie mutates GRPC as a die.
GRPC specifies an action involving a GRPC port.
func (*ProbeHandlerDie) HTTPGet ¶
func (d *ProbeHandlerDie) HTTPGet(v *corev1.HTTPGetAction) *ProbeHandlerDie
HTTPGet specifies the http request to perform.
func (*ProbeHandlerDie) HTTPGetDie ¶
func (d *ProbeHandlerDie) HTTPGetDie(fn func(d *HTTPGetActionDie)) *ProbeHandlerDie
HTTPGetDie mutates HTTPGet as a die.
HTTPGet specifies the http request to perform.
func (*ProbeHandlerDie) TCPSocket ¶
func (d *ProbeHandlerDie) TCPSocket(v *corev1.TCPSocketAction) *ProbeHandlerDie
TCPSocket specifies an action involving a TCP port.
func (*ProbeHandlerDie) TCPSocketDie ¶
func (d *ProbeHandlerDie) TCPSocketDie(fn func(d *TCPSocketActionDie)) *ProbeHandlerDie
TCPSocketDie mutates TCPSocket as a die.
TCPSocket specifies an action involving a TCP port.
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) DieDiff ¶ added in v0.13.0
func (d *ProjectedVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ProjectedVolumeSourceDie) DieFeed ¶
func (d *ProjectedVolumeSourceDie) DieFeed(r corev1.ProjectedVolumeSource) *ProjectedVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*ProjectedVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ProjectedVolumeSourceDie) DieFeedYAML(y []byte) *ProjectedVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ProjectedVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ProjectedVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ProjectedVolumeSourceDie) DieRelease ¶
func (d *ProjectedVolumeSourceDie) DieRelease() corev1.ProjectedVolumeSource
DieRelease returns the resource managed by the die.
func (*ProjectedVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *ProjectedVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ProjectedVolumeSourceDie) DieReleaseYAML ¶
func (d *ProjectedVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ProjectedVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *ProjectedVolumeSourceDie) DieSeal() *ProjectedVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ProjectedVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *ProjectedVolumeSourceDie) DieSealFeed(r corev1.ProjectedVolumeSource) *ProjectedVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ProjectedVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ProjectedVolumeSourceDie) DieSealFeedPtr(r *corev1.ProjectedVolumeSource) *ProjectedVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ProjectedVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *ProjectedVolumeSourceDie) DieSealRelease() corev1.ProjectedVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*ProjectedVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ProjectedVolumeSourceDie) DieSealReleasePtr() *corev1.ProjectedVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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. Each entry in this list
handles one source.
func (*ProjectedVolumeSourceDie) SourcesDie ¶
func (d *ProjectedVolumeSourceDie) SourcesDie(v ...*VolumeProjectionDie) *ProjectedVolumeSourceDie
SourcesDie replaces Sources by collecting the released value from each die passed.
sources is the list of volume projections. Each entry in this list
handles one source.
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) DieDiff ¶ added in v0.13.0
func (d *QuobyteVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*QuobyteVolumeSourceDie) DieFeed ¶
func (d *QuobyteVolumeSourceDie) DieFeed(r corev1.QuobyteVolumeSource) *QuobyteVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*QuobyteVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *QuobyteVolumeSourceDie) DieFeedYAML(y []byte) *QuobyteVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*QuobyteVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *QuobyteVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*QuobyteVolumeSourceDie) DieRelease ¶
func (d *QuobyteVolumeSourceDie) DieRelease() corev1.QuobyteVolumeSource
DieRelease returns the resource managed by the die.
func (*QuobyteVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *QuobyteVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*QuobyteVolumeSourceDie) DieReleaseYAML ¶
func (d *QuobyteVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*QuobyteVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *QuobyteVolumeSourceDie) DieSeal() *QuobyteVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*QuobyteVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *QuobyteVolumeSourceDie) DieSealFeed(r corev1.QuobyteVolumeSource) *QuobyteVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*QuobyteVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *QuobyteVolumeSourceDie) DieSealFeedPtr(r *corev1.QuobyteVolumeSource) *QuobyteVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*QuobyteVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *QuobyteVolumeSourceDie) DieSealRelease() corev1.QuobyteVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*QuobyteVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *QuobyteVolumeSourceDie) DieSealReleasePtr() *corev1.QuobyteVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *RBDPersistentVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*RBDPersistentVolumeSourceDie) DieFeed ¶
func (d *RBDPersistentVolumeSourceDie) DieFeed(r corev1.RBDPersistentVolumeSource) *RBDPersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*RBDPersistentVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *RBDPersistentVolumeSourceDie) DieFeedYAML(y []byte) *RBDPersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*RBDPersistentVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *RBDPersistentVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*RBDPersistentVolumeSourceDie) DieRelease ¶
func (d *RBDPersistentVolumeSourceDie) DieRelease() corev1.RBDPersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*RBDPersistentVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *RBDPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*RBDPersistentVolumeSourceDie) DieReleaseYAML ¶
func (d *RBDPersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*RBDPersistentVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *RBDPersistentVolumeSourceDie) DieSeal() *RBDPersistentVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*RBDPersistentVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *RBDPersistentVolumeSourceDie) DieSealFeed(r corev1.RBDPersistentVolumeSource) *RBDPersistentVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*RBDPersistentVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *RBDPersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.RBDPersistentVolumeSource) *RBDPersistentVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*RBDPersistentVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *RBDPersistentVolumeSourceDie) DieSealRelease() corev1.RBDPersistentVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*RBDPersistentVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *RBDPersistentVolumeSourceDie) DieSealReleasePtr() *corev1.RBDPersistentVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
SecretRefDie mutates SecretRef as a die.
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
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) DieDiff ¶ added in v0.13.0
func (d *RBDVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*RBDVolumeSourceDie) DieFeed ¶
func (d *RBDVolumeSourceDie) DieFeed(r corev1.RBDVolumeSource) *RBDVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*RBDVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *RBDVolumeSourceDie) DieFeedYAML(y []byte) *RBDVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*RBDVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *RBDVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*RBDVolumeSourceDie) DieRelease ¶
func (d *RBDVolumeSourceDie) DieRelease() corev1.RBDVolumeSource
DieRelease returns the resource managed by the die.
func (*RBDVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *RBDVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*RBDVolumeSourceDie) DieReleaseYAML ¶
func (d *RBDVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*RBDVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *RBDVolumeSourceDie) DieSeal() *RBDVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*RBDVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *RBDVolumeSourceDie) DieSealFeed(r corev1.RBDVolumeSource) *RBDVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*RBDVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *RBDVolumeSourceDie) DieSealFeedPtr(r *corev1.RBDVolumeSource) *RBDVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*RBDVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *RBDVolumeSourceDie) DieSealRelease() corev1.RBDVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*RBDVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *RBDVolumeSourceDie) DieSealReleasePtr() *corev1.RBDVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
SecretRefDie mutates SecretRef as a die.
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
type ReplicationControllerDie ¶
type ReplicationControllerDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*ReplicationControllerDie) APIVersion ¶
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 ¶
func (d *ReplicationControllerDie) DeepCopy() *ReplicationControllerDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ReplicationControllerDie) DeepCopyObject ¶
func (d *ReplicationControllerDie) DeepCopyObject() runtime.Object
func (*ReplicationControllerDie) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *ReplicationControllerDie) DieDefaultTypeMetadata() *ReplicationControllerDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "ReplicationController" respectively.
func (*ReplicationControllerDie) DieDiff ¶ added in v0.13.0
func (d *ReplicationControllerDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ReplicationControllerDie) DieFeed ¶
func (d *ReplicationControllerDie) DieFeed(r corev1.ReplicationController) *ReplicationControllerDie
DieFeed returns a new die with the provided resource.
func (*ReplicationControllerDie) DieFeedJSON ¶
func (d *ReplicationControllerDie) DieFeedJSON(j []byte) *ReplicationControllerDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ReplicationControllerDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *ReplicationControllerDie) DieFeedYAML(y []byte) *ReplicationControllerDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ReplicationControllerDie) DieFeedYAMLFile ¶
func (d *ReplicationControllerDie) DieFeedYAMLFile(name string) *ReplicationControllerDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ReplicationControllerDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *ReplicationControllerDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ReplicationControllerDie) DieRelease ¶
func (d *ReplicationControllerDie) DieRelease() corev1.ReplicationController
DieRelease returns the resource managed by the die.
func (*ReplicationControllerDie) DieReleaseJSON ¶
func (d *ReplicationControllerDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ReplicationControllerDie) DieReleasePtr ¶
func (d *ReplicationControllerDie) DieReleasePtr() *corev1.ReplicationController
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ReplicationControllerDie) DieReleaseRawExtension ¶
func (d *ReplicationControllerDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ReplicationControllerDie) DieReleaseUnstructured ¶
func (d *ReplicationControllerDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*ReplicationControllerDie) DieReleaseYAML ¶
func (d *ReplicationControllerDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ReplicationControllerDie) DieSeal ¶ added in v0.13.0
func (d *ReplicationControllerDie) DieSeal() *ReplicationControllerDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ReplicationControllerDie) DieSealFeed ¶ added in v0.13.0
func (d *ReplicationControllerDie) DieSealFeed(r corev1.ReplicationController) *ReplicationControllerDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ReplicationControllerDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ReplicationControllerDie) DieSealFeedPtr(r *corev1.ReplicationController) *ReplicationControllerDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ReplicationControllerDie) DieSealRelease ¶ added in v0.13.0
func (d *ReplicationControllerDie) DieSealRelease() corev1.ReplicationController
DieSealRelease returns the sealed resource managed by the die.
func (*ReplicationControllerDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ReplicationControllerDie) DieSealReleasePtr() *corev1.ReplicationController
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ReplicationControllerDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
func (d *ReplicationControllerDie) GetObjectKind() schema.ObjectKind
func (*ReplicationControllerDie) Kind ¶
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 ¶
func (d *ReplicationControllerDie) MarshalJSON() ([]byte, error)
func (*ReplicationControllerDie) Metadata ¶ added in v0.13.0
func (d *ReplicationControllerDie) Metadata(v apismetav1.ObjectMeta) *ReplicationControllerDie
Metadata standard object's metadata.
func (*ReplicationControllerDie) MetadataDie ¶
func (d *ReplicationControllerDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ReplicationControllerDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*ReplicationControllerDie) Spec ¶
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 ¶
func (d *ReplicationControllerDie) SpecDie(fn func(d *ReplicationControllerSpecDie)) *ReplicationControllerDie
SpecDie stamps the resource's spec field with a mutable die.
func (*ReplicationControllerDie) Status ¶
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 ¶
func (d *ReplicationControllerDie) StatusDie(fn func(d *ReplicationControllerStatusDie)) *ReplicationControllerDie
StatusDie stamps the resource's status field with a mutable die.
func (*ReplicationControllerDie) TypeMetadata ¶ added in v0.13.0
func (d *ReplicationControllerDie) TypeMetadata(v apismetav1.TypeMeta) *ReplicationControllerDie
TypeMetadata standard object's type metadata.
func (*ReplicationControllerDie) TypeMetadataDie ¶ added in v0.13.0
func (d *ReplicationControllerDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *ReplicationControllerDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*ReplicationControllerDie) UnmarshalJSON ¶
func (d *ReplicationControllerDie) UnmarshalJSON(b []byte) error
type ReplicationControllerSpecDie ¶
type ReplicationControllerSpecDie struct {
// contains filtered or unexported fields
}
func (*ReplicationControllerSpecDie) DeepCopy ¶
func (d *ReplicationControllerSpecDie) DeepCopy() *ReplicationControllerSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ReplicationControllerSpecDie) DieDiff ¶ added in v0.13.0
func (d *ReplicationControllerSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ReplicationControllerSpecDie) DieFeed ¶
func (d *ReplicationControllerSpecDie) DieFeed(r corev1.ReplicationControllerSpec) *ReplicationControllerSpecDie
DieFeed returns a new die with the provided resource.
func (*ReplicationControllerSpecDie) DieFeedJSON ¶
func (d *ReplicationControllerSpecDie) DieFeedJSON(j []byte) *ReplicationControllerSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ReplicationControllerSpecDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *ReplicationControllerSpecDie) DieFeedYAML(y []byte) *ReplicationControllerSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ReplicationControllerSpecDie) DieFeedYAMLFile ¶
func (d *ReplicationControllerSpecDie) DieFeedYAMLFile(name string) *ReplicationControllerSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ReplicationControllerSpecDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *ReplicationControllerSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ReplicationControllerSpecDie) DieRelease ¶
func (d *ReplicationControllerSpecDie) DieRelease() corev1.ReplicationControllerSpec
DieRelease returns the resource managed by the die.
func (*ReplicationControllerSpecDie) DieReleaseJSON ¶
func (d *ReplicationControllerSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ReplicationControllerSpecDie) DieReleasePtr ¶
func (d *ReplicationControllerSpecDie) DieReleasePtr() *corev1.ReplicationControllerSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ReplicationControllerSpecDie) DieReleaseRawExtension ¶
func (d *ReplicationControllerSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ReplicationControllerSpecDie) DieReleaseYAML ¶
func (d *ReplicationControllerSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ReplicationControllerSpecDie) DieSeal ¶ added in v0.13.0
func (d *ReplicationControllerSpecDie) DieSeal() *ReplicationControllerSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ReplicationControllerSpecDie) DieSealFeed ¶ added in v0.13.0
func (d *ReplicationControllerSpecDie) DieSealFeed(r corev1.ReplicationControllerSpec) *ReplicationControllerSpecDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ReplicationControllerSpecDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ReplicationControllerSpecDie) DieSealFeedPtr(r *corev1.ReplicationControllerSpec) *ReplicationControllerSpecDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ReplicationControllerSpecDie) DieSealRelease ¶ added in v0.13.0
func (d *ReplicationControllerSpecDie) DieSealRelease() corev1.ReplicationControllerSpec
DieSealRelease returns the sealed resource managed by the die.
func (*ReplicationControllerSpecDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ReplicationControllerSpecDie) DieSealReleasePtr() *corev1.ReplicationControllerSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ReplicationControllerSpecDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (d *ReplicationControllerSpecDie) TemplateDie(fn func(d *PodTemplateSpecDie)) *ReplicationControllerSpecDie
TemplateDie mutates Template as a die.
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
type ReplicationControllerStatusDie ¶
type ReplicationControllerStatusDie struct {
// contains filtered or unexported fields
}
func (*ReplicationControllerStatusDie) AvailableReplicas ¶
func (d *ReplicationControllerStatusDie) AvailableReplicas(v int32) *ReplicationControllerStatusDie
The number of available replicas (ready for at least minReadySeconds) for this replication controller.
func (*ReplicationControllerStatusDie) Conditions ¶
func (d *ReplicationControllerStatusDie) Conditions(v ...corev1.ReplicationControllerCondition) *ReplicationControllerStatusDie
Represents the latest available observations of a replication controller's current state.
func (*ReplicationControllerStatusDie) ConditionsDie ¶
func (d *ReplicationControllerStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *ReplicationControllerStatusDie
func (*ReplicationControllerStatusDie) DeepCopy ¶
func (d *ReplicationControllerStatusDie) DeepCopy() *ReplicationControllerStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ReplicationControllerStatusDie) DieDiff ¶ added in v0.13.0
func (d *ReplicationControllerStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ReplicationControllerStatusDie) DieFeed ¶
func (d *ReplicationControllerStatusDie) DieFeed(r corev1.ReplicationControllerStatus) *ReplicationControllerStatusDie
DieFeed returns a new die with the provided resource.
func (*ReplicationControllerStatusDie) DieFeedJSON ¶
func (d *ReplicationControllerStatusDie) DieFeedJSON(j []byte) *ReplicationControllerStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ReplicationControllerStatusDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *ReplicationControllerStatusDie) DieFeedYAML(y []byte) *ReplicationControllerStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ReplicationControllerStatusDie) DieFeedYAMLFile ¶
func (d *ReplicationControllerStatusDie) DieFeedYAMLFile(name string) *ReplicationControllerStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ReplicationControllerStatusDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *ReplicationControllerStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ReplicationControllerStatusDie) DieRelease ¶
func (d *ReplicationControllerStatusDie) DieRelease() corev1.ReplicationControllerStatus
DieRelease returns the resource managed by the die.
func (*ReplicationControllerStatusDie) DieReleaseJSON ¶
func (d *ReplicationControllerStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ReplicationControllerStatusDie) DieReleasePtr ¶
func (d *ReplicationControllerStatusDie) DieReleasePtr() *corev1.ReplicationControllerStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ReplicationControllerStatusDie) DieReleaseRawExtension ¶
func (d *ReplicationControllerStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ReplicationControllerStatusDie) DieReleaseYAML ¶
func (d *ReplicationControllerStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ReplicationControllerStatusDie) DieSeal ¶ added in v0.13.0
func (d *ReplicationControllerStatusDie) DieSeal() *ReplicationControllerStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ReplicationControllerStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *ReplicationControllerStatusDie) DieSealFeed(r corev1.ReplicationControllerStatus) *ReplicationControllerStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ReplicationControllerStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ReplicationControllerStatusDie) DieSealFeedPtr(r *corev1.ReplicationControllerStatus) *ReplicationControllerStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ReplicationControllerStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *ReplicationControllerStatusDie) DieSealRelease() corev1.ReplicationControllerStatus
DieSealRelease returns the sealed resource managed by the die.
func (*ReplicationControllerStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ReplicationControllerStatusDie) DieSealReleasePtr() *corev1.ReplicationControllerStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ReplicationControllerStatusDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (d *ReplicationControllerStatusDie) ObservedGeneration(v int64) *ReplicationControllerStatusDie
ObservedGeneration reflects the generation of the most recently observed replication controller.
func (*ReplicationControllerStatusDie) ReadyReplicas ¶
func (d *ReplicationControllerStatusDie) ReadyReplicas(v int32) *ReplicationControllerStatusDie
The number of ready replicas for this replication controller.
func (*ReplicationControllerStatusDie) Replicas ¶
func (d *ReplicationControllerStatusDie) Replicas(v int32) *ReplicationControllerStatusDie
Replicas is the most recently observed number of replicas.
type ResourceClaimDie ¶
type ResourceClaimDie struct {
// contains filtered or unexported fields
}
func (*ResourceClaimDie) DeepCopy ¶
func (d *ResourceClaimDie) DeepCopy() *ResourceClaimDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ResourceClaimDie) DieDiff ¶ added in v0.13.0
func (d *ResourceClaimDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ResourceClaimDie) DieFeed ¶
func (d *ResourceClaimDie) DieFeed(r corev1.ResourceClaim) *ResourceClaimDie
DieFeed returns a new die with the provided resource.
func (*ResourceClaimDie) DieFeedJSON ¶
func (d *ResourceClaimDie) DieFeedJSON(j []byte) *ResourceClaimDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ResourceClaimDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *ResourceClaimDie) DieFeedYAML(y []byte) *ResourceClaimDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ResourceClaimDie) DieFeedYAMLFile ¶
func (d *ResourceClaimDie) DieFeedYAMLFile(name string) *ResourceClaimDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ResourceClaimDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *ResourceClaimDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ResourceClaimDie) DieRelease ¶
func (d *ResourceClaimDie) DieRelease() corev1.ResourceClaim
DieRelease returns the resource managed by the die.
func (*ResourceClaimDie) DieReleaseJSON ¶
func (d *ResourceClaimDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ResourceClaimDie) DieReleasePtr ¶
func (d *ResourceClaimDie) DieReleasePtr() *corev1.ResourceClaim
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ResourceClaimDie) DieReleaseRawExtension ¶
func (d *ResourceClaimDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceClaimDie) DieReleaseYAML ¶
func (d *ResourceClaimDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ResourceClaimDie) DieSeal ¶ added in v0.13.0
func (d *ResourceClaimDie) DieSeal() *ResourceClaimDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ResourceClaimDie) DieSealFeed ¶ added in v0.13.0
func (d *ResourceClaimDie) DieSealFeed(r corev1.ResourceClaim) *ResourceClaimDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ResourceClaimDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ResourceClaimDie) DieSealFeedPtr(r *corev1.ResourceClaim) *ResourceClaimDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ResourceClaimDie) DieSealRelease ¶ added in v0.13.0
func (d *ResourceClaimDie) DieSealRelease() corev1.ResourceClaim
DieSealRelease returns the sealed resource managed by the die.
func (*ResourceClaimDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ResourceClaimDie) DieSealReleasePtr() *corev1.ResourceClaim
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ResourceClaimDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
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.
func (*ResourceClaimDie) Request ¶ added in v0.14.0
func (d *ResourceClaimDie) Request(v string) *ResourceClaimDie
Request is the name chosen for a request in the referenced claim.
If empty, everything from the claim is made available, otherwise ¶
only the result of this request.
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) DieDiff ¶ added in v0.13.0
func (d *ResourceFieldSelectorDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ResourceFieldSelectorDie) DieFeed ¶
func (d *ResourceFieldSelectorDie) DieFeed(r corev1.ResourceFieldSelector) *ResourceFieldSelectorDie
DieFeed returns a new die with the provided resource.
func (*ResourceFieldSelectorDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ResourceFieldSelectorDie) DieFeedYAML(y []byte) *ResourceFieldSelectorDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ResourceFieldSelectorDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ResourceFieldSelectorDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ResourceFieldSelectorDie) DieRelease ¶
func (d *ResourceFieldSelectorDie) DieRelease() corev1.ResourceFieldSelector
DieRelease returns the resource managed by the die.
func (*ResourceFieldSelectorDie) DieReleaseJSON ¶
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 ¶
func (d *ResourceFieldSelectorDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceFieldSelectorDie) DieReleaseYAML ¶
func (d *ResourceFieldSelectorDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ResourceFieldSelectorDie) DieSeal ¶ added in v0.13.0
func (d *ResourceFieldSelectorDie) DieSeal() *ResourceFieldSelectorDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ResourceFieldSelectorDie) DieSealFeed ¶ added in v0.13.0
func (d *ResourceFieldSelectorDie) DieSealFeed(r corev1.ResourceFieldSelector) *ResourceFieldSelectorDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ResourceFieldSelectorDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ResourceFieldSelectorDie) DieSealFeedPtr(r *corev1.ResourceFieldSelector) *ResourceFieldSelectorDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ResourceFieldSelectorDie) DieSealRelease ¶ added in v0.13.0
func (d *ResourceFieldSelectorDie) DieSealRelease() corev1.ResourceFieldSelector
DieSealRelease returns the sealed resource managed by the die.
func (*ResourceFieldSelectorDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ResourceFieldSelectorDie) DieSealReleasePtr() *corev1.ResourceFieldSelector
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DivisorString ¶ added in v0.13.0
func (d *ResourceFieldSelectorDie) DivisorString(s string) *ResourceFieldSelectorDie
DivisorString sets Divisor by parsing the string as a Quantity. Panics if the string is not parsable.
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 ResourceHealthDie ¶ added in v0.14.0
type ResourceHealthDie struct {
// contains filtered or unexported fields
}
func (*ResourceHealthDie) DeepCopy ¶ added in v0.14.0
func (d *ResourceHealthDie) DeepCopy() *ResourceHealthDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ResourceHealthDie) DieDiff ¶ added in v0.14.0
func (d *ResourceHealthDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ResourceHealthDie) DieFeed ¶ added in v0.14.0
func (d *ResourceHealthDie) DieFeed(r corev1.ResourceHealth) *ResourceHealthDie
DieFeed returns a new die with the provided resource.
func (*ResourceHealthDie) DieFeedJSON ¶ added in v0.14.0
func (d *ResourceHealthDie) DieFeedJSON(j []byte) *ResourceHealthDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ResourceHealthDie) DieFeedPtr ¶ added in v0.14.0
func (d *ResourceHealthDie) DieFeedPtr(r *corev1.ResourceHealth) *ResourceHealthDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ResourceHealthDie) DieFeedRawExtension ¶ added in v0.14.0
func (d *ResourceHealthDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourceHealthDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceHealthDie) DieFeedYAML ¶ added in v0.14.0
func (d *ResourceHealthDie) DieFeedYAML(y []byte) *ResourceHealthDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ResourceHealthDie) DieFeedYAMLFile ¶ added in v0.14.0
func (d *ResourceHealthDie) DieFeedYAMLFile(name string) *ResourceHealthDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ResourceHealthDie) DieImmutable ¶ added in v0.14.0
func (d *ResourceHealthDie) DieImmutable(immutable bool) *ResourceHealthDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ResourceHealthDie) DiePatch ¶ added in v0.14.0
func (d *ResourceHealthDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ResourceHealthDie) DieRelease ¶ added in v0.14.0
func (d *ResourceHealthDie) DieRelease() corev1.ResourceHealth
DieRelease returns the resource managed by the die.
func (*ResourceHealthDie) DieReleaseJSON ¶ added in v0.14.0
func (d *ResourceHealthDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ResourceHealthDie) DieReleasePtr ¶ added in v0.14.0
func (d *ResourceHealthDie) DieReleasePtr() *corev1.ResourceHealth
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ResourceHealthDie) DieReleaseRawExtension ¶ added in v0.14.0
func (d *ResourceHealthDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceHealthDie) DieReleaseYAML ¶ added in v0.14.0
func (d *ResourceHealthDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ResourceHealthDie) DieSeal ¶ added in v0.14.0
func (d *ResourceHealthDie) DieSeal() *ResourceHealthDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ResourceHealthDie) DieSealFeed ¶ added in v0.14.0
func (d *ResourceHealthDie) DieSealFeed(r corev1.ResourceHealth) *ResourceHealthDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ResourceHealthDie) DieSealFeedPtr ¶ added in v0.14.0
func (d *ResourceHealthDie) DieSealFeedPtr(r *corev1.ResourceHealth) *ResourceHealthDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ResourceHealthDie) DieSealRelease ¶ added in v0.14.0
func (d *ResourceHealthDie) DieSealRelease() corev1.ResourceHealth
DieSealRelease returns the sealed resource managed by the die.
func (*ResourceHealthDie) DieSealReleasePtr ¶ added in v0.14.0
func (d *ResourceHealthDie) DieSealReleasePtr() *corev1.ResourceHealth
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ResourceHealthDie) DieStamp ¶ added in v0.14.0
func (d *ResourceHealthDie) DieStamp(fn func(r *corev1.ResourceHealth)) *ResourceHealthDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ResourceHealthDie) DieStampAt ¶ added in v0.14.0
func (d *ResourceHealthDie) DieStampAt(jp string, fn interface{}) *ResourceHealthDie
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 (*ResourceHealthDie) DieWith ¶ added in v0.14.0
func (d *ResourceHealthDie) DieWith(fns ...func(d *ResourceHealthDie)) *ResourceHealthDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ResourceHealthDie) Health ¶ added in v0.14.0
func (d *ResourceHealthDie) Health(v corev1.ResourceHealthStatus) *ResourceHealthDie
Health of the resource.
can be one of:
- Healthy: operates as normal
- Unhealthy: reported unhealthy. We consider this a temporary health issue
since we do not have a mechanism today to distinguish
temporary and permanent issues.
- Unknown: The status cannot be determined.
For example, Device Plugin got unregistered and hasn't been re-registered since.
In future we may want to introduce the PermanentlyUnhealthy Status.
func (*ResourceHealthDie) ResourceID ¶ added in v0.14.0
func (d *ResourceHealthDie) ResourceID(v corev1.ResourceID) *ResourceHealthDie
ResourceID is the unique identifier of the resource. See the ResourceID type for more information.
type ResourceQuotaDie ¶
type ResourceQuotaDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*ResourceQuotaDie) APIVersion ¶
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) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *ResourceQuotaDie) DieDefaultTypeMetadata() *ResourceQuotaDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "ResourceQuota" respectively.
func (*ResourceQuotaDie) DieDiff ¶ added in v0.13.0
func (d *ResourceQuotaDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ResourceQuotaDie) DieFeed ¶
func (d *ResourceQuotaDie) DieFeed(r corev1.ResourceQuota) *ResourceQuotaDie
DieFeed returns a new die with the provided resource.
func (*ResourceQuotaDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ResourceQuotaDie) DieFeedYAML(y []byte) *ResourceQuotaDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ResourceQuotaDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ResourceQuotaDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ResourceQuotaDie) DieRelease ¶
func (d *ResourceQuotaDie) DieRelease() corev1.ResourceQuota
DieRelease returns the resource managed by the die.
func (*ResourceQuotaDie) DieReleaseJSON ¶
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 ¶
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 ¶
func (d *ResourceQuotaDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ResourceQuotaDie) DieSeal ¶ added in v0.13.0
func (d *ResourceQuotaDie) DieSeal() *ResourceQuotaDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ResourceQuotaDie) DieSealFeed ¶ added in v0.13.0
func (d *ResourceQuotaDie) DieSealFeed(r corev1.ResourceQuota) *ResourceQuotaDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ResourceQuotaDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ResourceQuotaDie) DieSealFeedPtr(r *corev1.ResourceQuota) *ResourceQuotaDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ResourceQuotaDie) DieSealRelease ¶ added in v0.13.0
func (d *ResourceQuotaDie) DieSealRelease() corev1.ResourceQuota
DieSealRelease returns the sealed resource managed by the die.
func (*ResourceQuotaDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ResourceQuotaDie) DieSealReleasePtr() *corev1.ResourceQuota
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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) Metadata ¶ added in v0.13.0
func (d *ResourceQuotaDie) Metadata(v apismetav1.ObjectMeta) *ResourceQuotaDie
Metadata standard object's metadata.
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) TypeMetadata ¶ added in v0.13.0
func (d *ResourceQuotaDie) TypeMetadata(v apismetav1.TypeMeta) *ResourceQuotaDie
TypeMetadata standard object's type metadata.
func (*ResourceQuotaDie) TypeMetadataDie ¶ added in v0.13.0
func (d *ResourceQuotaDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *ResourceQuotaDie
TypeMetadataDie stamps the resource's TypeMeta 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
AddHard sets a single quantity on the Hard resource list.
hard is the set of desired hard limits for each named resource.
More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
func (*ResourceQuotaSpecDie) AddHardString ¶
func (d *ResourceQuotaSpecDie) AddHardString(name corev1.ResourceName, quantity string) *ResourceQuotaSpecDie
AddHardString parses the quantity setting a single value on the Hard resource list. Panics if the string is not parsable.
hard is the set of desired hard limits for each named resource.
More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
func (*ResourceQuotaSpecDie) DeepCopy ¶
func (d *ResourceQuotaSpecDie) DeepCopy() *ResourceQuotaSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ResourceQuotaSpecDie) DieDiff ¶ added in v0.13.0
func (d *ResourceQuotaSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ResourceQuotaSpecDie) DieFeed ¶
func (d *ResourceQuotaSpecDie) DieFeed(r corev1.ResourceQuotaSpec) *ResourceQuotaSpecDie
DieFeed returns a new die with the provided resource.
func (*ResourceQuotaSpecDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ResourceQuotaSpecDie) DieFeedYAML(y []byte) *ResourceQuotaSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ResourceQuotaSpecDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ResourceQuotaSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ResourceQuotaSpecDie) DieRelease ¶
func (d *ResourceQuotaSpecDie) DieRelease() corev1.ResourceQuotaSpec
DieRelease returns the resource managed by the die.
func (*ResourceQuotaSpecDie) DieReleaseJSON ¶
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 ¶
func (d *ResourceQuotaSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceQuotaSpecDie) DieReleaseYAML ¶
func (d *ResourceQuotaSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ResourceQuotaSpecDie) DieSeal ¶ added in v0.13.0
func (d *ResourceQuotaSpecDie) DieSeal() *ResourceQuotaSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ResourceQuotaSpecDie) DieSealFeed ¶ added in v0.13.0
func (d *ResourceQuotaSpecDie) DieSealFeed(r corev1.ResourceQuotaSpec) *ResourceQuotaSpecDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ResourceQuotaSpecDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ResourceQuotaSpecDie) DieSealFeedPtr(r *corev1.ResourceQuotaSpec) *ResourceQuotaSpecDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ResourceQuotaSpecDie) DieSealRelease ¶ added in v0.13.0
func (d *ResourceQuotaSpecDie) DieSealRelease() corev1.ResourceQuotaSpec
DieSealRelease returns the sealed resource managed by the die.
func (*ResourceQuotaSpecDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ResourceQuotaSpecDie) DieSealReleasePtr() *corev1.ResourceQuotaSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
ScopeSelectorDie mutates ScopeSelector as a die.
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) 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
AddHard sets a single quantity on the Hard resource list.
Hard is the set of enforced hard limits for each named resource.
More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
func (*ResourceQuotaStatusDie) AddHardString ¶
func (d *ResourceQuotaStatusDie) AddHardString(name corev1.ResourceName, quantity string) *ResourceQuotaStatusDie
AddHardString parses the quantity setting a single value on the Hard resource list. Panics if the string is not parsable.
Hard is the set of enforced hard limits for each named resource.
More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
func (*ResourceQuotaStatusDie) AddUsed ¶
func (d *ResourceQuotaStatusDie) AddUsed(name corev1.ResourceName, quantity resource.Quantity) *ResourceQuotaStatusDie
AddUsed sets a single quantity on the Used resource list.
Used is the current observed total usage of the resource in the namespace.
func (*ResourceQuotaStatusDie) AddUsedString ¶
func (d *ResourceQuotaStatusDie) AddUsedString(name corev1.ResourceName, quantity string) *ResourceQuotaStatusDie
AddUsedString parses the quantity setting a single value on the Used resource list. Panics if the string is not parsable.
Used is the current observed total usage of the resource in the namespace.
func (*ResourceQuotaStatusDie) DeepCopy ¶
func (d *ResourceQuotaStatusDie) DeepCopy() *ResourceQuotaStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ResourceQuotaStatusDie) DieDiff ¶ added in v0.13.0
func (d *ResourceQuotaStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ResourceQuotaStatusDie) DieFeed ¶
func (d *ResourceQuotaStatusDie) DieFeed(r corev1.ResourceQuotaStatus) *ResourceQuotaStatusDie
DieFeed returns a new die with the provided resource.
func (*ResourceQuotaStatusDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ResourceQuotaStatusDie) DieFeedYAML(y []byte) *ResourceQuotaStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ResourceQuotaStatusDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ResourceQuotaStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ResourceQuotaStatusDie) DieRelease ¶
func (d *ResourceQuotaStatusDie) DieRelease() corev1.ResourceQuotaStatus
DieRelease returns the resource managed by the die.
func (*ResourceQuotaStatusDie) DieReleaseJSON ¶
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 ¶
func (d *ResourceQuotaStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceQuotaStatusDie) DieReleaseYAML ¶
func (d *ResourceQuotaStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ResourceQuotaStatusDie) DieSeal ¶ added in v0.13.0
func (d *ResourceQuotaStatusDie) DieSeal() *ResourceQuotaStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ResourceQuotaStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *ResourceQuotaStatusDie) DieSealFeed(r corev1.ResourceQuotaStatus) *ResourceQuotaStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ResourceQuotaStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ResourceQuotaStatusDie) DieSealFeedPtr(r *corev1.ResourceQuotaStatus) *ResourceQuotaStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ResourceQuotaStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *ResourceQuotaStatusDie) DieSealRelease() corev1.ResourceQuotaStatus
DieSealRelease returns the sealed resource managed by the die.
func (*ResourceQuotaStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ResourceQuotaStatusDie) DieSealReleasePtr() *corev1.ResourceQuotaStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
AddLimit sets a single quantity on the Limits resource list.
Limits describes the maximum amount of compute resources allowed.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
func (*ResourceRequirementsDie) AddLimitString ¶
func (d *ResourceRequirementsDie) AddLimitString(name corev1.ResourceName, quantity string) *ResourceRequirementsDie
AddLimitString parses the quantity setting a single value on the Limits resource list. Panics if the string is not parsable.
Limits describes the maximum amount of compute resources allowed.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
func (*ResourceRequirementsDie) AddRequest ¶
func (d *ResourceRequirementsDie) AddRequest(name corev1.ResourceName, quantity resource.Quantity) *ResourceRequirementsDie
AddRequest sets a single quantity on the Requests resource list.
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/
func (*ResourceRequirementsDie) AddRequestString ¶
func (d *ResourceRequirementsDie) AddRequestString(name corev1.ResourceName, quantity string) *ResourceRequirementsDie
AddRequestString parses the quantity setting a single value on the Requests resource list. Panics if the string is not parsable.
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/
func (*ResourceRequirementsDie) ClaimDie ¶ added in v0.13.0
func (d *ResourceRequirementsDie) ClaimDie(v string, fn func(d *ResourceClaimDie)) *ResourceRequirementsDie
ClaimDie mutates a single item in Claims matched by the nested field Name, appending a new item if no match is found.
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) Claims ¶
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 ¶
func (d *ResourceRequirementsDie) ClaimsDie(v ...*ResourceClaimDie) *ResourceRequirementsDie
ClaimsDie replaces Claims by collecting the released value from each die passed.
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) DeepCopy ¶
func (d *ResourceRequirementsDie) DeepCopy() *ResourceRequirementsDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ResourceRequirementsDie) DieDiff ¶ added in v0.13.0
func (d *ResourceRequirementsDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ResourceRequirementsDie) DieFeed ¶
func (d *ResourceRequirementsDie) DieFeed(r corev1.ResourceRequirements) *ResourceRequirementsDie
DieFeed returns a new die with the provided resource.
func (*ResourceRequirementsDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ResourceRequirementsDie) DieFeedYAML(y []byte) *ResourceRequirementsDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ResourceRequirementsDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ResourceRequirementsDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ResourceRequirementsDie) DieRelease ¶
func (d *ResourceRequirementsDie) DieRelease() corev1.ResourceRequirements
DieRelease returns the resource managed by the die.
func (*ResourceRequirementsDie) DieReleaseJSON ¶
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 ¶
func (d *ResourceRequirementsDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceRequirementsDie) DieReleaseYAML ¶
func (d *ResourceRequirementsDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ResourceRequirementsDie) DieSeal ¶ added in v0.13.0
func (d *ResourceRequirementsDie) DieSeal() *ResourceRequirementsDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ResourceRequirementsDie) DieSealFeed ¶ added in v0.13.0
func (d *ResourceRequirementsDie) DieSealFeed(r corev1.ResourceRequirements) *ResourceRequirementsDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ResourceRequirementsDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ResourceRequirementsDie) DieSealFeedPtr(r *corev1.ResourceRequirements) *ResourceRequirementsDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ResourceRequirementsDie) DieSealRelease ¶ added in v0.13.0
func (d *ResourceRequirementsDie) DieSealRelease() corev1.ResourceRequirements
DieSealRelease returns the sealed resource managed by the die.
func (*ResourceRequirementsDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ResourceRequirementsDie) DieSealReleasePtr() *corev1.ResourceRequirements
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ResourceStatusDie ¶ added in v0.14.0
type ResourceStatusDie struct {
// contains filtered or unexported fields
}
func (*ResourceStatusDie) DeepCopy ¶ added in v0.14.0
func (d *ResourceStatusDie) DeepCopy() *ResourceStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ResourceStatusDie) DieDiff ¶ added in v0.14.0
func (d *ResourceStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ResourceStatusDie) DieFeed ¶ added in v0.14.0
func (d *ResourceStatusDie) DieFeed(r corev1.ResourceStatus) *ResourceStatusDie
DieFeed returns a new die with the provided resource.
func (*ResourceStatusDie) DieFeedJSON ¶ added in v0.14.0
func (d *ResourceStatusDie) DieFeedJSON(j []byte) *ResourceStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ResourceStatusDie) DieFeedPtr ¶ added in v0.14.0
func (d *ResourceStatusDie) DieFeedPtr(r *corev1.ResourceStatus) *ResourceStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ResourceStatusDie) DieFeedRawExtension ¶ added in v0.14.0
func (d *ResourceStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourceStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceStatusDie) DieFeedYAML ¶ added in v0.14.0
func (d *ResourceStatusDie) DieFeedYAML(y []byte) *ResourceStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ResourceStatusDie) DieFeedYAMLFile ¶ added in v0.14.0
func (d *ResourceStatusDie) DieFeedYAMLFile(name string) *ResourceStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ResourceStatusDie) DieImmutable ¶ added in v0.14.0
func (d *ResourceStatusDie) DieImmutable(immutable bool) *ResourceStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ResourceStatusDie) DiePatch ¶ added in v0.14.0
func (d *ResourceStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ResourceStatusDie) DieRelease ¶ added in v0.14.0
func (d *ResourceStatusDie) DieRelease() corev1.ResourceStatus
DieRelease returns the resource managed by the die.
func (*ResourceStatusDie) DieReleaseJSON ¶ added in v0.14.0
func (d *ResourceStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ResourceStatusDie) DieReleasePtr ¶ added in v0.14.0
func (d *ResourceStatusDie) DieReleasePtr() *corev1.ResourceStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ResourceStatusDie) DieReleaseRawExtension ¶ added in v0.14.0
func (d *ResourceStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourceStatusDie) DieReleaseYAML ¶ added in v0.14.0
func (d *ResourceStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ResourceStatusDie) DieSeal ¶ added in v0.14.0
func (d *ResourceStatusDie) DieSeal() *ResourceStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ResourceStatusDie) DieSealFeed ¶ added in v0.14.0
func (d *ResourceStatusDie) DieSealFeed(r corev1.ResourceStatus) *ResourceStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ResourceStatusDie) DieSealFeedPtr ¶ added in v0.14.0
func (d *ResourceStatusDie) DieSealFeedPtr(r *corev1.ResourceStatus) *ResourceStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ResourceStatusDie) DieSealRelease ¶ added in v0.14.0
func (d *ResourceStatusDie) DieSealRelease() corev1.ResourceStatus
DieSealRelease returns the sealed resource managed by the die.
func (*ResourceStatusDie) DieSealReleasePtr ¶ added in v0.14.0
func (d *ResourceStatusDie) DieSealReleasePtr() *corev1.ResourceStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ResourceStatusDie) DieStamp ¶ added in v0.14.0
func (d *ResourceStatusDie) DieStamp(fn func(r *corev1.ResourceStatus)) *ResourceStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ResourceStatusDie) DieStampAt ¶ added in v0.14.0
func (d *ResourceStatusDie) DieStampAt(jp string, fn interface{}) *ResourceStatusDie
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 (*ResourceStatusDie) DieWith ¶ added in v0.14.0
func (d *ResourceStatusDie) DieWith(fns ...func(d *ResourceStatusDie)) *ResourceStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ResourceStatusDie) Name ¶ added in v0.14.0
func (d *ResourceStatusDie) Name(v corev1.ResourceName) *ResourceStatusDie
Name of the resource. Must be unique within the pod and match one of the resources from the pod spec.
func (*ResourceStatusDie) ResourceDie ¶ added in v0.14.0
func (d *ResourceStatusDie) ResourceDie(v corev1.ResourceID, fn func(d *ResourceHealthDie)) *ResourceStatusDie
ResourceDie mutates a single item in Resources matched by the nested field ResourceID, appending a new item if no match is found.
List of unique Resources health. Each element in the list contains an unique resource ID and resource health.
At a minimum, ResourceID must uniquely identify the Resource ¶
allocated to the Pod on the Node for the lifetime of a Pod.
See ResourceID type for it's definition.
func (*ResourceStatusDie) Resources ¶ added in v0.14.0
func (d *ResourceStatusDie) Resources(v ...corev1.ResourceHealth) *ResourceStatusDie
List of unique Resources health. Each element in the list contains an unique resource ID and resource health.
At a minimum, ResourceID must uniquely identify the Resource ¶
allocated to the Pod on the Node for the lifetime of a Pod.
See ResourceID type for it's definition.
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) DieDiff ¶ added in v0.13.0
func (d *SELinuxOptionsDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*SELinuxOptionsDie) DieFeed ¶
func (d *SELinuxOptionsDie) DieFeed(r corev1.SELinuxOptions) *SELinuxOptionsDie
DieFeed returns a new die with the provided resource.
func (*SELinuxOptionsDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *SELinuxOptionsDie) DieFeedYAML(y []byte) *SELinuxOptionsDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SELinuxOptionsDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *SELinuxOptionsDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*SELinuxOptionsDie) DieRelease ¶
func (d *SELinuxOptionsDie) DieRelease() corev1.SELinuxOptions
DieRelease returns the resource managed by the die.
func (*SELinuxOptionsDie) DieReleaseJSON ¶
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 ¶
func (d *SELinuxOptionsDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SELinuxOptionsDie) DieReleaseYAML ¶
func (d *SELinuxOptionsDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SELinuxOptionsDie) DieSeal ¶ added in v0.13.0
func (d *SELinuxOptionsDie) DieSeal() *SELinuxOptionsDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*SELinuxOptionsDie) DieSealFeed ¶ added in v0.13.0
func (d *SELinuxOptionsDie) DieSealFeed(r corev1.SELinuxOptions) *SELinuxOptionsDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*SELinuxOptionsDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *SELinuxOptionsDie) DieSealFeedPtr(r *corev1.SELinuxOptions) *SELinuxOptionsDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*SELinuxOptionsDie) DieSealRelease ¶ added in v0.13.0
func (d *SELinuxOptionsDie) DieSealRelease() corev1.SELinuxOptions
DieSealRelease returns the sealed resource managed by the die.
func (*SELinuxOptionsDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *SELinuxOptionsDie) DieSealReleasePtr() *corev1.SELinuxOptions
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *ScaleIOPersistentVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ScaleIOPersistentVolumeSourceDie) DieFeed ¶
func (d *ScaleIOPersistentVolumeSourceDie) DieFeed(r corev1.ScaleIOPersistentVolumeSource) *ScaleIOPersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*ScaleIOPersistentVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ScaleIOPersistentVolumeSourceDie) DieFeedYAML(y []byte) *ScaleIOPersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ScaleIOPersistentVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ScaleIOPersistentVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ScaleIOPersistentVolumeSourceDie) DieRelease ¶
func (d *ScaleIOPersistentVolumeSourceDie) DieRelease() corev1.ScaleIOPersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*ScaleIOPersistentVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *ScaleIOPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ScaleIOPersistentVolumeSourceDie) DieReleaseYAML ¶
func (d *ScaleIOPersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ScaleIOPersistentVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *ScaleIOPersistentVolumeSourceDie) DieSeal() *ScaleIOPersistentVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ScaleIOPersistentVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *ScaleIOPersistentVolumeSourceDie) DieSealFeed(r corev1.ScaleIOPersistentVolumeSource) *ScaleIOPersistentVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ScaleIOPersistentVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ScaleIOPersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.ScaleIOPersistentVolumeSource) *ScaleIOPersistentVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ScaleIOPersistentVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *ScaleIOPersistentVolumeSourceDie) DieSealRelease() corev1.ScaleIOPersistentVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*ScaleIOPersistentVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ScaleIOPersistentVolumeSourceDie) DieSealReleasePtr() *corev1.ScaleIOPersistentVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
SecretRefDie mutates SecretRef as a die.
secretRef references to the secret for ScaleIO user and other
sensitive information. If this is not provided, Login operation will fail.
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) DieDiff ¶ added in v0.13.0
func (d *ScaleIOVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ScaleIOVolumeSourceDie) DieFeed ¶
func (d *ScaleIOVolumeSourceDie) DieFeed(r corev1.ScaleIOVolumeSource) *ScaleIOVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*ScaleIOVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ScaleIOVolumeSourceDie) DieFeedYAML(y []byte) *ScaleIOVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ScaleIOVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ScaleIOVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ScaleIOVolumeSourceDie) DieRelease ¶
func (d *ScaleIOVolumeSourceDie) DieRelease() corev1.ScaleIOVolumeSource
DieRelease returns the resource managed by the die.
func (*ScaleIOVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *ScaleIOVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ScaleIOVolumeSourceDie) DieReleaseYAML ¶
func (d *ScaleIOVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ScaleIOVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *ScaleIOVolumeSourceDie) DieSeal() *ScaleIOVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ScaleIOVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *ScaleIOVolumeSourceDie) DieSealFeed(r corev1.ScaleIOVolumeSource) *ScaleIOVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ScaleIOVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ScaleIOVolumeSourceDie) DieSealFeedPtr(r *corev1.ScaleIOVolumeSource) *ScaleIOVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ScaleIOVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *ScaleIOVolumeSourceDie) DieSealRelease() corev1.ScaleIOVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*ScaleIOVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ScaleIOVolumeSourceDie) DieSealReleasePtr() *corev1.ScaleIOVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
SecretRefDie mutates SecretRef as a die.
secretRef references to the secret for ScaleIO user and other
sensitive information. If this is not provided, Login operation will fail.
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) DieDiff ¶ added in v0.13.0
func (d *ScopeSelectorDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ScopeSelectorDie) DieFeed ¶
func (d *ScopeSelectorDie) DieFeed(r corev1.ScopeSelector) *ScopeSelectorDie
DieFeed returns a new die with the provided resource.
func (*ScopeSelectorDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ScopeSelectorDie) DieFeedYAML(y []byte) *ScopeSelectorDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ScopeSelectorDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ScopeSelectorDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ScopeSelectorDie) DieRelease ¶
func (d *ScopeSelectorDie) DieRelease() corev1.ScopeSelector
DieRelease returns the resource managed by the die.
func (*ScopeSelectorDie) DieReleaseJSON ¶
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 ¶
func (d *ScopeSelectorDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ScopeSelectorDie) DieReleaseYAML ¶
func (d *ScopeSelectorDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ScopeSelectorDie) DieSeal ¶ added in v0.13.0
func (d *ScopeSelectorDie) DieSeal() *ScopeSelectorDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ScopeSelectorDie) DieSealFeed ¶ added in v0.13.0
func (d *ScopeSelectorDie) DieSealFeed(r corev1.ScopeSelector) *ScopeSelectorDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ScopeSelectorDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ScopeSelectorDie) DieSealFeedPtr(r *corev1.ScopeSelector) *ScopeSelectorDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ScopeSelectorDie) DieSealRelease ¶ added in v0.13.0
func (d *ScopeSelectorDie) DieSealRelease() corev1.ScopeSelector
DieSealRelease returns the sealed resource managed by the die.
func (*ScopeSelectorDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ScopeSelectorDie) DieSealReleasePtr() *corev1.ScopeSelector
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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(v corev1.ResourceQuotaScope, fn func(d *ScopedResourceSelectorRequirementDie)) *ScopeSelectorDie
MatchExpressionDie mutates a single item in MatchExpressions matched by the nested field ScopeName, appending a new item if no match is found.
A list of scope selector requirements by scope of the resources.
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) DieDiff ¶ added in v0.13.0
func (d *ScopedResourceSelectorRequirementDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ScopedResourceSelectorRequirementDie) DieFeed ¶
func (d *ScopedResourceSelectorRequirementDie) DieFeed(r corev1.ScopedResourceSelectorRequirement) *ScopedResourceSelectorRequirementDie
DieFeed returns a new die with the provided resource.
func (*ScopedResourceSelectorRequirementDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ScopedResourceSelectorRequirementDie) DieFeedYAML(y []byte) *ScopedResourceSelectorRequirementDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ScopedResourceSelectorRequirementDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ScopedResourceSelectorRequirementDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ScopedResourceSelectorRequirementDie) DieRelease ¶
func (d *ScopedResourceSelectorRequirementDie) DieRelease() corev1.ScopedResourceSelectorRequirement
DieRelease returns the resource managed by the die.
func (*ScopedResourceSelectorRequirementDie) DieReleaseJSON ¶
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 ¶
func (d *ScopedResourceSelectorRequirementDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ScopedResourceSelectorRequirementDie) DieReleaseYAML ¶
func (d *ScopedResourceSelectorRequirementDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ScopedResourceSelectorRequirementDie) DieSeal ¶ added in v0.13.0
func (d *ScopedResourceSelectorRequirementDie) DieSeal() *ScopedResourceSelectorRequirementDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ScopedResourceSelectorRequirementDie) DieSealFeed ¶ added in v0.13.0
func (d *ScopedResourceSelectorRequirementDie) DieSealFeed(r corev1.ScopedResourceSelectorRequirement) *ScopedResourceSelectorRequirementDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ScopedResourceSelectorRequirementDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ScopedResourceSelectorRequirementDie) DieSealFeedPtr(r *corev1.ScopedResourceSelectorRequirement) *ScopedResourceSelectorRequirementDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ScopedResourceSelectorRequirementDie) DieSealRelease ¶ added in v0.13.0
func (d *ScopedResourceSelectorRequirementDie) DieSealRelease() corev1.ScopedResourceSelectorRequirement
DieSealRelease returns the sealed resource managed by the die.
func (*ScopedResourceSelectorRequirementDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ScopedResourceSelectorRequirementDie) DieSealReleasePtr() *corev1.ScopedResourceSelectorRequirement
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *SeccompProfileDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*SeccompProfileDie) DieFeed ¶
func (d *SeccompProfileDie) DieFeed(r corev1.SeccompProfile) *SeccompProfileDie
DieFeed returns a new die with the provided resource.
func (*SeccompProfileDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *SeccompProfileDie) DieFeedYAML(y []byte) *SeccompProfileDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SeccompProfileDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *SeccompProfileDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*SeccompProfileDie) DieRelease ¶
func (d *SeccompProfileDie) DieRelease() corev1.SeccompProfile
DieRelease returns the resource managed by the die.
func (*SeccompProfileDie) DieReleaseJSON ¶
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 ¶
func (d *SeccompProfileDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SeccompProfileDie) DieReleaseYAML ¶
func (d *SeccompProfileDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SeccompProfileDie) DieSeal ¶ added in v0.13.0
func (d *SeccompProfileDie) DieSeal() *SeccompProfileDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*SeccompProfileDie) DieSealFeed ¶ added in v0.13.0
func (d *SeccompProfileDie) DieSealFeed(r corev1.SeccompProfile) *SeccompProfileDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*SeccompProfileDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *SeccompProfileDie) DieSealFeedPtr(r *corev1.SeccompProfile) *SeccompProfileDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*SeccompProfileDie) DieSealRelease ¶ added in v0.13.0
func (d *SeccompProfileDie) DieSealRelease() corev1.SeccompProfile
DieSealRelease returns the sealed resource managed by the die.
func (*SeccompProfileDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *SeccompProfileDie) DieSealReleasePtr() *corev1.SeccompProfile
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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) DieDefaultTypeMetadata ¶ added in v0.13.0
DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "Secret" respectively.
func (*SecretDie) DieDiff ¶ added in v0.13.0
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*SecretDie) DieFeedJSON ¶
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 ¶
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 ¶
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SecretDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
DiePatch generates a patch between the current value of the die and the sealed value.
func (*SecretDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*SecretDie) DieReleaseJSON ¶
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 ¶
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 ¶
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SecretDie) DieSeal ¶ added in v0.13.0
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*SecretDie) DieSealFeed ¶ added in v0.13.0
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*SecretDie) DieSealFeedPtr ¶ added in v0.13.0
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*SecretDie) DieSealRelease ¶ added in v0.13.0
DieSealRelease returns the sealed resource managed by the die.
func (*SecretDie) DieSealReleasePtr ¶ added in v0.13.0
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*SecretDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*SecretDie) DieStampAt ¶
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 ¶
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 ¶
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) Metadata ¶ added in v0.13.0
func (d *SecretDie) Metadata(v apismetav1.ObjectMeta) *SecretDie
Metadata standard object's metadata.
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) TypeMetadata ¶ added in v0.13.0
func (d *SecretDie) TypeMetadata(v apismetav1.TypeMeta) *SecretDie
TypeMetadata standard object's type metadata.
func (*SecretDie) TypeMetadataDie ¶ added in v0.13.0
func (d *SecretDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *SecretDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
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) DieDiff ¶ added in v0.13.0
func (d *SecretEnvSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*SecretEnvSourceDie) DieFeed ¶
func (d *SecretEnvSourceDie) DieFeed(r corev1.SecretEnvSource) *SecretEnvSourceDie
DieFeed returns a new die with the provided resource.
func (*SecretEnvSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *SecretEnvSourceDie) DieFeedYAML(y []byte) *SecretEnvSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SecretEnvSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *SecretEnvSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*SecretEnvSourceDie) DieRelease ¶
func (d *SecretEnvSourceDie) DieRelease() corev1.SecretEnvSource
DieRelease returns the resource managed by the die.
func (*SecretEnvSourceDie) DieReleaseJSON ¶
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 ¶
func (d *SecretEnvSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecretEnvSourceDie) DieReleaseYAML ¶
func (d *SecretEnvSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SecretEnvSourceDie) DieSeal ¶ added in v0.13.0
func (d *SecretEnvSourceDie) DieSeal() *SecretEnvSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*SecretEnvSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *SecretEnvSourceDie) DieSealFeed(r corev1.SecretEnvSource) *SecretEnvSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*SecretEnvSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *SecretEnvSourceDie) DieSealFeedPtr(r *corev1.SecretEnvSource) *SecretEnvSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*SecretEnvSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *SecretEnvSourceDie) DieSealRelease() corev1.SecretEnvSource
DieSealRelease returns the sealed resource managed by the die.
func (*SecretEnvSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *SecretEnvSourceDie) DieSealReleasePtr() *corev1.SecretEnvSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *SecretKeySelectorDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*SecretKeySelectorDie) DieFeed ¶
func (d *SecretKeySelectorDie) DieFeed(r corev1.SecretKeySelector) *SecretKeySelectorDie
DieFeed returns a new die with the provided resource.
func (*SecretKeySelectorDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *SecretKeySelectorDie) DieFeedYAML(y []byte) *SecretKeySelectorDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SecretKeySelectorDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *SecretKeySelectorDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*SecretKeySelectorDie) DieRelease ¶
func (d *SecretKeySelectorDie) DieRelease() corev1.SecretKeySelector
DieRelease returns the resource managed by the die.
func (*SecretKeySelectorDie) DieReleaseJSON ¶
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 ¶
func (d *SecretKeySelectorDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecretKeySelectorDie) DieReleaseYAML ¶
func (d *SecretKeySelectorDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SecretKeySelectorDie) DieSeal ¶ added in v0.13.0
func (d *SecretKeySelectorDie) DieSeal() *SecretKeySelectorDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*SecretKeySelectorDie) DieSealFeed ¶ added in v0.13.0
func (d *SecretKeySelectorDie) DieSealFeed(r corev1.SecretKeySelector) *SecretKeySelectorDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*SecretKeySelectorDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *SecretKeySelectorDie) DieSealFeedPtr(r *corev1.SecretKeySelector) *SecretKeySelectorDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*SecretKeySelectorDie) DieSealRelease ¶ added in v0.13.0
func (d *SecretKeySelectorDie) DieSealRelease() corev1.SecretKeySelector
DieSealRelease returns the sealed resource managed by the die.
func (*SecretKeySelectorDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *SecretKeySelectorDie) DieSealReleasePtr() *corev1.SecretKeySelector
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *SecretProjectionDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*SecretProjectionDie) DieFeed ¶
func (d *SecretProjectionDie) DieFeed(r corev1.SecretProjection) *SecretProjectionDie
DieFeed returns a new die with the provided resource.
func (*SecretProjectionDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *SecretProjectionDie) DieFeedYAML(y []byte) *SecretProjectionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SecretProjectionDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *SecretProjectionDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*SecretProjectionDie) DieRelease ¶
func (d *SecretProjectionDie) DieRelease() corev1.SecretProjection
DieRelease returns the resource managed by the die.
func (*SecretProjectionDie) DieReleaseJSON ¶
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 ¶
func (d *SecretProjectionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecretProjectionDie) DieReleaseYAML ¶
func (d *SecretProjectionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SecretProjectionDie) DieSeal ¶ added in v0.13.0
func (d *SecretProjectionDie) DieSeal() *SecretProjectionDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*SecretProjectionDie) DieSealFeed ¶ added in v0.13.0
func (d *SecretProjectionDie) DieSealFeed(r corev1.SecretProjection) *SecretProjectionDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*SecretProjectionDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *SecretProjectionDie) DieSealFeedPtr(r *corev1.SecretProjection) *SecretProjectionDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*SecretProjectionDie) DieSealRelease ¶ added in v0.13.0
func (d *SecretProjectionDie) DieSealRelease() corev1.SecretProjection
DieSealRelease returns the sealed resource managed by the die.
func (*SecretProjectionDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *SecretProjectionDie) DieSealReleasePtr() *corev1.SecretProjection
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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(v string, fn func(d *KeyToPathDie)) *SecretProjectionDie
ItemDie mutates a single item in Items matched by the nested field Key, appending a new item if no match is found.
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) 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) DieDiff ¶ added in v0.13.0
func (d *SecretReferenceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*SecretReferenceDie) DieFeed ¶
func (d *SecretReferenceDie) DieFeed(r corev1.SecretReference) *SecretReferenceDie
DieFeed returns a new die with the provided resource.
func (*SecretReferenceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *SecretReferenceDie) DieFeedYAML(y []byte) *SecretReferenceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SecretReferenceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *SecretReferenceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*SecretReferenceDie) DieRelease ¶
func (d *SecretReferenceDie) DieRelease() corev1.SecretReference
DieRelease returns the resource managed by the die.
func (*SecretReferenceDie) DieReleaseJSON ¶
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 ¶
func (d *SecretReferenceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecretReferenceDie) DieReleaseYAML ¶
func (d *SecretReferenceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SecretReferenceDie) DieSeal ¶ added in v0.13.0
func (d *SecretReferenceDie) DieSeal() *SecretReferenceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*SecretReferenceDie) DieSealFeed ¶ added in v0.13.0
func (d *SecretReferenceDie) DieSealFeed(r corev1.SecretReference) *SecretReferenceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*SecretReferenceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *SecretReferenceDie) DieSealFeedPtr(r *corev1.SecretReference) *SecretReferenceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*SecretReferenceDie) DieSealRelease ¶ added in v0.13.0
func (d *SecretReferenceDie) DieSealRelease() corev1.SecretReference
DieSealRelease returns the sealed resource managed by the die.
func (*SecretReferenceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *SecretReferenceDie) DieSealReleasePtr() *corev1.SecretReference
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *SecretVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*SecretVolumeSourceDie) DieFeed ¶
func (d *SecretVolumeSourceDie) DieFeed(r corev1.SecretVolumeSource) *SecretVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*SecretVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *SecretVolumeSourceDie) DieFeedYAML(y []byte) *SecretVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SecretVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *SecretVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*SecretVolumeSourceDie) DieRelease ¶
func (d *SecretVolumeSourceDie) DieRelease() corev1.SecretVolumeSource
DieRelease returns the resource managed by the die.
func (*SecretVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *SecretVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecretVolumeSourceDie) DieReleaseYAML ¶
func (d *SecretVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SecretVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *SecretVolumeSourceDie) DieSeal() *SecretVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*SecretVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *SecretVolumeSourceDie) DieSealFeed(r corev1.SecretVolumeSource) *SecretVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*SecretVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *SecretVolumeSourceDie) DieSealFeedPtr(r *corev1.SecretVolumeSource) *SecretVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*SecretVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *SecretVolumeSourceDie) DieSealRelease() corev1.SecretVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*SecretVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *SecretVolumeSourceDie) DieSealReleasePtr() *corev1.SecretVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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(v string, fn func(d *KeyToPathDie)) *SecretVolumeSourceDie
ItemDie mutates a single item in Items matched by the nested field Key, appending a new item if no match is found.
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) 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) AppArmorProfile ¶ added in v0.12.0
func (d *SecurityContextDie) AppArmorProfile(v *corev1.AppArmorProfile) *SecurityContextDie
appArmorProfile is the AppArmor options to use by this container. If set, this profile
overrides the pod's appArmorProfile.
Note that this field cannot be set when spec.os.name is windows.
func (*SecurityContextDie) AppArmorProfileDie ¶ added in v0.12.0
func (d *SecurityContextDie) AppArmorProfileDie(fn func(d *AppArmorProfileDie)) *SecurityContextDie
AppArmorProfileDie mutates AppArmorProfile as a die.
appArmorProfile is the AppArmor options to use by this container. If set, this profile
overrides the pod's appArmorProfile.
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
CapabilitiesDie mutates Capabilities as a die.
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) DeepCopy ¶
func (d *SecurityContextDie) DeepCopy() *SecurityContextDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*SecurityContextDie) DieDiff ¶ added in v0.13.0
func (d *SecurityContextDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*SecurityContextDie) DieFeed ¶
func (d *SecurityContextDie) DieFeed(r corev1.SecurityContext) *SecurityContextDie
DieFeed returns a new die with the provided resource.
func (*SecurityContextDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *SecurityContextDie) DieFeedYAML(y []byte) *SecurityContextDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SecurityContextDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *SecurityContextDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*SecurityContextDie) DieRelease ¶
func (d *SecurityContextDie) DieRelease() corev1.SecurityContext
DieRelease returns the resource managed by the die.
func (*SecurityContextDie) DieReleaseJSON ¶
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 ¶
func (d *SecurityContextDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SecurityContextDie) DieReleaseYAML ¶
func (d *SecurityContextDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SecurityContextDie) DieSeal ¶ added in v0.13.0
func (d *SecurityContextDie) DieSeal() *SecurityContextDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*SecurityContextDie) DieSealFeed ¶ added in v0.13.0
func (d *SecurityContextDie) DieSealFeed(r corev1.SecurityContext) *SecurityContextDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*SecurityContextDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *SecurityContextDie) DieSealFeedPtr(r *corev1.SecurityContext) *SecurityContextDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*SecurityContextDie) DieSealRelease ¶ added in v0.13.0
func (d *SecurityContextDie) DieSealRelease() corev1.SecurityContext
DieSealRelease returns the sealed resource managed by the die.
func (*SecurityContextDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *SecurityContextDie) DieSealReleasePtr() *corev1.SecurityContext
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 value is Default 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
SELinuxOptionsDie mutates SELinuxOptions as a die.
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) 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
SeccompProfileDie mutates SeccompProfile as a die.
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) 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
WindowsOptionsDie mutates WindowsOptions as a die.
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.
type ServiceAccountDie ¶
type ServiceAccountDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*ServiceAccountDie) APIVersion ¶
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) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *ServiceAccountDie) DieDefaultTypeMetadata() *ServiceAccountDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "ServiceAccount" respectively.
func (*ServiceAccountDie) DieDiff ¶ added in v0.13.0
func (d *ServiceAccountDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ServiceAccountDie) DieFeed ¶
func (d *ServiceAccountDie) DieFeed(r corev1.ServiceAccount) *ServiceAccountDie
DieFeed returns a new die with the provided resource.
func (*ServiceAccountDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ServiceAccountDie) DieFeedYAML(y []byte) *ServiceAccountDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServiceAccountDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ServiceAccountDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ServiceAccountDie) DieRelease ¶
func (d *ServiceAccountDie) DieRelease() corev1.ServiceAccount
DieRelease returns the resource managed by the die.
func (*ServiceAccountDie) DieReleaseJSON ¶
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 ¶
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 ¶
func (d *ServiceAccountDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServiceAccountDie) DieSeal ¶ added in v0.13.0
func (d *ServiceAccountDie) DieSeal() *ServiceAccountDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ServiceAccountDie) DieSealFeed ¶ added in v0.13.0
func (d *ServiceAccountDie) DieSealFeed(r corev1.ServiceAccount) *ServiceAccountDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ServiceAccountDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ServiceAccountDie) DieSealFeedPtr(r *corev1.ServiceAccount) *ServiceAccountDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ServiceAccountDie) DieSealRelease ¶ added in v0.13.0
func (d *ServiceAccountDie) DieSealRelease() corev1.ServiceAccount
DieSealRelease returns the sealed resource managed by the die.
func (*ServiceAccountDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ServiceAccountDie) DieSealReleasePtr() *corev1.ServiceAccount
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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(v ...*LocalObjectReferenceDie) *ServiceAccountDie
ImagePullSecretsDie replaces ImagePullSecrets by collecting the released value from each die passed.
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) Kind ¶
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) Metadata ¶ added in v0.13.0
func (d *ServiceAccountDie) Metadata(v apismetav1.ObjectMeta) *ServiceAccountDie
Metadata standard object's metadata.
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(v ...*ObjectReferenceDie) *ServiceAccountDie
SecretsDie replaces Secrets by collecting the released value from each die passed.
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) TypeMetadata ¶ added in v0.13.0
func (d *ServiceAccountDie) TypeMetadata(v apismetav1.TypeMeta) *ServiceAccountDie
TypeMetadata standard object's type metadata.
func (*ServiceAccountDie) TypeMetadataDie ¶ added in v0.13.0
func (d *ServiceAccountDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *ServiceAccountDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
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) DieDiff ¶ added in v0.13.0
func (d *ServiceAccountTokenProjectionDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ServiceAccountTokenProjectionDie) DieFeed ¶
func (d *ServiceAccountTokenProjectionDie) DieFeed(r corev1.ServiceAccountTokenProjection) *ServiceAccountTokenProjectionDie
DieFeed returns a new die with the provided resource.
func (*ServiceAccountTokenProjectionDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ServiceAccountTokenProjectionDie) DieFeedYAML(y []byte) *ServiceAccountTokenProjectionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServiceAccountTokenProjectionDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ServiceAccountTokenProjectionDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ServiceAccountTokenProjectionDie) DieRelease ¶
func (d *ServiceAccountTokenProjectionDie) DieRelease() corev1.ServiceAccountTokenProjection
DieRelease returns the resource managed by the die.
func (*ServiceAccountTokenProjectionDie) DieReleaseJSON ¶
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 ¶
func (d *ServiceAccountTokenProjectionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceAccountTokenProjectionDie) DieReleaseYAML ¶
func (d *ServiceAccountTokenProjectionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServiceAccountTokenProjectionDie) DieSeal ¶ added in v0.13.0
func (d *ServiceAccountTokenProjectionDie) DieSeal() *ServiceAccountTokenProjectionDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ServiceAccountTokenProjectionDie) DieSealFeed ¶ added in v0.13.0
func (d *ServiceAccountTokenProjectionDie) DieSealFeed(r corev1.ServiceAccountTokenProjection) *ServiceAccountTokenProjectionDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ServiceAccountTokenProjectionDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ServiceAccountTokenProjectionDie) DieSealFeedPtr(r *corev1.ServiceAccountTokenProjection) *ServiceAccountTokenProjectionDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ServiceAccountTokenProjectionDie) DieSealRelease ¶ added in v0.13.0
func (d *ServiceAccountTokenProjectionDie) DieSealRelease() corev1.ServiceAccountTokenProjection
DieSealRelease returns the sealed resource managed by the die.
func (*ServiceAccountTokenProjectionDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ServiceAccountTokenProjectionDie) DieSealReleasePtr() *corev1.ServiceAccountTokenProjection
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *ServiceDie) DieDefaultTypeMetadata() *ServiceDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "v1" and "Service" respectively.
func (*ServiceDie) DieDiff ¶ added in v0.13.0
func (d *ServiceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ServiceDie) DieFeed ¶
func (d *ServiceDie) DieFeed(r corev1.Service) *ServiceDie
DieFeed returns a new die with the provided resource.
func (*ServiceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ServiceDie) DieFeedYAML(y []byte) *ServiceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServiceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ServiceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ServiceDie) DieRelease ¶
func (d *ServiceDie) DieRelease() corev1.Service
DieRelease returns the resource managed by the die.
func (*ServiceDie) DieReleaseJSON ¶
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 ¶
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 ¶
func (d *ServiceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServiceDie) DieSeal ¶ added in v0.13.0
func (d *ServiceDie) DieSeal() *ServiceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ServiceDie) DieSealFeed ¶ added in v0.13.0
func (d *ServiceDie) DieSealFeed(r corev1.Service) *ServiceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ServiceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ServiceDie) DieSealFeedPtr(r *corev1.Service) *ServiceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ServiceDie) DieSealRelease ¶ added in v0.13.0
func (d *ServiceDie) DieSealRelease() corev1.Service
DieSealRelease returns the sealed resource managed by the die.
func (*ServiceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ServiceDie) DieSealReleasePtr() *corev1.Service
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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) Metadata ¶ added in v0.13.0
func (d *ServiceDie) Metadata(v apismetav1.ObjectMeta) *ServiceDie
Metadata standard object's metadata.
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) TypeMetadata ¶ added in v0.13.0
func (d *ServiceDie) TypeMetadata(v apismetav1.TypeMeta) *ServiceDie
TypeMetadata standard object's type metadata.
func (*ServiceDie) TypeMetadataDie ¶ added in v0.13.0
func (d *ServiceDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *ServiceDie
TypeMetadataDie stamps the resource's TypeMeta 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) DieDiff ¶ added in v0.13.0
func (d *ServicePortDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ServicePortDie) DieFeed ¶
func (d *ServicePortDie) DieFeed(r corev1.ServicePort) *ServicePortDie
DieFeed returns a new die with the provided resource.
func (*ServicePortDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ServicePortDie) DieFeedYAML(y []byte) *ServicePortDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServicePortDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ServicePortDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ServicePortDie) DieRelease ¶
func (d *ServicePortDie) DieRelease() corev1.ServicePort
DieRelease returns the resource managed by the die.
func (*ServicePortDie) DieReleaseJSON ¶
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 ¶
func (d *ServicePortDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServicePortDie) DieReleaseYAML ¶
func (d *ServicePortDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServicePortDie) DieSeal ¶ added in v0.13.0
func (d *ServicePortDie) DieSeal() *ServicePortDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ServicePortDie) DieSealFeed ¶ added in v0.13.0
func (d *ServicePortDie) DieSealFeed(r corev1.ServicePort) *ServicePortDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ServicePortDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ServicePortDie) DieSealFeedPtr(r *corev1.ServicePort) *ServicePortDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ServicePortDie) DieSealRelease ¶ added in v0.13.0
func (d *ServicePortDie) DieSealRelease() corev1.ServicePort
DieSealRelease returns the sealed resource managed by the die.
func (*ServicePortDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ServicePortDie) DieSealReleasePtr() *corev1.ServicePort
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
TargetPortInt sets TargetPort with the int value.
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) TargetPortString ¶
func (d *ServicePortDie) TargetPortString(s string) *ServicePortDie
TargetPortString sets TargetPort with the string value.
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
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) DieDiff ¶ added in v0.13.0
func (d *ServiceSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ServiceSpecDie) DieFeed ¶
func (d *ServiceSpecDie) DieFeed(r corev1.ServiceSpec) *ServiceSpecDie
DieFeed returns a new die with the provided resource.
func (*ServiceSpecDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ServiceSpecDie) DieFeedYAML(y []byte) *ServiceSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServiceSpecDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ServiceSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ServiceSpecDie) DieRelease ¶
func (d *ServiceSpecDie) DieRelease() corev1.ServiceSpec
DieRelease returns the resource managed by the die.
func (*ServiceSpecDie) DieReleaseJSON ¶
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 ¶
func (d *ServiceSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceSpecDie) DieReleaseYAML ¶
func (d *ServiceSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServiceSpecDie) DieSeal ¶ added in v0.13.0
func (d *ServiceSpecDie) DieSeal() *ServiceSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ServiceSpecDie) DieSealFeed ¶ added in v0.13.0
func (d *ServiceSpecDie) DieSealFeed(r corev1.ServiceSpec) *ServiceSpecDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ServiceSpecDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ServiceSpecDie) DieSealFeedPtr(r *corev1.ServiceSpec) *ServiceSpecDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ServiceSpecDie) DieSealRelease ¶ added in v0.13.0
func (d *ServiceSpecDie) DieSealRelease() corev1.ServiceSpec
DieSealRelease returns the sealed resource managed by the die.
func (*ServiceSpecDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ServiceSpecDie) DieSealReleasePtr() *corev1.ServiceSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
SessionAffinityConfigDie mutates SessionAffinityConfig as a die.
sessionAffinityConfig contains the configurations of session affinity.
func (*ServiceSpecDie) TrafficDistribution ¶ added in v0.12.0
func (d *ServiceSpecDie) TrafficDistribution(v *string) *ServiceSpecDie
TrafficDistribution offers a way to express preferences for how traffic is
distributed to Service endpoints. Implementations can use this field as a
hint, but are not required to guarantee strict adherence. If the field is
not set, the implementation will apply its default routing strategy. If set
to "PreferClose", implementations should prioritize endpoints that are
topologically close (e.g., same zone).
This is an alpha field and requires enabling ServiceTrafficDistribution feature.
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) DieDiff ¶ added in v0.13.0
func (d *ServiceStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ServiceStatusDie) DieFeed ¶
func (d *ServiceStatusDie) DieFeed(r corev1.ServiceStatus) *ServiceStatusDie
DieFeed returns a new die with the provided resource.
func (*ServiceStatusDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *ServiceStatusDie) DieFeedYAML(y []byte) *ServiceStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServiceStatusDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ServiceStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ServiceStatusDie) DieRelease ¶
func (d *ServiceStatusDie) DieRelease() corev1.ServiceStatus
DieRelease returns the resource managed by the die.
func (*ServiceStatusDie) DieReleaseJSON ¶
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 ¶
func (d *ServiceStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceStatusDie) DieReleaseYAML ¶
func (d *ServiceStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServiceStatusDie) DieSeal ¶ added in v0.13.0
func (d *ServiceStatusDie) DieSeal() *ServiceStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ServiceStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *ServiceStatusDie) DieSealFeed(r corev1.ServiceStatus) *ServiceStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ServiceStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ServiceStatusDie) DieSealFeedPtr(r *corev1.ServiceStatus) *ServiceStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ServiceStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *ServiceStatusDie) DieSealRelease() corev1.ServiceStatus
DieSealRelease returns the sealed resource managed by the die.
func (*ServiceStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ServiceStatusDie) DieSealReleasePtr() *corev1.ServiceStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
LoadBalancerDie mutates LoadBalancer as a die.
LoadBalancer contains the current status of the load-balancer,
if one is present.
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
ClientIPDie mutates ClientIP as a die.
clientIP contains the configurations of Client IP based session affinity.
func (*SessionAffinityConfigDie) DeepCopy ¶
func (d *SessionAffinityConfigDie) DeepCopy() *SessionAffinityConfigDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*SessionAffinityConfigDie) DieDiff ¶ added in v0.13.0
func (d *SessionAffinityConfigDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*SessionAffinityConfigDie) DieFeed ¶
func (d *SessionAffinityConfigDie) DieFeed(r corev1.SessionAffinityConfig) *SessionAffinityConfigDie
DieFeed returns a new die with the provided resource.
func (*SessionAffinityConfigDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *SessionAffinityConfigDie) DieFeedYAML(y []byte) *SessionAffinityConfigDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SessionAffinityConfigDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *SessionAffinityConfigDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*SessionAffinityConfigDie) DieRelease ¶
func (d *SessionAffinityConfigDie) DieRelease() corev1.SessionAffinityConfig
DieRelease returns the resource managed by the die.
func (*SessionAffinityConfigDie) DieReleaseJSON ¶
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 ¶
func (d *SessionAffinityConfigDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SessionAffinityConfigDie) DieReleaseYAML ¶
func (d *SessionAffinityConfigDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SessionAffinityConfigDie) DieSeal ¶ added in v0.13.0
func (d *SessionAffinityConfigDie) DieSeal() *SessionAffinityConfigDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*SessionAffinityConfigDie) DieSealFeed ¶ added in v0.13.0
func (d *SessionAffinityConfigDie) DieSealFeed(r corev1.SessionAffinityConfig) *SessionAffinityConfigDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*SessionAffinityConfigDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *SessionAffinityConfigDie) DieSealFeedPtr(r *corev1.SessionAffinityConfig) *SessionAffinityConfigDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*SessionAffinityConfigDie) DieSealRelease ¶ added in v0.13.0
func (d *SessionAffinityConfigDie) DieSealRelease() corev1.SessionAffinityConfig
DieSealRelease returns the sealed resource managed by the die.
func (*SessionAffinityConfigDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *SessionAffinityConfigDie) DieSealReleasePtr() *corev1.SessionAffinityConfig
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
type SleepActionDie struct {
// contains filtered or unexported fields
}
func (*SleepActionDie) DeepCopy ¶
func (d *SleepActionDie) DeepCopy() *SleepActionDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*SleepActionDie) DieDiff ¶ added in v0.13.0
func (d *SleepActionDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*SleepActionDie) DieFeed ¶
func (d *SleepActionDie) DieFeed(r corev1.SleepAction) *SleepActionDie
DieFeed returns a new die with the provided resource.
func (*SleepActionDie) DieFeedJSON ¶
func (d *SleepActionDie) DieFeedJSON(j []byte) *SleepActionDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*SleepActionDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *SleepActionDie) DieFeedYAML(y []byte) *SleepActionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SleepActionDie) DieFeedYAMLFile ¶
func (d *SleepActionDie) DieFeedYAMLFile(name string) *SleepActionDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*SleepActionDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *SleepActionDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*SleepActionDie) DieRelease ¶
func (d *SleepActionDie) DieRelease() corev1.SleepAction
DieRelease returns the resource managed by the die.
func (*SleepActionDie) DieReleaseJSON ¶
func (d *SleepActionDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*SleepActionDie) DieReleasePtr ¶
func (d *SleepActionDie) DieReleasePtr() *corev1.SleepAction
DieReleasePtr returns a pointer to the resource managed by the die.
func (*SleepActionDie) DieReleaseRawExtension ¶
func (d *SleepActionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SleepActionDie) DieReleaseYAML ¶
func (d *SleepActionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SleepActionDie) DieSeal ¶ added in v0.13.0
func (d *SleepActionDie) DieSeal() *SleepActionDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*SleepActionDie) DieSealFeed ¶ added in v0.13.0
func (d *SleepActionDie) DieSealFeed(r corev1.SleepAction) *SleepActionDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*SleepActionDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *SleepActionDie) DieSealFeedPtr(r *corev1.SleepAction) *SleepActionDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*SleepActionDie) DieSealRelease ¶ added in v0.13.0
func (d *SleepActionDie) DieSealRelease() corev1.SleepAction
DieSealRelease returns the sealed resource managed by the die.
func (*SleepActionDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *SleepActionDie) DieSealReleasePtr() *corev1.SleepAction
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*SleepActionDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *StorageOSPersistentVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*StorageOSPersistentVolumeSourceDie) DieFeed ¶
func (d *StorageOSPersistentVolumeSourceDie) DieFeed(r corev1.StorageOSPersistentVolumeSource) *StorageOSPersistentVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*StorageOSPersistentVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *StorageOSPersistentVolumeSourceDie) DieFeedYAML(y []byte) *StorageOSPersistentVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*StorageOSPersistentVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *StorageOSPersistentVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*StorageOSPersistentVolumeSourceDie) DieRelease ¶
func (d *StorageOSPersistentVolumeSourceDie) DieRelease() corev1.StorageOSPersistentVolumeSource
DieRelease returns the resource managed by the die.
func (*StorageOSPersistentVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *StorageOSPersistentVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StorageOSPersistentVolumeSourceDie) DieReleaseYAML ¶
func (d *StorageOSPersistentVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*StorageOSPersistentVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *StorageOSPersistentVolumeSourceDie) DieSeal() *StorageOSPersistentVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*StorageOSPersistentVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *StorageOSPersistentVolumeSourceDie) DieSealFeed(r corev1.StorageOSPersistentVolumeSource) *StorageOSPersistentVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*StorageOSPersistentVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *StorageOSPersistentVolumeSourceDie) DieSealFeedPtr(r *corev1.StorageOSPersistentVolumeSource) *StorageOSPersistentVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*StorageOSPersistentVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *StorageOSPersistentVolumeSourceDie) DieSealRelease() corev1.StorageOSPersistentVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*StorageOSPersistentVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *StorageOSPersistentVolumeSourceDie) DieSealReleasePtr() *corev1.StorageOSPersistentVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
SecretRefDie mutates SecretRef as a die.
secretRef specifies the secret to use for obtaining the StorageOS API
credentials. If not specified, default values will be attempted.
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) DieDiff ¶ added in v0.13.0
func (d *StorageOSVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*StorageOSVolumeSourceDie) DieFeed ¶
func (d *StorageOSVolumeSourceDie) DieFeed(r corev1.StorageOSVolumeSource) *StorageOSVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*StorageOSVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *StorageOSVolumeSourceDie) DieFeedYAML(y []byte) *StorageOSVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*StorageOSVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *StorageOSVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*StorageOSVolumeSourceDie) DieRelease ¶
func (d *StorageOSVolumeSourceDie) DieRelease() corev1.StorageOSVolumeSource
DieRelease returns the resource managed by the die.
func (*StorageOSVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *StorageOSVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StorageOSVolumeSourceDie) DieReleaseYAML ¶
func (d *StorageOSVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*StorageOSVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *StorageOSVolumeSourceDie) DieSeal() *StorageOSVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*StorageOSVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *StorageOSVolumeSourceDie) DieSealFeed(r corev1.StorageOSVolumeSource) *StorageOSVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*StorageOSVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *StorageOSVolumeSourceDie) DieSealFeedPtr(r *corev1.StorageOSVolumeSource) *StorageOSVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*StorageOSVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *StorageOSVolumeSourceDie) DieSealRelease() corev1.StorageOSVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*StorageOSVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *StorageOSVolumeSourceDie) DieSealReleasePtr() *corev1.StorageOSVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
SecretRefDie mutates SecretRef as a die.
secretRef specifies the secret to use for obtaining the StorageOS API
credentials. If not specified, default values will be attempted.
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) DieDiff ¶ added in v0.13.0
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*SysctlDie) DieFeedJSON ¶
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 ¶
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 ¶
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SysctlDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
DiePatch generates a patch between the current value of the die and the sealed value.
func (*SysctlDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*SysctlDie) DieReleaseJSON ¶
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 ¶
func (d *SysctlDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SysctlDie) DieReleaseYAML ¶
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SysctlDie) DieSeal ¶ added in v0.13.0
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*SysctlDie) DieSealFeed ¶ added in v0.13.0
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*SysctlDie) DieSealFeedPtr ¶ added in v0.13.0
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*SysctlDie) DieSealRelease ¶ added in v0.13.0
DieSealRelease returns the sealed resource managed by the die.
func (*SysctlDie) DieSealReleasePtr ¶ added in v0.13.0
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*SysctlDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*SysctlDie) DieStampAt ¶
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) DieDiff ¶ added in v0.13.0
func (d *TCPSocketActionDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TCPSocketActionDie) DieFeed ¶
func (d *TCPSocketActionDie) DieFeed(r corev1.TCPSocketAction) *TCPSocketActionDie
DieFeed returns a new die with the provided resource.
func (*TCPSocketActionDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *TCPSocketActionDie) DieFeedYAML(y []byte) *TCPSocketActionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TCPSocketActionDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *TCPSocketActionDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TCPSocketActionDie) DieRelease ¶
func (d *TCPSocketActionDie) DieRelease() corev1.TCPSocketAction
DieRelease returns the resource managed by the die.
func (*TCPSocketActionDie) DieReleaseJSON ¶
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 ¶
func (d *TCPSocketActionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TCPSocketActionDie) DieReleaseYAML ¶
func (d *TCPSocketActionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TCPSocketActionDie) DieSeal ¶ added in v0.13.0
func (d *TCPSocketActionDie) DieSeal() *TCPSocketActionDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TCPSocketActionDie) DieSealFeed ¶ added in v0.13.0
func (d *TCPSocketActionDie) DieSealFeed(r corev1.TCPSocketAction) *TCPSocketActionDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*TCPSocketActionDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *TCPSocketActionDie) DieSealFeedPtr(r *corev1.TCPSocketAction) *TCPSocketActionDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*TCPSocketActionDie) DieSealRelease ¶ added in v0.13.0
func (d *TCPSocketActionDie) DieSealRelease() corev1.TCPSocketAction
DieSealRelease returns the sealed resource managed by the die.
func (*TCPSocketActionDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *TCPSocketActionDie) DieSealReleasePtr() *corev1.TCPSocketAction
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
PortInt sets Port with the int value.
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) PortString ¶
func (d *TCPSocketActionDie) PortString(s string) *TCPSocketActionDie
PortString sets Port with the string value.
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.
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) DieDiff ¶ added in v0.13.0
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TaintDie) DieFeedJSON ¶
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 ¶
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 ¶
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TaintDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TaintDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*TaintDie) DieReleaseJSON ¶
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 ¶
func (d *TaintDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TaintDie) DieReleaseYAML ¶
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TaintDie) DieSeal ¶ added in v0.13.0
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TaintDie) DieSealFeed ¶ added in v0.13.0
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*TaintDie) DieSealFeedPtr ¶ added in v0.13.0
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*TaintDie) DieSealRelease ¶ added in v0.13.0
DieSealRelease returns the sealed resource managed by the die.
func (*TaintDie) DieSealReleasePtr ¶ added in v0.13.0
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*TaintDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TaintDie) DieStampAt ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *TolerationDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TolerationDie) DieFeed ¶
func (d *TolerationDie) DieFeed(r corev1.Toleration) *TolerationDie
DieFeed returns a new die with the provided resource.
func (*TolerationDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *TolerationDie) DieFeedYAML(y []byte) *TolerationDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TolerationDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *TolerationDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TolerationDie) DieRelease ¶
func (d *TolerationDie) DieRelease() corev1.Toleration
DieRelease returns the resource managed by the die.
func (*TolerationDie) DieReleaseJSON ¶
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 ¶
func (d *TolerationDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TolerationDie) DieReleaseYAML ¶
func (d *TolerationDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TolerationDie) DieSeal ¶ added in v0.13.0
func (d *TolerationDie) DieSeal() *TolerationDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TolerationDie) DieSealFeed ¶ added in v0.13.0
func (d *TolerationDie) DieSealFeed(r corev1.Toleration) *TolerationDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*TolerationDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *TolerationDie) DieSealFeedPtr(r *corev1.Toleration) *TolerationDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*TolerationDie) DieSealRelease ¶ added in v0.13.0
func (d *TolerationDie) DieSealRelease() corev1.Toleration
DieSealRelease returns the sealed resource managed by the die.
func (*TolerationDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *TolerationDie) DieSealReleasePtr() *corev1.Toleration
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
type TopologySelectorLabelRequirementDie struct {
// contains filtered or unexported fields
}
func (*TopologySelectorLabelRequirementDie) DeepCopy ¶
func (d *TopologySelectorLabelRequirementDie) DeepCopy() *TopologySelectorLabelRequirementDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TopologySelectorLabelRequirementDie) DieDiff ¶ added in v0.13.0
func (d *TopologySelectorLabelRequirementDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TopologySelectorLabelRequirementDie) DieFeed ¶
func (d *TopologySelectorLabelRequirementDie) DieFeed(r corev1.TopologySelectorLabelRequirement) *TopologySelectorLabelRequirementDie
DieFeed returns a new die with the provided resource.
func (*TopologySelectorLabelRequirementDie) DieFeedJSON ¶
func (d *TopologySelectorLabelRequirementDie) DieFeedJSON(j []byte) *TopologySelectorLabelRequirementDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TopologySelectorLabelRequirementDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *TopologySelectorLabelRequirementDie) DieFeedYAML(y []byte) *TopologySelectorLabelRequirementDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TopologySelectorLabelRequirementDie) DieFeedYAMLFile ¶
func (d *TopologySelectorLabelRequirementDie) DieFeedYAMLFile(name string) *TopologySelectorLabelRequirementDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TopologySelectorLabelRequirementDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *TopologySelectorLabelRequirementDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TopologySelectorLabelRequirementDie) DieRelease ¶
func (d *TopologySelectorLabelRequirementDie) DieRelease() corev1.TopologySelectorLabelRequirement
DieRelease returns the resource managed by the die.
func (*TopologySelectorLabelRequirementDie) DieReleaseJSON ¶
func (d *TopologySelectorLabelRequirementDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TopologySelectorLabelRequirementDie) DieReleasePtr ¶
func (d *TopologySelectorLabelRequirementDie) DieReleasePtr() *corev1.TopologySelectorLabelRequirement
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TopologySelectorLabelRequirementDie) DieReleaseRawExtension ¶
func (d *TopologySelectorLabelRequirementDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TopologySelectorLabelRequirementDie) DieReleaseYAML ¶
func (d *TopologySelectorLabelRequirementDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TopologySelectorLabelRequirementDie) DieSeal ¶ added in v0.13.0
func (d *TopologySelectorLabelRequirementDie) DieSeal() *TopologySelectorLabelRequirementDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TopologySelectorLabelRequirementDie) DieSealFeed ¶ added in v0.13.0
func (d *TopologySelectorLabelRequirementDie) DieSealFeed(r corev1.TopologySelectorLabelRequirement) *TopologySelectorLabelRequirementDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*TopologySelectorLabelRequirementDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *TopologySelectorLabelRequirementDie) DieSealFeedPtr(r *corev1.TopologySelectorLabelRequirement) *TopologySelectorLabelRequirementDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*TopologySelectorLabelRequirementDie) DieSealRelease ¶ added in v0.13.0
func (d *TopologySelectorLabelRequirementDie) DieSealRelease() corev1.TopologySelectorLabelRequirement
DieSealRelease returns the sealed resource managed by the die.
func (*TopologySelectorLabelRequirementDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *TopologySelectorLabelRequirementDie) DieSealReleasePtr() *corev1.TopologySelectorLabelRequirement
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*TopologySelectorLabelRequirementDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
func (d *TopologySelectorLabelRequirementDie) Key(v string) *TopologySelectorLabelRequirementDie
The label key that the selector applies to.
func (*TopologySelectorLabelRequirementDie) Values ¶
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 ¶
type TopologySelectorTermDie struct {
// contains filtered or unexported fields
}
func (*TopologySelectorTermDie) DeepCopy ¶
func (d *TopologySelectorTermDie) DeepCopy() *TopologySelectorTermDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TopologySelectorTermDie) DieDiff ¶ added in v0.13.0
func (d *TopologySelectorTermDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TopologySelectorTermDie) DieFeed ¶
func (d *TopologySelectorTermDie) DieFeed(r corev1.TopologySelectorTerm) *TopologySelectorTermDie
DieFeed returns a new die with the provided resource.
func (*TopologySelectorTermDie) DieFeedJSON ¶
func (d *TopologySelectorTermDie) DieFeedJSON(j []byte) *TopologySelectorTermDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TopologySelectorTermDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *TopologySelectorTermDie) DieFeedYAML(y []byte) *TopologySelectorTermDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TopologySelectorTermDie) DieFeedYAMLFile ¶
func (d *TopologySelectorTermDie) DieFeedYAMLFile(name string) *TopologySelectorTermDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TopologySelectorTermDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *TopologySelectorTermDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TopologySelectorTermDie) DieRelease ¶
func (d *TopologySelectorTermDie) DieRelease() corev1.TopologySelectorTerm
DieRelease returns the resource managed by the die.
func (*TopologySelectorTermDie) DieReleaseJSON ¶
func (d *TopologySelectorTermDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TopologySelectorTermDie) DieReleasePtr ¶
func (d *TopologySelectorTermDie) DieReleasePtr() *corev1.TopologySelectorTerm
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TopologySelectorTermDie) DieReleaseRawExtension ¶
func (d *TopologySelectorTermDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TopologySelectorTermDie) DieReleaseYAML ¶
func (d *TopologySelectorTermDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TopologySelectorTermDie) DieSeal ¶ added in v0.13.0
func (d *TopologySelectorTermDie) DieSeal() *TopologySelectorTermDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TopologySelectorTermDie) DieSealFeed ¶ added in v0.13.0
func (d *TopologySelectorTermDie) DieSealFeed(r corev1.TopologySelectorTerm) *TopologySelectorTermDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*TopologySelectorTermDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *TopologySelectorTermDie) DieSealFeedPtr(r *corev1.TopologySelectorTerm) *TopologySelectorTermDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*TopologySelectorTermDie) DieSealRelease ¶ added in v0.13.0
func (d *TopologySelectorTermDie) DieSealRelease() corev1.TopologySelectorTerm
DieSealRelease returns the sealed resource managed by the die.
func (*TopologySelectorTermDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *TopologySelectorTermDie) DieSealReleasePtr() *corev1.TopologySelectorTerm
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*TopologySelectorTermDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
func (d *TopologySelectorTermDie) MatchLabelExpressions(v ...corev1.TopologySelectorLabelRequirement) *TopologySelectorTermDie
A list of topology selector requirements by labels.
func (*TopologySelectorTermDie) MatchLabelExpressionsDie ¶
func (d *TopologySelectorTermDie) MatchLabelExpressionsDie(v ...*TopologySelectorLabelRequirementDie) *TopologySelectorTermDie
MatchLabelExpressionsDie replaces MatchLabelExpressions by collecting the released value from each die passed.
A list of topology selector requirements by labels.
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) DieDiff ¶ added in v0.13.0
func (d *TopologySpreadConstraintDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TopologySpreadConstraintDie) DieFeed ¶
func (d *TopologySpreadConstraintDie) DieFeed(r corev1.TopologySpreadConstraint) *TopologySpreadConstraintDie
DieFeed returns a new die with the provided resource.
func (*TopologySpreadConstraintDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *TopologySpreadConstraintDie) DieFeedYAML(y []byte) *TopologySpreadConstraintDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TopologySpreadConstraintDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *TopologySpreadConstraintDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TopologySpreadConstraintDie) DieRelease ¶
func (d *TopologySpreadConstraintDie) DieRelease() corev1.TopologySpreadConstraint
DieRelease returns the resource managed by the die.
func (*TopologySpreadConstraintDie) DieReleaseJSON ¶
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 ¶
func (d *TopologySpreadConstraintDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TopologySpreadConstraintDie) DieReleaseYAML ¶
func (d *TopologySpreadConstraintDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TopologySpreadConstraintDie) DieSeal ¶ added in v0.13.0
func (d *TopologySpreadConstraintDie) DieSeal() *TopologySpreadConstraintDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TopologySpreadConstraintDie) DieSealFeed ¶ added in v0.13.0
func (d *TopologySpreadConstraintDie) DieSealFeed(r corev1.TopologySpreadConstraint) *TopologySpreadConstraintDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*TopologySpreadConstraintDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *TopologySpreadConstraintDie) DieSealFeedPtr(r *corev1.TopologySpreadConstraint) *TopologySpreadConstraintDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*TopologySpreadConstraintDie) DieSealRelease ¶ added in v0.13.0
func (d *TopologySpreadConstraintDie) DieSealRelease() corev1.TopologySpreadConstraint
DieSealRelease returns the sealed resource managed by the die.
func (*TopologySpreadConstraintDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *TopologySpreadConstraintDie) DieSealReleasePtr() *corev1.TopologySpreadConstraint
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 *metav1.LabelSelectorDie)) *TopologySpreadConstraintDie
LabelSelectorDie mutates LabelSelector as a die.
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) MatchLabelKeys ¶
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 ¶
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.
func (*TopologySpreadConstraintDie) NodeAffinityPolicy ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *TypedLocalObjectReferenceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TypedLocalObjectReferenceDie) DieFeed ¶
func (d *TypedLocalObjectReferenceDie) DieFeed(r corev1.TypedLocalObjectReference) *TypedLocalObjectReferenceDie
DieFeed returns a new die with the provided resource.
func (*TypedLocalObjectReferenceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *TypedLocalObjectReferenceDie) DieFeedYAML(y []byte) *TypedLocalObjectReferenceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TypedLocalObjectReferenceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *TypedLocalObjectReferenceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TypedLocalObjectReferenceDie) DieRelease ¶
func (d *TypedLocalObjectReferenceDie) DieRelease() corev1.TypedLocalObjectReference
DieRelease returns the resource managed by the die.
func (*TypedLocalObjectReferenceDie) DieReleaseJSON ¶
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 ¶
func (d *TypedLocalObjectReferenceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TypedLocalObjectReferenceDie) DieReleaseYAML ¶
func (d *TypedLocalObjectReferenceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TypedLocalObjectReferenceDie) DieSeal ¶ added in v0.13.0
func (d *TypedLocalObjectReferenceDie) DieSeal() *TypedLocalObjectReferenceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TypedLocalObjectReferenceDie) DieSealFeed ¶ added in v0.13.0
func (d *TypedLocalObjectReferenceDie) DieSealFeed(r corev1.TypedLocalObjectReference) *TypedLocalObjectReferenceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*TypedLocalObjectReferenceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *TypedLocalObjectReferenceDie) DieSealFeedPtr(r *corev1.TypedLocalObjectReference) *TypedLocalObjectReferenceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*TypedLocalObjectReferenceDie) DieSealRelease ¶ added in v0.13.0
func (d *TypedLocalObjectReferenceDie) DieSealRelease() corev1.TypedLocalObjectReference
DieSealRelease returns the sealed resource managed by the die.
func (*TypedLocalObjectReferenceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *TypedLocalObjectReferenceDie) DieSealReleasePtr() *corev1.TypedLocalObjectReference
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
type TypedObjectReferenceDie struct {
// contains filtered or unexported fields
}
func (*TypedObjectReferenceDie) APIGroup ¶
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 ¶
func (d *TypedObjectReferenceDie) DeepCopy() *TypedObjectReferenceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TypedObjectReferenceDie) DieDiff ¶ added in v0.13.0
func (d *TypedObjectReferenceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TypedObjectReferenceDie) DieFeed ¶
func (d *TypedObjectReferenceDie) DieFeed(r corev1.TypedObjectReference) *TypedObjectReferenceDie
DieFeed returns a new die with the provided resource.
func (*TypedObjectReferenceDie) DieFeedJSON ¶
func (d *TypedObjectReferenceDie) DieFeedJSON(j []byte) *TypedObjectReferenceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TypedObjectReferenceDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *TypedObjectReferenceDie) DieFeedYAML(y []byte) *TypedObjectReferenceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TypedObjectReferenceDie) DieFeedYAMLFile ¶
func (d *TypedObjectReferenceDie) DieFeedYAMLFile(name string) *TypedObjectReferenceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TypedObjectReferenceDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *TypedObjectReferenceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TypedObjectReferenceDie) DieRelease ¶
func (d *TypedObjectReferenceDie) DieRelease() corev1.TypedObjectReference
DieRelease returns the resource managed by the die.
func (*TypedObjectReferenceDie) DieReleaseJSON ¶
func (d *TypedObjectReferenceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TypedObjectReferenceDie) DieReleasePtr ¶
func (d *TypedObjectReferenceDie) DieReleasePtr() *corev1.TypedObjectReference
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TypedObjectReferenceDie) DieReleaseRawExtension ¶
func (d *TypedObjectReferenceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TypedObjectReferenceDie) DieReleaseYAML ¶
func (d *TypedObjectReferenceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TypedObjectReferenceDie) DieSeal ¶ added in v0.13.0
func (d *TypedObjectReferenceDie) DieSeal() *TypedObjectReferenceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TypedObjectReferenceDie) DieSealFeed ¶ added in v0.13.0
func (d *TypedObjectReferenceDie) DieSealFeed(r corev1.TypedObjectReference) *TypedObjectReferenceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*TypedObjectReferenceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *TypedObjectReferenceDie) DieSealFeedPtr(r *corev1.TypedObjectReference) *TypedObjectReferenceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*TypedObjectReferenceDie) DieSealRelease ¶ added in v0.13.0
func (d *TypedObjectReferenceDie) DieSealRelease() corev1.TypedObjectReference
DieSealRelease returns the sealed resource managed by the die.
func (*TypedObjectReferenceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *TypedObjectReferenceDie) DieSealReleasePtr() *corev1.TypedObjectReference
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*TypedObjectReferenceDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
func (d *TypedObjectReferenceDie) Kind(v string) *TypedObjectReferenceDie
Kind is the type of resource being referenced
func (*TypedObjectReferenceDie) Name ¶
func (d *TypedObjectReferenceDie) Name(v string) *TypedObjectReferenceDie
Name is the name of resource being referenced
func (*TypedObjectReferenceDie) Namespace ¶
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) DieDiff ¶ added in v0.13.0
func (d *VolumeDeviceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*VolumeDeviceDie) DieFeed ¶
func (d *VolumeDeviceDie) DieFeed(r corev1.VolumeDevice) *VolumeDeviceDie
DieFeed returns a new die with the provided resource.
func (*VolumeDeviceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *VolumeDeviceDie) DieFeedYAML(y []byte) *VolumeDeviceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*VolumeDeviceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *VolumeDeviceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*VolumeDeviceDie) DieRelease ¶
func (d *VolumeDeviceDie) DieRelease() corev1.VolumeDevice
DieRelease returns the resource managed by the die.
func (*VolumeDeviceDie) DieReleaseJSON ¶
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 ¶
func (d *VolumeDeviceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeDeviceDie) DieReleaseYAML ¶
func (d *VolumeDeviceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*VolumeDeviceDie) DieSeal ¶ added in v0.13.0
func (d *VolumeDeviceDie) DieSeal() *VolumeDeviceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*VolumeDeviceDie) DieSealFeed ¶ added in v0.13.0
func (d *VolumeDeviceDie) DieSealFeed(r corev1.VolumeDevice) *VolumeDeviceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*VolumeDeviceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *VolumeDeviceDie) DieSealFeedPtr(r *corev1.VolumeDevice) *VolumeDeviceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*VolumeDeviceDie) DieSealRelease ¶ added in v0.13.0
func (d *VolumeDeviceDie) DieSealRelease() corev1.VolumeDevice
DieSealRelease returns the sealed resource managed by the die.
func (*VolumeDeviceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *VolumeDeviceDie) DieSealReleasePtr() *corev1.VolumeDevice
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*VolumeDie) DieFeedJSON ¶
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 ¶
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 ¶
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*VolumeDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
DiePatch generates a patch between the current value of the die and the sealed value.
func (*VolumeDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*VolumeDie) DieReleaseJSON ¶
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 ¶
func (d *VolumeDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeDie) DieReleaseYAML ¶
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*VolumeDie) DieSeal ¶ added in v0.13.0
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*VolumeDie) DieSealFeed ¶ added in v0.13.0
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*VolumeDie) DieSealFeedPtr ¶ added in v0.13.0
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*VolumeDie) DieSealRelease ¶ added in v0.13.0
DieSealRelease returns the sealed resource managed by the die.
func (*VolumeDie) DieSealReleasePtr ¶ added in v0.13.0
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*VolumeDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*VolumeDie) DieStampAt ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *VolumeMountDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*VolumeMountDie) DieFeed ¶
func (d *VolumeMountDie) DieFeed(r corev1.VolumeMount) *VolumeMountDie
DieFeed returns a new die with the provided resource.
func (*VolumeMountDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *VolumeMountDie) DieFeedYAML(y []byte) *VolumeMountDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*VolumeMountDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *VolumeMountDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*VolumeMountDie) DieRelease ¶
func (d *VolumeMountDie) DieRelease() corev1.VolumeMount
DieRelease returns the resource managed by the die.
func (*VolumeMountDie) DieReleaseJSON ¶
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 ¶
func (d *VolumeMountDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeMountDie) DieReleaseYAML ¶
func (d *VolumeMountDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*VolumeMountDie) DieSeal ¶ added in v0.13.0
func (d *VolumeMountDie) DieSeal() *VolumeMountDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*VolumeMountDie) DieSealFeed ¶ added in v0.13.0
func (d *VolumeMountDie) DieSealFeed(r corev1.VolumeMount) *VolumeMountDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*VolumeMountDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *VolumeMountDie) DieSealFeedPtr(r *corev1.VolumeMount) *VolumeMountDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*VolumeMountDie) DieSealRelease ¶ added in v0.13.0
func (d *VolumeMountDie) DieSealRelease() corev1.VolumeMount
DieSealRelease returns the sealed resource managed by the die.
func (*VolumeMountDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *VolumeMountDie) DieSealReleasePtr() *corev1.VolumeMount
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified ¶
(which defaults to None).
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) RecursiveReadOnly ¶ added in v0.12.0
func (d *VolumeMountDie) RecursiveReadOnly(v *corev1.RecursiveReadOnlyMode) *VolumeMountDie
RecursiveReadOnly specifies whether read-only mounts should be handled
recursively.
If ReadOnly is false, this field has no meaning and must be unspecified.
If ReadOnly is true, and this field is set to Disabled, the mount is not made ¶
recursively read-only. If this field is set to IfPossible, the mount is made
recursively read-only, if it is supported by the container runtime. If this
field is set to Enabled, the mount is made recursively read-only if it is
supported by the container runtime, otherwise the pod will not be started and
an error will be generated to indicate the reason.
If this field is set to IfPossible or Enabled, MountPropagation must be set to ¶
None (or be unspecified, which defaults to None).
If this field is not specified, it is treated as an equivalent of Disabled.
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 VolumeMountStatusDie ¶ added in v0.12.0
type VolumeMountStatusDie struct {
// contains filtered or unexported fields
}
func (*VolumeMountStatusDie) DeepCopy ¶ added in v0.12.0
func (d *VolumeMountStatusDie) DeepCopy() *VolumeMountStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*VolumeMountStatusDie) DieDiff ¶ added in v0.13.0
func (d *VolumeMountStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*VolumeMountStatusDie) DieFeed ¶ added in v0.12.0
func (d *VolumeMountStatusDie) DieFeed(r corev1.VolumeMountStatus) *VolumeMountStatusDie
DieFeed returns a new die with the provided resource.
func (*VolumeMountStatusDie) DieFeedJSON ¶ added in v0.12.0
func (d *VolumeMountStatusDie) DieFeedJSON(j []byte) *VolumeMountStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*VolumeMountStatusDie) DieFeedPtr ¶ added in v0.12.0
func (d *VolumeMountStatusDie) DieFeedPtr(r *corev1.VolumeMountStatus) *VolumeMountStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*VolumeMountStatusDie) DieFeedRawExtension ¶ added in v0.12.0
func (d *VolumeMountStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *VolumeMountStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeMountStatusDie) DieFeedYAML ¶ added in v0.12.0
func (d *VolumeMountStatusDie) DieFeedYAML(y []byte) *VolumeMountStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*VolumeMountStatusDie) DieFeedYAMLFile ¶ added in v0.12.0
func (d *VolumeMountStatusDie) DieFeedYAMLFile(name string) *VolumeMountStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*VolumeMountStatusDie) DieImmutable ¶ added in v0.12.0
func (d *VolumeMountStatusDie) DieImmutable(immutable bool) *VolumeMountStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*VolumeMountStatusDie) DiePatch ¶ added in v0.13.0
func (d *VolumeMountStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*VolumeMountStatusDie) DieRelease ¶ added in v0.12.0
func (d *VolumeMountStatusDie) DieRelease() corev1.VolumeMountStatus
DieRelease returns the resource managed by the die.
func (*VolumeMountStatusDie) DieReleaseJSON ¶ added in v0.12.0
func (d *VolumeMountStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*VolumeMountStatusDie) DieReleasePtr ¶ added in v0.12.0
func (d *VolumeMountStatusDie) DieReleasePtr() *corev1.VolumeMountStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*VolumeMountStatusDie) DieReleaseRawExtension ¶ added in v0.12.0
func (d *VolumeMountStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeMountStatusDie) DieReleaseYAML ¶ added in v0.12.0
func (d *VolumeMountStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*VolumeMountStatusDie) DieSeal ¶ added in v0.13.0
func (d *VolumeMountStatusDie) DieSeal() *VolumeMountStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*VolumeMountStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *VolumeMountStatusDie) DieSealFeed(r corev1.VolumeMountStatus) *VolumeMountStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*VolumeMountStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *VolumeMountStatusDie) DieSealFeedPtr(r *corev1.VolumeMountStatus) *VolumeMountStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*VolumeMountStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *VolumeMountStatusDie) DieSealRelease() corev1.VolumeMountStatus
DieSealRelease returns the sealed resource managed by the die.
func (*VolumeMountStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *VolumeMountStatusDie) DieSealReleasePtr() *corev1.VolumeMountStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*VolumeMountStatusDie) DieStamp ¶ added in v0.12.0
func (d *VolumeMountStatusDie) DieStamp(fn func(r *corev1.VolumeMountStatus)) *VolumeMountStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*VolumeMountStatusDie) DieStampAt ¶ added in v0.12.0
func (d *VolumeMountStatusDie) DieStampAt(jp string, fn interface{}) *VolumeMountStatusDie
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 (*VolumeMountStatusDie) DieWith ¶ added in v0.12.0
func (d *VolumeMountStatusDie) DieWith(fns ...func(d *VolumeMountStatusDie)) *VolumeMountStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*VolumeMountStatusDie) MountPath ¶ added in v0.12.0
func (d *VolumeMountStatusDie) MountPath(v string) *VolumeMountStatusDie
MountPath corresponds to the original VolumeMount.
func (*VolumeMountStatusDie) Name ¶ added in v0.12.0
func (d *VolumeMountStatusDie) Name(v string) *VolumeMountStatusDie
Name corresponds to the name of the original VolumeMount.
func (*VolumeMountStatusDie) ReadOnly ¶ added in v0.12.0
func (d *VolumeMountStatusDie) ReadOnly(v bool) *VolumeMountStatusDie
ReadOnly corresponds to the original VolumeMount.
func (*VolumeMountStatusDie) RecursiveReadOnly ¶ added in v0.12.0
func (d *VolumeMountStatusDie) RecursiveReadOnly(v *corev1.RecursiveReadOnlyMode) *VolumeMountStatusDie
RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts).
An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled,
depending on the mount result.
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) DieDiff ¶ added in v0.13.0
func (d *VolumeNodeAffinityDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*VolumeNodeAffinityDie) DieFeed ¶
func (d *VolumeNodeAffinityDie) DieFeed(r corev1.VolumeNodeAffinity) *VolumeNodeAffinityDie
DieFeed returns a new die with the provided resource.
func (*VolumeNodeAffinityDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *VolumeNodeAffinityDie) DieFeedYAML(y []byte) *VolumeNodeAffinityDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*VolumeNodeAffinityDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *VolumeNodeAffinityDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*VolumeNodeAffinityDie) DieRelease ¶
func (d *VolumeNodeAffinityDie) DieRelease() corev1.VolumeNodeAffinity
DieRelease returns the resource managed by the die.
func (*VolumeNodeAffinityDie) DieReleaseJSON ¶
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 ¶
func (d *VolumeNodeAffinityDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeNodeAffinityDie) DieReleaseYAML ¶
func (d *VolumeNodeAffinityDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*VolumeNodeAffinityDie) DieSeal ¶ added in v0.13.0
func (d *VolumeNodeAffinityDie) DieSeal() *VolumeNodeAffinityDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*VolumeNodeAffinityDie) DieSealFeed ¶ added in v0.13.0
func (d *VolumeNodeAffinityDie) DieSealFeed(r corev1.VolumeNodeAffinity) *VolumeNodeAffinityDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*VolumeNodeAffinityDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *VolumeNodeAffinityDie) DieSealFeedPtr(r *corev1.VolumeNodeAffinity) *VolumeNodeAffinityDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*VolumeNodeAffinityDie) DieSealRelease ¶ added in v0.13.0
func (d *VolumeNodeAffinityDie) DieSealRelease() corev1.VolumeNodeAffinity
DieSealRelease returns the sealed resource managed by the die.
func (*VolumeNodeAffinityDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *VolumeNodeAffinityDie) DieSealReleasePtr() *corev1.VolumeNodeAffinity
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
RequiredDie mutates Required as a die.
required specifies hard node constraints that must be met.
type VolumeProjectionDie ¶
type VolumeProjectionDie struct {
// contains filtered or unexported fields
}
func (*VolumeProjectionDie) ClusterTrustBundle ¶
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 ¶
func (d *VolumeProjectionDie) ClusterTrustBundleDie(fn func(d *ClusterTrustBundleProjectionDie)) *VolumeProjectionDie
ClusterTrustBundleDie mutates ClusterTrustBundle as a die.
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) 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
ConfigMapDie mutates ConfigMap as a die.
configMap information about the configMap data to project
func (*VolumeProjectionDie) DeepCopy ¶
func (d *VolumeProjectionDie) DeepCopy() *VolumeProjectionDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*VolumeProjectionDie) DieDiff ¶ added in v0.13.0
func (d *VolumeProjectionDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*VolumeProjectionDie) DieFeed ¶
func (d *VolumeProjectionDie) DieFeed(r corev1.VolumeProjection) *VolumeProjectionDie
DieFeed returns a new die with the provided resource.
func (*VolumeProjectionDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *VolumeProjectionDie) DieFeedYAML(y []byte) *VolumeProjectionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*VolumeProjectionDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *VolumeProjectionDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*VolumeProjectionDie) DieRelease ¶
func (d *VolumeProjectionDie) DieRelease() corev1.VolumeProjection
DieRelease returns the resource managed by the die.
func (*VolumeProjectionDie) DieReleaseJSON ¶
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 ¶
func (d *VolumeProjectionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeProjectionDie) DieReleaseYAML ¶
func (d *VolumeProjectionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*VolumeProjectionDie) DieSeal ¶ added in v0.13.0
func (d *VolumeProjectionDie) DieSeal() *VolumeProjectionDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*VolumeProjectionDie) DieSealFeed ¶ added in v0.13.0
func (d *VolumeProjectionDie) DieSealFeed(r corev1.VolumeProjection) *VolumeProjectionDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*VolumeProjectionDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *VolumeProjectionDie) DieSealFeedPtr(r *corev1.VolumeProjection) *VolumeProjectionDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*VolumeProjectionDie) DieSealRelease ¶ added in v0.13.0
func (d *VolumeProjectionDie) DieSealRelease() corev1.VolumeProjection
DieSealRelease returns the sealed resource managed by the die.
func (*VolumeProjectionDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *VolumeProjectionDie) DieSealReleasePtr() *corev1.VolumeProjection
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
DownwardAPIDie mutates DownwardAPI as a die.
downwardAPI information about the downwardAPI data to project
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
SecretDie mutates Secret as a die.
secret information about the secret data to project
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
ServiceAccountTokenDie mutates ServiceAccountToken as a die.
serviceAccountToken is information about the serviceAccountToken data to project
type VolumeResourceRequirementsDie ¶
type VolumeResourceRequirementsDie struct {
// contains filtered or unexported fields
}
func (*VolumeResourceRequirementsDie) AddLimit ¶
func (d *VolumeResourceRequirementsDie) AddLimit(name corev1.ResourceName, quantity resource.Quantity) *VolumeResourceRequirementsDie
AddLimit sets a single quantity on the Limits resource list.
Limits describes the maximum amount of compute resources allowed.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
func (*VolumeResourceRequirementsDie) AddLimitString ¶
func (d *VolumeResourceRequirementsDie) AddLimitString(name corev1.ResourceName, quantity string) *VolumeResourceRequirementsDie
AddLimitString parses the quantity setting a single value on the Limits resource list. Panics if the string is not parsable.
Limits describes the maximum amount of compute resources allowed.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
func (*VolumeResourceRequirementsDie) AddRequest ¶
func (d *VolumeResourceRequirementsDie) AddRequest(name corev1.ResourceName, quantity resource.Quantity) *VolumeResourceRequirementsDie
AddRequest sets a single quantity on the Requests resource list.
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/
func (*VolumeResourceRequirementsDie) AddRequestString ¶
func (d *VolumeResourceRequirementsDie) AddRequestString(name corev1.ResourceName, quantity string) *VolumeResourceRequirementsDie
AddRequestString parses the quantity setting a single value on the Requests resource list. Panics if the string is not parsable.
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/
func (*VolumeResourceRequirementsDie) DeepCopy ¶
func (d *VolumeResourceRequirementsDie) DeepCopy() *VolumeResourceRequirementsDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*VolumeResourceRequirementsDie) DieDiff ¶ added in v0.13.0
func (d *VolumeResourceRequirementsDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*VolumeResourceRequirementsDie) DieFeed ¶
func (d *VolumeResourceRequirementsDie) DieFeed(r corev1.VolumeResourceRequirements) *VolumeResourceRequirementsDie
DieFeed returns a new die with the provided resource.
func (*VolumeResourceRequirementsDie) DieFeedJSON ¶
func (d *VolumeResourceRequirementsDie) DieFeedJSON(j []byte) *VolumeResourceRequirementsDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*VolumeResourceRequirementsDie) DieFeedPtr ¶
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 ¶
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 ¶
func (d *VolumeResourceRequirementsDie) DieFeedYAML(y []byte) *VolumeResourceRequirementsDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*VolumeResourceRequirementsDie) DieFeedYAMLFile ¶
func (d *VolumeResourceRequirementsDie) DieFeedYAMLFile(name string) *VolumeResourceRequirementsDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*VolumeResourceRequirementsDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *VolumeResourceRequirementsDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*VolumeResourceRequirementsDie) DieRelease ¶
func (d *VolumeResourceRequirementsDie) DieRelease() corev1.VolumeResourceRequirements
DieRelease returns the resource managed by the die.
func (*VolumeResourceRequirementsDie) DieReleaseJSON ¶
func (d *VolumeResourceRequirementsDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*VolumeResourceRequirementsDie) DieReleasePtr ¶
func (d *VolumeResourceRequirementsDie) DieReleasePtr() *corev1.VolumeResourceRequirements
DieReleasePtr returns a pointer to the resource managed by the die.
func (*VolumeResourceRequirementsDie) DieReleaseRawExtension ¶
func (d *VolumeResourceRequirementsDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VolumeResourceRequirementsDie) DieReleaseYAML ¶
func (d *VolumeResourceRequirementsDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*VolumeResourceRequirementsDie) DieSeal ¶ added in v0.13.0
func (d *VolumeResourceRequirementsDie) DieSeal() *VolumeResourceRequirementsDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*VolumeResourceRequirementsDie) DieSealFeed ¶ added in v0.13.0
func (d *VolumeResourceRequirementsDie) DieSealFeed(r corev1.VolumeResourceRequirements) *VolumeResourceRequirementsDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*VolumeResourceRequirementsDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *VolumeResourceRequirementsDie) DieSealFeedPtr(r *corev1.VolumeResourceRequirements) *VolumeResourceRequirementsDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*VolumeResourceRequirementsDie) DieSealRelease ¶ added in v0.13.0
func (d *VolumeResourceRequirementsDie) DieSealRelease() corev1.VolumeResourceRequirements
DieSealRelease returns the sealed resource managed by the die.
func (*VolumeResourceRequirementsDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *VolumeResourceRequirementsDie) DieSealReleasePtr() *corev1.VolumeResourceRequirements
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*VolumeResourceRequirementsDie) DieStamp ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *VsphereVirtualDiskVolumeSourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*VsphereVirtualDiskVolumeSourceDie) DieFeed ¶
func (d *VsphereVirtualDiskVolumeSourceDie) DieFeed(r corev1.VsphereVirtualDiskVolumeSource) *VsphereVirtualDiskVolumeSourceDie
DieFeed returns a new die with the provided resource.
func (*VsphereVirtualDiskVolumeSourceDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *VsphereVirtualDiskVolumeSourceDie) DieFeedYAML(y []byte) *VsphereVirtualDiskVolumeSourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*VsphereVirtualDiskVolumeSourceDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *VsphereVirtualDiskVolumeSourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*VsphereVirtualDiskVolumeSourceDie) DieRelease ¶
func (d *VsphereVirtualDiskVolumeSourceDie) DieRelease() corev1.VsphereVirtualDiskVolumeSource
DieRelease returns the resource managed by the die.
func (*VsphereVirtualDiskVolumeSourceDie) DieReleaseJSON ¶
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 ¶
func (d *VsphereVirtualDiskVolumeSourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*VsphereVirtualDiskVolumeSourceDie) DieReleaseYAML ¶
func (d *VsphereVirtualDiskVolumeSourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*VsphereVirtualDiskVolumeSourceDie) DieSeal ¶ added in v0.13.0
func (d *VsphereVirtualDiskVolumeSourceDie) DieSeal() *VsphereVirtualDiskVolumeSourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*VsphereVirtualDiskVolumeSourceDie) DieSealFeed ¶ added in v0.13.0
func (d *VsphereVirtualDiskVolumeSourceDie) DieSealFeed(r corev1.VsphereVirtualDiskVolumeSource) *VsphereVirtualDiskVolumeSourceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*VsphereVirtualDiskVolumeSourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *VsphereVirtualDiskVolumeSourceDie) DieSealFeedPtr(r *corev1.VsphereVirtualDiskVolumeSource) *VsphereVirtualDiskVolumeSourceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*VsphereVirtualDiskVolumeSourceDie) DieSealRelease ¶ added in v0.13.0
func (d *VsphereVirtualDiskVolumeSourceDie) DieSealRelease() corev1.VsphereVirtualDiskVolumeSource
DieSealRelease returns the sealed resource managed by the die.
func (*VsphereVirtualDiskVolumeSourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *VsphereVirtualDiskVolumeSourceDie) DieSealReleasePtr() *corev1.VsphereVirtualDiskVolumeSource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *WindowsSecurityContextOptionsDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*WindowsSecurityContextOptionsDie) DieFeed ¶
func (d *WindowsSecurityContextOptionsDie) DieFeed(r corev1.WindowsSecurityContextOptions) *WindowsSecurityContextOptionsDie
DieFeed returns a new die with the provided resource.
func (*WindowsSecurityContextOptionsDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *WindowsSecurityContextOptionsDie) DieFeedYAML(y []byte) *WindowsSecurityContextOptionsDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*WindowsSecurityContextOptionsDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *WindowsSecurityContextOptionsDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*WindowsSecurityContextOptionsDie) DieRelease ¶
func (d *WindowsSecurityContextOptionsDie) DieRelease() corev1.WindowsSecurityContextOptions
DieRelease returns the resource managed by the die.
func (*WindowsSecurityContextOptionsDie) DieReleaseJSON ¶
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 ¶
func (d *WindowsSecurityContextOptionsDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*WindowsSecurityContextOptionsDie) DieReleaseYAML ¶
func (d *WindowsSecurityContextOptionsDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*WindowsSecurityContextOptionsDie) DieSeal ¶ added in v0.13.0
func (d *WindowsSecurityContextOptionsDie) DieSeal() *WindowsSecurityContextOptionsDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*WindowsSecurityContextOptionsDie) DieSealFeed ¶ added in v0.13.0
func (d *WindowsSecurityContextOptionsDie) DieSealFeed(r corev1.WindowsSecurityContextOptions) *WindowsSecurityContextOptionsDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*WindowsSecurityContextOptionsDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *WindowsSecurityContextOptionsDie) DieSealFeedPtr(r *corev1.WindowsSecurityContextOptions) *WindowsSecurityContextOptionsDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*WindowsSecurityContextOptionsDie) DieSealRelease ¶ added in v0.13.0
func (d *WindowsSecurityContextOptionsDie) DieSealRelease() corev1.WindowsSecurityContextOptions
DieSealRelease returns the sealed resource managed by the die.
func (*WindowsSecurityContextOptionsDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *WindowsSecurityContextOptionsDie) DieSealReleasePtr() *corev1.WindowsSecurityContextOptions
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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