Documentation ¶
Index ¶
- Variables
- type TestDuckDie
- func (d *TestDuckDie) APIVersion(v string) *TestDuckDie
- func (d *TestDuckDie) DeepCopy() *TestDuckDie
- func (d *TestDuckDie) DeepCopyObject() runtime.Object
- func (d *TestDuckDie) DieDiff(opts ...cmp.Option) string
- func (d *TestDuckDie) DieFeed(r resources.TestDuck) *TestDuckDie
- func (d *TestDuckDie) DieFeedJSON(j []byte) *TestDuckDie
- func (d *TestDuckDie) DieFeedPtr(r *resources.TestDuck) *TestDuckDie
- func (d *TestDuckDie) DieFeedRawExtension(raw runtime.RawExtension) *TestDuckDie
- func (d *TestDuckDie) DieFeedYAML(y []byte) *TestDuckDie
- func (d *TestDuckDie) DieFeedYAMLFile(name string) *TestDuckDie
- func (d *TestDuckDie) DieImmutable(immutable bool) *TestDuckDie
- func (d *TestDuckDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *TestDuckDie) DieRelease() resources.TestDuck
- func (d *TestDuckDie) DieReleaseJSON() []byte
- func (d *TestDuckDie) DieReleasePtr() *resources.TestDuck
- func (d *TestDuckDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TestDuckDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *TestDuckDie) DieReleaseYAML() []byte
- func (d *TestDuckDie) DieSeal() *TestDuckDie
- func (d *TestDuckDie) DieSealFeed(r resources.TestDuck) *TestDuckDie
- func (d *TestDuckDie) DieSealFeedPtr(r *resources.TestDuck) *TestDuckDie
- func (d *TestDuckDie) DieSealRelease() resources.TestDuck
- func (d *TestDuckDie) DieSealReleasePtr() *resources.TestDuck
- func (d *TestDuckDie) DieStamp(fn func(r *resources.TestDuck)) *TestDuckDie
- func (d *TestDuckDie) DieStampAt(jp string, fn interface{}) *TestDuckDie
- func (d *TestDuckDie) DieWith(fns ...func(d *TestDuckDie)) *TestDuckDie
- func (d *TestDuckDie) GetObjectKind() schema.ObjectKind
- func (d *TestDuckDie) Kind(v string) *TestDuckDie
- func (d *TestDuckDie) MarshalJSON() ([]byte, error)
- func (d *TestDuckDie) Metadata(v metav1.ObjectMeta) *TestDuckDie
- func (d *TestDuckDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *TestDuckDie
- func (d *TestDuckDie) Spec(v resources.TestDuckSpec) *TestDuckDie
- func (d *TestDuckDie) SpecDie(fn func(d *TestDuckSpecDie)) *TestDuckDie
- func (d *TestDuckDie) Status(v resources.TestResourceStatus) *TestDuckDie
- func (d *TestDuckDie) StatusDie(fn func(d *TestResourceStatusDie)) *TestDuckDie
- func (d *TestDuckDie) TypeMetadata(v metav1.TypeMeta) *TestDuckDie
- func (d *TestDuckDie) TypeMetadataDie(fn func(d *v1.TypeMetaDie)) *TestDuckDie
- func (d *TestDuckDie) UnmarshalJSON(b []byte) error
- type TestDuckSpecDie
- func (d *TestDuckSpecDie) AddField(key, value string) *TestDuckSpecDie
- func (d *TestDuckSpecDie) DeepCopy() *TestDuckSpecDie
- func (d *TestDuckSpecDie) DieDiff(opts ...cmp.Option) string
- func (d *TestDuckSpecDie) DieFeed(r resources.TestDuckSpec) *TestDuckSpecDie
- func (d *TestDuckSpecDie) DieFeedJSON(j []byte) *TestDuckSpecDie
- func (d *TestDuckSpecDie) DieFeedPtr(r *resources.TestDuckSpec) *TestDuckSpecDie
- func (d *TestDuckSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *TestDuckSpecDie
- func (d *TestDuckSpecDie) DieFeedYAML(y []byte) *TestDuckSpecDie
- func (d *TestDuckSpecDie) DieFeedYAMLFile(name string) *TestDuckSpecDie
- func (d *TestDuckSpecDie) DieImmutable(immutable bool) *TestDuckSpecDie
- func (d *TestDuckSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *TestDuckSpecDie) DieRelease() resources.TestDuckSpec
- func (d *TestDuckSpecDie) DieReleaseJSON() []byte
- func (d *TestDuckSpecDie) DieReleasePtr() *resources.TestDuckSpec
- func (d *TestDuckSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TestDuckSpecDie) DieReleaseYAML() []byte
- func (d *TestDuckSpecDie) DieSeal() *TestDuckSpecDie
- func (d *TestDuckSpecDie) DieSealFeed(r resources.TestDuckSpec) *TestDuckSpecDie
- func (d *TestDuckSpecDie) DieSealFeedPtr(r *resources.TestDuckSpec) *TestDuckSpecDie
- func (d *TestDuckSpecDie) DieSealRelease() resources.TestDuckSpec
- func (d *TestDuckSpecDie) DieSealReleasePtr() *resources.TestDuckSpec
- func (d *TestDuckSpecDie) DieStamp(fn func(r *resources.TestDuckSpec)) *TestDuckSpecDie
- func (d *TestDuckSpecDie) DieStampAt(jp string, fn interface{}) *TestDuckSpecDie
- func (d *TestDuckSpecDie) DieWith(fns ...func(d *TestDuckSpecDie)) *TestDuckSpecDie
- func (d *TestDuckSpecDie) Fields(v map[string]string) *TestDuckSpecDie
- type TestResourceDie
- func (d *TestResourceDie) APIVersion(v string) *TestResourceDie
- func (d *TestResourceDie) DeepCopy() *TestResourceDie
- func (d *TestResourceDie) DeepCopyObject() runtime.Object
- func (d *TestResourceDie) DieDiff(opts ...cmp.Option) string
- func (d *TestResourceDie) DieFeed(r resources.TestResource) *TestResourceDie
- func (d *TestResourceDie) DieFeedJSON(j []byte) *TestResourceDie
- func (d *TestResourceDie) DieFeedPtr(r *resources.TestResource) *TestResourceDie
- func (d *TestResourceDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceDie
- func (d *TestResourceDie) DieFeedYAML(y []byte) *TestResourceDie
- func (d *TestResourceDie) DieFeedYAMLFile(name string) *TestResourceDie
- func (d *TestResourceDie) DieImmutable(immutable bool) *TestResourceDie
- func (d *TestResourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *TestResourceDie) DieRelease() resources.TestResource
- func (d *TestResourceDie) DieReleaseJSON() []byte
- func (d *TestResourceDie) DieReleasePtr() *resources.TestResource
- func (d *TestResourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TestResourceDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *TestResourceDie) DieReleaseYAML() []byte
- func (d *TestResourceDie) DieSeal() *TestResourceDie
- func (d *TestResourceDie) DieSealFeed(r resources.TestResource) *TestResourceDie
- func (d *TestResourceDie) DieSealFeedPtr(r *resources.TestResource) *TestResourceDie
- func (d *TestResourceDie) DieSealRelease() resources.TestResource
- func (d *TestResourceDie) DieSealReleasePtr() *resources.TestResource
- func (d *TestResourceDie) DieStamp(fn func(r *resources.TestResource)) *TestResourceDie
- func (d *TestResourceDie) DieStampAt(jp string, fn interface{}) *TestResourceDie
- func (d *TestResourceDie) DieWith(fns ...func(d *TestResourceDie)) *TestResourceDie
- func (d *TestResourceDie) GetObjectKind() schema.ObjectKind
- func (d *TestResourceDie) Kind(v string) *TestResourceDie
- func (d *TestResourceDie) MarshalJSON() ([]byte, error)
- func (d *TestResourceDie) Metadata(v metav1.ObjectMeta) *TestResourceDie
- func (d *TestResourceDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *TestResourceDie
- func (d *TestResourceDie) Spec(v resources.TestResourceSpec) *TestResourceDie
- func (d *TestResourceDie) SpecDie(fn func(d *TestResourceSpecDie)) *TestResourceDie
- func (d *TestResourceDie) Status(v resources.TestResourceStatus) *TestResourceDie
- func (d *TestResourceDie) StatusDie(fn func(d *TestResourceStatusDie)) *TestResourceDie
- func (d *TestResourceDie) TypeMetadata(v metav1.TypeMeta) *TestResourceDie
- func (d *TestResourceDie) TypeMetadataDie(fn func(d *v1.TypeMetaDie)) *TestResourceDie
- func (d *TestResourceDie) UnmarshalJSON(b []byte) error
- type TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) APIVersion(v string) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) DeepCopy() *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) DeepCopyObject() runtime.Object
- func (d *TestResourceEmptyStatusDie) DieDiff(opts ...cmp.Option) string
- func (d *TestResourceEmptyStatusDie) DieFeed(r resources.TestResourceEmptyStatus) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) DieFeedJSON(j []byte) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) DieFeedPtr(r *resources.TestResourceEmptyStatus) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) DieFeedYAML(y []byte) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) DieFeedYAMLFile(name string) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) DieImmutable(immutable bool) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *TestResourceEmptyStatusDie) DieRelease() resources.TestResourceEmptyStatus
- func (d *TestResourceEmptyStatusDie) DieReleaseJSON() []byte
- func (d *TestResourceEmptyStatusDie) DieReleasePtr() *resources.TestResourceEmptyStatus
- func (d *TestResourceEmptyStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TestResourceEmptyStatusDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *TestResourceEmptyStatusDie) DieReleaseYAML() []byte
- func (d *TestResourceEmptyStatusDie) DieSeal() *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) DieSealFeed(r resources.TestResourceEmptyStatus) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) DieSealFeedPtr(r *resources.TestResourceEmptyStatus) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) DieSealRelease() resources.TestResourceEmptyStatus
- func (d *TestResourceEmptyStatusDie) DieSealReleasePtr() *resources.TestResourceEmptyStatus
- func (d *TestResourceEmptyStatusDie) DieStamp(fn func(r *resources.TestResourceEmptyStatus)) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) DieStampAt(jp string, fn interface{}) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) DieWith(fns ...func(d *TestResourceEmptyStatusDie)) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) GetObjectKind() schema.ObjectKind
- func (d *TestResourceEmptyStatusDie) Kind(v string) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) MarshalJSON() ([]byte, error)
- func (d *TestResourceEmptyStatusDie) Metadata(v metav1.ObjectMeta) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) Spec(v resources.TestResourceSpec) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) SpecDie(fn func(d *TestResourceSpecDie)) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) Status(v resources.TestResourceEmptyStatusStatus) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) StatusDie(fn func(d *TestResourceEmptyStatusStatusDie)) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) TypeMetadata(v metav1.TypeMeta) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) TypeMetadataDie(fn func(d *v1.TypeMetaDie)) *TestResourceEmptyStatusDie
- func (d *TestResourceEmptyStatusDie) UnmarshalJSON(b []byte) error
- type TestResourceEmptyStatusStatusDie
- func (d *TestResourceEmptyStatusStatusDie) DeepCopy() *TestResourceEmptyStatusStatusDie
- func (d *TestResourceEmptyStatusStatusDie) DieDiff(opts ...cmp.Option) string
- func (d *TestResourceEmptyStatusStatusDie) DieFeed(r resources.TestResourceEmptyStatusStatus) *TestResourceEmptyStatusStatusDie
- func (d *TestResourceEmptyStatusStatusDie) DieFeedJSON(j []byte) *TestResourceEmptyStatusStatusDie
- func (d *TestResourceEmptyStatusStatusDie) DieFeedPtr(r *resources.TestResourceEmptyStatusStatus) *TestResourceEmptyStatusStatusDie
- func (d *TestResourceEmptyStatusStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceEmptyStatusStatusDie
- func (d *TestResourceEmptyStatusStatusDie) DieFeedYAML(y []byte) *TestResourceEmptyStatusStatusDie
- func (d *TestResourceEmptyStatusStatusDie) DieFeedYAMLFile(name string) *TestResourceEmptyStatusStatusDie
- func (d *TestResourceEmptyStatusStatusDie) DieImmutable(immutable bool) *TestResourceEmptyStatusStatusDie
- func (d *TestResourceEmptyStatusStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *TestResourceEmptyStatusStatusDie) DieRelease() resources.TestResourceEmptyStatusStatus
- func (d *TestResourceEmptyStatusStatusDie) DieReleaseJSON() []byte
- func (d *TestResourceEmptyStatusStatusDie) DieReleasePtr() *resources.TestResourceEmptyStatusStatus
- func (d *TestResourceEmptyStatusStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TestResourceEmptyStatusStatusDie) DieReleaseYAML() []byte
- func (d *TestResourceEmptyStatusStatusDie) DieSeal() *TestResourceEmptyStatusStatusDie
- func (d *TestResourceEmptyStatusStatusDie) DieSealFeed(r resources.TestResourceEmptyStatusStatus) *TestResourceEmptyStatusStatusDie
- func (d *TestResourceEmptyStatusStatusDie) DieSealFeedPtr(r *resources.TestResourceEmptyStatusStatus) *TestResourceEmptyStatusStatusDie
- func (d *TestResourceEmptyStatusStatusDie) DieSealRelease() resources.TestResourceEmptyStatusStatus
- func (d *TestResourceEmptyStatusStatusDie) DieSealReleasePtr() *resources.TestResourceEmptyStatusStatus
- func (d *TestResourceEmptyStatusStatusDie) DieStamp(fn func(r *resources.TestResourceEmptyStatusStatus)) *TestResourceEmptyStatusStatusDie
- func (d *TestResourceEmptyStatusStatusDie) DieStampAt(jp string, fn interface{}) *TestResourceEmptyStatusStatusDie
- func (d *TestResourceEmptyStatusStatusDie) DieWith(fns ...func(d *TestResourceEmptyStatusStatusDie)) *TestResourceEmptyStatusStatusDie
- type TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) APIVersion(v string) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) DeepCopy() *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) DeepCopyObject() runtime.Object
- func (d *TestResourceNilableStatusDie) DieDiff(opts ...cmp.Option) string
- func (d *TestResourceNilableStatusDie) DieFeed(r resources.TestResourceNilableStatus) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) DieFeedJSON(j []byte) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) DieFeedPtr(r *resources.TestResourceNilableStatus) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) DieFeedYAML(y []byte) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) DieFeedYAMLFile(name string) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) DieImmutable(immutable bool) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *TestResourceNilableStatusDie) DieRelease() resources.TestResourceNilableStatus
- func (d *TestResourceNilableStatusDie) DieReleaseJSON() []byte
- func (d *TestResourceNilableStatusDie) DieReleasePtr() *resources.TestResourceNilableStatus
- func (d *TestResourceNilableStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TestResourceNilableStatusDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *TestResourceNilableStatusDie) DieReleaseYAML() []byte
- func (d *TestResourceNilableStatusDie) DieSeal() *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) DieSealFeed(r resources.TestResourceNilableStatus) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) DieSealFeedPtr(r *resources.TestResourceNilableStatus) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) DieSealRelease() resources.TestResourceNilableStatus
- func (d *TestResourceNilableStatusDie) DieSealReleasePtr() *resources.TestResourceNilableStatus
- func (d *TestResourceNilableStatusDie) DieStamp(fn func(r *resources.TestResourceNilableStatus)) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) DieStampAt(jp string, fn interface{}) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) DieWith(fns ...func(d *TestResourceNilableStatusDie)) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) GetObjectKind() schema.ObjectKind
- func (d *TestResourceNilableStatusDie) Kind(v string) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) MarshalJSON() ([]byte, error)
- func (d *TestResourceNilableStatusDie) Metadata(v metav1.ObjectMeta) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) Spec(v resources.TestResourceSpec) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) SpecDie(fn func(d *TestResourceSpecDie)) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) Status(v *resources.TestResourceStatus) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) StatusDie(fn func(d *TestResourceStatusDie)) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) TypeMetadata(v metav1.TypeMeta) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) TypeMetadataDie(fn func(d *v1.TypeMetaDie)) *TestResourceNilableStatusDie
- func (d *TestResourceNilableStatusDie) UnmarshalJSON(b []byte) error
- type TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) APIVersion(v string) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) DeepCopy() *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) DeepCopyObject() runtime.Object
- func (d *TestResourceNoStatusDie) DieDiff(opts ...cmp.Option) string
- func (d *TestResourceNoStatusDie) DieFeed(r resources.TestResourceNoStatus) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) DieFeedJSON(j []byte) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) DieFeedPtr(r *resources.TestResourceNoStatus) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) DieFeedYAML(y []byte) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) DieFeedYAMLFile(name string) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) DieImmutable(immutable bool) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *TestResourceNoStatusDie) DieRelease() resources.TestResourceNoStatus
- func (d *TestResourceNoStatusDie) DieReleaseJSON() []byte
- func (d *TestResourceNoStatusDie) DieReleasePtr() *resources.TestResourceNoStatus
- func (d *TestResourceNoStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TestResourceNoStatusDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *TestResourceNoStatusDie) DieReleaseYAML() []byte
- func (d *TestResourceNoStatusDie) DieSeal() *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) DieSealFeed(r resources.TestResourceNoStatus) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) DieSealFeedPtr(r *resources.TestResourceNoStatus) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) DieSealRelease() resources.TestResourceNoStatus
- func (d *TestResourceNoStatusDie) DieSealReleasePtr() *resources.TestResourceNoStatus
- func (d *TestResourceNoStatusDie) DieStamp(fn func(r *resources.TestResourceNoStatus)) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) DieStampAt(jp string, fn interface{}) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) DieWith(fns ...func(d *TestResourceNoStatusDie)) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) GetObjectKind() schema.ObjectKind
- func (d *TestResourceNoStatusDie) Kind(v string) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) MarshalJSON() ([]byte, error)
- func (d *TestResourceNoStatusDie) Metadata(v metav1.ObjectMeta) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) Spec(v resources.TestResourceSpec) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) SpecDie(fn func(d *TestResourceSpecDie)) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) TypeMetadata(v metav1.TypeMeta) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) TypeMetadataDie(fn func(d *v1.TypeMetaDie)) *TestResourceNoStatusDie
- func (d *TestResourceNoStatusDie) UnmarshalJSON(b []byte) error
- type TestResourceSpecDie
- func (d *TestResourceSpecDie) AddField(key, value string) *TestResourceSpecDie
- func (d *TestResourceSpecDie) DeepCopy() *TestResourceSpecDie
- func (d *TestResourceSpecDie) DieDiff(opts ...cmp.Option) string
- func (d *TestResourceSpecDie) DieFeed(r resources.TestResourceSpec) *TestResourceSpecDie
- func (d *TestResourceSpecDie) DieFeedJSON(j []byte) *TestResourceSpecDie
- func (d *TestResourceSpecDie) DieFeedPtr(r *resources.TestResourceSpec) *TestResourceSpecDie
- func (d *TestResourceSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceSpecDie
- func (d *TestResourceSpecDie) DieFeedYAML(y []byte) *TestResourceSpecDie
- func (d *TestResourceSpecDie) DieFeedYAMLFile(name string) *TestResourceSpecDie
- func (d *TestResourceSpecDie) DieImmutable(immutable bool) *TestResourceSpecDie
- func (d *TestResourceSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *TestResourceSpecDie) DieRelease() resources.TestResourceSpec
- func (d *TestResourceSpecDie) DieReleaseJSON() []byte
- func (d *TestResourceSpecDie) DieReleasePtr() *resources.TestResourceSpec
- func (d *TestResourceSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TestResourceSpecDie) DieReleaseYAML() []byte
- func (d *TestResourceSpecDie) DieSeal() *TestResourceSpecDie
- func (d *TestResourceSpecDie) DieSealFeed(r resources.TestResourceSpec) *TestResourceSpecDie
- func (d *TestResourceSpecDie) DieSealFeedPtr(r *resources.TestResourceSpec) *TestResourceSpecDie
- func (d *TestResourceSpecDie) DieSealRelease() resources.TestResourceSpec
- func (d *TestResourceSpecDie) DieSealReleasePtr() *resources.TestResourceSpec
- func (d *TestResourceSpecDie) DieStamp(fn func(r *resources.TestResourceSpec)) *TestResourceSpecDie
- func (d *TestResourceSpecDie) DieStampAt(jp string, fn interface{}) *TestResourceSpecDie
- func (d *TestResourceSpecDie) DieWith(fns ...func(d *TestResourceSpecDie)) *TestResourceSpecDie
- func (d *TestResourceSpecDie) ErrOnMarshal(v bool) *TestResourceSpecDie
- func (d *TestResourceSpecDie) ErrOnUnmarshal(v bool) *TestResourceSpecDie
- func (d *TestResourceSpecDie) Fields(v map[string]string) *TestResourceSpecDie
- func (d *TestResourceSpecDie) Template(v apicorev1.PodTemplateSpec) *TestResourceSpecDie
- func (d *TestResourceSpecDie) TemplateDie(fn func(d *corev1.PodTemplateSpecDie)) *TestResourceSpecDie
- type TestResourceStatusDie
- func (d *TestResourceStatusDie) AddField(key, value string) *TestResourceStatusDie
- func (d *TestResourceStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *TestResourceStatusDie
- func (d *TestResourceStatusDie) DeepCopy() *TestResourceStatusDie
- func (d *TestResourceStatusDie) DieDiff(opts ...cmp.Option) string
- func (d *TestResourceStatusDie) DieFeed(r resources.TestResourceStatus) *TestResourceStatusDie
- func (d *TestResourceStatusDie) DieFeedJSON(j []byte) *TestResourceStatusDie
- func (d *TestResourceStatusDie) DieFeedPtr(r *resources.TestResourceStatus) *TestResourceStatusDie
- func (d *TestResourceStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceStatusDie
- func (d *TestResourceStatusDie) DieFeedYAML(y []byte) *TestResourceStatusDie
- func (d *TestResourceStatusDie) DieFeedYAMLFile(name string) *TestResourceStatusDie
- func (d *TestResourceStatusDie) DieImmutable(immutable bool) *TestResourceStatusDie
- func (d *TestResourceStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *TestResourceStatusDie) DieRelease() resources.TestResourceStatus
- func (d *TestResourceStatusDie) DieReleaseJSON() []byte
- func (d *TestResourceStatusDie) DieReleasePtr() *resources.TestResourceStatus
- func (d *TestResourceStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TestResourceStatusDie) DieReleaseYAML() []byte
- func (d *TestResourceStatusDie) DieSeal() *TestResourceStatusDie
- func (d *TestResourceStatusDie) DieSealFeed(r resources.TestResourceStatus) *TestResourceStatusDie
- func (d *TestResourceStatusDie) DieSealFeedPtr(r *resources.TestResourceStatus) *TestResourceStatusDie
- func (d *TestResourceStatusDie) DieSealRelease() resources.TestResourceStatus
- func (d *TestResourceStatusDie) DieSealReleasePtr() *resources.TestResourceStatus
- func (d *TestResourceStatusDie) DieStamp(fn func(r *resources.TestResourceStatus)) *TestResourceStatusDie
- func (d *TestResourceStatusDie) DieStampAt(jp string, fn interface{}) *TestResourceStatusDie
- func (d *TestResourceStatusDie) DieWith(fns ...func(d *TestResourceStatusDie)) *TestResourceStatusDie
- func (d *TestResourceStatusDie) Fields(v map[string]string) *TestResourceStatusDie
- func (d *TestResourceStatusDie) Status(v apis.Status) *TestResourceStatusDie
- type TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) APIVersion(v string) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) DeepCopy() *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) DeepCopyObject() runtime.Object
- func (d *TestResourceUnexportedFieldsDie) DieDiff(opts ...cmp.Option) string
- func (d *TestResourceUnexportedFieldsDie) DieFeed(r resources.TestResourceUnexportedFields) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) DieFeedJSON(j []byte) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) DieFeedPtr(r *resources.TestResourceUnexportedFields) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) DieFeedYAML(y []byte) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) DieFeedYAMLFile(name string) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) DieImmutable(immutable bool) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *TestResourceUnexportedFieldsDie) DieRelease() resources.TestResourceUnexportedFields
- func (d *TestResourceUnexportedFieldsDie) DieReleaseJSON() []byte
- func (d *TestResourceUnexportedFieldsDie) DieReleasePtr() *resources.TestResourceUnexportedFields
- func (d *TestResourceUnexportedFieldsDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TestResourceUnexportedFieldsDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *TestResourceUnexportedFieldsDie) DieReleaseYAML() []byte
- func (d *TestResourceUnexportedFieldsDie) DieSeal() *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) DieSealFeed(r resources.TestResourceUnexportedFields) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) DieSealFeedPtr(r *resources.TestResourceUnexportedFields) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) DieSealRelease() resources.TestResourceUnexportedFields
- func (d *TestResourceUnexportedFieldsDie) DieSealReleasePtr() *resources.TestResourceUnexportedFields
- func (d *TestResourceUnexportedFieldsDie) DieStamp(fn func(r *resources.TestResourceUnexportedFields)) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) DieStampAt(jp string, fn interface{}) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) DieWith(fns ...func(d *TestResourceUnexportedFieldsDie)) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) GetObjectKind() schema.ObjectKind
- func (d *TestResourceUnexportedFieldsDie) Kind(v string) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) MarshalJSON() ([]byte, error)
- func (d *TestResourceUnexportedFieldsDie) Metadata(v metav1.ObjectMeta) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) Spec(v resources.TestResourceUnexportedFieldsSpec) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) SpecDie(fn func(d *TestResourceUnexportedFieldsSpecDie)) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) Status(v resources.TestResourceUnexportedFieldsStatus) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) StatusDie(fn func(d *TestResourceUnexportedFieldsStatusDie)) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) TypeMetadata(v metav1.TypeMeta) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) TypeMetadataDie(fn func(d *v1.TypeMetaDie)) *TestResourceUnexportedFieldsDie
- func (d *TestResourceUnexportedFieldsDie) UnmarshalJSON(b []byte) error
- type TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) AddField(key, value string) *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) AddUnexportedField(key, value string) *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) DeepCopy() *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) DieDiff(opts ...cmp.Option) string
- func (d *TestResourceUnexportedFieldsSpecDie) DieFeed(r resources.TestResourceUnexportedFieldsSpec) *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) DieFeedJSON(j []byte) *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) DieFeedPtr(r *resources.TestResourceUnexportedFieldsSpec) *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) DieFeedYAML(y []byte) *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) DieFeedYAMLFile(name string) *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) DieImmutable(immutable bool) *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *TestResourceUnexportedFieldsSpecDie) DieRelease() resources.TestResourceUnexportedFieldsSpec
- func (d *TestResourceUnexportedFieldsSpecDie) DieReleaseJSON() []byte
- func (d *TestResourceUnexportedFieldsSpecDie) DieReleasePtr() *resources.TestResourceUnexportedFieldsSpec
- func (d *TestResourceUnexportedFieldsSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TestResourceUnexportedFieldsSpecDie) DieReleaseYAML() []byte
- func (d *TestResourceUnexportedFieldsSpecDie) DieSeal() *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) DieSealFeed(r resources.TestResourceUnexportedFieldsSpec) *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) DieSealFeedPtr(r *resources.TestResourceUnexportedFieldsSpec) *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) DieSealRelease() resources.TestResourceUnexportedFieldsSpec
- func (d *TestResourceUnexportedFieldsSpecDie) DieSealReleasePtr() *resources.TestResourceUnexportedFieldsSpec
- func (d *TestResourceUnexportedFieldsSpecDie) DieStamp(fn func(r *resources.TestResourceUnexportedFieldsSpec)) *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) DieStampAt(jp string, fn interface{}) *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) DieWith(fns ...func(d *TestResourceUnexportedFieldsSpecDie)) *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) ErrOnMarshal(v bool) *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) ErrOnUnmarshal(v bool) *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) Fields(v map[string]string) *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) Template(v apicorev1.PodTemplateSpec) *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) TemplateDie(fn func(d *corev1.PodTemplateSpecDie)) *TestResourceUnexportedFieldsSpecDie
- type TestResourceUnexportedFieldsStatusDie
- func (d *TestResourceUnexportedFieldsStatusDie) AddField(key, value string) *TestResourceUnexportedFieldsStatusDie
- func (d *TestResourceUnexportedFieldsStatusDie) AddUnexportedField(key, value string) *TestResourceUnexportedFieldsStatusDie
- func (d *TestResourceUnexportedFieldsStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *TestResourceUnexportedFieldsStatusDie
- func (d *TestResourceUnexportedFieldsStatusDie) DeepCopy() *TestResourceUnexportedFieldsStatusDie
- func (d *TestResourceUnexportedFieldsStatusDie) DieDiff(opts ...cmp.Option) string
- func (d *TestResourceUnexportedFieldsStatusDie) DieFeed(r resources.TestResourceUnexportedFieldsStatus) *TestResourceUnexportedFieldsStatusDie
- func (d *TestResourceUnexportedFieldsStatusDie) DieFeedJSON(j []byte) *TestResourceUnexportedFieldsStatusDie
- func (d *TestResourceUnexportedFieldsStatusDie) DieFeedPtr(r *resources.TestResourceUnexportedFieldsStatus) *TestResourceUnexportedFieldsStatusDie
- func (d *TestResourceUnexportedFieldsStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceUnexportedFieldsStatusDie
- func (d *TestResourceUnexportedFieldsStatusDie) DieFeedYAML(y []byte) *TestResourceUnexportedFieldsStatusDie
- func (d *TestResourceUnexportedFieldsStatusDie) DieFeedYAMLFile(name string) *TestResourceUnexportedFieldsStatusDie
- func (d *TestResourceUnexportedFieldsStatusDie) DieImmutable(immutable bool) *TestResourceUnexportedFieldsStatusDie
- func (d *TestResourceUnexportedFieldsStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *TestResourceUnexportedFieldsStatusDie) DieRelease() resources.TestResourceUnexportedFieldsStatus
- func (d *TestResourceUnexportedFieldsStatusDie) DieReleaseJSON() []byte
- func (d *TestResourceUnexportedFieldsStatusDie) DieReleasePtr() *resources.TestResourceUnexportedFieldsStatus
- func (d *TestResourceUnexportedFieldsStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TestResourceUnexportedFieldsStatusDie) DieReleaseYAML() []byte
- func (d *TestResourceUnexportedFieldsStatusDie) DieSeal() *TestResourceUnexportedFieldsStatusDie
- func (d *TestResourceUnexportedFieldsStatusDie) DieSealFeed(r resources.TestResourceUnexportedFieldsStatus) *TestResourceUnexportedFieldsStatusDie
- func (d *TestResourceUnexportedFieldsStatusDie) DieSealFeedPtr(r *resources.TestResourceUnexportedFieldsStatus) *TestResourceUnexportedFieldsStatusDie
- func (d *TestResourceUnexportedFieldsStatusDie) DieSealRelease() resources.TestResourceUnexportedFieldsStatus
- func (d *TestResourceUnexportedFieldsStatusDie) DieSealReleasePtr() *resources.TestResourceUnexportedFieldsStatus
- func (d *TestResourceUnexportedFieldsStatusDie) DieStamp(fn func(r *resources.TestResourceUnexportedFieldsStatus)) *TestResourceUnexportedFieldsStatusDie
- func (d *TestResourceUnexportedFieldsStatusDie) DieStampAt(jp string, fn interface{}) *TestResourceUnexportedFieldsStatusDie
- func (d *TestResourceUnexportedFieldsStatusDie) DieWith(fns ...func(d *TestResourceUnexportedFieldsStatusDie)) *TestResourceUnexportedFieldsStatusDie
- func (d *TestResourceUnexportedFieldsStatusDie) Fields(v map[string]string) *TestResourceUnexportedFieldsStatusDie
- func (d *TestResourceUnexportedFieldsStatusDie) Status(v apis.Status) *TestResourceUnexportedFieldsStatusDie
Constants ¶
This section is empty.
Variables ¶
var TestDuckBlank = (&TestDuckDie{}).DieFeed(resources.TestDuck{})
var TestDuckSpecBlank = (&TestDuckSpecDie{}).DieFeed(resources.TestDuckSpec{})
var TestResourceBlank = (&TestResourceDie{}).DieFeed(resources.TestResource{})
var TestResourceEmptyStatusBlank = (&TestResourceEmptyStatusDie{}).DieFeed(resources.TestResourceEmptyStatus{})
var TestResourceEmptyStatusStatusBlank = (&TestResourceEmptyStatusStatusDie{}).DieFeed(resources.TestResourceEmptyStatusStatus{})
var TestResourceNilableStatusBlank = (&TestResourceNilableStatusDie{}).DieFeed(resources.TestResourceNilableStatus{})
var TestResourceNoStatusBlank = (&TestResourceNoStatusDie{}).DieFeed(resources.TestResourceNoStatus{})
var TestResourceSpecBlank = (&TestResourceSpecDie{}).DieFeed(resources.TestResourceSpec{})
var TestResourceStatusBlank = (&TestResourceStatusDie{}).DieFeed(resources.TestResourceStatus{})
var TestResourceUnexportedFieldsBlank = (&TestResourceUnexportedFieldsDie{}).DieFeed(resources.TestResourceUnexportedFields{})
var TestResourceUnexportedFieldsSpecBlank = (&TestResourceUnexportedFieldsSpecDie{}).DieFeed(resources.TestResourceUnexportedFieldsSpec{})
var TestResourceUnexportedFieldsStatusBlank = (&TestResourceUnexportedFieldsStatusDie{}).DieFeed(resources.TestResourceUnexportedFieldsStatus{})
Functions ¶
This section is empty.
Types ¶
type TestDuckDie ¶
type TestDuckDie struct { v1.FrozenObjectMeta // contains filtered or unexported fields }
func (*TestDuckDie) APIVersion ¶
func (d *TestDuckDie) APIVersion(v string) *TestDuckDie
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 (*TestDuckDie) DeepCopy ¶
func (d *TestDuckDie) DeepCopy() *TestDuckDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TestDuckDie) DeepCopyObject ¶
func (d *TestDuckDie) DeepCopyObject() runtime.Object
func (*TestDuckDie) DieDiff ¶ added in v0.21.0
func (d *TestDuckDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TestDuckDie) DieFeed ¶
func (d *TestDuckDie) DieFeed(r resources.TestDuck) *TestDuckDie
DieFeed returns a new die with the provided resource.
func (*TestDuckDie) DieFeedJSON ¶
func (d *TestDuckDie) DieFeedJSON(j []byte) *TestDuckDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TestDuckDie) DieFeedPtr ¶
func (d *TestDuckDie) DieFeedPtr(r *resources.TestDuck) *TestDuckDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TestDuckDie) DieFeedRawExtension ¶
func (d *TestDuckDie) DieFeedRawExtension(raw runtime.RawExtension) *TestDuckDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestDuckDie) DieFeedYAML ¶
func (d *TestDuckDie) DieFeedYAML(y []byte) *TestDuckDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestDuckDie) DieFeedYAMLFile ¶
func (d *TestDuckDie) DieFeedYAMLFile(name string) *TestDuckDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TestDuckDie) DieImmutable ¶
func (d *TestDuckDie) DieImmutable(immutable bool) *TestDuckDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TestDuckDie) DiePatch ¶ added in v0.21.0
func (d *TestDuckDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TestDuckDie) DieRelease ¶
func (d *TestDuckDie) DieRelease() resources.TestDuck
DieRelease returns the resource managed by the die.
func (*TestDuckDie) DieReleaseJSON ¶
func (d *TestDuckDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TestDuckDie) DieReleasePtr ¶
func (d *TestDuckDie) DieReleasePtr() *resources.TestDuck
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TestDuckDie) DieReleaseRawExtension ¶
func (d *TestDuckDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestDuckDie) DieReleaseUnstructured ¶
func (d *TestDuckDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*TestDuckDie) DieReleaseYAML ¶
func (d *TestDuckDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TestDuckDie) DieSeal ¶ added in v0.21.0
func (d *TestDuckDie) DieSeal() *TestDuckDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TestDuckDie) DieSealFeed ¶ added in v0.21.0
func (d *TestDuckDie) DieSealFeed(r resources.TestDuck) *TestDuckDie
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 (*TestDuckDie) DieSealFeedPtr ¶ added in v0.21.0
func (d *TestDuckDie) DieSealFeedPtr(r *resources.TestDuck) *TestDuckDie
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 (*TestDuckDie) DieSealRelease ¶ added in v0.21.0
func (d *TestDuckDie) DieSealRelease() resources.TestDuck
DieSealRelease returns the sealed resource managed by the die.
func (*TestDuckDie) DieSealReleasePtr ¶ added in v0.21.0
func (d *TestDuckDie) DieSealReleasePtr() *resources.TestDuck
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*TestDuckDie) DieStamp ¶
func (d *TestDuckDie) DieStamp(fn func(r *resources.TestDuck)) *TestDuckDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TestDuckDie) DieStampAt ¶
func (d *TestDuckDie) DieStampAt(jp string, fn interface{}) *TestDuckDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TestDuckDie) DieWith ¶
func (d *TestDuckDie) DieWith(fns ...func(d *TestDuckDie)) *TestDuckDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TestDuckDie) GetObjectKind ¶
func (d *TestDuckDie) GetObjectKind() schema.ObjectKind
func (*TestDuckDie) Kind ¶
func (d *TestDuckDie) Kind(v string) *TestDuckDie
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 (*TestDuckDie) MarshalJSON ¶
func (d *TestDuckDie) MarshalJSON() ([]byte, error)
func (*TestDuckDie) Metadata ¶ added in v0.21.0
func (d *TestDuckDie) Metadata(v metav1.ObjectMeta) *TestDuckDie
Metadata standard object's metadata.
func (*TestDuckDie) MetadataDie ¶
func (d *TestDuckDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *TestDuckDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*TestDuckDie) Spec ¶
func (d *TestDuckDie) Spec(v resources.TestDuckSpec) *TestDuckDie
func (*TestDuckDie) SpecDie ¶
func (d *TestDuckDie) SpecDie(fn func(d *TestDuckSpecDie)) *TestDuckDie
SpecDie stamps the resource's spec field with a mutable die.
func (*TestDuckDie) Status ¶
func (d *TestDuckDie) Status(v resources.TestResourceStatus) *TestDuckDie
func (*TestDuckDie) StatusDie ¶
func (d *TestDuckDie) StatusDie(fn func(d *TestResourceStatusDie)) *TestDuckDie
StatusDie mutates Status as a die.
func (*TestDuckDie) TypeMetadata ¶ added in v0.21.0
func (d *TestDuckDie) TypeMetadata(v metav1.TypeMeta) *TestDuckDie
TypeMetadata standard object's type metadata.
func (*TestDuckDie) TypeMetadataDie ¶ added in v0.21.0
func (d *TestDuckDie) TypeMetadataDie(fn func(d *v1.TypeMetaDie)) *TestDuckDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*TestDuckDie) UnmarshalJSON ¶
func (d *TestDuckDie) UnmarshalJSON(b []byte) error
type TestDuckSpecDie ¶
type TestDuckSpecDie struct {
// contains filtered or unexported fields
}
func (*TestDuckSpecDie) AddField ¶
func (d *TestDuckSpecDie) AddField(key, value string) *TestDuckSpecDie
func (*TestDuckSpecDie) DeepCopy ¶
func (d *TestDuckSpecDie) DeepCopy() *TestDuckSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TestDuckSpecDie) DieDiff ¶ added in v0.21.0
func (d *TestDuckSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TestDuckSpecDie) DieFeed ¶
func (d *TestDuckSpecDie) DieFeed(r resources.TestDuckSpec) *TestDuckSpecDie
DieFeed returns a new die with the provided resource.
func (*TestDuckSpecDie) DieFeedJSON ¶
func (d *TestDuckSpecDie) DieFeedJSON(j []byte) *TestDuckSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TestDuckSpecDie) DieFeedPtr ¶
func (d *TestDuckSpecDie) DieFeedPtr(r *resources.TestDuckSpec) *TestDuckSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TestDuckSpecDie) DieFeedRawExtension ¶
func (d *TestDuckSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *TestDuckSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestDuckSpecDie) DieFeedYAML ¶
func (d *TestDuckSpecDie) DieFeedYAML(y []byte) *TestDuckSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestDuckSpecDie) DieFeedYAMLFile ¶
func (d *TestDuckSpecDie) DieFeedYAMLFile(name string) *TestDuckSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TestDuckSpecDie) DieImmutable ¶
func (d *TestDuckSpecDie) DieImmutable(immutable bool) *TestDuckSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TestDuckSpecDie) DiePatch ¶ added in v0.21.0
func (d *TestDuckSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TestDuckSpecDie) DieRelease ¶
func (d *TestDuckSpecDie) DieRelease() resources.TestDuckSpec
DieRelease returns the resource managed by the die.
func (*TestDuckSpecDie) DieReleaseJSON ¶
func (d *TestDuckSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TestDuckSpecDie) DieReleasePtr ¶
func (d *TestDuckSpecDie) DieReleasePtr() *resources.TestDuckSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TestDuckSpecDie) DieReleaseRawExtension ¶
func (d *TestDuckSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestDuckSpecDie) DieReleaseYAML ¶
func (d *TestDuckSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TestDuckSpecDie) DieSeal ¶ added in v0.21.0
func (d *TestDuckSpecDie) DieSeal() *TestDuckSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TestDuckSpecDie) DieSealFeed ¶ added in v0.21.0
func (d *TestDuckSpecDie) DieSealFeed(r resources.TestDuckSpec) *TestDuckSpecDie
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 (*TestDuckSpecDie) DieSealFeedPtr ¶ added in v0.21.0
func (d *TestDuckSpecDie) DieSealFeedPtr(r *resources.TestDuckSpec) *TestDuckSpecDie
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 (*TestDuckSpecDie) DieSealRelease ¶ added in v0.21.0
func (d *TestDuckSpecDie) DieSealRelease() resources.TestDuckSpec
DieSealRelease returns the sealed resource managed by the die.
func (*TestDuckSpecDie) DieSealReleasePtr ¶ added in v0.21.0
func (d *TestDuckSpecDie) DieSealReleasePtr() *resources.TestDuckSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*TestDuckSpecDie) DieStamp ¶
func (d *TestDuckSpecDie) DieStamp(fn func(r *resources.TestDuckSpec)) *TestDuckSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TestDuckSpecDie) DieStampAt ¶
func (d *TestDuckSpecDie) DieStampAt(jp string, fn interface{}) *TestDuckSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TestDuckSpecDie) DieWith ¶
func (d *TestDuckSpecDie) DieWith(fns ...func(d *TestDuckSpecDie)) *TestDuckSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TestDuckSpecDie) Fields ¶
func (d *TestDuckSpecDie) Fields(v map[string]string) *TestDuckSpecDie
type TestResourceDie ¶
type TestResourceDie struct { v1.FrozenObjectMeta // contains filtered or unexported fields }
func (*TestResourceDie) APIVersion ¶
func (d *TestResourceDie) APIVersion(v string) *TestResourceDie
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 (*TestResourceDie) DeepCopy ¶
func (d *TestResourceDie) DeepCopy() *TestResourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TestResourceDie) DeepCopyObject ¶
func (d *TestResourceDie) DeepCopyObject() runtime.Object
func (*TestResourceDie) DieDiff ¶ added in v0.21.0
func (d *TestResourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TestResourceDie) DieFeed ¶
func (d *TestResourceDie) DieFeed(r resources.TestResource) *TestResourceDie
DieFeed returns a new die with the provided resource.
func (*TestResourceDie) DieFeedJSON ¶
func (d *TestResourceDie) DieFeedJSON(j []byte) *TestResourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TestResourceDie) DieFeedPtr ¶
func (d *TestResourceDie) DieFeedPtr(r *resources.TestResource) *TestResourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TestResourceDie) DieFeedRawExtension ¶
func (d *TestResourceDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceDie) DieFeedYAML ¶
func (d *TestResourceDie) DieFeedYAML(y []byte) *TestResourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceDie) DieFeedYAMLFile ¶
func (d *TestResourceDie) DieFeedYAMLFile(name string) *TestResourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TestResourceDie) DieImmutable ¶
func (d *TestResourceDie) DieImmutable(immutable bool) *TestResourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TestResourceDie) DiePatch ¶ added in v0.21.0
func (d *TestResourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TestResourceDie) DieRelease ¶
func (d *TestResourceDie) DieRelease() resources.TestResource
DieRelease returns the resource managed by the die.
func (*TestResourceDie) DieReleaseJSON ¶
func (d *TestResourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TestResourceDie) DieReleasePtr ¶
func (d *TestResourceDie) DieReleasePtr() *resources.TestResource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TestResourceDie) DieReleaseRawExtension ¶
func (d *TestResourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceDie) DieReleaseUnstructured ¶
func (d *TestResourceDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*TestResourceDie) DieReleaseYAML ¶
func (d *TestResourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TestResourceDie) DieSeal ¶ added in v0.21.0
func (d *TestResourceDie) DieSeal() *TestResourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TestResourceDie) DieSealFeed ¶ added in v0.21.0
func (d *TestResourceDie) DieSealFeed(r resources.TestResource) *TestResourceDie
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 (*TestResourceDie) DieSealFeedPtr ¶ added in v0.21.0
func (d *TestResourceDie) DieSealFeedPtr(r *resources.TestResource) *TestResourceDie
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 (*TestResourceDie) DieSealRelease ¶ added in v0.21.0
func (d *TestResourceDie) DieSealRelease() resources.TestResource
DieSealRelease returns the sealed resource managed by the die.
func (*TestResourceDie) DieSealReleasePtr ¶ added in v0.21.0
func (d *TestResourceDie) DieSealReleasePtr() *resources.TestResource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*TestResourceDie) DieStamp ¶
func (d *TestResourceDie) DieStamp(fn func(r *resources.TestResource)) *TestResourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TestResourceDie) DieStampAt ¶
func (d *TestResourceDie) DieStampAt(jp string, fn interface{}) *TestResourceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TestResourceDie) DieWith ¶
func (d *TestResourceDie) DieWith(fns ...func(d *TestResourceDie)) *TestResourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TestResourceDie) GetObjectKind ¶
func (d *TestResourceDie) GetObjectKind() schema.ObjectKind
func (*TestResourceDie) Kind ¶
func (d *TestResourceDie) Kind(v string) *TestResourceDie
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 (*TestResourceDie) MarshalJSON ¶
func (d *TestResourceDie) MarshalJSON() ([]byte, error)
func (*TestResourceDie) Metadata ¶ added in v0.21.0
func (d *TestResourceDie) Metadata(v metav1.ObjectMeta) *TestResourceDie
Metadata standard object's metadata.
func (*TestResourceDie) MetadataDie ¶
func (d *TestResourceDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *TestResourceDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*TestResourceDie) Spec ¶
func (d *TestResourceDie) Spec(v resources.TestResourceSpec) *TestResourceDie
func (*TestResourceDie) SpecDie ¶
func (d *TestResourceDie) SpecDie(fn func(d *TestResourceSpecDie)) *TestResourceDie
SpecDie stamps the resource's spec field with a mutable die.
func (*TestResourceDie) Status ¶
func (d *TestResourceDie) Status(v resources.TestResourceStatus) *TestResourceDie
func (*TestResourceDie) StatusDie ¶
func (d *TestResourceDie) StatusDie(fn func(d *TestResourceStatusDie)) *TestResourceDie
StatusDie stamps the resource's status field with a mutable die.
func (*TestResourceDie) TypeMetadata ¶ added in v0.21.0
func (d *TestResourceDie) TypeMetadata(v metav1.TypeMeta) *TestResourceDie
TypeMetadata standard object's type metadata.
func (*TestResourceDie) TypeMetadataDie ¶ added in v0.21.0
func (d *TestResourceDie) TypeMetadataDie(fn func(d *v1.TypeMetaDie)) *TestResourceDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*TestResourceDie) UnmarshalJSON ¶
func (d *TestResourceDie) UnmarshalJSON(b []byte) error
type TestResourceEmptyStatusDie ¶
type TestResourceEmptyStatusDie struct { v1.FrozenObjectMeta // contains filtered or unexported fields }
func (*TestResourceEmptyStatusDie) APIVersion ¶
func (d *TestResourceEmptyStatusDie) APIVersion(v string) *TestResourceEmptyStatusDie
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 (*TestResourceEmptyStatusDie) DeepCopy ¶
func (d *TestResourceEmptyStatusDie) DeepCopy() *TestResourceEmptyStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TestResourceEmptyStatusDie) DeepCopyObject ¶
func (d *TestResourceEmptyStatusDie) DeepCopyObject() runtime.Object
func (*TestResourceEmptyStatusDie) DieDiff ¶ added in v0.21.0
func (d *TestResourceEmptyStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TestResourceEmptyStatusDie) DieFeed ¶
func (d *TestResourceEmptyStatusDie) DieFeed(r resources.TestResourceEmptyStatus) *TestResourceEmptyStatusDie
DieFeed returns a new die with the provided resource.
func (*TestResourceEmptyStatusDie) DieFeedJSON ¶
func (d *TestResourceEmptyStatusDie) DieFeedJSON(j []byte) *TestResourceEmptyStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TestResourceEmptyStatusDie) DieFeedPtr ¶
func (d *TestResourceEmptyStatusDie) DieFeedPtr(r *resources.TestResourceEmptyStatus) *TestResourceEmptyStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TestResourceEmptyStatusDie) DieFeedRawExtension ¶
func (d *TestResourceEmptyStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceEmptyStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceEmptyStatusDie) DieFeedYAML ¶
func (d *TestResourceEmptyStatusDie) DieFeedYAML(y []byte) *TestResourceEmptyStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceEmptyStatusDie) DieFeedYAMLFile ¶
func (d *TestResourceEmptyStatusDie) DieFeedYAMLFile(name string) *TestResourceEmptyStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TestResourceEmptyStatusDie) DieImmutable ¶
func (d *TestResourceEmptyStatusDie) DieImmutable(immutable bool) *TestResourceEmptyStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TestResourceEmptyStatusDie) DiePatch ¶ added in v0.21.0
func (d *TestResourceEmptyStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TestResourceEmptyStatusDie) DieRelease ¶
func (d *TestResourceEmptyStatusDie) DieRelease() resources.TestResourceEmptyStatus
DieRelease returns the resource managed by the die.
func (*TestResourceEmptyStatusDie) DieReleaseJSON ¶
func (d *TestResourceEmptyStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TestResourceEmptyStatusDie) DieReleasePtr ¶
func (d *TestResourceEmptyStatusDie) DieReleasePtr() *resources.TestResourceEmptyStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TestResourceEmptyStatusDie) DieReleaseRawExtension ¶
func (d *TestResourceEmptyStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceEmptyStatusDie) DieReleaseUnstructured ¶
func (d *TestResourceEmptyStatusDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*TestResourceEmptyStatusDie) DieReleaseYAML ¶
func (d *TestResourceEmptyStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TestResourceEmptyStatusDie) DieSeal ¶ added in v0.21.0
func (d *TestResourceEmptyStatusDie) DieSeal() *TestResourceEmptyStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TestResourceEmptyStatusDie) DieSealFeed ¶ added in v0.21.0
func (d *TestResourceEmptyStatusDie) DieSealFeed(r resources.TestResourceEmptyStatus) *TestResourceEmptyStatusDie
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 (*TestResourceEmptyStatusDie) DieSealFeedPtr ¶ added in v0.21.0
func (d *TestResourceEmptyStatusDie) DieSealFeedPtr(r *resources.TestResourceEmptyStatus) *TestResourceEmptyStatusDie
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 (*TestResourceEmptyStatusDie) DieSealRelease ¶ added in v0.21.0
func (d *TestResourceEmptyStatusDie) DieSealRelease() resources.TestResourceEmptyStatus
DieSealRelease returns the sealed resource managed by the die.
func (*TestResourceEmptyStatusDie) DieSealReleasePtr ¶ added in v0.21.0
func (d *TestResourceEmptyStatusDie) DieSealReleasePtr() *resources.TestResourceEmptyStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*TestResourceEmptyStatusDie) DieStamp ¶
func (d *TestResourceEmptyStatusDie) DieStamp(fn func(r *resources.TestResourceEmptyStatus)) *TestResourceEmptyStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TestResourceEmptyStatusDie) DieStampAt ¶
func (d *TestResourceEmptyStatusDie) DieStampAt(jp string, fn interface{}) *TestResourceEmptyStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TestResourceEmptyStatusDie) DieWith ¶
func (d *TestResourceEmptyStatusDie) DieWith(fns ...func(d *TestResourceEmptyStatusDie)) *TestResourceEmptyStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TestResourceEmptyStatusDie) GetObjectKind ¶
func (d *TestResourceEmptyStatusDie) GetObjectKind() schema.ObjectKind
func (*TestResourceEmptyStatusDie) Kind ¶
func (d *TestResourceEmptyStatusDie) Kind(v string) *TestResourceEmptyStatusDie
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 (*TestResourceEmptyStatusDie) MarshalJSON ¶
func (d *TestResourceEmptyStatusDie) MarshalJSON() ([]byte, error)
func (*TestResourceEmptyStatusDie) Metadata ¶ added in v0.21.0
func (d *TestResourceEmptyStatusDie) Metadata(v metav1.ObjectMeta) *TestResourceEmptyStatusDie
Metadata standard object's metadata.
func (*TestResourceEmptyStatusDie) MetadataDie ¶
func (d *TestResourceEmptyStatusDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *TestResourceEmptyStatusDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*TestResourceEmptyStatusDie) Spec ¶
func (d *TestResourceEmptyStatusDie) Spec(v resources.TestResourceSpec) *TestResourceEmptyStatusDie
func (*TestResourceEmptyStatusDie) SpecDie ¶
func (d *TestResourceEmptyStatusDie) SpecDie(fn func(d *TestResourceSpecDie)) *TestResourceEmptyStatusDie
SpecDie stamps the resource's spec field with a mutable die.
func (*TestResourceEmptyStatusDie) Status ¶
func (d *TestResourceEmptyStatusDie) Status(v resources.TestResourceEmptyStatusStatus) *TestResourceEmptyStatusDie
func (*TestResourceEmptyStatusDie) StatusDie ¶
func (d *TestResourceEmptyStatusDie) StatusDie(fn func(d *TestResourceEmptyStatusStatusDie)) *TestResourceEmptyStatusDie
StatusDie stamps the resource's status field with a mutable die.
func (*TestResourceEmptyStatusDie) TypeMetadata ¶ added in v0.21.0
func (d *TestResourceEmptyStatusDie) TypeMetadata(v metav1.TypeMeta) *TestResourceEmptyStatusDie
TypeMetadata standard object's type metadata.
func (*TestResourceEmptyStatusDie) TypeMetadataDie ¶ added in v0.21.0
func (d *TestResourceEmptyStatusDie) TypeMetadataDie(fn func(d *v1.TypeMetaDie)) *TestResourceEmptyStatusDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*TestResourceEmptyStatusDie) UnmarshalJSON ¶
func (d *TestResourceEmptyStatusDie) UnmarshalJSON(b []byte) error
type TestResourceEmptyStatusStatusDie ¶
type TestResourceEmptyStatusStatusDie struct {
// contains filtered or unexported fields
}
func (*TestResourceEmptyStatusStatusDie) DeepCopy ¶
func (d *TestResourceEmptyStatusStatusDie) DeepCopy() *TestResourceEmptyStatusStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TestResourceEmptyStatusStatusDie) DieDiff ¶ added in v0.21.0
func (d *TestResourceEmptyStatusStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TestResourceEmptyStatusStatusDie) DieFeed ¶
func (d *TestResourceEmptyStatusStatusDie) DieFeed(r resources.TestResourceEmptyStatusStatus) *TestResourceEmptyStatusStatusDie
DieFeed returns a new die with the provided resource.
func (*TestResourceEmptyStatusStatusDie) DieFeedJSON ¶
func (d *TestResourceEmptyStatusStatusDie) DieFeedJSON(j []byte) *TestResourceEmptyStatusStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TestResourceEmptyStatusStatusDie) DieFeedPtr ¶
func (d *TestResourceEmptyStatusStatusDie) DieFeedPtr(r *resources.TestResourceEmptyStatusStatus) *TestResourceEmptyStatusStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TestResourceEmptyStatusStatusDie) DieFeedRawExtension ¶
func (d *TestResourceEmptyStatusStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceEmptyStatusStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceEmptyStatusStatusDie) DieFeedYAML ¶
func (d *TestResourceEmptyStatusStatusDie) DieFeedYAML(y []byte) *TestResourceEmptyStatusStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceEmptyStatusStatusDie) DieFeedYAMLFile ¶
func (d *TestResourceEmptyStatusStatusDie) DieFeedYAMLFile(name string) *TestResourceEmptyStatusStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TestResourceEmptyStatusStatusDie) DieImmutable ¶
func (d *TestResourceEmptyStatusStatusDie) DieImmutable(immutable bool) *TestResourceEmptyStatusStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TestResourceEmptyStatusStatusDie) DiePatch ¶ added in v0.21.0
func (d *TestResourceEmptyStatusStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TestResourceEmptyStatusStatusDie) DieRelease ¶
func (d *TestResourceEmptyStatusStatusDie) DieRelease() resources.TestResourceEmptyStatusStatus
DieRelease returns the resource managed by the die.
func (*TestResourceEmptyStatusStatusDie) DieReleaseJSON ¶
func (d *TestResourceEmptyStatusStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TestResourceEmptyStatusStatusDie) DieReleasePtr ¶
func (d *TestResourceEmptyStatusStatusDie) DieReleasePtr() *resources.TestResourceEmptyStatusStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TestResourceEmptyStatusStatusDie) DieReleaseRawExtension ¶
func (d *TestResourceEmptyStatusStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceEmptyStatusStatusDie) DieReleaseYAML ¶
func (d *TestResourceEmptyStatusStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TestResourceEmptyStatusStatusDie) DieSeal ¶ added in v0.21.0
func (d *TestResourceEmptyStatusStatusDie) DieSeal() *TestResourceEmptyStatusStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TestResourceEmptyStatusStatusDie) DieSealFeed ¶ added in v0.21.0
func (d *TestResourceEmptyStatusStatusDie) DieSealFeed(r resources.TestResourceEmptyStatusStatus) *TestResourceEmptyStatusStatusDie
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 (*TestResourceEmptyStatusStatusDie) DieSealFeedPtr ¶ added in v0.21.0
func (d *TestResourceEmptyStatusStatusDie) DieSealFeedPtr(r *resources.TestResourceEmptyStatusStatus) *TestResourceEmptyStatusStatusDie
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 (*TestResourceEmptyStatusStatusDie) DieSealRelease ¶ added in v0.21.0
func (d *TestResourceEmptyStatusStatusDie) DieSealRelease() resources.TestResourceEmptyStatusStatus
DieSealRelease returns the sealed resource managed by the die.
func (*TestResourceEmptyStatusStatusDie) DieSealReleasePtr ¶ added in v0.21.0
func (d *TestResourceEmptyStatusStatusDie) DieSealReleasePtr() *resources.TestResourceEmptyStatusStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*TestResourceEmptyStatusStatusDie) DieStamp ¶
func (d *TestResourceEmptyStatusStatusDie) DieStamp(fn func(r *resources.TestResourceEmptyStatusStatus)) *TestResourceEmptyStatusStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TestResourceEmptyStatusStatusDie) DieStampAt ¶
func (d *TestResourceEmptyStatusStatusDie) DieStampAt(jp string, fn interface{}) *TestResourceEmptyStatusStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TestResourceEmptyStatusStatusDie) DieWith ¶
func (d *TestResourceEmptyStatusStatusDie) DieWith(fns ...func(d *TestResourceEmptyStatusStatusDie)) *TestResourceEmptyStatusStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
type TestResourceNilableStatusDie ¶
type TestResourceNilableStatusDie struct { v1.FrozenObjectMeta // contains filtered or unexported fields }
func (*TestResourceNilableStatusDie) APIVersion ¶
func (d *TestResourceNilableStatusDie) APIVersion(v string) *TestResourceNilableStatusDie
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 (*TestResourceNilableStatusDie) DeepCopy ¶
func (d *TestResourceNilableStatusDie) DeepCopy() *TestResourceNilableStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TestResourceNilableStatusDie) DeepCopyObject ¶
func (d *TestResourceNilableStatusDie) DeepCopyObject() runtime.Object
func (*TestResourceNilableStatusDie) DieDiff ¶ added in v0.21.0
func (d *TestResourceNilableStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TestResourceNilableStatusDie) DieFeed ¶
func (d *TestResourceNilableStatusDie) DieFeed(r resources.TestResourceNilableStatus) *TestResourceNilableStatusDie
DieFeed returns a new die with the provided resource.
func (*TestResourceNilableStatusDie) DieFeedJSON ¶
func (d *TestResourceNilableStatusDie) DieFeedJSON(j []byte) *TestResourceNilableStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TestResourceNilableStatusDie) DieFeedPtr ¶
func (d *TestResourceNilableStatusDie) DieFeedPtr(r *resources.TestResourceNilableStatus) *TestResourceNilableStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TestResourceNilableStatusDie) DieFeedRawExtension ¶
func (d *TestResourceNilableStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceNilableStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceNilableStatusDie) DieFeedYAML ¶
func (d *TestResourceNilableStatusDie) DieFeedYAML(y []byte) *TestResourceNilableStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceNilableStatusDie) DieFeedYAMLFile ¶
func (d *TestResourceNilableStatusDie) DieFeedYAMLFile(name string) *TestResourceNilableStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TestResourceNilableStatusDie) DieImmutable ¶
func (d *TestResourceNilableStatusDie) DieImmutable(immutable bool) *TestResourceNilableStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TestResourceNilableStatusDie) DiePatch ¶ added in v0.21.0
func (d *TestResourceNilableStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TestResourceNilableStatusDie) DieRelease ¶
func (d *TestResourceNilableStatusDie) DieRelease() resources.TestResourceNilableStatus
DieRelease returns the resource managed by the die.
func (*TestResourceNilableStatusDie) DieReleaseJSON ¶
func (d *TestResourceNilableStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TestResourceNilableStatusDie) DieReleasePtr ¶
func (d *TestResourceNilableStatusDie) DieReleasePtr() *resources.TestResourceNilableStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TestResourceNilableStatusDie) DieReleaseRawExtension ¶
func (d *TestResourceNilableStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceNilableStatusDie) DieReleaseUnstructured ¶
func (d *TestResourceNilableStatusDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*TestResourceNilableStatusDie) DieReleaseYAML ¶
func (d *TestResourceNilableStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TestResourceNilableStatusDie) DieSeal ¶ added in v0.21.0
func (d *TestResourceNilableStatusDie) DieSeal() *TestResourceNilableStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TestResourceNilableStatusDie) DieSealFeed ¶ added in v0.21.0
func (d *TestResourceNilableStatusDie) DieSealFeed(r resources.TestResourceNilableStatus) *TestResourceNilableStatusDie
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 (*TestResourceNilableStatusDie) DieSealFeedPtr ¶ added in v0.21.0
func (d *TestResourceNilableStatusDie) DieSealFeedPtr(r *resources.TestResourceNilableStatus) *TestResourceNilableStatusDie
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 (*TestResourceNilableStatusDie) DieSealRelease ¶ added in v0.21.0
func (d *TestResourceNilableStatusDie) DieSealRelease() resources.TestResourceNilableStatus
DieSealRelease returns the sealed resource managed by the die.
func (*TestResourceNilableStatusDie) DieSealReleasePtr ¶ added in v0.21.0
func (d *TestResourceNilableStatusDie) DieSealReleasePtr() *resources.TestResourceNilableStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*TestResourceNilableStatusDie) DieStamp ¶
func (d *TestResourceNilableStatusDie) DieStamp(fn func(r *resources.TestResourceNilableStatus)) *TestResourceNilableStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TestResourceNilableStatusDie) DieStampAt ¶
func (d *TestResourceNilableStatusDie) DieStampAt(jp string, fn interface{}) *TestResourceNilableStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TestResourceNilableStatusDie) DieWith ¶
func (d *TestResourceNilableStatusDie) DieWith(fns ...func(d *TestResourceNilableStatusDie)) *TestResourceNilableStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TestResourceNilableStatusDie) GetObjectKind ¶
func (d *TestResourceNilableStatusDie) GetObjectKind() schema.ObjectKind
func (*TestResourceNilableStatusDie) Kind ¶
func (d *TestResourceNilableStatusDie) Kind(v string) *TestResourceNilableStatusDie
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 (*TestResourceNilableStatusDie) MarshalJSON ¶
func (d *TestResourceNilableStatusDie) MarshalJSON() ([]byte, error)
func (*TestResourceNilableStatusDie) Metadata ¶ added in v0.21.0
func (d *TestResourceNilableStatusDie) Metadata(v metav1.ObjectMeta) *TestResourceNilableStatusDie
Metadata standard object's metadata.
func (*TestResourceNilableStatusDie) MetadataDie ¶
func (d *TestResourceNilableStatusDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *TestResourceNilableStatusDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*TestResourceNilableStatusDie) Spec ¶
func (d *TestResourceNilableStatusDie) Spec(v resources.TestResourceSpec) *TestResourceNilableStatusDie
func (*TestResourceNilableStatusDie) SpecDie ¶
func (d *TestResourceNilableStatusDie) SpecDie(fn func(d *TestResourceSpecDie)) *TestResourceNilableStatusDie
SpecDie stamps the resource's spec field with a mutable die.
func (*TestResourceNilableStatusDie) Status ¶
func (d *TestResourceNilableStatusDie) Status(v *resources.TestResourceStatus) *TestResourceNilableStatusDie
func (*TestResourceNilableStatusDie) StatusDie ¶
func (d *TestResourceNilableStatusDie) StatusDie(fn func(d *TestResourceStatusDie)) *TestResourceNilableStatusDie
StatusDie mutates Status as a die.
func (*TestResourceNilableStatusDie) TypeMetadata ¶ added in v0.21.0
func (d *TestResourceNilableStatusDie) TypeMetadata(v metav1.TypeMeta) *TestResourceNilableStatusDie
TypeMetadata standard object's type metadata.
func (*TestResourceNilableStatusDie) TypeMetadataDie ¶ added in v0.21.0
func (d *TestResourceNilableStatusDie) TypeMetadataDie(fn func(d *v1.TypeMetaDie)) *TestResourceNilableStatusDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*TestResourceNilableStatusDie) UnmarshalJSON ¶
func (d *TestResourceNilableStatusDie) UnmarshalJSON(b []byte) error
type TestResourceNoStatusDie ¶
type TestResourceNoStatusDie struct { v1.FrozenObjectMeta // contains filtered or unexported fields }
func (*TestResourceNoStatusDie) APIVersion ¶
func (d *TestResourceNoStatusDie) APIVersion(v string) *TestResourceNoStatusDie
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 (*TestResourceNoStatusDie) DeepCopy ¶
func (d *TestResourceNoStatusDie) DeepCopy() *TestResourceNoStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TestResourceNoStatusDie) DeepCopyObject ¶
func (d *TestResourceNoStatusDie) DeepCopyObject() runtime.Object
func (*TestResourceNoStatusDie) DieDiff ¶ added in v0.21.0
func (d *TestResourceNoStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TestResourceNoStatusDie) DieFeed ¶
func (d *TestResourceNoStatusDie) DieFeed(r resources.TestResourceNoStatus) *TestResourceNoStatusDie
DieFeed returns a new die with the provided resource.
func (*TestResourceNoStatusDie) DieFeedJSON ¶
func (d *TestResourceNoStatusDie) DieFeedJSON(j []byte) *TestResourceNoStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TestResourceNoStatusDie) DieFeedPtr ¶
func (d *TestResourceNoStatusDie) DieFeedPtr(r *resources.TestResourceNoStatus) *TestResourceNoStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TestResourceNoStatusDie) DieFeedRawExtension ¶
func (d *TestResourceNoStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceNoStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceNoStatusDie) DieFeedYAML ¶
func (d *TestResourceNoStatusDie) DieFeedYAML(y []byte) *TestResourceNoStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceNoStatusDie) DieFeedYAMLFile ¶
func (d *TestResourceNoStatusDie) DieFeedYAMLFile(name string) *TestResourceNoStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TestResourceNoStatusDie) DieImmutable ¶
func (d *TestResourceNoStatusDie) DieImmutable(immutable bool) *TestResourceNoStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TestResourceNoStatusDie) DiePatch ¶ added in v0.21.0
func (d *TestResourceNoStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TestResourceNoStatusDie) DieRelease ¶
func (d *TestResourceNoStatusDie) DieRelease() resources.TestResourceNoStatus
DieRelease returns the resource managed by the die.
func (*TestResourceNoStatusDie) DieReleaseJSON ¶
func (d *TestResourceNoStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TestResourceNoStatusDie) DieReleasePtr ¶
func (d *TestResourceNoStatusDie) DieReleasePtr() *resources.TestResourceNoStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TestResourceNoStatusDie) DieReleaseRawExtension ¶
func (d *TestResourceNoStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceNoStatusDie) DieReleaseUnstructured ¶
func (d *TestResourceNoStatusDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*TestResourceNoStatusDie) DieReleaseYAML ¶
func (d *TestResourceNoStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TestResourceNoStatusDie) DieSeal ¶ added in v0.21.0
func (d *TestResourceNoStatusDie) DieSeal() *TestResourceNoStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TestResourceNoStatusDie) DieSealFeed ¶ added in v0.21.0
func (d *TestResourceNoStatusDie) DieSealFeed(r resources.TestResourceNoStatus) *TestResourceNoStatusDie
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 (*TestResourceNoStatusDie) DieSealFeedPtr ¶ added in v0.21.0
func (d *TestResourceNoStatusDie) DieSealFeedPtr(r *resources.TestResourceNoStatus) *TestResourceNoStatusDie
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 (*TestResourceNoStatusDie) DieSealRelease ¶ added in v0.21.0
func (d *TestResourceNoStatusDie) DieSealRelease() resources.TestResourceNoStatus
DieSealRelease returns the sealed resource managed by the die.
func (*TestResourceNoStatusDie) DieSealReleasePtr ¶ added in v0.21.0
func (d *TestResourceNoStatusDie) DieSealReleasePtr() *resources.TestResourceNoStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*TestResourceNoStatusDie) DieStamp ¶
func (d *TestResourceNoStatusDie) DieStamp(fn func(r *resources.TestResourceNoStatus)) *TestResourceNoStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TestResourceNoStatusDie) DieStampAt ¶
func (d *TestResourceNoStatusDie) DieStampAt(jp string, fn interface{}) *TestResourceNoStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TestResourceNoStatusDie) DieWith ¶
func (d *TestResourceNoStatusDie) DieWith(fns ...func(d *TestResourceNoStatusDie)) *TestResourceNoStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TestResourceNoStatusDie) GetObjectKind ¶
func (d *TestResourceNoStatusDie) GetObjectKind() schema.ObjectKind
func (*TestResourceNoStatusDie) Kind ¶
func (d *TestResourceNoStatusDie) Kind(v string) *TestResourceNoStatusDie
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 (*TestResourceNoStatusDie) MarshalJSON ¶
func (d *TestResourceNoStatusDie) MarshalJSON() ([]byte, error)
func (*TestResourceNoStatusDie) Metadata ¶ added in v0.21.0
func (d *TestResourceNoStatusDie) Metadata(v metav1.ObjectMeta) *TestResourceNoStatusDie
Metadata standard object's metadata.
func (*TestResourceNoStatusDie) MetadataDie ¶
func (d *TestResourceNoStatusDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *TestResourceNoStatusDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*TestResourceNoStatusDie) Spec ¶
func (d *TestResourceNoStatusDie) Spec(v resources.TestResourceSpec) *TestResourceNoStatusDie
func (*TestResourceNoStatusDie) SpecDie ¶
func (d *TestResourceNoStatusDie) SpecDie(fn func(d *TestResourceSpecDie)) *TestResourceNoStatusDie
SpecDie stamps the resource's spec field with a mutable die.
func (*TestResourceNoStatusDie) TypeMetadata ¶ added in v0.21.0
func (d *TestResourceNoStatusDie) TypeMetadata(v metav1.TypeMeta) *TestResourceNoStatusDie
TypeMetadata standard object's type metadata.
func (*TestResourceNoStatusDie) TypeMetadataDie ¶ added in v0.21.0
func (d *TestResourceNoStatusDie) TypeMetadataDie(fn func(d *v1.TypeMetaDie)) *TestResourceNoStatusDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*TestResourceNoStatusDie) UnmarshalJSON ¶
func (d *TestResourceNoStatusDie) UnmarshalJSON(b []byte) error
type TestResourceSpecDie ¶
type TestResourceSpecDie struct {
// contains filtered or unexported fields
}
func (*TestResourceSpecDie) AddField ¶
func (d *TestResourceSpecDie) AddField(key, value string) *TestResourceSpecDie
func (*TestResourceSpecDie) DeepCopy ¶
func (d *TestResourceSpecDie) DeepCopy() *TestResourceSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TestResourceSpecDie) DieDiff ¶ added in v0.21.0
func (d *TestResourceSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TestResourceSpecDie) DieFeed ¶
func (d *TestResourceSpecDie) DieFeed(r resources.TestResourceSpec) *TestResourceSpecDie
DieFeed returns a new die with the provided resource.
func (*TestResourceSpecDie) DieFeedJSON ¶
func (d *TestResourceSpecDie) DieFeedJSON(j []byte) *TestResourceSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TestResourceSpecDie) DieFeedPtr ¶
func (d *TestResourceSpecDie) DieFeedPtr(r *resources.TestResourceSpec) *TestResourceSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TestResourceSpecDie) DieFeedRawExtension ¶
func (d *TestResourceSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceSpecDie) DieFeedYAML ¶
func (d *TestResourceSpecDie) DieFeedYAML(y []byte) *TestResourceSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceSpecDie) DieFeedYAMLFile ¶
func (d *TestResourceSpecDie) DieFeedYAMLFile(name string) *TestResourceSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TestResourceSpecDie) DieImmutable ¶
func (d *TestResourceSpecDie) DieImmutable(immutable bool) *TestResourceSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TestResourceSpecDie) DiePatch ¶ added in v0.21.0
func (d *TestResourceSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TestResourceSpecDie) DieRelease ¶
func (d *TestResourceSpecDie) DieRelease() resources.TestResourceSpec
DieRelease returns the resource managed by the die.
func (*TestResourceSpecDie) DieReleaseJSON ¶
func (d *TestResourceSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TestResourceSpecDie) DieReleasePtr ¶
func (d *TestResourceSpecDie) DieReleasePtr() *resources.TestResourceSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TestResourceSpecDie) DieReleaseRawExtension ¶
func (d *TestResourceSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceSpecDie) DieReleaseYAML ¶
func (d *TestResourceSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TestResourceSpecDie) DieSeal ¶ added in v0.21.0
func (d *TestResourceSpecDie) DieSeal() *TestResourceSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TestResourceSpecDie) DieSealFeed ¶ added in v0.21.0
func (d *TestResourceSpecDie) DieSealFeed(r resources.TestResourceSpec) *TestResourceSpecDie
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 (*TestResourceSpecDie) DieSealFeedPtr ¶ added in v0.21.0
func (d *TestResourceSpecDie) DieSealFeedPtr(r *resources.TestResourceSpec) *TestResourceSpecDie
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 (*TestResourceSpecDie) DieSealRelease ¶ added in v0.21.0
func (d *TestResourceSpecDie) DieSealRelease() resources.TestResourceSpec
DieSealRelease returns the sealed resource managed by the die.
func (*TestResourceSpecDie) DieSealReleasePtr ¶ added in v0.21.0
func (d *TestResourceSpecDie) DieSealReleasePtr() *resources.TestResourceSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*TestResourceSpecDie) DieStamp ¶
func (d *TestResourceSpecDie) DieStamp(fn func(r *resources.TestResourceSpec)) *TestResourceSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TestResourceSpecDie) DieStampAt ¶
func (d *TestResourceSpecDie) DieStampAt(jp string, fn interface{}) *TestResourceSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TestResourceSpecDie) DieWith ¶
func (d *TestResourceSpecDie) DieWith(fns ...func(d *TestResourceSpecDie)) *TestResourceSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TestResourceSpecDie) ErrOnMarshal ¶
func (d *TestResourceSpecDie) ErrOnMarshal(v bool) *TestResourceSpecDie
func (*TestResourceSpecDie) ErrOnUnmarshal ¶
func (d *TestResourceSpecDie) ErrOnUnmarshal(v bool) *TestResourceSpecDie
func (*TestResourceSpecDie) Fields ¶
func (d *TestResourceSpecDie) Fields(v map[string]string) *TestResourceSpecDie
func (*TestResourceSpecDie) Template ¶
func (d *TestResourceSpecDie) Template(v apicorev1.PodTemplateSpec) *TestResourceSpecDie
func (*TestResourceSpecDie) TemplateDie ¶
func (d *TestResourceSpecDie) TemplateDie(fn func(d *corev1.PodTemplateSpecDie)) *TestResourceSpecDie
TemplateDie mutates Template as a die.
type TestResourceStatusDie ¶
type TestResourceStatusDie struct {
// contains filtered or unexported fields
}
func (*TestResourceStatusDie) AddField ¶
func (d *TestResourceStatusDie) AddField(key, value string) *TestResourceStatusDie
func (*TestResourceStatusDie) ConditionsDie ¶
func (d *TestResourceStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *TestResourceStatusDie
func (*TestResourceStatusDie) DeepCopy ¶
func (d *TestResourceStatusDie) DeepCopy() *TestResourceStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TestResourceStatusDie) DieDiff ¶ added in v0.21.0
func (d *TestResourceStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TestResourceStatusDie) DieFeed ¶
func (d *TestResourceStatusDie) DieFeed(r resources.TestResourceStatus) *TestResourceStatusDie
DieFeed returns a new die with the provided resource.
func (*TestResourceStatusDie) DieFeedJSON ¶
func (d *TestResourceStatusDie) DieFeedJSON(j []byte) *TestResourceStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TestResourceStatusDie) DieFeedPtr ¶
func (d *TestResourceStatusDie) DieFeedPtr(r *resources.TestResourceStatus) *TestResourceStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TestResourceStatusDie) DieFeedRawExtension ¶
func (d *TestResourceStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceStatusDie) DieFeedYAML ¶
func (d *TestResourceStatusDie) DieFeedYAML(y []byte) *TestResourceStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceStatusDie) DieFeedYAMLFile ¶
func (d *TestResourceStatusDie) DieFeedYAMLFile(name string) *TestResourceStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TestResourceStatusDie) DieImmutable ¶
func (d *TestResourceStatusDie) DieImmutable(immutable bool) *TestResourceStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TestResourceStatusDie) DiePatch ¶ added in v0.21.0
func (d *TestResourceStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TestResourceStatusDie) DieRelease ¶
func (d *TestResourceStatusDie) DieRelease() resources.TestResourceStatus
DieRelease returns the resource managed by the die.
func (*TestResourceStatusDie) DieReleaseJSON ¶
func (d *TestResourceStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TestResourceStatusDie) DieReleasePtr ¶
func (d *TestResourceStatusDie) DieReleasePtr() *resources.TestResourceStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TestResourceStatusDie) DieReleaseRawExtension ¶
func (d *TestResourceStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceStatusDie) DieReleaseYAML ¶
func (d *TestResourceStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TestResourceStatusDie) DieSeal ¶ added in v0.21.0
func (d *TestResourceStatusDie) DieSeal() *TestResourceStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TestResourceStatusDie) DieSealFeed ¶ added in v0.21.0
func (d *TestResourceStatusDie) DieSealFeed(r resources.TestResourceStatus) *TestResourceStatusDie
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 (*TestResourceStatusDie) DieSealFeedPtr ¶ added in v0.21.0
func (d *TestResourceStatusDie) DieSealFeedPtr(r *resources.TestResourceStatus) *TestResourceStatusDie
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 (*TestResourceStatusDie) DieSealRelease ¶ added in v0.21.0
func (d *TestResourceStatusDie) DieSealRelease() resources.TestResourceStatus
DieSealRelease returns the sealed resource managed by the die.
func (*TestResourceStatusDie) DieSealReleasePtr ¶ added in v0.21.0
func (d *TestResourceStatusDie) DieSealReleasePtr() *resources.TestResourceStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*TestResourceStatusDie) DieStamp ¶
func (d *TestResourceStatusDie) DieStamp(fn func(r *resources.TestResourceStatus)) *TestResourceStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TestResourceStatusDie) DieStampAt ¶
func (d *TestResourceStatusDie) DieStampAt(jp string, fn interface{}) *TestResourceStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TestResourceStatusDie) DieWith ¶
func (d *TestResourceStatusDie) DieWith(fns ...func(d *TestResourceStatusDie)) *TestResourceStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TestResourceStatusDie) Fields ¶
func (d *TestResourceStatusDie) Fields(v map[string]string) *TestResourceStatusDie
func (*TestResourceStatusDie) Status ¶
func (d *TestResourceStatusDie) Status(v apis.Status) *TestResourceStatusDie
type TestResourceUnexportedFieldsDie ¶
type TestResourceUnexportedFieldsDie struct { v1.FrozenObjectMeta // contains filtered or unexported fields }
func (*TestResourceUnexportedFieldsDie) APIVersion ¶
func (d *TestResourceUnexportedFieldsDie) APIVersion(v string) *TestResourceUnexportedFieldsDie
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 (*TestResourceUnexportedFieldsDie) DeepCopy ¶
func (d *TestResourceUnexportedFieldsDie) DeepCopy() *TestResourceUnexportedFieldsDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TestResourceUnexportedFieldsDie) DeepCopyObject ¶
func (d *TestResourceUnexportedFieldsDie) DeepCopyObject() runtime.Object
func (*TestResourceUnexportedFieldsDie) DieDiff ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TestResourceUnexportedFieldsDie) DieFeed ¶
func (d *TestResourceUnexportedFieldsDie) DieFeed(r resources.TestResourceUnexportedFields) *TestResourceUnexportedFieldsDie
DieFeed returns a new die with the provided resource.
func (*TestResourceUnexportedFieldsDie) DieFeedJSON ¶
func (d *TestResourceUnexportedFieldsDie) DieFeedJSON(j []byte) *TestResourceUnexportedFieldsDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TestResourceUnexportedFieldsDie) DieFeedPtr ¶
func (d *TestResourceUnexportedFieldsDie) DieFeedPtr(r *resources.TestResourceUnexportedFields) *TestResourceUnexportedFieldsDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TestResourceUnexportedFieldsDie) DieFeedRawExtension ¶
func (d *TestResourceUnexportedFieldsDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceUnexportedFieldsDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceUnexportedFieldsDie) DieFeedYAML ¶
func (d *TestResourceUnexportedFieldsDie) DieFeedYAML(y []byte) *TestResourceUnexportedFieldsDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceUnexportedFieldsDie) DieFeedYAMLFile ¶
func (d *TestResourceUnexportedFieldsDie) DieFeedYAMLFile(name string) *TestResourceUnexportedFieldsDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TestResourceUnexportedFieldsDie) DieImmutable ¶
func (d *TestResourceUnexportedFieldsDie) DieImmutable(immutable bool) *TestResourceUnexportedFieldsDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TestResourceUnexportedFieldsDie) DiePatch ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TestResourceUnexportedFieldsDie) DieRelease ¶
func (d *TestResourceUnexportedFieldsDie) DieRelease() resources.TestResourceUnexportedFields
DieRelease returns the resource managed by the die.
func (*TestResourceUnexportedFieldsDie) DieReleaseJSON ¶
func (d *TestResourceUnexportedFieldsDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TestResourceUnexportedFieldsDie) DieReleasePtr ¶
func (d *TestResourceUnexportedFieldsDie) DieReleasePtr() *resources.TestResourceUnexportedFields
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TestResourceUnexportedFieldsDie) DieReleaseRawExtension ¶
func (d *TestResourceUnexportedFieldsDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceUnexportedFieldsDie) DieReleaseUnstructured ¶
func (d *TestResourceUnexportedFieldsDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*TestResourceUnexportedFieldsDie) DieReleaseYAML ¶
func (d *TestResourceUnexportedFieldsDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TestResourceUnexportedFieldsDie) DieSeal ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsDie) DieSeal() *TestResourceUnexportedFieldsDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TestResourceUnexportedFieldsDie) DieSealFeed ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsDie) DieSealFeed(r resources.TestResourceUnexportedFields) *TestResourceUnexportedFieldsDie
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 (*TestResourceUnexportedFieldsDie) DieSealFeedPtr ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsDie) DieSealFeedPtr(r *resources.TestResourceUnexportedFields) *TestResourceUnexportedFieldsDie
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 (*TestResourceUnexportedFieldsDie) DieSealRelease ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsDie) DieSealRelease() resources.TestResourceUnexportedFields
DieSealRelease returns the sealed resource managed by the die.
func (*TestResourceUnexportedFieldsDie) DieSealReleasePtr ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsDie) DieSealReleasePtr() *resources.TestResourceUnexportedFields
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*TestResourceUnexportedFieldsDie) DieStamp ¶
func (d *TestResourceUnexportedFieldsDie) DieStamp(fn func(r *resources.TestResourceUnexportedFields)) *TestResourceUnexportedFieldsDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TestResourceUnexportedFieldsDie) DieStampAt ¶
func (d *TestResourceUnexportedFieldsDie) DieStampAt(jp string, fn interface{}) *TestResourceUnexportedFieldsDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TestResourceUnexportedFieldsDie) DieWith ¶
func (d *TestResourceUnexportedFieldsDie) DieWith(fns ...func(d *TestResourceUnexportedFieldsDie)) *TestResourceUnexportedFieldsDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TestResourceUnexportedFieldsDie) GetObjectKind ¶
func (d *TestResourceUnexportedFieldsDie) GetObjectKind() schema.ObjectKind
func (*TestResourceUnexportedFieldsDie) Kind ¶
func (d *TestResourceUnexportedFieldsDie) Kind(v string) *TestResourceUnexportedFieldsDie
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 (*TestResourceUnexportedFieldsDie) MarshalJSON ¶
func (d *TestResourceUnexportedFieldsDie) MarshalJSON() ([]byte, error)
func (*TestResourceUnexportedFieldsDie) Metadata ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsDie) Metadata(v metav1.ObjectMeta) *TestResourceUnexportedFieldsDie
Metadata standard object's metadata.
func (*TestResourceUnexportedFieldsDie) MetadataDie ¶
func (d *TestResourceUnexportedFieldsDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *TestResourceUnexportedFieldsDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*TestResourceUnexportedFieldsDie) SpecDie ¶
func (d *TestResourceUnexportedFieldsDie) SpecDie(fn func(d *TestResourceUnexportedFieldsSpecDie)) *TestResourceUnexportedFieldsDie
SpecDie stamps the resource's spec field with a mutable die.
func (*TestResourceUnexportedFieldsDie) StatusDie ¶
func (d *TestResourceUnexportedFieldsDie) StatusDie(fn func(d *TestResourceUnexportedFieldsStatusDie)) *TestResourceUnexportedFieldsDie
StatusDie stamps the resource's status field with a mutable die.
func (*TestResourceUnexportedFieldsDie) TypeMetadata ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsDie) TypeMetadata(v metav1.TypeMeta) *TestResourceUnexportedFieldsDie
TypeMetadata standard object's type metadata.
func (*TestResourceUnexportedFieldsDie) TypeMetadataDie ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsDie) TypeMetadataDie(fn func(d *v1.TypeMetaDie)) *TestResourceUnexportedFieldsDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*TestResourceUnexportedFieldsDie) UnmarshalJSON ¶
func (d *TestResourceUnexportedFieldsDie) UnmarshalJSON(b []byte) error
type TestResourceUnexportedFieldsSpecDie ¶
type TestResourceUnexportedFieldsSpecDie struct {
// contains filtered or unexported fields
}
func (*TestResourceUnexportedFieldsSpecDie) AddField ¶
func (d *TestResourceUnexportedFieldsSpecDie) AddField(key, value string) *TestResourceUnexportedFieldsSpecDie
func (*TestResourceUnexportedFieldsSpecDie) AddUnexportedField ¶
func (d *TestResourceUnexportedFieldsSpecDie) AddUnexportedField(key, value string) *TestResourceUnexportedFieldsSpecDie
func (*TestResourceUnexportedFieldsSpecDie) DeepCopy ¶
func (d *TestResourceUnexportedFieldsSpecDie) DeepCopy() *TestResourceUnexportedFieldsSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TestResourceUnexportedFieldsSpecDie) DieDiff ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TestResourceUnexportedFieldsSpecDie) DieFeed ¶
func (d *TestResourceUnexportedFieldsSpecDie) DieFeed(r resources.TestResourceUnexportedFieldsSpec) *TestResourceUnexportedFieldsSpecDie
DieFeed returns a new die with the provided resource.
func (*TestResourceUnexportedFieldsSpecDie) DieFeedJSON ¶
func (d *TestResourceUnexportedFieldsSpecDie) DieFeedJSON(j []byte) *TestResourceUnexportedFieldsSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TestResourceUnexportedFieldsSpecDie) DieFeedPtr ¶
func (d *TestResourceUnexportedFieldsSpecDie) DieFeedPtr(r *resources.TestResourceUnexportedFieldsSpec) *TestResourceUnexportedFieldsSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TestResourceUnexportedFieldsSpecDie) DieFeedRawExtension ¶
func (d *TestResourceUnexportedFieldsSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceUnexportedFieldsSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceUnexportedFieldsSpecDie) DieFeedYAML ¶
func (d *TestResourceUnexportedFieldsSpecDie) DieFeedYAML(y []byte) *TestResourceUnexportedFieldsSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceUnexportedFieldsSpecDie) DieFeedYAMLFile ¶
func (d *TestResourceUnexportedFieldsSpecDie) DieFeedYAMLFile(name string) *TestResourceUnexportedFieldsSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TestResourceUnexportedFieldsSpecDie) DieImmutable ¶
func (d *TestResourceUnexportedFieldsSpecDie) DieImmutable(immutable bool) *TestResourceUnexportedFieldsSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TestResourceUnexportedFieldsSpecDie) DiePatch ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TestResourceUnexportedFieldsSpecDie) DieRelease ¶
func (d *TestResourceUnexportedFieldsSpecDie) DieRelease() resources.TestResourceUnexportedFieldsSpec
DieRelease returns the resource managed by the die.
func (*TestResourceUnexportedFieldsSpecDie) DieReleaseJSON ¶
func (d *TestResourceUnexportedFieldsSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TestResourceUnexportedFieldsSpecDie) DieReleasePtr ¶
func (d *TestResourceUnexportedFieldsSpecDie) DieReleasePtr() *resources.TestResourceUnexportedFieldsSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TestResourceUnexportedFieldsSpecDie) DieReleaseRawExtension ¶
func (d *TestResourceUnexportedFieldsSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceUnexportedFieldsSpecDie) DieReleaseYAML ¶
func (d *TestResourceUnexportedFieldsSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TestResourceUnexportedFieldsSpecDie) DieSeal ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsSpecDie) DieSeal() *TestResourceUnexportedFieldsSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TestResourceUnexportedFieldsSpecDie) DieSealFeed ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsSpecDie) DieSealFeed(r resources.TestResourceUnexportedFieldsSpec) *TestResourceUnexportedFieldsSpecDie
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 (*TestResourceUnexportedFieldsSpecDie) DieSealFeedPtr ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsSpecDie) DieSealFeedPtr(r *resources.TestResourceUnexportedFieldsSpec) *TestResourceUnexportedFieldsSpecDie
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 (*TestResourceUnexportedFieldsSpecDie) DieSealRelease ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsSpecDie) DieSealRelease() resources.TestResourceUnexportedFieldsSpec
DieSealRelease returns the sealed resource managed by the die.
func (*TestResourceUnexportedFieldsSpecDie) DieSealReleasePtr ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsSpecDie) DieSealReleasePtr() *resources.TestResourceUnexportedFieldsSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*TestResourceUnexportedFieldsSpecDie) DieStamp ¶
func (d *TestResourceUnexportedFieldsSpecDie) DieStamp(fn func(r *resources.TestResourceUnexportedFieldsSpec)) *TestResourceUnexportedFieldsSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TestResourceUnexportedFieldsSpecDie) DieStampAt ¶
func (d *TestResourceUnexportedFieldsSpecDie) DieStampAt(jp string, fn interface{}) *TestResourceUnexportedFieldsSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TestResourceUnexportedFieldsSpecDie) DieWith ¶
func (d *TestResourceUnexportedFieldsSpecDie) DieWith(fns ...func(d *TestResourceUnexportedFieldsSpecDie)) *TestResourceUnexportedFieldsSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TestResourceUnexportedFieldsSpecDie) ErrOnMarshal ¶
func (d *TestResourceUnexportedFieldsSpecDie) ErrOnMarshal(v bool) *TestResourceUnexportedFieldsSpecDie
func (*TestResourceUnexportedFieldsSpecDie) ErrOnUnmarshal ¶
func (d *TestResourceUnexportedFieldsSpecDie) ErrOnUnmarshal(v bool) *TestResourceUnexportedFieldsSpecDie
func (*TestResourceUnexportedFieldsSpecDie) Fields ¶
func (d *TestResourceUnexportedFieldsSpecDie) Fields(v map[string]string) *TestResourceUnexportedFieldsSpecDie
func (*TestResourceUnexportedFieldsSpecDie) Template ¶
func (d *TestResourceUnexportedFieldsSpecDie) Template(v apicorev1.PodTemplateSpec) *TestResourceUnexportedFieldsSpecDie
func (*TestResourceUnexportedFieldsSpecDie) TemplateDie ¶
func (d *TestResourceUnexportedFieldsSpecDie) TemplateDie(fn func(d *corev1.PodTemplateSpecDie)) *TestResourceUnexportedFieldsSpecDie
TemplateDie mutates Template as a die.
type TestResourceUnexportedFieldsStatusDie ¶
type TestResourceUnexportedFieldsStatusDie struct {
// contains filtered or unexported fields
}
func (*TestResourceUnexportedFieldsStatusDie) AddField ¶
func (d *TestResourceUnexportedFieldsStatusDie) AddField(key, value string) *TestResourceUnexportedFieldsStatusDie
func (*TestResourceUnexportedFieldsStatusDie) AddUnexportedField ¶
func (d *TestResourceUnexportedFieldsStatusDie) AddUnexportedField(key, value string) *TestResourceUnexportedFieldsStatusDie
func (*TestResourceUnexportedFieldsStatusDie) ConditionsDie ¶
func (d *TestResourceUnexportedFieldsStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *TestResourceUnexportedFieldsStatusDie
func (*TestResourceUnexportedFieldsStatusDie) DeepCopy ¶
func (d *TestResourceUnexportedFieldsStatusDie) DeepCopy() *TestResourceUnexportedFieldsStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TestResourceUnexportedFieldsStatusDie) DieDiff ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TestResourceUnexportedFieldsStatusDie) DieFeed ¶
func (d *TestResourceUnexportedFieldsStatusDie) DieFeed(r resources.TestResourceUnexportedFieldsStatus) *TestResourceUnexportedFieldsStatusDie
DieFeed returns a new die with the provided resource.
func (*TestResourceUnexportedFieldsStatusDie) DieFeedJSON ¶
func (d *TestResourceUnexportedFieldsStatusDie) DieFeedJSON(j []byte) *TestResourceUnexportedFieldsStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TestResourceUnexportedFieldsStatusDie) DieFeedPtr ¶
func (d *TestResourceUnexportedFieldsStatusDie) DieFeedPtr(r *resources.TestResourceUnexportedFieldsStatus) *TestResourceUnexportedFieldsStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TestResourceUnexportedFieldsStatusDie) DieFeedRawExtension ¶
func (d *TestResourceUnexportedFieldsStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceUnexportedFieldsStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceUnexportedFieldsStatusDie) DieFeedYAML ¶
func (d *TestResourceUnexportedFieldsStatusDie) DieFeedYAML(y []byte) *TestResourceUnexportedFieldsStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceUnexportedFieldsStatusDie) DieFeedYAMLFile ¶
func (d *TestResourceUnexportedFieldsStatusDie) DieFeedYAMLFile(name string) *TestResourceUnexportedFieldsStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TestResourceUnexportedFieldsStatusDie) DieImmutable ¶
func (d *TestResourceUnexportedFieldsStatusDie) DieImmutable(immutable bool) *TestResourceUnexportedFieldsStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TestResourceUnexportedFieldsStatusDie) DiePatch ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TestResourceUnexportedFieldsStatusDie) DieRelease ¶
func (d *TestResourceUnexportedFieldsStatusDie) DieRelease() resources.TestResourceUnexportedFieldsStatus
DieRelease returns the resource managed by the die.
func (*TestResourceUnexportedFieldsStatusDie) DieReleaseJSON ¶
func (d *TestResourceUnexportedFieldsStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TestResourceUnexportedFieldsStatusDie) DieReleasePtr ¶
func (d *TestResourceUnexportedFieldsStatusDie) DieReleasePtr() *resources.TestResourceUnexportedFieldsStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TestResourceUnexportedFieldsStatusDie) DieReleaseRawExtension ¶
func (d *TestResourceUnexportedFieldsStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceUnexportedFieldsStatusDie) DieReleaseYAML ¶
func (d *TestResourceUnexportedFieldsStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TestResourceUnexportedFieldsStatusDie) DieSeal ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsStatusDie) DieSeal() *TestResourceUnexportedFieldsStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TestResourceUnexportedFieldsStatusDie) DieSealFeed ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsStatusDie) DieSealFeed(r resources.TestResourceUnexportedFieldsStatus) *TestResourceUnexportedFieldsStatusDie
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 (*TestResourceUnexportedFieldsStatusDie) DieSealFeedPtr ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsStatusDie) DieSealFeedPtr(r *resources.TestResourceUnexportedFieldsStatus) *TestResourceUnexportedFieldsStatusDie
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 (*TestResourceUnexportedFieldsStatusDie) DieSealRelease ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsStatusDie) DieSealRelease() resources.TestResourceUnexportedFieldsStatus
DieSealRelease returns the sealed resource managed by the die.
func (*TestResourceUnexportedFieldsStatusDie) DieSealReleasePtr ¶ added in v0.21.0
func (d *TestResourceUnexportedFieldsStatusDie) DieSealReleasePtr() *resources.TestResourceUnexportedFieldsStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*TestResourceUnexportedFieldsStatusDie) DieStamp ¶
func (d *TestResourceUnexportedFieldsStatusDie) DieStamp(fn func(r *resources.TestResourceUnexportedFieldsStatus)) *TestResourceUnexportedFieldsStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TestResourceUnexportedFieldsStatusDie) DieStampAt ¶
func (d *TestResourceUnexportedFieldsStatusDie) DieStampAt(jp string, fn interface{}) *TestResourceUnexportedFieldsStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*TestResourceUnexportedFieldsStatusDie) DieWith ¶
func (d *TestResourceUnexportedFieldsStatusDie) DieWith(fns ...func(d *TestResourceUnexportedFieldsStatusDie)) *TestResourceUnexportedFieldsStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TestResourceUnexportedFieldsStatusDie) Fields ¶
func (d *TestResourceUnexportedFieldsStatusDie) Fields(v map[string]string) *TestResourceUnexportedFieldsStatusDie
func (*TestResourceUnexportedFieldsStatusDie) Status ¶
func (d *TestResourceUnexportedFieldsStatusDie) Status(v apis.Status) *TestResourceUnexportedFieldsStatusDie