Documentation ¶
Index ¶
- Variables
- type ClusterWorkloadResourceMappingContainerDie
- func (d *ClusterWorkloadResourceMappingContainerDie) DeepCopy() *ClusterWorkloadResourceMappingContainerDie
- func (d *ClusterWorkloadResourceMappingContainerDie) DieDiff(opts ...cmp.Option) string
- func (d *ClusterWorkloadResourceMappingContainerDie) DieFeed(r apisv1.ClusterWorkloadResourceMappingContainer) *ClusterWorkloadResourceMappingContainerDie
- func (d *ClusterWorkloadResourceMappingContainerDie) DieFeedJSON(j []byte) *ClusterWorkloadResourceMappingContainerDie
- func (d *ClusterWorkloadResourceMappingContainerDie) DieFeedPtr(r *apisv1.ClusterWorkloadResourceMappingContainer) *ClusterWorkloadResourceMappingContainerDie
- func (d *ClusterWorkloadResourceMappingContainerDie) DieFeedRawExtension(raw runtime.RawExtension) *ClusterWorkloadResourceMappingContainerDie
- func (d *ClusterWorkloadResourceMappingContainerDie) DieFeedYAML(y []byte) *ClusterWorkloadResourceMappingContainerDie
- func (d *ClusterWorkloadResourceMappingContainerDie) DieFeedYAMLFile(name string) *ClusterWorkloadResourceMappingContainerDie
- func (d *ClusterWorkloadResourceMappingContainerDie) DieImmutable(immutable bool) *ClusterWorkloadResourceMappingContainerDie
- func (d *ClusterWorkloadResourceMappingContainerDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ClusterWorkloadResourceMappingContainerDie) DieRelease() apisv1.ClusterWorkloadResourceMappingContainer
- func (d *ClusterWorkloadResourceMappingContainerDie) DieReleaseJSON() []byte
- func (d *ClusterWorkloadResourceMappingContainerDie) DieReleasePtr() *apisv1.ClusterWorkloadResourceMappingContainer
- func (d *ClusterWorkloadResourceMappingContainerDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ClusterWorkloadResourceMappingContainerDie) DieReleaseYAML() []byte
- func (d *ClusterWorkloadResourceMappingContainerDie) DieSeal() *ClusterWorkloadResourceMappingContainerDie
- func (d *ClusterWorkloadResourceMappingContainerDie) DieSealFeed(r apisv1.ClusterWorkloadResourceMappingContainer) *ClusterWorkloadResourceMappingContainerDie
- func (d *ClusterWorkloadResourceMappingContainerDie) DieSealFeedPtr(r *apisv1.ClusterWorkloadResourceMappingContainer) *ClusterWorkloadResourceMappingContainerDie
- func (d *ClusterWorkloadResourceMappingContainerDie) DieSealRelease() apisv1.ClusterWorkloadResourceMappingContainer
- func (d *ClusterWorkloadResourceMappingContainerDie) DieSealReleasePtr() *apisv1.ClusterWorkloadResourceMappingContainer
- func (d *ClusterWorkloadResourceMappingContainerDie) DieStamp(fn func(r *apisv1.ClusterWorkloadResourceMappingContainer)) *ClusterWorkloadResourceMappingContainerDie
- func (d *ClusterWorkloadResourceMappingContainerDie) DieStampAt(jp string, fn interface{}) *ClusterWorkloadResourceMappingContainerDie
- func (d *ClusterWorkloadResourceMappingContainerDie) DieWith(fns ...func(d *ClusterWorkloadResourceMappingContainerDie)) *ClusterWorkloadResourceMappingContainerDie
- func (d *ClusterWorkloadResourceMappingContainerDie) Env(v string) *ClusterWorkloadResourceMappingContainerDie
- func (d *ClusterWorkloadResourceMappingContainerDie) Name(v string) *ClusterWorkloadResourceMappingContainerDie
- func (d *ClusterWorkloadResourceMappingContainerDie) Path(v string) *ClusterWorkloadResourceMappingContainerDie
- func (d *ClusterWorkloadResourceMappingContainerDie) VolumeMounts(v string) *ClusterWorkloadResourceMappingContainerDie
- type ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) APIVersion(v string) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) DeepCopy() *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) DeepCopyObject() runtime.Object
- func (d *ClusterWorkloadResourceMappingDie) DieDiff(opts ...cmp.Option) string
- func (d *ClusterWorkloadResourceMappingDie) DieFeed(r apisv1.ClusterWorkloadResourceMapping) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) DieFeedJSON(j []byte) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) DieFeedPtr(r *apisv1.ClusterWorkloadResourceMapping) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) DieFeedRawExtension(raw runtime.RawExtension) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) DieFeedYAML(y []byte) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) DieFeedYAMLFile(name string) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) DieImmutable(immutable bool) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ClusterWorkloadResourceMappingDie) DieRelease() apisv1.ClusterWorkloadResourceMapping
- func (d *ClusterWorkloadResourceMappingDie) DieReleaseJSON() []byte
- func (d *ClusterWorkloadResourceMappingDie) DieReleasePtr() *apisv1.ClusterWorkloadResourceMapping
- func (d *ClusterWorkloadResourceMappingDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ClusterWorkloadResourceMappingDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *ClusterWorkloadResourceMappingDie) DieReleaseYAML() []byte
- func (d *ClusterWorkloadResourceMappingDie) DieSeal() *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) DieSealFeed(r apisv1.ClusterWorkloadResourceMapping) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) DieSealFeedPtr(r *apisv1.ClusterWorkloadResourceMapping) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) DieSealRelease() apisv1.ClusterWorkloadResourceMapping
- func (d *ClusterWorkloadResourceMappingDie) DieSealReleasePtr() *apisv1.ClusterWorkloadResourceMapping
- func (d *ClusterWorkloadResourceMappingDie) DieStamp(fn func(r *apisv1.ClusterWorkloadResourceMapping)) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) DieStampAt(jp string, fn interface{}) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) DieWith(fns ...func(d *ClusterWorkloadResourceMappingDie)) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) GetObjectKind() schema.ObjectKind
- func (d *ClusterWorkloadResourceMappingDie) Kind(v string) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) MarshalJSON() ([]byte, error)
- func (d *ClusterWorkloadResourceMappingDie) Metadata(v apismetav1.ObjectMeta) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) Spec(v apisv1.ClusterWorkloadResourceMappingSpec) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) SpecDie(fn func(d *ClusterWorkloadResourceMappingSpecDie)) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) TypeMetadata(v apismetav1.TypeMeta) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *ClusterWorkloadResourceMappingDie
- func (d *ClusterWorkloadResourceMappingDie) UnmarshalJSON(b []byte) error
- type ClusterWorkloadResourceMappingSpecDie
- func (d *ClusterWorkloadResourceMappingSpecDie) DeepCopy() *ClusterWorkloadResourceMappingSpecDie
- func (d *ClusterWorkloadResourceMappingSpecDie) DieDiff(opts ...cmp.Option) string
- func (d *ClusterWorkloadResourceMappingSpecDie) DieFeed(r apisv1.ClusterWorkloadResourceMappingSpec) *ClusterWorkloadResourceMappingSpecDie
- func (d *ClusterWorkloadResourceMappingSpecDie) DieFeedJSON(j []byte) *ClusterWorkloadResourceMappingSpecDie
- func (d *ClusterWorkloadResourceMappingSpecDie) DieFeedPtr(r *apisv1.ClusterWorkloadResourceMappingSpec) *ClusterWorkloadResourceMappingSpecDie
- func (d *ClusterWorkloadResourceMappingSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *ClusterWorkloadResourceMappingSpecDie
- func (d *ClusterWorkloadResourceMappingSpecDie) DieFeedYAML(y []byte) *ClusterWorkloadResourceMappingSpecDie
- func (d *ClusterWorkloadResourceMappingSpecDie) DieFeedYAMLFile(name string) *ClusterWorkloadResourceMappingSpecDie
- func (d *ClusterWorkloadResourceMappingSpecDie) DieImmutable(immutable bool) *ClusterWorkloadResourceMappingSpecDie
- func (d *ClusterWorkloadResourceMappingSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ClusterWorkloadResourceMappingSpecDie) DieRelease() apisv1.ClusterWorkloadResourceMappingSpec
- func (d *ClusterWorkloadResourceMappingSpecDie) DieReleaseJSON() []byte
- func (d *ClusterWorkloadResourceMappingSpecDie) DieReleasePtr() *apisv1.ClusterWorkloadResourceMappingSpec
- func (d *ClusterWorkloadResourceMappingSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ClusterWorkloadResourceMappingSpecDie) DieReleaseYAML() []byte
- func (d *ClusterWorkloadResourceMappingSpecDie) DieSeal() *ClusterWorkloadResourceMappingSpecDie
- func (d *ClusterWorkloadResourceMappingSpecDie) DieSealFeed(r apisv1.ClusterWorkloadResourceMappingSpec) *ClusterWorkloadResourceMappingSpecDie
- func (d *ClusterWorkloadResourceMappingSpecDie) DieSealFeedPtr(r *apisv1.ClusterWorkloadResourceMappingSpec) *ClusterWorkloadResourceMappingSpecDie
- func (d *ClusterWorkloadResourceMappingSpecDie) DieSealRelease() apisv1.ClusterWorkloadResourceMappingSpec
- func (d *ClusterWorkloadResourceMappingSpecDie) DieSealReleasePtr() *apisv1.ClusterWorkloadResourceMappingSpec
- func (d *ClusterWorkloadResourceMappingSpecDie) DieStamp(fn func(r *apisv1.ClusterWorkloadResourceMappingSpec)) *ClusterWorkloadResourceMappingSpecDie
- func (d *ClusterWorkloadResourceMappingSpecDie) DieStampAt(jp string, fn interface{}) *ClusterWorkloadResourceMappingSpecDie
- func (d *ClusterWorkloadResourceMappingSpecDie) DieWith(fns ...func(d *ClusterWorkloadResourceMappingSpecDie)) *ClusterWorkloadResourceMappingSpecDie
- func (d *ClusterWorkloadResourceMappingSpecDie) VersionDie(v string, fn func(d *ClusterWorkloadResourceMappingTemplateDie)) *ClusterWorkloadResourceMappingSpecDie
- func (d *ClusterWorkloadResourceMappingSpecDie) Versions(v ...apisv1.ClusterWorkloadResourceMappingTemplate) *ClusterWorkloadResourceMappingSpecDie
- func (d *ClusterWorkloadResourceMappingSpecDie) VersionsDie(version string, fn func(d *ClusterWorkloadResourceMappingTemplateDie)) *ClusterWorkloadResourceMappingSpecDie
- type ClusterWorkloadResourceMappingTemplateDie
- func (d *ClusterWorkloadResourceMappingTemplateDie) Annotations(v string) *ClusterWorkloadResourceMappingTemplateDie
- func (d *ClusterWorkloadResourceMappingTemplateDie) Containers(v ...apisv1.ClusterWorkloadResourceMappingContainer) *ClusterWorkloadResourceMappingTemplateDie
- func (d *ClusterWorkloadResourceMappingTemplateDie) ContainersDie(v ...*ClusterWorkloadResourceMappingContainerDie) *ClusterWorkloadResourceMappingTemplateDie
- func (d *ClusterWorkloadResourceMappingTemplateDie) DeepCopy() *ClusterWorkloadResourceMappingTemplateDie
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieDiff(opts ...cmp.Option) string
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieFeed(r apisv1.ClusterWorkloadResourceMappingTemplate) *ClusterWorkloadResourceMappingTemplateDie
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieFeedJSON(j []byte) *ClusterWorkloadResourceMappingTemplateDie
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieFeedPtr(r *apisv1.ClusterWorkloadResourceMappingTemplate) *ClusterWorkloadResourceMappingTemplateDie
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieFeedRawExtension(raw runtime.RawExtension) *ClusterWorkloadResourceMappingTemplateDie
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieFeedYAML(y []byte) *ClusterWorkloadResourceMappingTemplateDie
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieFeedYAMLFile(name string) *ClusterWorkloadResourceMappingTemplateDie
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieImmutable(immutable bool) *ClusterWorkloadResourceMappingTemplateDie
- func (d *ClusterWorkloadResourceMappingTemplateDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieRelease() apisv1.ClusterWorkloadResourceMappingTemplate
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieReleaseJSON() []byte
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieReleasePtr() *apisv1.ClusterWorkloadResourceMappingTemplate
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieReleaseYAML() []byte
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieSeal() *ClusterWorkloadResourceMappingTemplateDie
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieSealFeed(r apisv1.ClusterWorkloadResourceMappingTemplate) *ClusterWorkloadResourceMappingTemplateDie
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieSealFeedPtr(r *apisv1.ClusterWorkloadResourceMappingTemplate) *ClusterWorkloadResourceMappingTemplateDie
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieSealRelease() apisv1.ClusterWorkloadResourceMappingTemplate
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieSealReleasePtr() *apisv1.ClusterWorkloadResourceMappingTemplate
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieStamp(fn func(r *apisv1.ClusterWorkloadResourceMappingTemplate)) *ClusterWorkloadResourceMappingTemplateDie
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieStampAt(jp string, fn interface{}) *ClusterWorkloadResourceMappingTemplateDie
- func (d *ClusterWorkloadResourceMappingTemplateDie) DieWith(fns ...func(d *ClusterWorkloadResourceMappingTemplateDie)) *ClusterWorkloadResourceMappingTemplateDie
- func (d *ClusterWorkloadResourceMappingTemplateDie) Version(v string) *ClusterWorkloadResourceMappingTemplateDie
- func (d *ClusterWorkloadResourceMappingTemplateDie) Volumes(v string) *ClusterWorkloadResourceMappingTemplateDie
- type EnvMappingDie
- func (d *EnvMappingDie) DeepCopy() *EnvMappingDie
- func (d *EnvMappingDie) DieDiff(opts ...cmp.Option) string
- func (d *EnvMappingDie) DieFeed(r apisv1.EnvMapping) *EnvMappingDie
- func (d *EnvMappingDie) DieFeedJSON(j []byte) *EnvMappingDie
- func (d *EnvMappingDie) DieFeedPtr(r *apisv1.EnvMapping) *EnvMappingDie
- func (d *EnvMappingDie) DieFeedRawExtension(raw runtime.RawExtension) *EnvMappingDie
- func (d *EnvMappingDie) DieFeedYAML(y []byte) *EnvMappingDie
- func (d *EnvMappingDie) DieFeedYAMLFile(name string) *EnvMappingDie
- func (d *EnvMappingDie) DieImmutable(immutable bool) *EnvMappingDie
- func (d *EnvMappingDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *EnvMappingDie) DieRelease() apisv1.EnvMapping
- func (d *EnvMappingDie) DieReleaseJSON() []byte
- func (d *EnvMappingDie) DieReleasePtr() *apisv1.EnvMapping
- func (d *EnvMappingDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *EnvMappingDie) DieReleaseYAML() []byte
- func (d *EnvMappingDie) DieSeal() *EnvMappingDie
- func (d *EnvMappingDie) DieSealFeed(r apisv1.EnvMapping) *EnvMappingDie
- func (d *EnvMappingDie) DieSealFeedPtr(r *apisv1.EnvMapping) *EnvMappingDie
- func (d *EnvMappingDie) DieSealRelease() apisv1.EnvMapping
- func (d *EnvMappingDie) DieSealReleasePtr() *apisv1.EnvMapping
- func (d *EnvMappingDie) DieStamp(fn func(r *apisv1.EnvMapping)) *EnvMappingDie
- func (d *EnvMappingDie) DieStampAt(jp string, fn interface{}) *EnvMappingDie
- func (d *EnvMappingDie) DieWith(fns ...func(d *EnvMappingDie)) *EnvMappingDie
- func (d *EnvMappingDie) Key(v string) *EnvMappingDie
- func (d *EnvMappingDie) Name(v string) *EnvMappingDie
- type ServiceBindingDie
- func (d *ServiceBindingDie) APIVersion(v string) *ServiceBindingDie
- func (d *ServiceBindingDie) DeepCopy() *ServiceBindingDie
- func (d *ServiceBindingDie) DeepCopyObject() runtime.Object
- func (d *ServiceBindingDie) DieDiff(opts ...cmp.Option) string
- func (d *ServiceBindingDie) DieFeed(r apisv1.ServiceBinding) *ServiceBindingDie
- func (d *ServiceBindingDie) DieFeedJSON(j []byte) *ServiceBindingDie
- func (d *ServiceBindingDie) DieFeedPtr(r *apisv1.ServiceBinding) *ServiceBindingDie
- func (d *ServiceBindingDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceBindingDie
- func (d *ServiceBindingDie) DieFeedYAML(y []byte) *ServiceBindingDie
- func (d *ServiceBindingDie) DieFeedYAMLFile(name string) *ServiceBindingDie
- func (d *ServiceBindingDie) DieImmutable(immutable bool) *ServiceBindingDie
- func (d *ServiceBindingDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ServiceBindingDie) DieRelease() apisv1.ServiceBinding
- func (d *ServiceBindingDie) DieReleaseJSON() []byte
- func (d *ServiceBindingDie) DieReleasePtr() *apisv1.ServiceBinding
- func (d *ServiceBindingDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ServiceBindingDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *ServiceBindingDie) DieReleaseYAML() []byte
- func (d *ServiceBindingDie) DieSeal() *ServiceBindingDie
- func (d *ServiceBindingDie) DieSealFeed(r apisv1.ServiceBinding) *ServiceBindingDie
- func (d *ServiceBindingDie) DieSealFeedPtr(r *apisv1.ServiceBinding) *ServiceBindingDie
- func (d *ServiceBindingDie) DieSealRelease() apisv1.ServiceBinding
- func (d *ServiceBindingDie) DieSealReleasePtr() *apisv1.ServiceBinding
- func (d *ServiceBindingDie) DieStamp(fn func(r *apisv1.ServiceBinding)) *ServiceBindingDie
- func (d *ServiceBindingDie) DieStampAt(jp string, fn interface{}) *ServiceBindingDie
- func (d *ServiceBindingDie) DieWith(fns ...func(d *ServiceBindingDie)) *ServiceBindingDie
- func (d *ServiceBindingDie) GetObjectKind() schema.ObjectKind
- func (d *ServiceBindingDie) Kind(v string) *ServiceBindingDie
- func (d *ServiceBindingDie) MarshalJSON() ([]byte, error)
- func (d *ServiceBindingDie) Metadata(v apismetav1.ObjectMeta) *ServiceBindingDie
- func (d *ServiceBindingDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ServiceBindingDie
- func (d *ServiceBindingDie) Spec(v apisv1.ServiceBindingSpec) *ServiceBindingDie
- func (d *ServiceBindingDie) SpecDie(fn func(d *ServiceBindingSpecDie)) *ServiceBindingDie
- func (d *ServiceBindingDie) Status(v apisv1.ServiceBindingStatus) *ServiceBindingDie
- func (d *ServiceBindingDie) StatusDie(fn func(d *ServiceBindingStatusDie)) *ServiceBindingDie
- func (d *ServiceBindingDie) TypeMetadata(v apismetav1.TypeMeta) *ServiceBindingDie
- func (d *ServiceBindingDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *ServiceBindingDie
- func (d *ServiceBindingDie) UnmarshalJSON(b []byte) error
- type ServiceBindingSecretReferenceDie
- func (d *ServiceBindingSecretReferenceDie) DeepCopy() *ServiceBindingSecretReferenceDie
- func (d *ServiceBindingSecretReferenceDie) DieDiff(opts ...cmp.Option) string
- func (d *ServiceBindingSecretReferenceDie) DieFeed(r apisv1.ServiceBindingSecretReference) *ServiceBindingSecretReferenceDie
- func (d *ServiceBindingSecretReferenceDie) DieFeedJSON(j []byte) *ServiceBindingSecretReferenceDie
- func (d *ServiceBindingSecretReferenceDie) DieFeedPtr(r *apisv1.ServiceBindingSecretReference) *ServiceBindingSecretReferenceDie
- func (d *ServiceBindingSecretReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceBindingSecretReferenceDie
- func (d *ServiceBindingSecretReferenceDie) DieFeedYAML(y []byte) *ServiceBindingSecretReferenceDie
- func (d *ServiceBindingSecretReferenceDie) DieFeedYAMLFile(name string) *ServiceBindingSecretReferenceDie
- func (d *ServiceBindingSecretReferenceDie) DieImmutable(immutable bool) *ServiceBindingSecretReferenceDie
- func (d *ServiceBindingSecretReferenceDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ServiceBindingSecretReferenceDie) DieRelease() apisv1.ServiceBindingSecretReference
- func (d *ServiceBindingSecretReferenceDie) DieReleaseJSON() []byte
- func (d *ServiceBindingSecretReferenceDie) DieReleasePtr() *apisv1.ServiceBindingSecretReference
- func (d *ServiceBindingSecretReferenceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ServiceBindingSecretReferenceDie) DieReleaseYAML() []byte
- func (d *ServiceBindingSecretReferenceDie) DieSeal() *ServiceBindingSecretReferenceDie
- func (d *ServiceBindingSecretReferenceDie) DieSealFeed(r apisv1.ServiceBindingSecretReference) *ServiceBindingSecretReferenceDie
- func (d *ServiceBindingSecretReferenceDie) DieSealFeedPtr(r *apisv1.ServiceBindingSecretReference) *ServiceBindingSecretReferenceDie
- func (d *ServiceBindingSecretReferenceDie) DieSealRelease() apisv1.ServiceBindingSecretReference
- func (d *ServiceBindingSecretReferenceDie) DieSealReleasePtr() *apisv1.ServiceBindingSecretReference
- func (d *ServiceBindingSecretReferenceDie) DieStamp(fn func(r *apisv1.ServiceBindingSecretReference)) *ServiceBindingSecretReferenceDie
- func (d *ServiceBindingSecretReferenceDie) DieStampAt(jp string, fn interface{}) *ServiceBindingSecretReferenceDie
- func (d *ServiceBindingSecretReferenceDie) DieWith(fns ...func(d *ServiceBindingSecretReferenceDie)) *ServiceBindingSecretReferenceDie
- func (d *ServiceBindingSecretReferenceDie) Name(v string) *ServiceBindingSecretReferenceDie
- type ServiceBindingServiceReferenceDie
- func (d *ServiceBindingServiceReferenceDie) APIVersion(v string) *ServiceBindingServiceReferenceDie
- func (d *ServiceBindingServiceReferenceDie) DeepCopy() *ServiceBindingServiceReferenceDie
- func (d *ServiceBindingServiceReferenceDie) DieDiff(opts ...cmp.Option) string
- func (d *ServiceBindingServiceReferenceDie) DieFeed(r apisv1.ServiceBindingServiceReference) *ServiceBindingServiceReferenceDie
- func (d *ServiceBindingServiceReferenceDie) DieFeedJSON(j []byte) *ServiceBindingServiceReferenceDie
- func (d *ServiceBindingServiceReferenceDie) DieFeedPtr(r *apisv1.ServiceBindingServiceReference) *ServiceBindingServiceReferenceDie
- func (d *ServiceBindingServiceReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceBindingServiceReferenceDie
- func (d *ServiceBindingServiceReferenceDie) DieFeedYAML(y []byte) *ServiceBindingServiceReferenceDie
- func (d *ServiceBindingServiceReferenceDie) DieFeedYAMLFile(name string) *ServiceBindingServiceReferenceDie
- func (d *ServiceBindingServiceReferenceDie) DieImmutable(immutable bool) *ServiceBindingServiceReferenceDie
- func (d *ServiceBindingServiceReferenceDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ServiceBindingServiceReferenceDie) DieRelease() apisv1.ServiceBindingServiceReference
- func (d *ServiceBindingServiceReferenceDie) DieReleaseJSON() []byte
- func (d *ServiceBindingServiceReferenceDie) DieReleasePtr() *apisv1.ServiceBindingServiceReference
- func (d *ServiceBindingServiceReferenceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ServiceBindingServiceReferenceDie) DieReleaseYAML() []byte
- func (d *ServiceBindingServiceReferenceDie) DieSeal() *ServiceBindingServiceReferenceDie
- func (d *ServiceBindingServiceReferenceDie) DieSealFeed(r apisv1.ServiceBindingServiceReference) *ServiceBindingServiceReferenceDie
- func (d *ServiceBindingServiceReferenceDie) DieSealFeedPtr(r *apisv1.ServiceBindingServiceReference) *ServiceBindingServiceReferenceDie
- func (d *ServiceBindingServiceReferenceDie) DieSealRelease() apisv1.ServiceBindingServiceReference
- func (d *ServiceBindingServiceReferenceDie) DieSealReleasePtr() *apisv1.ServiceBindingServiceReference
- func (d *ServiceBindingServiceReferenceDie) DieStamp(fn func(r *apisv1.ServiceBindingServiceReference)) *ServiceBindingServiceReferenceDie
- func (d *ServiceBindingServiceReferenceDie) DieStampAt(jp string, fn interface{}) *ServiceBindingServiceReferenceDie
- func (d *ServiceBindingServiceReferenceDie) DieWith(fns ...func(d *ServiceBindingServiceReferenceDie)) *ServiceBindingServiceReferenceDie
- func (d *ServiceBindingServiceReferenceDie) Kind(v string) *ServiceBindingServiceReferenceDie
- func (d *ServiceBindingServiceReferenceDie) Name(v string) *ServiceBindingServiceReferenceDie
- type ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) DeepCopy() *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) DieDiff(opts ...cmp.Option) string
- func (d *ServiceBindingSpecDie) DieFeed(r apisv1.ServiceBindingSpec) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) DieFeedJSON(j []byte) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) DieFeedPtr(r *apisv1.ServiceBindingSpec) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) DieFeedYAML(y []byte) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) DieFeedYAMLFile(name string) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) DieImmutable(immutable bool) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ServiceBindingSpecDie) DieRelease() apisv1.ServiceBindingSpec
- func (d *ServiceBindingSpecDie) DieReleaseJSON() []byte
- func (d *ServiceBindingSpecDie) DieReleasePtr() *apisv1.ServiceBindingSpec
- func (d *ServiceBindingSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ServiceBindingSpecDie) DieReleaseYAML() []byte
- func (d *ServiceBindingSpecDie) DieSeal() *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) DieSealFeed(r apisv1.ServiceBindingSpec) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) DieSealFeedPtr(r *apisv1.ServiceBindingSpec) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) DieSealRelease() apisv1.ServiceBindingSpec
- func (d *ServiceBindingSpecDie) DieSealReleasePtr() *apisv1.ServiceBindingSpec
- func (d *ServiceBindingSpecDie) DieStamp(fn func(r *apisv1.ServiceBindingSpec)) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) DieStampAt(jp string, fn interface{}) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) DieWith(fns ...func(d *ServiceBindingSpecDie)) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) Env(v ...apisv1.EnvMapping) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) EnvDie(v string, fn func(d *EnvMappingDie)) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) Name(v string) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) Provider(v string) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) Service(v apisv1.ServiceBindingServiceReference) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) ServiceDie(fn func(d *ServiceBindingServiceReferenceDie)) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) Type(v string) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) Workload(v apisv1.ServiceBindingWorkloadReference) *ServiceBindingSpecDie
- func (d *ServiceBindingSpecDie) WorkloadDie(fn func(d *ServiceBindingWorkloadReferenceDie)) *ServiceBindingSpecDie
- type ServiceBindingStatusDie
- func (d *ServiceBindingStatusDie) Binding(v *apisv1.ServiceBindingSecretReference) *ServiceBindingStatusDie
- func (d *ServiceBindingStatusDie) BindingDie(fn func(d *ServiceBindingSecretReferenceDie)) *ServiceBindingStatusDie
- func (d *ServiceBindingStatusDie) Conditions(v ...apismetav1.Condition) *ServiceBindingStatusDie
- func (d *ServiceBindingStatusDie) ConditionsDie(v ...*metav1.ConditionDie) *ServiceBindingStatusDie
- func (d *ServiceBindingStatusDie) DeepCopy() *ServiceBindingStatusDie
- func (d *ServiceBindingStatusDie) DieDiff(opts ...cmp.Option) string
- func (d *ServiceBindingStatusDie) DieFeed(r apisv1.ServiceBindingStatus) *ServiceBindingStatusDie
- func (d *ServiceBindingStatusDie) DieFeedJSON(j []byte) *ServiceBindingStatusDie
- func (d *ServiceBindingStatusDie) DieFeedPtr(r *apisv1.ServiceBindingStatus) *ServiceBindingStatusDie
- func (d *ServiceBindingStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceBindingStatusDie
- func (d *ServiceBindingStatusDie) DieFeedYAML(y []byte) *ServiceBindingStatusDie
- func (d *ServiceBindingStatusDie) DieFeedYAMLFile(name string) *ServiceBindingStatusDie
- func (d *ServiceBindingStatusDie) DieImmutable(immutable bool) *ServiceBindingStatusDie
- func (d *ServiceBindingStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ServiceBindingStatusDie) DieRelease() apisv1.ServiceBindingStatus
- func (d *ServiceBindingStatusDie) DieReleaseJSON() []byte
- func (d *ServiceBindingStatusDie) DieReleasePtr() *apisv1.ServiceBindingStatus
- func (d *ServiceBindingStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ServiceBindingStatusDie) DieReleaseYAML() []byte
- func (d *ServiceBindingStatusDie) DieSeal() *ServiceBindingStatusDie
- func (d *ServiceBindingStatusDie) DieSealFeed(r apisv1.ServiceBindingStatus) *ServiceBindingStatusDie
- func (d *ServiceBindingStatusDie) DieSealFeedPtr(r *apisv1.ServiceBindingStatus) *ServiceBindingStatusDie
- func (d *ServiceBindingStatusDie) DieSealRelease() apisv1.ServiceBindingStatus
- func (d *ServiceBindingStatusDie) DieSealReleasePtr() *apisv1.ServiceBindingStatus
- func (d *ServiceBindingStatusDie) DieStamp(fn func(r *apisv1.ServiceBindingStatus)) *ServiceBindingStatusDie
- func (d *ServiceBindingStatusDie) DieStampAt(jp string, fn interface{}) *ServiceBindingStatusDie
- func (d *ServiceBindingStatusDie) DieWith(fns ...func(d *ServiceBindingStatusDie)) *ServiceBindingStatusDie
- func (d *ServiceBindingStatusDie) ObservedGeneration(v int64) *ServiceBindingStatusDie
- type ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) APIVersion(v string) *ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) Containers(v ...string) *ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) DeepCopy() *ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) DieDiff(opts ...cmp.Option) string
- func (d *ServiceBindingWorkloadReferenceDie) DieFeed(r apisv1.ServiceBindingWorkloadReference) *ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) DieFeedJSON(j []byte) *ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) DieFeedPtr(r *apisv1.ServiceBindingWorkloadReference) *ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) DieFeedYAML(y []byte) *ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) DieFeedYAMLFile(name string) *ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) DieImmutable(immutable bool) *ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ServiceBindingWorkloadReferenceDie) DieRelease() apisv1.ServiceBindingWorkloadReference
- func (d *ServiceBindingWorkloadReferenceDie) DieReleaseJSON() []byte
- func (d *ServiceBindingWorkloadReferenceDie) DieReleasePtr() *apisv1.ServiceBindingWorkloadReference
- func (d *ServiceBindingWorkloadReferenceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ServiceBindingWorkloadReferenceDie) DieReleaseYAML() []byte
- func (d *ServiceBindingWorkloadReferenceDie) DieSeal() *ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) DieSealFeed(r apisv1.ServiceBindingWorkloadReference) *ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) DieSealFeedPtr(r *apisv1.ServiceBindingWorkloadReference) *ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) DieSealRelease() apisv1.ServiceBindingWorkloadReference
- func (d *ServiceBindingWorkloadReferenceDie) DieSealReleasePtr() *apisv1.ServiceBindingWorkloadReference
- func (d *ServiceBindingWorkloadReferenceDie) DieStamp(fn func(r *apisv1.ServiceBindingWorkloadReference)) *ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) DieStampAt(jp string, fn interface{}) *ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) DieWith(fns ...func(d *ServiceBindingWorkloadReferenceDie)) *ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) Kind(v string) *ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) Name(v string) *ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) Selector(v *apismetav1.LabelSelector) *ServiceBindingWorkloadReferenceDie
- func (d *ServiceBindingWorkloadReferenceDie) SelectorDie(fn func(d *metav1.LabelSelectorDie)) *ServiceBindingWorkloadReferenceDie
Constants ¶
This section is empty.
Variables ¶
var ClusterWorkloadResourceMappingBlank = (&ClusterWorkloadResourceMappingDie{}).DieFeed(apisv1.ClusterWorkloadResourceMapping{})
var ClusterWorkloadResourceMappingContainerBlank = (&ClusterWorkloadResourceMappingContainerDie{}).DieFeed(apisv1.ClusterWorkloadResourceMappingContainer{})
var ClusterWorkloadResourceMappingSpecBlank = (&ClusterWorkloadResourceMappingSpecDie{}).DieFeed(apisv1.ClusterWorkloadResourceMappingSpec{})
var ClusterWorkloadResourceMappingTemplateBlank = (&ClusterWorkloadResourceMappingTemplateDie{}).DieFeed(apisv1.ClusterWorkloadResourceMappingTemplate{})
var EnvMappingBlank = (&EnvMappingDie{}).DieFeed(apisv1.EnvMapping{})
var ServiceBindingBlank = (&ServiceBindingDie{}).DieFeed(apisv1.ServiceBinding{})
var ServiceBindingConditionReady = diemetav1.ConditionBlank.Type(servicebindingv1.ServiceBindingConditionReady).Unknown().Reason("Initializing")
var ServiceBindingConditionServiceAvailable = diemetav1.ConditionBlank.Type(servicebindingv1.ServiceBindingConditionServiceAvailable).Unknown().Reason("Initializing")
var ServiceBindingConditionWorkloadProjected = diemetav1.ConditionBlank.Type(servicebindingv1.ServiceBindingConditionWorkloadProjected).Unknown().Reason("Initializing")
var ServiceBindingSecretReferenceBlank = (&ServiceBindingSecretReferenceDie{}).DieFeed(apisv1.ServiceBindingSecretReference{})
var ServiceBindingServiceReferenceBlank = (&ServiceBindingServiceReferenceDie{}).DieFeed(apisv1.ServiceBindingServiceReference{})
var ServiceBindingSpecBlank = (&ServiceBindingSpecDie{}).DieFeed(apisv1.ServiceBindingSpec{})
var ServiceBindingStatusBlank = (&ServiceBindingStatusDie{}).DieFeed(apisv1.ServiceBindingStatus{})
var ServiceBindingWorkloadReferenceBlank = (&ServiceBindingWorkloadReferenceDie{}).DieFeed(apisv1.ServiceBindingWorkloadReference{})
Functions ¶
This section is empty.
Types ¶
type ClusterWorkloadResourceMappingContainerDie ¶
type ClusterWorkloadResourceMappingContainerDie struct {
// contains filtered or unexported fields
}
func (*ClusterWorkloadResourceMappingContainerDie) DeepCopy ¶
func (d *ClusterWorkloadResourceMappingContainerDie) DeepCopy() *ClusterWorkloadResourceMappingContainerDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ClusterWorkloadResourceMappingContainerDie) DieDiff ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingContainerDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ClusterWorkloadResourceMappingContainerDie) DieFeed ¶
func (d *ClusterWorkloadResourceMappingContainerDie) DieFeed(r apisv1.ClusterWorkloadResourceMappingContainer) *ClusterWorkloadResourceMappingContainerDie
DieFeed returns a new die with the provided resource.
func (*ClusterWorkloadResourceMappingContainerDie) DieFeedJSON ¶
func (d *ClusterWorkloadResourceMappingContainerDie) DieFeedJSON(j []byte) *ClusterWorkloadResourceMappingContainerDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ClusterWorkloadResourceMappingContainerDie) DieFeedPtr ¶
func (d *ClusterWorkloadResourceMappingContainerDie) DieFeedPtr(r *apisv1.ClusterWorkloadResourceMappingContainer) *ClusterWorkloadResourceMappingContainerDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ClusterWorkloadResourceMappingContainerDie) DieFeedRawExtension ¶
func (d *ClusterWorkloadResourceMappingContainerDie) DieFeedRawExtension(raw runtime.RawExtension) *ClusterWorkloadResourceMappingContainerDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ClusterWorkloadResourceMappingContainerDie) DieFeedYAML ¶
func (d *ClusterWorkloadResourceMappingContainerDie) DieFeedYAML(y []byte) *ClusterWorkloadResourceMappingContainerDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ClusterWorkloadResourceMappingContainerDie) DieFeedYAMLFile ¶
func (d *ClusterWorkloadResourceMappingContainerDie) DieFeedYAMLFile(name string) *ClusterWorkloadResourceMappingContainerDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ClusterWorkloadResourceMappingContainerDie) DieImmutable ¶
func (d *ClusterWorkloadResourceMappingContainerDie) DieImmutable(immutable bool) *ClusterWorkloadResourceMappingContainerDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ClusterWorkloadResourceMappingContainerDie) DiePatch ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingContainerDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ClusterWorkloadResourceMappingContainerDie) DieRelease ¶
func (d *ClusterWorkloadResourceMappingContainerDie) DieRelease() apisv1.ClusterWorkloadResourceMappingContainer
DieRelease returns the resource managed by the die.
func (*ClusterWorkloadResourceMappingContainerDie) DieReleaseJSON ¶
func (d *ClusterWorkloadResourceMappingContainerDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ClusterWorkloadResourceMappingContainerDie) DieReleasePtr ¶
func (d *ClusterWorkloadResourceMappingContainerDie) DieReleasePtr() *apisv1.ClusterWorkloadResourceMappingContainer
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ClusterWorkloadResourceMappingContainerDie) DieReleaseRawExtension ¶
func (d *ClusterWorkloadResourceMappingContainerDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ClusterWorkloadResourceMappingContainerDie) DieReleaseYAML ¶
func (d *ClusterWorkloadResourceMappingContainerDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ClusterWorkloadResourceMappingContainerDie) DieSeal ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingContainerDie) DieSeal() *ClusterWorkloadResourceMappingContainerDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ClusterWorkloadResourceMappingContainerDie) DieSealFeed ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingContainerDie) DieSealFeed(r apisv1.ClusterWorkloadResourceMappingContainer) *ClusterWorkloadResourceMappingContainerDie
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 (*ClusterWorkloadResourceMappingContainerDie) DieSealFeedPtr ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingContainerDie) DieSealFeedPtr(r *apisv1.ClusterWorkloadResourceMappingContainer) *ClusterWorkloadResourceMappingContainerDie
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 (*ClusterWorkloadResourceMappingContainerDie) DieSealRelease ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingContainerDie) DieSealRelease() apisv1.ClusterWorkloadResourceMappingContainer
DieSealRelease returns the sealed resource managed by the die.
func (*ClusterWorkloadResourceMappingContainerDie) DieSealReleasePtr ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingContainerDie) DieSealReleasePtr() *apisv1.ClusterWorkloadResourceMappingContainer
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ClusterWorkloadResourceMappingContainerDie) DieStamp ¶
func (d *ClusterWorkloadResourceMappingContainerDie) DieStamp(fn func(r *apisv1.ClusterWorkloadResourceMappingContainer)) *ClusterWorkloadResourceMappingContainerDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ClusterWorkloadResourceMappingContainerDie) DieStampAt ¶
func (d *ClusterWorkloadResourceMappingContainerDie) DieStampAt(jp string, fn interface{}) *ClusterWorkloadResourceMappingContainerDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ClusterWorkloadResourceMappingContainerDie) DieWith ¶
func (d *ClusterWorkloadResourceMappingContainerDie) DieWith(fns ...func(d *ClusterWorkloadResourceMappingContainerDie)) *ClusterWorkloadResourceMappingContainerDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ClusterWorkloadResourceMappingContainerDie) Env ¶
func (d *ClusterWorkloadResourceMappingContainerDie) Env(v string) *ClusterWorkloadResourceMappingContainerDie
Env is a Restricted JSONPath that references the slice of environment variables for the container with the
container-like workload resource fragment. The referenced location is created if it does not exist. Defaults
to `.envs`.
func (*ClusterWorkloadResourceMappingContainerDie) Name ¶
func (d *ClusterWorkloadResourceMappingContainerDie) Name(v string) *ClusterWorkloadResourceMappingContainerDie
Name is a Restricted JSONPath that references the name of the container with the container-like workload resource
fragment. If not defined, container name filtering is ignored.
func (*ClusterWorkloadResourceMappingContainerDie) Path ¶
func (d *ClusterWorkloadResourceMappingContainerDie) Path(v string) *ClusterWorkloadResourceMappingContainerDie
Path is the JSONPath within the workload resource that matches an existing fragment that is container-like.
func (*ClusterWorkloadResourceMappingContainerDie) VolumeMounts ¶
func (d *ClusterWorkloadResourceMappingContainerDie) VolumeMounts(v string) *ClusterWorkloadResourceMappingContainerDie
VolumeMounts is a Restricted JSONPath that references the slice of volume mounts for the container with the
container-like workload resource fragment. The referenced location is created if it does not exist. Defaults
to `.volumeMounts`.
type ClusterWorkloadResourceMappingDie ¶
type ClusterWorkloadResourceMappingDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*ClusterWorkloadResourceMappingDie) APIVersion ¶
func (d *ClusterWorkloadResourceMappingDie) APIVersion(v string) *ClusterWorkloadResourceMappingDie
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 (*ClusterWorkloadResourceMappingDie) DeepCopy ¶
func (d *ClusterWorkloadResourceMappingDie) DeepCopy() *ClusterWorkloadResourceMappingDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ClusterWorkloadResourceMappingDie) DeepCopyObject ¶
func (d *ClusterWorkloadResourceMappingDie) DeepCopyObject() runtime.Object
func (*ClusterWorkloadResourceMappingDie) DieDiff ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ClusterWorkloadResourceMappingDie) DieFeed ¶
func (d *ClusterWorkloadResourceMappingDie) DieFeed(r apisv1.ClusterWorkloadResourceMapping) *ClusterWorkloadResourceMappingDie
DieFeed returns a new die with the provided resource.
func (*ClusterWorkloadResourceMappingDie) DieFeedJSON ¶
func (d *ClusterWorkloadResourceMappingDie) DieFeedJSON(j []byte) *ClusterWorkloadResourceMappingDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ClusterWorkloadResourceMappingDie) DieFeedPtr ¶
func (d *ClusterWorkloadResourceMappingDie) DieFeedPtr(r *apisv1.ClusterWorkloadResourceMapping) *ClusterWorkloadResourceMappingDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ClusterWorkloadResourceMappingDie) DieFeedRawExtension ¶
func (d *ClusterWorkloadResourceMappingDie) DieFeedRawExtension(raw runtime.RawExtension) *ClusterWorkloadResourceMappingDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ClusterWorkloadResourceMappingDie) DieFeedYAML ¶
func (d *ClusterWorkloadResourceMappingDie) DieFeedYAML(y []byte) *ClusterWorkloadResourceMappingDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ClusterWorkloadResourceMappingDie) DieFeedYAMLFile ¶
func (d *ClusterWorkloadResourceMappingDie) DieFeedYAMLFile(name string) *ClusterWorkloadResourceMappingDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ClusterWorkloadResourceMappingDie) DieImmutable ¶
func (d *ClusterWorkloadResourceMappingDie) DieImmutable(immutable bool) *ClusterWorkloadResourceMappingDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ClusterWorkloadResourceMappingDie) DiePatch ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ClusterWorkloadResourceMappingDie) DieRelease ¶
func (d *ClusterWorkloadResourceMappingDie) DieRelease() apisv1.ClusterWorkloadResourceMapping
DieRelease returns the resource managed by the die.
func (*ClusterWorkloadResourceMappingDie) DieReleaseJSON ¶
func (d *ClusterWorkloadResourceMappingDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ClusterWorkloadResourceMappingDie) DieReleasePtr ¶
func (d *ClusterWorkloadResourceMappingDie) DieReleasePtr() *apisv1.ClusterWorkloadResourceMapping
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ClusterWorkloadResourceMappingDie) DieReleaseRawExtension ¶
func (d *ClusterWorkloadResourceMappingDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ClusterWorkloadResourceMappingDie) DieReleaseUnstructured ¶
func (d *ClusterWorkloadResourceMappingDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*ClusterWorkloadResourceMappingDie) DieReleaseYAML ¶
func (d *ClusterWorkloadResourceMappingDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ClusterWorkloadResourceMappingDie) DieSeal ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingDie) DieSeal() *ClusterWorkloadResourceMappingDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ClusterWorkloadResourceMappingDie) DieSealFeed ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingDie) DieSealFeed(r apisv1.ClusterWorkloadResourceMapping) *ClusterWorkloadResourceMappingDie
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 (*ClusterWorkloadResourceMappingDie) DieSealFeedPtr ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingDie) DieSealFeedPtr(r *apisv1.ClusterWorkloadResourceMapping) *ClusterWorkloadResourceMappingDie
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 (*ClusterWorkloadResourceMappingDie) DieSealRelease ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingDie) DieSealRelease() apisv1.ClusterWorkloadResourceMapping
DieSealRelease returns the sealed resource managed by the die.
func (*ClusterWorkloadResourceMappingDie) DieSealReleasePtr ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingDie) DieSealReleasePtr() *apisv1.ClusterWorkloadResourceMapping
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ClusterWorkloadResourceMappingDie) DieStamp ¶
func (d *ClusterWorkloadResourceMappingDie) DieStamp(fn func(r *apisv1.ClusterWorkloadResourceMapping)) *ClusterWorkloadResourceMappingDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ClusterWorkloadResourceMappingDie) DieStampAt ¶
func (d *ClusterWorkloadResourceMappingDie) DieStampAt(jp string, fn interface{}) *ClusterWorkloadResourceMappingDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ClusterWorkloadResourceMappingDie) DieWith ¶
func (d *ClusterWorkloadResourceMappingDie) DieWith(fns ...func(d *ClusterWorkloadResourceMappingDie)) *ClusterWorkloadResourceMappingDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ClusterWorkloadResourceMappingDie) GetObjectKind ¶
func (d *ClusterWorkloadResourceMappingDie) GetObjectKind() schema.ObjectKind
func (*ClusterWorkloadResourceMappingDie) Kind ¶
func (d *ClusterWorkloadResourceMappingDie) Kind(v string) *ClusterWorkloadResourceMappingDie
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 (*ClusterWorkloadResourceMappingDie) MarshalJSON ¶
func (d *ClusterWorkloadResourceMappingDie) MarshalJSON() ([]byte, error)
func (*ClusterWorkloadResourceMappingDie) Metadata ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingDie) Metadata(v apismetav1.ObjectMeta) *ClusterWorkloadResourceMappingDie
Metadata standard object's metadata.
func (*ClusterWorkloadResourceMappingDie) MetadataDie ¶
func (d *ClusterWorkloadResourceMappingDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ClusterWorkloadResourceMappingDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*ClusterWorkloadResourceMappingDie) SpecDie ¶
func (d *ClusterWorkloadResourceMappingDie) SpecDie(fn func(d *ClusterWorkloadResourceMappingSpecDie)) *ClusterWorkloadResourceMappingDie
SpecDie stamps the resource's spec field with a mutable die.
func (*ClusterWorkloadResourceMappingDie) TypeMetadata ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingDie) TypeMetadata(v apismetav1.TypeMeta) *ClusterWorkloadResourceMappingDie
TypeMetadata standard object's type metadata.
func (*ClusterWorkloadResourceMappingDie) TypeMetadataDie ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *ClusterWorkloadResourceMappingDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*ClusterWorkloadResourceMappingDie) UnmarshalJSON ¶
func (d *ClusterWorkloadResourceMappingDie) UnmarshalJSON(b []byte) error
type ClusterWorkloadResourceMappingSpecDie ¶
type ClusterWorkloadResourceMappingSpecDie struct {
// contains filtered or unexported fields
}
func (*ClusterWorkloadResourceMappingSpecDie) DeepCopy ¶
func (d *ClusterWorkloadResourceMappingSpecDie) DeepCopy() *ClusterWorkloadResourceMappingSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ClusterWorkloadResourceMappingSpecDie) DieDiff ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ClusterWorkloadResourceMappingSpecDie) DieFeed ¶
func (d *ClusterWorkloadResourceMappingSpecDie) DieFeed(r apisv1.ClusterWorkloadResourceMappingSpec) *ClusterWorkloadResourceMappingSpecDie
DieFeed returns a new die with the provided resource.
func (*ClusterWorkloadResourceMappingSpecDie) DieFeedJSON ¶
func (d *ClusterWorkloadResourceMappingSpecDie) DieFeedJSON(j []byte) *ClusterWorkloadResourceMappingSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ClusterWorkloadResourceMappingSpecDie) DieFeedPtr ¶
func (d *ClusterWorkloadResourceMappingSpecDie) DieFeedPtr(r *apisv1.ClusterWorkloadResourceMappingSpec) *ClusterWorkloadResourceMappingSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ClusterWorkloadResourceMappingSpecDie) DieFeedRawExtension ¶
func (d *ClusterWorkloadResourceMappingSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *ClusterWorkloadResourceMappingSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ClusterWorkloadResourceMappingSpecDie) DieFeedYAML ¶
func (d *ClusterWorkloadResourceMappingSpecDie) DieFeedYAML(y []byte) *ClusterWorkloadResourceMappingSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ClusterWorkloadResourceMappingSpecDie) DieFeedYAMLFile ¶
func (d *ClusterWorkloadResourceMappingSpecDie) DieFeedYAMLFile(name string) *ClusterWorkloadResourceMappingSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ClusterWorkloadResourceMappingSpecDie) DieImmutable ¶
func (d *ClusterWorkloadResourceMappingSpecDie) DieImmutable(immutable bool) *ClusterWorkloadResourceMappingSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ClusterWorkloadResourceMappingSpecDie) DiePatch ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ClusterWorkloadResourceMappingSpecDie) DieRelease ¶
func (d *ClusterWorkloadResourceMappingSpecDie) DieRelease() apisv1.ClusterWorkloadResourceMappingSpec
DieRelease returns the resource managed by the die.
func (*ClusterWorkloadResourceMappingSpecDie) DieReleaseJSON ¶
func (d *ClusterWorkloadResourceMappingSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ClusterWorkloadResourceMappingSpecDie) DieReleasePtr ¶
func (d *ClusterWorkloadResourceMappingSpecDie) DieReleasePtr() *apisv1.ClusterWorkloadResourceMappingSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ClusterWorkloadResourceMappingSpecDie) DieReleaseRawExtension ¶
func (d *ClusterWorkloadResourceMappingSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ClusterWorkloadResourceMappingSpecDie) DieReleaseYAML ¶
func (d *ClusterWorkloadResourceMappingSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ClusterWorkloadResourceMappingSpecDie) DieSeal ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingSpecDie) DieSeal() *ClusterWorkloadResourceMappingSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ClusterWorkloadResourceMappingSpecDie) DieSealFeed ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingSpecDie) DieSealFeed(r apisv1.ClusterWorkloadResourceMappingSpec) *ClusterWorkloadResourceMappingSpecDie
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 (*ClusterWorkloadResourceMappingSpecDie) DieSealFeedPtr ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingSpecDie) DieSealFeedPtr(r *apisv1.ClusterWorkloadResourceMappingSpec) *ClusterWorkloadResourceMappingSpecDie
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 (*ClusterWorkloadResourceMappingSpecDie) DieSealRelease ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingSpecDie) DieSealRelease() apisv1.ClusterWorkloadResourceMappingSpec
DieSealRelease returns the sealed resource managed by the die.
func (*ClusterWorkloadResourceMappingSpecDie) DieSealReleasePtr ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingSpecDie) DieSealReleasePtr() *apisv1.ClusterWorkloadResourceMappingSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ClusterWorkloadResourceMappingSpecDie) DieStamp ¶
func (d *ClusterWorkloadResourceMappingSpecDie) DieStamp(fn func(r *apisv1.ClusterWorkloadResourceMappingSpec)) *ClusterWorkloadResourceMappingSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ClusterWorkloadResourceMappingSpecDie) DieStampAt ¶
func (d *ClusterWorkloadResourceMappingSpecDie) DieStampAt(jp string, fn interface{}) *ClusterWorkloadResourceMappingSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ClusterWorkloadResourceMappingSpecDie) DieWith ¶
func (d *ClusterWorkloadResourceMappingSpecDie) DieWith(fns ...func(d *ClusterWorkloadResourceMappingSpecDie)) *ClusterWorkloadResourceMappingSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ClusterWorkloadResourceMappingSpecDie) VersionDie ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingSpecDie) VersionDie(v string, fn func(d *ClusterWorkloadResourceMappingTemplateDie)) *ClusterWorkloadResourceMappingSpecDie
VersionDie mutates a single item in Versions matched by the nested field Version, appending a new item if no match is found.
Versions is the collection of versions for a given resource, with mappings.
func (*ClusterWorkloadResourceMappingSpecDie) Versions ¶
func (d *ClusterWorkloadResourceMappingSpecDie) Versions(v ...apisv1.ClusterWorkloadResourceMappingTemplate) *ClusterWorkloadResourceMappingSpecDie
Versions is the collection of versions for a given resource, with mappings.
func (*ClusterWorkloadResourceMappingSpecDie) VersionsDie ¶
func (d *ClusterWorkloadResourceMappingSpecDie) VersionsDie(version string, fn func(d *ClusterWorkloadResourceMappingTemplateDie)) *ClusterWorkloadResourceMappingSpecDie
deprecated use VersionDie
type ClusterWorkloadResourceMappingTemplateDie ¶
type ClusterWorkloadResourceMappingTemplateDie struct {
// contains filtered or unexported fields
}
func (*ClusterWorkloadResourceMappingTemplateDie) Annotations ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) Annotations(v string) *ClusterWorkloadResourceMappingTemplateDie
Annotations is a Restricted JSONPath that references the annotations map within the workload resource. These
annotations must end up in the resulting Pod, and are generally not the workload resource's annotations.
Defaults to `.spec.template.metadata.annotations`.
func (*ClusterWorkloadResourceMappingTemplateDie) Containers ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) Containers(v ...apisv1.ClusterWorkloadResourceMappingContainer) *ClusterWorkloadResourceMappingTemplateDie
Containers is the collection of mappings to container-like fragments of the workload resource. Defaults to
mappings appropriate for a PodSpecable resource.
func (*ClusterWorkloadResourceMappingTemplateDie) ContainersDie ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) ContainersDie(v ...*ClusterWorkloadResourceMappingContainerDie) *ClusterWorkloadResourceMappingTemplateDie
ContainersDie replaces Containers by collecting the released value from each die passed.
Containers is the collection of mappings to container-like fragments of the workload resource. Defaults to
mappings appropriate for a PodSpecable resource.
func (*ClusterWorkloadResourceMappingTemplateDie) DeepCopy ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) DeepCopy() *ClusterWorkloadResourceMappingTemplateDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ClusterWorkloadResourceMappingTemplateDie) DieDiff ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingTemplateDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ClusterWorkloadResourceMappingTemplateDie) DieFeed ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) DieFeed(r apisv1.ClusterWorkloadResourceMappingTemplate) *ClusterWorkloadResourceMappingTemplateDie
DieFeed returns a new die with the provided resource.
func (*ClusterWorkloadResourceMappingTemplateDie) DieFeedJSON ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) DieFeedJSON(j []byte) *ClusterWorkloadResourceMappingTemplateDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ClusterWorkloadResourceMappingTemplateDie) DieFeedPtr ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) DieFeedPtr(r *apisv1.ClusterWorkloadResourceMappingTemplate) *ClusterWorkloadResourceMappingTemplateDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ClusterWorkloadResourceMappingTemplateDie) DieFeedRawExtension ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) DieFeedRawExtension(raw runtime.RawExtension) *ClusterWorkloadResourceMappingTemplateDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ClusterWorkloadResourceMappingTemplateDie) DieFeedYAML ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) DieFeedYAML(y []byte) *ClusterWorkloadResourceMappingTemplateDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ClusterWorkloadResourceMappingTemplateDie) DieFeedYAMLFile ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) DieFeedYAMLFile(name string) *ClusterWorkloadResourceMappingTemplateDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ClusterWorkloadResourceMappingTemplateDie) DieImmutable ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) DieImmutable(immutable bool) *ClusterWorkloadResourceMappingTemplateDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ClusterWorkloadResourceMappingTemplateDie) DiePatch ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingTemplateDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ClusterWorkloadResourceMappingTemplateDie) DieRelease ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) DieRelease() apisv1.ClusterWorkloadResourceMappingTemplate
DieRelease returns the resource managed by the die.
func (*ClusterWorkloadResourceMappingTemplateDie) DieReleaseJSON ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ClusterWorkloadResourceMappingTemplateDie) DieReleasePtr ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) DieReleasePtr() *apisv1.ClusterWorkloadResourceMappingTemplate
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ClusterWorkloadResourceMappingTemplateDie) DieReleaseRawExtension ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ClusterWorkloadResourceMappingTemplateDie) DieReleaseYAML ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ClusterWorkloadResourceMappingTemplateDie) DieSeal ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingTemplateDie) DieSeal() *ClusterWorkloadResourceMappingTemplateDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ClusterWorkloadResourceMappingTemplateDie) DieSealFeed ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingTemplateDie) DieSealFeed(r apisv1.ClusterWorkloadResourceMappingTemplate) *ClusterWorkloadResourceMappingTemplateDie
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 (*ClusterWorkloadResourceMappingTemplateDie) DieSealFeedPtr ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingTemplateDie) DieSealFeedPtr(r *apisv1.ClusterWorkloadResourceMappingTemplate) *ClusterWorkloadResourceMappingTemplateDie
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 (*ClusterWorkloadResourceMappingTemplateDie) DieSealRelease ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingTemplateDie) DieSealRelease() apisv1.ClusterWorkloadResourceMappingTemplate
DieSealRelease returns the sealed resource managed by the die.
func (*ClusterWorkloadResourceMappingTemplateDie) DieSealReleasePtr ¶ added in v1.0.0
func (d *ClusterWorkloadResourceMappingTemplateDie) DieSealReleasePtr() *apisv1.ClusterWorkloadResourceMappingTemplate
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ClusterWorkloadResourceMappingTemplateDie) DieStamp ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) DieStamp(fn func(r *apisv1.ClusterWorkloadResourceMappingTemplate)) *ClusterWorkloadResourceMappingTemplateDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ClusterWorkloadResourceMappingTemplateDie) DieStampAt ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) DieStampAt(jp string, fn interface{}) *ClusterWorkloadResourceMappingTemplateDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ClusterWorkloadResourceMappingTemplateDie) DieWith ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) DieWith(fns ...func(d *ClusterWorkloadResourceMappingTemplateDie)) *ClusterWorkloadResourceMappingTemplateDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ClusterWorkloadResourceMappingTemplateDie) Version ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) Version(v string) *ClusterWorkloadResourceMappingTemplateDie
Version is the version of the workload resource that this mapping is for.
func (*ClusterWorkloadResourceMappingTemplateDie) Volumes ¶
func (d *ClusterWorkloadResourceMappingTemplateDie) Volumes(v string) *ClusterWorkloadResourceMappingTemplateDie
Volumes is a Restricted JSONPath that references the slice of volumes within the workload resource. Defaults to
`.spec.template.spec.volumes`.
type EnvMappingDie ¶
type EnvMappingDie struct {
// contains filtered or unexported fields
}
func (*EnvMappingDie) DeepCopy ¶
func (d *EnvMappingDie) DeepCopy() *EnvMappingDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*EnvMappingDie) DieDiff ¶ added in v1.0.0
func (d *EnvMappingDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*EnvMappingDie) DieFeed ¶
func (d *EnvMappingDie) DieFeed(r apisv1.EnvMapping) *EnvMappingDie
DieFeed returns a new die with the provided resource.
func (*EnvMappingDie) DieFeedJSON ¶
func (d *EnvMappingDie) DieFeedJSON(j []byte) *EnvMappingDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*EnvMappingDie) DieFeedPtr ¶
func (d *EnvMappingDie) DieFeedPtr(r *apisv1.EnvMapping) *EnvMappingDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*EnvMappingDie) DieFeedRawExtension ¶
func (d *EnvMappingDie) DieFeedRawExtension(raw runtime.RawExtension) *EnvMappingDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EnvMappingDie) DieFeedYAML ¶
func (d *EnvMappingDie) DieFeedYAML(y []byte) *EnvMappingDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*EnvMappingDie) DieFeedYAMLFile ¶
func (d *EnvMappingDie) DieFeedYAMLFile(name string) *EnvMappingDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*EnvMappingDie) DieImmutable ¶
func (d *EnvMappingDie) DieImmutable(immutable bool) *EnvMappingDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*EnvMappingDie) DiePatch ¶ added in v1.0.0
func (d *EnvMappingDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*EnvMappingDie) DieRelease ¶
func (d *EnvMappingDie) DieRelease() apisv1.EnvMapping
DieRelease returns the resource managed by the die.
func (*EnvMappingDie) DieReleaseJSON ¶
func (d *EnvMappingDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*EnvMappingDie) DieReleasePtr ¶
func (d *EnvMappingDie) DieReleasePtr() *apisv1.EnvMapping
DieReleasePtr returns a pointer to the resource managed by the die.
func (*EnvMappingDie) DieReleaseRawExtension ¶
func (d *EnvMappingDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*EnvMappingDie) DieReleaseYAML ¶
func (d *EnvMappingDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*EnvMappingDie) DieSeal ¶ added in v1.0.0
func (d *EnvMappingDie) DieSeal() *EnvMappingDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*EnvMappingDie) DieSealFeed ¶ added in v1.0.0
func (d *EnvMappingDie) DieSealFeed(r apisv1.EnvMapping) *EnvMappingDie
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 (*EnvMappingDie) DieSealFeedPtr ¶ added in v1.0.0
func (d *EnvMappingDie) DieSealFeedPtr(r *apisv1.EnvMapping) *EnvMappingDie
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 (*EnvMappingDie) DieSealRelease ¶ added in v1.0.0
func (d *EnvMappingDie) DieSealRelease() apisv1.EnvMapping
DieSealRelease returns the sealed resource managed by the die.
func (*EnvMappingDie) DieSealReleasePtr ¶ added in v1.0.0
func (d *EnvMappingDie) DieSealReleasePtr() *apisv1.EnvMapping
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*EnvMappingDie) DieStamp ¶
func (d *EnvMappingDie) DieStamp(fn func(r *apisv1.EnvMapping)) *EnvMappingDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*EnvMappingDie) DieStampAt ¶
func (d *EnvMappingDie) DieStampAt(jp string, fn interface{}) *EnvMappingDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*EnvMappingDie) DieWith ¶
func (d *EnvMappingDie) DieWith(fns ...func(d *EnvMappingDie)) *EnvMappingDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*EnvMappingDie) Key ¶
func (d *EnvMappingDie) Key(v string) *EnvMappingDie
Key is the key in the Secret that will be exposed
func (*EnvMappingDie) Name ¶
func (d *EnvMappingDie) Name(v string) *EnvMappingDie
Name is the name of the environment variable
type ServiceBindingDie ¶
type ServiceBindingDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*ServiceBindingDie) APIVersion ¶
func (d *ServiceBindingDie) APIVersion(v string) *ServiceBindingDie
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 (*ServiceBindingDie) DeepCopy ¶
func (d *ServiceBindingDie) DeepCopy() *ServiceBindingDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ServiceBindingDie) DeepCopyObject ¶
func (d *ServiceBindingDie) DeepCopyObject() runtime.Object
func (*ServiceBindingDie) DieDiff ¶ added in v1.0.0
func (d *ServiceBindingDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ServiceBindingDie) DieFeed ¶
func (d *ServiceBindingDie) DieFeed(r apisv1.ServiceBinding) *ServiceBindingDie
DieFeed returns a new die with the provided resource.
func (*ServiceBindingDie) DieFeedJSON ¶
func (d *ServiceBindingDie) DieFeedJSON(j []byte) *ServiceBindingDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ServiceBindingDie) DieFeedPtr ¶
func (d *ServiceBindingDie) DieFeedPtr(r *apisv1.ServiceBinding) *ServiceBindingDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ServiceBindingDie) DieFeedRawExtension ¶
func (d *ServiceBindingDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceBindingDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceBindingDie) DieFeedYAML ¶
func (d *ServiceBindingDie) DieFeedYAML(y []byte) *ServiceBindingDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServiceBindingDie) DieFeedYAMLFile ¶
func (d *ServiceBindingDie) DieFeedYAMLFile(name string) *ServiceBindingDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ServiceBindingDie) DieImmutable ¶
func (d *ServiceBindingDie) DieImmutable(immutable bool) *ServiceBindingDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ServiceBindingDie) DiePatch ¶ added in v1.0.0
func (d *ServiceBindingDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ServiceBindingDie) DieRelease ¶
func (d *ServiceBindingDie) DieRelease() apisv1.ServiceBinding
DieRelease returns the resource managed by the die.
func (*ServiceBindingDie) DieReleaseJSON ¶
func (d *ServiceBindingDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ServiceBindingDie) DieReleasePtr ¶
func (d *ServiceBindingDie) DieReleasePtr() *apisv1.ServiceBinding
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ServiceBindingDie) DieReleaseRawExtension ¶
func (d *ServiceBindingDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceBindingDie) DieReleaseUnstructured ¶
func (d *ServiceBindingDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*ServiceBindingDie) DieReleaseYAML ¶
func (d *ServiceBindingDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServiceBindingDie) DieSeal ¶ added in v1.0.0
func (d *ServiceBindingDie) DieSeal() *ServiceBindingDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ServiceBindingDie) DieSealFeed ¶ added in v1.0.0
func (d *ServiceBindingDie) DieSealFeed(r apisv1.ServiceBinding) *ServiceBindingDie
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 (*ServiceBindingDie) DieSealFeedPtr ¶ added in v1.0.0
func (d *ServiceBindingDie) DieSealFeedPtr(r *apisv1.ServiceBinding) *ServiceBindingDie
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 (*ServiceBindingDie) DieSealRelease ¶ added in v1.0.0
func (d *ServiceBindingDie) DieSealRelease() apisv1.ServiceBinding
DieSealRelease returns the sealed resource managed by the die.
func (*ServiceBindingDie) DieSealReleasePtr ¶ added in v1.0.0
func (d *ServiceBindingDie) DieSealReleasePtr() *apisv1.ServiceBinding
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ServiceBindingDie) DieStamp ¶
func (d *ServiceBindingDie) DieStamp(fn func(r *apisv1.ServiceBinding)) *ServiceBindingDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ServiceBindingDie) DieStampAt ¶
func (d *ServiceBindingDie) DieStampAt(jp string, fn interface{}) *ServiceBindingDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ServiceBindingDie) DieWith ¶
func (d *ServiceBindingDie) DieWith(fns ...func(d *ServiceBindingDie)) *ServiceBindingDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ServiceBindingDie) GetObjectKind ¶
func (d *ServiceBindingDie) GetObjectKind() schema.ObjectKind
func (*ServiceBindingDie) Kind ¶
func (d *ServiceBindingDie) Kind(v string) *ServiceBindingDie
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 (*ServiceBindingDie) MarshalJSON ¶
func (d *ServiceBindingDie) MarshalJSON() ([]byte, error)
func (*ServiceBindingDie) Metadata ¶ added in v1.0.0
func (d *ServiceBindingDie) Metadata(v apismetav1.ObjectMeta) *ServiceBindingDie
Metadata standard object's metadata.
func (*ServiceBindingDie) MetadataDie ¶
func (d *ServiceBindingDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ServiceBindingDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*ServiceBindingDie) Spec ¶
func (d *ServiceBindingDie) Spec(v apisv1.ServiceBindingSpec) *ServiceBindingDie
func (*ServiceBindingDie) SpecDie ¶
func (d *ServiceBindingDie) SpecDie(fn func(d *ServiceBindingSpecDie)) *ServiceBindingDie
SpecDie stamps the resource's spec field with a mutable die.
func (*ServiceBindingDie) Status ¶
func (d *ServiceBindingDie) Status(v apisv1.ServiceBindingStatus) *ServiceBindingDie
func (*ServiceBindingDie) StatusDie ¶
func (d *ServiceBindingDie) StatusDie(fn func(d *ServiceBindingStatusDie)) *ServiceBindingDie
StatusDie stamps the resource's status field with a mutable die.
func (*ServiceBindingDie) TypeMetadata ¶ added in v1.0.0
func (d *ServiceBindingDie) TypeMetadata(v apismetav1.TypeMeta) *ServiceBindingDie
TypeMetadata standard object's type metadata.
func (*ServiceBindingDie) TypeMetadataDie ¶ added in v1.0.0
func (d *ServiceBindingDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *ServiceBindingDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*ServiceBindingDie) UnmarshalJSON ¶
func (d *ServiceBindingDie) UnmarshalJSON(b []byte) error
type ServiceBindingSecretReferenceDie ¶
type ServiceBindingSecretReferenceDie struct {
// contains filtered or unexported fields
}
func (*ServiceBindingSecretReferenceDie) DeepCopy ¶
func (d *ServiceBindingSecretReferenceDie) DeepCopy() *ServiceBindingSecretReferenceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ServiceBindingSecretReferenceDie) DieDiff ¶ added in v1.0.0
func (d *ServiceBindingSecretReferenceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ServiceBindingSecretReferenceDie) DieFeed ¶
func (d *ServiceBindingSecretReferenceDie) DieFeed(r apisv1.ServiceBindingSecretReference) *ServiceBindingSecretReferenceDie
DieFeed returns a new die with the provided resource.
func (*ServiceBindingSecretReferenceDie) DieFeedJSON ¶
func (d *ServiceBindingSecretReferenceDie) DieFeedJSON(j []byte) *ServiceBindingSecretReferenceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ServiceBindingSecretReferenceDie) DieFeedPtr ¶
func (d *ServiceBindingSecretReferenceDie) DieFeedPtr(r *apisv1.ServiceBindingSecretReference) *ServiceBindingSecretReferenceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ServiceBindingSecretReferenceDie) DieFeedRawExtension ¶
func (d *ServiceBindingSecretReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceBindingSecretReferenceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceBindingSecretReferenceDie) DieFeedYAML ¶
func (d *ServiceBindingSecretReferenceDie) DieFeedYAML(y []byte) *ServiceBindingSecretReferenceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServiceBindingSecretReferenceDie) DieFeedYAMLFile ¶
func (d *ServiceBindingSecretReferenceDie) DieFeedYAMLFile(name string) *ServiceBindingSecretReferenceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ServiceBindingSecretReferenceDie) DieImmutable ¶
func (d *ServiceBindingSecretReferenceDie) DieImmutable(immutable bool) *ServiceBindingSecretReferenceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ServiceBindingSecretReferenceDie) DiePatch ¶ added in v1.0.0
func (d *ServiceBindingSecretReferenceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ServiceBindingSecretReferenceDie) DieRelease ¶
func (d *ServiceBindingSecretReferenceDie) DieRelease() apisv1.ServiceBindingSecretReference
DieRelease returns the resource managed by the die.
func (*ServiceBindingSecretReferenceDie) DieReleaseJSON ¶
func (d *ServiceBindingSecretReferenceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ServiceBindingSecretReferenceDie) DieReleasePtr ¶
func (d *ServiceBindingSecretReferenceDie) DieReleasePtr() *apisv1.ServiceBindingSecretReference
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ServiceBindingSecretReferenceDie) DieReleaseRawExtension ¶
func (d *ServiceBindingSecretReferenceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceBindingSecretReferenceDie) DieReleaseYAML ¶
func (d *ServiceBindingSecretReferenceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServiceBindingSecretReferenceDie) DieSeal ¶ added in v1.0.0
func (d *ServiceBindingSecretReferenceDie) DieSeal() *ServiceBindingSecretReferenceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ServiceBindingSecretReferenceDie) DieSealFeed ¶ added in v1.0.0
func (d *ServiceBindingSecretReferenceDie) DieSealFeed(r apisv1.ServiceBindingSecretReference) *ServiceBindingSecretReferenceDie
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 (*ServiceBindingSecretReferenceDie) DieSealFeedPtr ¶ added in v1.0.0
func (d *ServiceBindingSecretReferenceDie) DieSealFeedPtr(r *apisv1.ServiceBindingSecretReference) *ServiceBindingSecretReferenceDie
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 (*ServiceBindingSecretReferenceDie) DieSealRelease ¶ added in v1.0.0
func (d *ServiceBindingSecretReferenceDie) DieSealRelease() apisv1.ServiceBindingSecretReference
DieSealRelease returns the sealed resource managed by the die.
func (*ServiceBindingSecretReferenceDie) DieSealReleasePtr ¶ added in v1.0.0
func (d *ServiceBindingSecretReferenceDie) DieSealReleasePtr() *apisv1.ServiceBindingSecretReference
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ServiceBindingSecretReferenceDie) DieStamp ¶
func (d *ServiceBindingSecretReferenceDie) DieStamp(fn func(r *apisv1.ServiceBindingSecretReference)) *ServiceBindingSecretReferenceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ServiceBindingSecretReferenceDie) DieStampAt ¶
func (d *ServiceBindingSecretReferenceDie) DieStampAt(jp string, fn interface{}) *ServiceBindingSecretReferenceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ServiceBindingSecretReferenceDie) DieWith ¶
func (d *ServiceBindingSecretReferenceDie) DieWith(fns ...func(d *ServiceBindingSecretReferenceDie)) *ServiceBindingSecretReferenceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ServiceBindingSecretReferenceDie) Name ¶
func (d *ServiceBindingSecretReferenceDie) Name(v string) *ServiceBindingSecretReferenceDie
Name of the referent secret.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
type ServiceBindingServiceReferenceDie ¶
type ServiceBindingServiceReferenceDie struct {
// contains filtered or unexported fields
}
func (*ServiceBindingServiceReferenceDie) APIVersion ¶
func (d *ServiceBindingServiceReferenceDie) APIVersion(v string) *ServiceBindingServiceReferenceDie
API version of the referent.
func (*ServiceBindingServiceReferenceDie) DeepCopy ¶
func (d *ServiceBindingServiceReferenceDie) DeepCopy() *ServiceBindingServiceReferenceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ServiceBindingServiceReferenceDie) DieDiff ¶ added in v1.0.0
func (d *ServiceBindingServiceReferenceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ServiceBindingServiceReferenceDie) DieFeed ¶
func (d *ServiceBindingServiceReferenceDie) DieFeed(r apisv1.ServiceBindingServiceReference) *ServiceBindingServiceReferenceDie
DieFeed returns a new die with the provided resource.
func (*ServiceBindingServiceReferenceDie) DieFeedJSON ¶
func (d *ServiceBindingServiceReferenceDie) DieFeedJSON(j []byte) *ServiceBindingServiceReferenceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ServiceBindingServiceReferenceDie) DieFeedPtr ¶
func (d *ServiceBindingServiceReferenceDie) DieFeedPtr(r *apisv1.ServiceBindingServiceReference) *ServiceBindingServiceReferenceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ServiceBindingServiceReferenceDie) DieFeedRawExtension ¶
func (d *ServiceBindingServiceReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceBindingServiceReferenceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceBindingServiceReferenceDie) DieFeedYAML ¶
func (d *ServiceBindingServiceReferenceDie) DieFeedYAML(y []byte) *ServiceBindingServiceReferenceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServiceBindingServiceReferenceDie) DieFeedYAMLFile ¶
func (d *ServiceBindingServiceReferenceDie) DieFeedYAMLFile(name string) *ServiceBindingServiceReferenceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ServiceBindingServiceReferenceDie) DieImmutable ¶
func (d *ServiceBindingServiceReferenceDie) DieImmutable(immutable bool) *ServiceBindingServiceReferenceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ServiceBindingServiceReferenceDie) DiePatch ¶ added in v1.0.0
func (d *ServiceBindingServiceReferenceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ServiceBindingServiceReferenceDie) DieRelease ¶
func (d *ServiceBindingServiceReferenceDie) DieRelease() apisv1.ServiceBindingServiceReference
DieRelease returns the resource managed by the die.
func (*ServiceBindingServiceReferenceDie) DieReleaseJSON ¶
func (d *ServiceBindingServiceReferenceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ServiceBindingServiceReferenceDie) DieReleasePtr ¶
func (d *ServiceBindingServiceReferenceDie) DieReleasePtr() *apisv1.ServiceBindingServiceReference
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ServiceBindingServiceReferenceDie) DieReleaseRawExtension ¶
func (d *ServiceBindingServiceReferenceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceBindingServiceReferenceDie) DieReleaseYAML ¶
func (d *ServiceBindingServiceReferenceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServiceBindingServiceReferenceDie) DieSeal ¶ added in v1.0.0
func (d *ServiceBindingServiceReferenceDie) DieSeal() *ServiceBindingServiceReferenceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ServiceBindingServiceReferenceDie) DieSealFeed ¶ added in v1.0.0
func (d *ServiceBindingServiceReferenceDie) DieSealFeed(r apisv1.ServiceBindingServiceReference) *ServiceBindingServiceReferenceDie
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 (*ServiceBindingServiceReferenceDie) DieSealFeedPtr ¶ added in v1.0.0
func (d *ServiceBindingServiceReferenceDie) DieSealFeedPtr(r *apisv1.ServiceBindingServiceReference) *ServiceBindingServiceReferenceDie
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 (*ServiceBindingServiceReferenceDie) DieSealRelease ¶ added in v1.0.0
func (d *ServiceBindingServiceReferenceDie) DieSealRelease() apisv1.ServiceBindingServiceReference
DieSealRelease returns the sealed resource managed by the die.
func (*ServiceBindingServiceReferenceDie) DieSealReleasePtr ¶ added in v1.0.0
func (d *ServiceBindingServiceReferenceDie) DieSealReleasePtr() *apisv1.ServiceBindingServiceReference
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ServiceBindingServiceReferenceDie) DieStamp ¶
func (d *ServiceBindingServiceReferenceDie) DieStamp(fn func(r *apisv1.ServiceBindingServiceReference)) *ServiceBindingServiceReferenceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ServiceBindingServiceReferenceDie) DieStampAt ¶
func (d *ServiceBindingServiceReferenceDie) DieStampAt(jp string, fn interface{}) *ServiceBindingServiceReferenceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ServiceBindingServiceReferenceDie) DieWith ¶
func (d *ServiceBindingServiceReferenceDie) DieWith(fns ...func(d *ServiceBindingServiceReferenceDie)) *ServiceBindingServiceReferenceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ServiceBindingServiceReferenceDie) Kind ¶
func (d *ServiceBindingServiceReferenceDie) Kind(v string) *ServiceBindingServiceReferenceDie
Kind of the referent.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*ServiceBindingServiceReferenceDie) Name ¶
func (d *ServiceBindingServiceReferenceDie) Name(v string) *ServiceBindingServiceReferenceDie
Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
type ServiceBindingSpecDie ¶
type ServiceBindingSpecDie struct {
// contains filtered or unexported fields
}
func (*ServiceBindingSpecDie) DeepCopy ¶
func (d *ServiceBindingSpecDie) DeepCopy() *ServiceBindingSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ServiceBindingSpecDie) DieDiff ¶ added in v1.0.0
func (d *ServiceBindingSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ServiceBindingSpecDie) DieFeed ¶
func (d *ServiceBindingSpecDie) DieFeed(r apisv1.ServiceBindingSpec) *ServiceBindingSpecDie
DieFeed returns a new die with the provided resource.
func (*ServiceBindingSpecDie) DieFeedJSON ¶
func (d *ServiceBindingSpecDie) DieFeedJSON(j []byte) *ServiceBindingSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ServiceBindingSpecDie) DieFeedPtr ¶
func (d *ServiceBindingSpecDie) DieFeedPtr(r *apisv1.ServiceBindingSpec) *ServiceBindingSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ServiceBindingSpecDie) DieFeedRawExtension ¶
func (d *ServiceBindingSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceBindingSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceBindingSpecDie) DieFeedYAML ¶
func (d *ServiceBindingSpecDie) DieFeedYAML(y []byte) *ServiceBindingSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServiceBindingSpecDie) DieFeedYAMLFile ¶
func (d *ServiceBindingSpecDie) DieFeedYAMLFile(name string) *ServiceBindingSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ServiceBindingSpecDie) DieImmutable ¶
func (d *ServiceBindingSpecDie) DieImmutable(immutable bool) *ServiceBindingSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ServiceBindingSpecDie) DiePatch ¶ added in v1.0.0
func (d *ServiceBindingSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ServiceBindingSpecDie) DieRelease ¶
func (d *ServiceBindingSpecDie) DieRelease() apisv1.ServiceBindingSpec
DieRelease returns the resource managed by the die.
func (*ServiceBindingSpecDie) DieReleaseJSON ¶
func (d *ServiceBindingSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ServiceBindingSpecDie) DieReleasePtr ¶
func (d *ServiceBindingSpecDie) DieReleasePtr() *apisv1.ServiceBindingSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ServiceBindingSpecDie) DieReleaseRawExtension ¶
func (d *ServiceBindingSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceBindingSpecDie) DieReleaseYAML ¶
func (d *ServiceBindingSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServiceBindingSpecDie) DieSeal ¶ added in v1.0.0
func (d *ServiceBindingSpecDie) DieSeal() *ServiceBindingSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ServiceBindingSpecDie) DieSealFeed ¶ added in v1.0.0
func (d *ServiceBindingSpecDie) DieSealFeed(r apisv1.ServiceBindingSpec) *ServiceBindingSpecDie
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 (*ServiceBindingSpecDie) DieSealFeedPtr ¶ added in v1.0.0
func (d *ServiceBindingSpecDie) DieSealFeedPtr(r *apisv1.ServiceBindingSpec) *ServiceBindingSpecDie
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 (*ServiceBindingSpecDie) DieSealRelease ¶ added in v1.0.0
func (d *ServiceBindingSpecDie) DieSealRelease() apisv1.ServiceBindingSpec
DieSealRelease returns the sealed resource managed by the die.
func (*ServiceBindingSpecDie) DieSealReleasePtr ¶ added in v1.0.0
func (d *ServiceBindingSpecDie) DieSealReleasePtr() *apisv1.ServiceBindingSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ServiceBindingSpecDie) DieStamp ¶
func (d *ServiceBindingSpecDie) DieStamp(fn func(r *apisv1.ServiceBindingSpec)) *ServiceBindingSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ServiceBindingSpecDie) DieStampAt ¶
func (d *ServiceBindingSpecDie) DieStampAt(jp string, fn interface{}) *ServiceBindingSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ServiceBindingSpecDie) DieWith ¶
func (d *ServiceBindingSpecDie) DieWith(fns ...func(d *ServiceBindingSpecDie)) *ServiceBindingSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ServiceBindingSpecDie) Env ¶
func (d *ServiceBindingSpecDie) Env(v ...apisv1.EnvMapping) *ServiceBindingSpecDie
Env is the collection of mappings from Secret entries to environment variables
func (*ServiceBindingSpecDie) EnvDie ¶
func (d *ServiceBindingSpecDie) EnvDie(v string, fn func(d *EnvMappingDie)) *ServiceBindingSpecDie
EnvDie mutates a single item in Env matched by the nested field Name, appending a new item if no match is found.
Env is the collection of mappings from Secret entries to environment variables
func (*ServiceBindingSpecDie) Name ¶
func (d *ServiceBindingSpecDie) Name(v string) *ServiceBindingSpecDie
Name is the name of the service as projected into the workload container. Defaults to .metadata.name.
func (*ServiceBindingSpecDie) Provider ¶
func (d *ServiceBindingSpecDie) Provider(v string) *ServiceBindingSpecDie
Provider is the provider of the service as projected into the workload container
func (*ServiceBindingSpecDie) Service ¶
func (d *ServiceBindingSpecDie) Service(v apisv1.ServiceBindingServiceReference) *ServiceBindingSpecDie
Service is a reference to an object that fulfills the ProvisionedService duck type
func (*ServiceBindingSpecDie) ServiceDie ¶
func (d *ServiceBindingSpecDie) ServiceDie(fn func(d *ServiceBindingServiceReferenceDie)) *ServiceBindingSpecDie
ServiceDie mutates Service as a die.
Service is a reference to an object that fulfills the ProvisionedService duck type
func (*ServiceBindingSpecDie) Type ¶
func (d *ServiceBindingSpecDie) Type(v string) *ServiceBindingSpecDie
Type is the type of the service as projected into the workload container
func (*ServiceBindingSpecDie) Workload ¶
func (d *ServiceBindingSpecDie) Workload(v apisv1.ServiceBindingWorkloadReference) *ServiceBindingSpecDie
Workload is a reference to an object
func (*ServiceBindingSpecDie) WorkloadDie ¶
func (d *ServiceBindingSpecDie) WorkloadDie(fn func(d *ServiceBindingWorkloadReferenceDie)) *ServiceBindingSpecDie
WorkloadDie mutates Workload as a die.
Workload is a reference to an object
type ServiceBindingStatusDie ¶
type ServiceBindingStatusDie struct {
// contains filtered or unexported fields
}
func (*ServiceBindingStatusDie) Binding ¶
func (d *ServiceBindingStatusDie) Binding(v *apisv1.ServiceBindingSecretReference) *ServiceBindingStatusDie
Binding exposes the projected secret for this ServiceBinding
func (*ServiceBindingStatusDie) BindingDie ¶
func (d *ServiceBindingStatusDie) BindingDie(fn func(d *ServiceBindingSecretReferenceDie)) *ServiceBindingStatusDie
BindingDie mutates Binding as a die.
Binding exposes the projected secret for this ServiceBinding
func (*ServiceBindingStatusDie) Conditions ¶
func (d *ServiceBindingStatusDie) Conditions(v ...apismetav1.Condition) *ServiceBindingStatusDie
Conditions are the conditions of this ServiceBinding
func (*ServiceBindingStatusDie) ConditionsDie ¶
func (d *ServiceBindingStatusDie) ConditionsDie(v ...*metav1.ConditionDie) *ServiceBindingStatusDie
ConditionsDie replaces Conditions by collecting the released value from each die passed.
Conditions are the conditions of this ServiceBinding
func (*ServiceBindingStatusDie) DeepCopy ¶
func (d *ServiceBindingStatusDie) DeepCopy() *ServiceBindingStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ServiceBindingStatusDie) DieDiff ¶ added in v1.0.0
func (d *ServiceBindingStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ServiceBindingStatusDie) DieFeed ¶
func (d *ServiceBindingStatusDie) DieFeed(r apisv1.ServiceBindingStatus) *ServiceBindingStatusDie
DieFeed returns a new die with the provided resource.
func (*ServiceBindingStatusDie) DieFeedJSON ¶
func (d *ServiceBindingStatusDie) DieFeedJSON(j []byte) *ServiceBindingStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ServiceBindingStatusDie) DieFeedPtr ¶
func (d *ServiceBindingStatusDie) DieFeedPtr(r *apisv1.ServiceBindingStatus) *ServiceBindingStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ServiceBindingStatusDie) DieFeedRawExtension ¶
func (d *ServiceBindingStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceBindingStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceBindingStatusDie) DieFeedYAML ¶
func (d *ServiceBindingStatusDie) DieFeedYAML(y []byte) *ServiceBindingStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServiceBindingStatusDie) DieFeedYAMLFile ¶
func (d *ServiceBindingStatusDie) DieFeedYAMLFile(name string) *ServiceBindingStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ServiceBindingStatusDie) DieImmutable ¶
func (d *ServiceBindingStatusDie) DieImmutable(immutable bool) *ServiceBindingStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ServiceBindingStatusDie) DiePatch ¶ added in v1.0.0
func (d *ServiceBindingStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ServiceBindingStatusDie) DieRelease ¶
func (d *ServiceBindingStatusDie) DieRelease() apisv1.ServiceBindingStatus
DieRelease returns the resource managed by the die.
func (*ServiceBindingStatusDie) DieReleaseJSON ¶
func (d *ServiceBindingStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ServiceBindingStatusDie) DieReleasePtr ¶
func (d *ServiceBindingStatusDie) DieReleasePtr() *apisv1.ServiceBindingStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ServiceBindingStatusDie) DieReleaseRawExtension ¶
func (d *ServiceBindingStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceBindingStatusDie) DieReleaseYAML ¶
func (d *ServiceBindingStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServiceBindingStatusDie) DieSeal ¶ added in v1.0.0
func (d *ServiceBindingStatusDie) DieSeal() *ServiceBindingStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ServiceBindingStatusDie) DieSealFeed ¶ added in v1.0.0
func (d *ServiceBindingStatusDie) DieSealFeed(r apisv1.ServiceBindingStatus) *ServiceBindingStatusDie
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 (*ServiceBindingStatusDie) DieSealFeedPtr ¶ added in v1.0.0
func (d *ServiceBindingStatusDie) DieSealFeedPtr(r *apisv1.ServiceBindingStatus) *ServiceBindingStatusDie
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 (*ServiceBindingStatusDie) DieSealRelease ¶ added in v1.0.0
func (d *ServiceBindingStatusDie) DieSealRelease() apisv1.ServiceBindingStatus
DieSealRelease returns the sealed resource managed by the die.
func (*ServiceBindingStatusDie) DieSealReleasePtr ¶ added in v1.0.0
func (d *ServiceBindingStatusDie) DieSealReleasePtr() *apisv1.ServiceBindingStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ServiceBindingStatusDie) DieStamp ¶
func (d *ServiceBindingStatusDie) DieStamp(fn func(r *apisv1.ServiceBindingStatus)) *ServiceBindingStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ServiceBindingStatusDie) DieStampAt ¶
func (d *ServiceBindingStatusDie) DieStampAt(jp string, fn interface{}) *ServiceBindingStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ServiceBindingStatusDie) DieWith ¶
func (d *ServiceBindingStatusDie) DieWith(fns ...func(d *ServiceBindingStatusDie)) *ServiceBindingStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ServiceBindingStatusDie) ObservedGeneration ¶
func (d *ServiceBindingStatusDie) ObservedGeneration(v int64) *ServiceBindingStatusDie
ObservedGeneration is the 'Generation' of the ServiceBinding that
was last processed by the controller.
type ServiceBindingWorkloadReferenceDie ¶
type ServiceBindingWorkloadReferenceDie struct {
// contains filtered or unexported fields
}
func (*ServiceBindingWorkloadReferenceDie) APIVersion ¶
func (d *ServiceBindingWorkloadReferenceDie) APIVersion(v string) *ServiceBindingWorkloadReferenceDie
API version of the referent.
func (*ServiceBindingWorkloadReferenceDie) Containers ¶
func (d *ServiceBindingWorkloadReferenceDie) Containers(v ...string) *ServiceBindingWorkloadReferenceDie
Containers describes which containers in a Pod should be bound to
func (*ServiceBindingWorkloadReferenceDie) DeepCopy ¶
func (d *ServiceBindingWorkloadReferenceDie) DeepCopy() *ServiceBindingWorkloadReferenceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ServiceBindingWorkloadReferenceDie) DieDiff ¶ added in v1.0.0
func (d *ServiceBindingWorkloadReferenceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ServiceBindingWorkloadReferenceDie) DieFeed ¶
func (d *ServiceBindingWorkloadReferenceDie) DieFeed(r apisv1.ServiceBindingWorkloadReference) *ServiceBindingWorkloadReferenceDie
DieFeed returns a new die with the provided resource.
func (*ServiceBindingWorkloadReferenceDie) DieFeedJSON ¶
func (d *ServiceBindingWorkloadReferenceDie) DieFeedJSON(j []byte) *ServiceBindingWorkloadReferenceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ServiceBindingWorkloadReferenceDie) DieFeedPtr ¶
func (d *ServiceBindingWorkloadReferenceDie) DieFeedPtr(r *apisv1.ServiceBindingWorkloadReference) *ServiceBindingWorkloadReferenceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ServiceBindingWorkloadReferenceDie) DieFeedRawExtension ¶
func (d *ServiceBindingWorkloadReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceBindingWorkloadReferenceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceBindingWorkloadReferenceDie) DieFeedYAML ¶
func (d *ServiceBindingWorkloadReferenceDie) DieFeedYAML(y []byte) *ServiceBindingWorkloadReferenceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServiceBindingWorkloadReferenceDie) DieFeedYAMLFile ¶
func (d *ServiceBindingWorkloadReferenceDie) DieFeedYAMLFile(name string) *ServiceBindingWorkloadReferenceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ServiceBindingWorkloadReferenceDie) DieImmutable ¶
func (d *ServiceBindingWorkloadReferenceDie) DieImmutable(immutable bool) *ServiceBindingWorkloadReferenceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ServiceBindingWorkloadReferenceDie) DiePatch ¶ added in v1.0.0
func (d *ServiceBindingWorkloadReferenceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ServiceBindingWorkloadReferenceDie) DieRelease ¶
func (d *ServiceBindingWorkloadReferenceDie) DieRelease() apisv1.ServiceBindingWorkloadReference
DieRelease returns the resource managed by the die.
func (*ServiceBindingWorkloadReferenceDie) DieReleaseJSON ¶
func (d *ServiceBindingWorkloadReferenceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ServiceBindingWorkloadReferenceDie) DieReleasePtr ¶
func (d *ServiceBindingWorkloadReferenceDie) DieReleasePtr() *apisv1.ServiceBindingWorkloadReference
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ServiceBindingWorkloadReferenceDie) DieReleaseRawExtension ¶
func (d *ServiceBindingWorkloadReferenceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceBindingWorkloadReferenceDie) DieReleaseYAML ¶
func (d *ServiceBindingWorkloadReferenceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServiceBindingWorkloadReferenceDie) DieSeal ¶ added in v1.0.0
func (d *ServiceBindingWorkloadReferenceDie) DieSeal() *ServiceBindingWorkloadReferenceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ServiceBindingWorkloadReferenceDie) DieSealFeed ¶ added in v1.0.0
func (d *ServiceBindingWorkloadReferenceDie) DieSealFeed(r apisv1.ServiceBindingWorkloadReference) *ServiceBindingWorkloadReferenceDie
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 (*ServiceBindingWorkloadReferenceDie) DieSealFeedPtr ¶ added in v1.0.0
func (d *ServiceBindingWorkloadReferenceDie) DieSealFeedPtr(r *apisv1.ServiceBindingWorkloadReference) *ServiceBindingWorkloadReferenceDie
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 (*ServiceBindingWorkloadReferenceDie) DieSealRelease ¶ added in v1.0.0
func (d *ServiceBindingWorkloadReferenceDie) DieSealRelease() apisv1.ServiceBindingWorkloadReference
DieSealRelease returns the sealed resource managed by the die.
func (*ServiceBindingWorkloadReferenceDie) DieSealReleasePtr ¶ added in v1.0.0
func (d *ServiceBindingWorkloadReferenceDie) DieSealReleasePtr() *apisv1.ServiceBindingWorkloadReference
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ServiceBindingWorkloadReferenceDie) DieStamp ¶
func (d *ServiceBindingWorkloadReferenceDie) DieStamp(fn func(r *apisv1.ServiceBindingWorkloadReference)) *ServiceBindingWorkloadReferenceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ServiceBindingWorkloadReferenceDie) DieStampAt ¶
func (d *ServiceBindingWorkloadReferenceDie) DieStampAt(jp string, fn interface{}) *ServiceBindingWorkloadReferenceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ServiceBindingWorkloadReferenceDie) DieWith ¶
func (d *ServiceBindingWorkloadReferenceDie) DieWith(fns ...func(d *ServiceBindingWorkloadReferenceDie)) *ServiceBindingWorkloadReferenceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ServiceBindingWorkloadReferenceDie) Kind ¶
func (d *ServiceBindingWorkloadReferenceDie) Kind(v string) *ServiceBindingWorkloadReferenceDie
Kind of the referent.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*ServiceBindingWorkloadReferenceDie) Name ¶
func (d *ServiceBindingWorkloadReferenceDie) Name(v string) *ServiceBindingWorkloadReferenceDie
Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
func (*ServiceBindingWorkloadReferenceDie) Selector ¶
func (d *ServiceBindingWorkloadReferenceDie) Selector(v *apismetav1.LabelSelector) *ServiceBindingWorkloadReferenceDie
Selector is a query that selects the workload or workloads to bind the service to
func (*ServiceBindingWorkloadReferenceDie) SelectorDie ¶
func (d *ServiceBindingWorkloadReferenceDie) SelectorDie(fn func(d *metav1.LabelSelectorDie)) *ServiceBindingWorkloadReferenceDie
SelectorDie mutates Selector as a die.
Selector is a query that selects the workload or workloads to bind the service to