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) 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) 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) 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) 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) UnmarshalJSON(b []byte) error
- type TestDuckSpecDie
- func (d *TestDuckSpecDie) AddField(key, value string) *TestDuckSpecDie
- func (d *TestDuckSpecDie) DeepCopy() *TestDuckSpecDie
- 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) UnmarshalJSON(b []byte) error
- type TestResourceEmptyStatusStatusDie
- func (d *TestResourceEmptyStatusStatusDie) DeepCopy() *TestResourceEmptyStatusStatusDie
- 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) UnmarshalJSON(b []byte) error
- type TestResourceSpecDie
- func (d *TestResourceSpecDie) AddField(key, value string) *TestResourceSpecDie
- func (d *TestResourceSpecDie) DeepCopy() *TestResourceSpecDie
- 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) 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) 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 corev1.PodTemplateSpec) *TestResourceSpecDie
- func (d *TestResourceSpecDie) TemplateDie(fn func(d *diecorev1.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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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 corev1.PodTemplateSpec) *TestResourceUnexportedFieldsSpecDie
- func (d *TestResourceUnexportedFieldsSpecDie) TemplateDie(fn func(d *diecorev1.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) 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) 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) 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 ¶ added in v0.14.0
type TestDuckDie struct { v1.FrozenObjectMeta // contains filtered or unexported fields }
func (*TestDuckDie) APIVersion ¶ added in v0.14.0
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 ¶ added in v0.14.0
func (d *TestDuckDie) DeepCopy() *TestDuckDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TestDuckDie) DeepCopyObject ¶ added in v0.14.0
func (d *TestDuckDie) DeepCopyObject() runtime.Object
func (*TestDuckDie) DieFeed ¶ added in v0.14.0
func (d *TestDuckDie) DieFeed(r resources.TestDuck) *TestDuckDie
DieFeed returns a new die with the provided resource.
func (*TestDuckDie) DieFeedJSON ¶ added in v0.14.0
func (d *TestDuckDie) DieFeedJSON(j []byte) *TestDuckDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TestDuckDie) DieFeedPtr ¶ added in v0.14.0
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 ¶ added in v0.14.0
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 ¶ added in v0.14.0
func (d *TestDuckDie) DieFeedYAML(y []byte) *TestDuckDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestDuckDie) DieFeedYAMLFile ¶ added in v0.14.0
func (d *TestDuckDie) DieFeedYAMLFile(name string) *TestDuckDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TestDuckDie) DieImmutable ¶ added in v0.14.0
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) DieRelease ¶ added in v0.14.0
func (d *TestDuckDie) DieRelease() resources.TestDuck
DieRelease returns the resource managed by the die.
func (*TestDuckDie) DieReleaseJSON ¶ added in v0.14.0
func (d *TestDuckDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TestDuckDie) DieReleasePtr ¶ added in v0.14.0
func (d *TestDuckDie) DieReleasePtr() *resources.TestDuck
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TestDuckDie) DieReleaseRawExtension ¶ added in v0.14.0
func (d *TestDuckDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestDuckDie) DieReleaseUnstructured ¶ added in v0.14.0
func (d *TestDuckDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*TestDuckDie) DieReleaseYAML ¶ added in v0.14.0
func (d *TestDuckDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TestDuckDie) DieStamp ¶ added in v0.14.0
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 ¶ added in v0.14.0
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 ¶ added in v0.14.0
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 ¶ added in v0.14.0
func (d *TestDuckDie) GetObjectKind() schema.ObjectKind
func (*TestDuckDie) Kind ¶ added in v0.14.0
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 ¶ added in v0.14.0
func (d *TestDuckDie) MarshalJSON() ([]byte, error)
func (*TestDuckDie) MetadataDie ¶ added in v0.14.0
func (d *TestDuckDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *TestDuckDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*TestDuckDie) Spec ¶ added in v0.14.0
func (d *TestDuckDie) Spec(v resources.TestDuckSpec) *TestDuckDie
func (*TestDuckDie) SpecDie ¶ added in v0.14.0
func (d *TestDuckDie) SpecDie(fn func(d *TestDuckSpecDie)) *TestDuckDie
SpecDie stamps the resource's spec field with a mutable die.
func (*TestDuckDie) Status ¶ added in v0.14.0
func (d *TestDuckDie) Status(v resources.TestResourceStatus) *TestDuckDie
func (*TestDuckDie) StatusDie ¶ added in v0.14.0
func (d *TestDuckDie) StatusDie(fn func(d *TestResourceStatusDie)) *TestDuckDie
func (*TestDuckDie) UnmarshalJSON ¶ added in v0.14.0
func (d *TestDuckDie) UnmarshalJSON(b []byte) error
type TestDuckSpecDie ¶ added in v0.14.0
type TestDuckSpecDie struct {
// contains filtered or unexported fields
}
func (*TestDuckSpecDie) AddField ¶ added in v0.14.0
func (d *TestDuckSpecDie) AddField(key, value string) *TestDuckSpecDie
func (*TestDuckSpecDie) DeepCopy ¶ added in v0.14.0
func (d *TestDuckSpecDie) DeepCopy() *TestDuckSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TestDuckSpecDie) DieFeed ¶ added in v0.14.0
func (d *TestDuckSpecDie) DieFeed(r resources.TestDuckSpec) *TestDuckSpecDie
DieFeed returns a new die with the provided resource.
func (*TestDuckSpecDie) DieFeedJSON ¶ added in v0.14.0
func (d *TestDuckSpecDie) DieFeedJSON(j []byte) *TestDuckSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TestDuckSpecDie) DieFeedPtr ¶ added in v0.14.0
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 ¶ added in v0.14.0
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 ¶ added in v0.14.0
func (d *TestDuckSpecDie) DieFeedYAML(y []byte) *TestDuckSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestDuckSpecDie) DieFeedYAMLFile ¶ added in v0.14.0
func (d *TestDuckSpecDie) DieFeedYAMLFile(name string) *TestDuckSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TestDuckSpecDie) DieImmutable ¶ added in v0.14.0
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) DieRelease ¶ added in v0.14.0
func (d *TestDuckSpecDie) DieRelease() resources.TestDuckSpec
DieRelease returns the resource managed by the die.
func (*TestDuckSpecDie) DieReleaseJSON ¶ added in v0.14.0
func (d *TestDuckSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TestDuckSpecDie) DieReleasePtr ¶ added in v0.14.0
func (d *TestDuckSpecDie) DieReleasePtr() *resources.TestDuckSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TestDuckSpecDie) DieReleaseRawExtension ¶ added in v0.14.0
func (d *TestDuckSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestDuckSpecDie) DieReleaseYAML ¶ added in v0.14.0
func (d *TestDuckSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TestDuckSpecDie) DieStamp ¶ added in v0.14.0
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 ¶ added in v0.14.0
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 ¶ added in v0.14.0
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 ¶ added in v0.14.0
func (d *TestDuckSpecDie) Fields(v map[string]string) *TestDuckSpecDie
type TestResourceDie ¶
type TestResourceDie struct { v1.FrozenObjectMeta // contains filtered or unexported fields }
func (*TestResourceDie) APIVersion ¶ added in v0.7.0
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) DieFeed ¶
func (d *TestResourceDie) DieFeed(r resources.TestResource) *TestResourceDie
DieFeed returns a new die with the provided resource.
func (*TestResourceDie) DieFeedJSON ¶ added in v0.12.0
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 ¶ added in v0.7.0
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 ¶ added in v0.12.0
func (d *TestResourceDie) DieFeedYAML(y []byte) *TestResourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceDie) DieFeedYAMLFile ¶ added in v0.12.0
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) DieRelease ¶
func (d *TestResourceDie) DieRelease() resources.TestResource
DieRelease returns the resource managed by the die.
func (*TestResourceDie) DieReleaseJSON ¶ added in v0.12.0
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 ¶ added in v0.7.0
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 ¶ added in v0.12.0
func (d *TestResourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
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 ¶ added in v0.12.0
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 ¶ added in v0.14.0
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 ¶ added in v0.7.0
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) 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) UnmarshalJSON ¶
func (d *TestResourceDie) UnmarshalJSON(b []byte) error
type TestResourceEmptyStatusDie ¶
type TestResourceEmptyStatusDie struct { v1.FrozenObjectMeta // contains filtered or unexported fields }
func (*TestResourceEmptyStatusDie) APIVersion ¶ added in v0.7.0
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) DieFeed ¶
func (d *TestResourceEmptyStatusDie) DieFeed(r resources.TestResourceEmptyStatus) *TestResourceEmptyStatusDie
DieFeed returns a new die with the provided resource.
func (*TestResourceEmptyStatusDie) DieFeedJSON ¶ added in v0.12.0
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 ¶ added in v0.7.0
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 ¶ added in v0.12.0
func (d *TestResourceEmptyStatusDie) DieFeedYAML(y []byte) *TestResourceEmptyStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceEmptyStatusDie) DieFeedYAMLFile ¶ added in v0.12.0
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) DieRelease ¶
func (d *TestResourceEmptyStatusDie) DieRelease() resources.TestResourceEmptyStatus
DieRelease returns the resource managed by the die.
func (*TestResourceEmptyStatusDie) DieReleaseJSON ¶ added in v0.12.0
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 ¶ added in v0.7.0
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 ¶ added in v0.12.0
func (d *TestResourceEmptyStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
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 ¶ added in v0.12.0
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 ¶ added in v0.14.0
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 ¶ added in v0.7.0
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) 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) 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) DieFeed ¶
func (d *TestResourceEmptyStatusStatusDie) DieFeed(r resources.TestResourceEmptyStatusStatus) *TestResourceEmptyStatusStatusDie
DieFeed returns a new die with the provided resource.
func (*TestResourceEmptyStatusStatusDie) DieFeedJSON ¶ added in v0.12.0
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 ¶ added in v0.7.0
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 ¶ added in v0.12.0
func (d *TestResourceEmptyStatusStatusDie) DieFeedYAML(y []byte) *TestResourceEmptyStatusStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceEmptyStatusStatusDie) DieFeedYAMLFile ¶ added in v0.12.0
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) DieRelease ¶
func (d *TestResourceEmptyStatusStatusDie) DieRelease() resources.TestResourceEmptyStatusStatus
DieRelease returns the resource managed by the die.
func (*TestResourceEmptyStatusStatusDie) DieReleaseJSON ¶ added in v0.12.0
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 ¶ added in v0.7.0
func (d *TestResourceEmptyStatusStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceEmptyStatusStatusDie) DieReleaseYAML ¶ added in v0.12.0
func (d *TestResourceEmptyStatusStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
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 ¶ added in v0.12.0
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 ¶ added in v0.14.0
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 ¶ added in v0.7.0
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) DieFeed ¶
func (d *TestResourceNilableStatusDie) DieFeed(r resources.TestResourceNilableStatus) *TestResourceNilableStatusDie
DieFeed returns a new die with the provided resource.
func (*TestResourceNilableStatusDie) DieFeedJSON ¶ added in v0.12.0
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 ¶ added in v0.7.0
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 ¶ added in v0.12.0
func (d *TestResourceNilableStatusDie) DieFeedYAML(y []byte) *TestResourceNilableStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceNilableStatusDie) DieFeedYAMLFile ¶ added in v0.12.0
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) DieRelease ¶
func (d *TestResourceNilableStatusDie) DieRelease() resources.TestResourceNilableStatus
DieRelease returns the resource managed by the die.
func (*TestResourceNilableStatusDie) DieReleaseJSON ¶ added in v0.12.0
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 ¶ added in v0.7.0
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 ¶ added in v0.12.0
func (d *TestResourceNilableStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
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 ¶ added in v0.12.0
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 ¶ added in v0.14.0
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 ¶ added in v0.7.0
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) 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 stamps the resource's status 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 ¶ added in v0.7.0
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) DieFeed ¶
func (d *TestResourceNoStatusDie) DieFeed(r resources.TestResourceNoStatus) *TestResourceNoStatusDie
DieFeed returns a new die with the provided resource.
func (*TestResourceNoStatusDie) DieFeedJSON ¶ added in v0.12.0
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 ¶ added in v0.7.0
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 ¶ added in v0.12.0
func (d *TestResourceNoStatusDie) DieFeedYAML(y []byte) *TestResourceNoStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceNoStatusDie) DieFeedYAMLFile ¶ added in v0.12.0
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) DieRelease ¶
func (d *TestResourceNoStatusDie) DieRelease() resources.TestResourceNoStatus
DieRelease returns the resource managed by the die.
func (*TestResourceNoStatusDie) DieReleaseJSON ¶ added in v0.12.0
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 ¶ added in v0.7.0
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 ¶ added in v0.12.0
func (d *TestResourceNoStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
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 ¶ added in v0.12.0
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 ¶ added in v0.14.0
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 ¶ added in v0.7.0
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) 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) 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) DieFeed ¶
func (d *TestResourceSpecDie) DieFeed(r resources.TestResourceSpec) *TestResourceSpecDie
DieFeed returns a new die with the provided resource.
func (*TestResourceSpecDie) DieFeedJSON ¶ added in v0.12.0
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 ¶ added in v0.7.0
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 ¶ added in v0.12.0
func (d *TestResourceSpecDie) DieFeedYAML(y []byte) *TestResourceSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceSpecDie) DieFeedYAMLFile ¶ added in v0.12.0
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) DieRelease ¶
func (d *TestResourceSpecDie) DieRelease() resources.TestResourceSpec
DieRelease returns the resource managed by the die.
func (*TestResourceSpecDie) DieReleaseJSON ¶ added in v0.12.0
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 ¶ added in v0.7.0
func (d *TestResourceSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceSpecDie) DieReleaseYAML ¶ added in v0.12.0
func (d *TestResourceSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
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 ¶ added in v0.12.0
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 ¶ added in v0.14.0
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 corev1.PodTemplateSpec) *TestResourceSpecDie
func (*TestResourceSpecDie) TemplateDie ¶
func (d *TestResourceSpecDie) TemplateDie(fn func(d *diecorev1.PodTemplateSpecDie)) *TestResourceSpecDie
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) DieFeed ¶
func (d *TestResourceStatusDie) DieFeed(r resources.TestResourceStatus) *TestResourceStatusDie
DieFeed returns a new die with the provided resource.
func (*TestResourceStatusDie) DieFeedJSON ¶ added in v0.12.0
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 ¶ added in v0.7.0
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 ¶ added in v0.12.0
func (d *TestResourceStatusDie) DieFeedYAML(y []byte) *TestResourceStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceStatusDie) DieFeedYAMLFile ¶ added in v0.12.0
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) DieRelease ¶
func (d *TestResourceStatusDie) DieRelease() resources.TestResourceStatus
DieRelease returns the resource managed by the die.
func (*TestResourceStatusDie) DieReleaseJSON ¶ added in v0.12.0
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 ¶ added in v0.7.0
func (d *TestResourceStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceStatusDie) DieReleaseYAML ¶ added in v0.12.0
func (d *TestResourceStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
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 ¶ added in v0.12.0
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 ¶ added in v0.14.0
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 ¶ added in v0.19.0
type TestResourceUnexportedFieldsDie struct { v1.FrozenObjectMeta // contains filtered or unexported fields }
func (*TestResourceUnexportedFieldsDie) APIVersion ¶ added in v0.19.0
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 ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsDie) DeepCopy() *TestResourceUnexportedFieldsDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TestResourceUnexportedFieldsDie) DeepCopyObject ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsDie) DeepCopyObject() runtime.Object
func (*TestResourceUnexportedFieldsDie) DieFeed ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsDie) DieFeed(r resources.TestResourceUnexportedFields) *TestResourceUnexportedFieldsDie
DieFeed returns a new die with the provided resource.
func (*TestResourceUnexportedFieldsDie) DieFeedJSON ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsDie) DieFeedJSON(j []byte) *TestResourceUnexportedFieldsDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TestResourceUnexportedFieldsDie) DieFeedPtr ¶ added in v0.19.0
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 ¶ added in v0.19.0
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 ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsDie) DieFeedYAML(y []byte) *TestResourceUnexportedFieldsDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceUnexportedFieldsDie) DieFeedYAMLFile ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsDie) DieFeedYAMLFile(name string) *TestResourceUnexportedFieldsDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TestResourceUnexportedFieldsDie) DieImmutable ¶ added in v0.19.0
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) DieRelease ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsDie) DieRelease() resources.TestResourceUnexportedFields
DieRelease returns the resource managed by the die.
func (*TestResourceUnexportedFieldsDie) DieReleaseJSON ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TestResourceUnexportedFieldsDie) DieReleasePtr ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsDie) DieReleasePtr() *resources.TestResourceUnexportedFields
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TestResourceUnexportedFieldsDie) DieReleaseRawExtension ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceUnexportedFieldsDie) DieReleaseUnstructured ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*TestResourceUnexportedFieldsDie) DieReleaseYAML ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TestResourceUnexportedFieldsDie) DieStamp ¶ added in v0.19.0
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 ¶ added in v0.19.0
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 ¶ added in v0.19.0
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 ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsDie) GetObjectKind() schema.ObjectKind
func (*TestResourceUnexportedFieldsDie) Kind ¶ added in v0.19.0
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 ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsDie) MarshalJSON() ([]byte, error)
func (*TestResourceUnexportedFieldsDie) MetadataDie ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *TestResourceUnexportedFieldsDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*TestResourceUnexportedFieldsDie) SpecDie ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsDie) SpecDie(fn func(d *TestResourceUnexportedFieldsSpecDie)) *TestResourceUnexportedFieldsDie
SpecDie stamps the resource's spec field with a mutable die.
func (*TestResourceUnexportedFieldsDie) StatusDie ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsDie) StatusDie(fn func(d *TestResourceUnexportedFieldsStatusDie)) *TestResourceUnexportedFieldsDie
StatusDie stamps the resource's status field with a mutable die.
func (*TestResourceUnexportedFieldsDie) UnmarshalJSON ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsDie) UnmarshalJSON(b []byte) error
type TestResourceUnexportedFieldsSpecDie ¶ added in v0.19.0
type TestResourceUnexportedFieldsSpecDie struct {
// contains filtered or unexported fields
}
func (*TestResourceUnexportedFieldsSpecDie) AddField ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsSpecDie) AddField(key, value string) *TestResourceUnexportedFieldsSpecDie
func (*TestResourceUnexportedFieldsSpecDie) AddUnexportedField ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsSpecDie) AddUnexportedField(key, value string) *TestResourceUnexportedFieldsSpecDie
func (*TestResourceUnexportedFieldsSpecDie) DeepCopy ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsSpecDie) DeepCopy() *TestResourceUnexportedFieldsSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TestResourceUnexportedFieldsSpecDie) DieFeed ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsSpecDie) DieFeed(r resources.TestResourceUnexportedFieldsSpec) *TestResourceUnexportedFieldsSpecDie
DieFeed returns a new die with the provided resource.
func (*TestResourceUnexportedFieldsSpecDie) DieFeedJSON ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsSpecDie) DieFeedJSON(j []byte) *TestResourceUnexportedFieldsSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TestResourceUnexportedFieldsSpecDie) DieFeedPtr ¶ added in v0.19.0
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 ¶ added in v0.19.0
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 ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsSpecDie) DieFeedYAML(y []byte) *TestResourceUnexportedFieldsSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceUnexportedFieldsSpecDie) DieFeedYAMLFile ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsSpecDie) DieFeedYAMLFile(name string) *TestResourceUnexportedFieldsSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TestResourceUnexportedFieldsSpecDie) DieImmutable ¶ added in v0.19.0
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) DieRelease ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsSpecDie) DieRelease() resources.TestResourceUnexportedFieldsSpec
DieRelease returns the resource managed by the die.
func (*TestResourceUnexportedFieldsSpecDie) DieReleaseJSON ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TestResourceUnexportedFieldsSpecDie) DieReleasePtr ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsSpecDie) DieReleasePtr() *resources.TestResourceUnexportedFieldsSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TestResourceUnexportedFieldsSpecDie) DieReleaseRawExtension ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceUnexportedFieldsSpecDie) DieReleaseYAML ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TestResourceUnexportedFieldsSpecDie) DieStamp ¶ added in v0.19.0
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 ¶ added in v0.19.0
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 ¶ added in v0.19.0
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 ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsSpecDie) ErrOnMarshal(v bool) *TestResourceUnexportedFieldsSpecDie
func (*TestResourceUnexportedFieldsSpecDie) ErrOnUnmarshal ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsSpecDie) ErrOnUnmarshal(v bool) *TestResourceUnexportedFieldsSpecDie
func (*TestResourceUnexportedFieldsSpecDie) Fields ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsSpecDie) Fields(v map[string]string) *TestResourceUnexportedFieldsSpecDie
func (*TestResourceUnexportedFieldsSpecDie) Template ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsSpecDie) Template(v corev1.PodTemplateSpec) *TestResourceUnexportedFieldsSpecDie
func (*TestResourceUnexportedFieldsSpecDie) TemplateDie ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsSpecDie) TemplateDie(fn func(d *diecorev1.PodTemplateSpecDie)) *TestResourceUnexportedFieldsSpecDie
type TestResourceUnexportedFieldsStatusDie ¶ added in v0.19.0
type TestResourceUnexportedFieldsStatusDie struct {
// contains filtered or unexported fields
}
func (*TestResourceUnexportedFieldsStatusDie) AddField ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsStatusDie) AddField(key, value string) *TestResourceUnexportedFieldsStatusDie
func (*TestResourceUnexportedFieldsStatusDie) AddUnexportedField ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsStatusDie) AddUnexportedField(key, value string) *TestResourceUnexportedFieldsStatusDie
func (*TestResourceUnexportedFieldsStatusDie) ConditionsDie ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *TestResourceUnexportedFieldsStatusDie
func (*TestResourceUnexportedFieldsStatusDie) DeepCopy ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsStatusDie) DeepCopy() *TestResourceUnexportedFieldsStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TestResourceUnexportedFieldsStatusDie) DieFeed ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsStatusDie) DieFeed(r resources.TestResourceUnexportedFieldsStatus) *TestResourceUnexportedFieldsStatusDie
DieFeed returns a new die with the provided resource.
func (*TestResourceUnexportedFieldsStatusDie) DieFeedJSON ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsStatusDie) DieFeedJSON(j []byte) *TestResourceUnexportedFieldsStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TestResourceUnexportedFieldsStatusDie) DieFeedPtr ¶ added in v0.19.0
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 ¶ added in v0.19.0
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 ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsStatusDie) DieFeedYAML(y []byte) *TestResourceUnexportedFieldsStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TestResourceUnexportedFieldsStatusDie) DieFeedYAMLFile ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsStatusDie) DieFeedYAMLFile(name string) *TestResourceUnexportedFieldsStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TestResourceUnexportedFieldsStatusDie) DieImmutable ¶ added in v0.19.0
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) DieRelease ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsStatusDie) DieRelease() resources.TestResourceUnexportedFieldsStatus
DieRelease returns the resource managed by the die.
func (*TestResourceUnexportedFieldsStatusDie) DieReleaseJSON ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TestResourceUnexportedFieldsStatusDie) DieReleasePtr ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsStatusDie) DieReleasePtr() *resources.TestResourceUnexportedFieldsStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TestResourceUnexportedFieldsStatusDie) DieReleaseRawExtension ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TestResourceUnexportedFieldsStatusDie) DieReleaseYAML ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TestResourceUnexportedFieldsStatusDie) DieStamp ¶ added in v0.19.0
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 ¶ added in v0.19.0
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 ¶ added in v0.19.0
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 ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsStatusDie) Fields(v map[string]string) *TestResourceUnexportedFieldsStatusDie
func (*TestResourceUnexportedFieldsStatusDie) Status ¶ added in v0.19.0
func (d *TestResourceUnexportedFieldsStatusDie) Status(v apis.Status) *TestResourceUnexportedFieldsStatusDie