dies

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestDuckBlank = (&TestDuckDie{}).DieFeed(resources.TestDuck{})
View Source
var TestDuckSpecBlank = (&TestDuckSpecDie{}).DieFeed(resources.TestDuckSpec{})
View Source
var TestResourceBlank = (&TestResourceDie{}).DieFeed(resources.TestResource{})
View Source
var TestResourceEmptyStatusBlank = (&TestResourceEmptyStatusDie{}).DieFeed(resources.TestResourceEmptyStatus{})
View Source
var TestResourceEmptyStatusStatusBlank = (&TestResourceEmptyStatusStatusDie{}).DieFeed(resources.TestResourceEmptyStatusStatus{})
View Source
var TestResourceNilableStatusBlank = (&TestResourceNilableStatusDie{}).DieFeed(resources.TestResourceNilableStatus{})
View Source
var TestResourceNoStatusBlank = (&TestResourceNoStatusDie{}).DieFeed(resources.TestResourceNoStatus{})
View Source
var TestResourceSpecBlank = (&TestResourceSpecDie{}).DieFeed(resources.TestResourceSpec{})
View Source
var TestResourceStatusBlank = (&TestResourceStatusDie{}).DieFeed(resources.TestResourceStatus{})
View Source
var TestResourceUnexportedFieldsBlank = (&TestResourceUnexportedFieldsDie{}).DieFeed(resources.TestResourceUnexportedFields{})
View Source
var TestResourceUnexportedFieldsSpecBlank = (&TestResourceUnexportedFieldsSpecDie{}).DieFeed(resources.TestResourceUnexportedFieldsSpec{})
View Source
var TestResourceUnexportedFieldsStatusBlank = (&TestResourceUnexportedFieldsStatusDie{}).DieFeed(resources.TestResourceUnexportedFieldsStatus{})

Functions

This section is empty.

Types

type TestDuckDie

type TestDuckDie struct {
	v1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*TestDuckDie) APIVersion

func (d *TestDuckDie) APIVersion(v string) *TestDuckDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*TestDuckDie) DeepCopy

func (d *TestDuckDie) DeepCopy() *TestDuckDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*TestDuckDie) DeepCopyObject

func (d *TestDuckDie) DeepCopyObject() runtime.Object

func (*TestDuckDie) DieFeed

func (d *TestDuckDie) DieFeed(r resources.TestDuck) *TestDuckDie

DieFeed returns a new die with the provided resource.

func (*TestDuckDie) DieFeedJSON

func (d *TestDuckDie) DieFeedJSON(j []byte) *TestDuckDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TestDuckDie) DieFeedPtr

func (d *TestDuckDie) DieFeedPtr(r *resources.TestDuck) *TestDuckDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TestDuckDie) DieFeedRawExtension

func (d *TestDuckDie) DieFeedRawExtension(raw runtime.RawExtension) *TestDuckDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestDuckDie) DieFeedYAML

func (d *TestDuckDie) DieFeedYAML(y []byte) *TestDuckDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TestDuckDie) DieFeedYAMLFile

func (d *TestDuckDie) DieFeedYAMLFile(name string) *TestDuckDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*TestDuckDie) DieImmutable

func (d *TestDuckDie) DieImmutable(immutable bool) *TestDuckDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*TestDuckDie) DieRelease

func (d *TestDuckDie) DieRelease() resources.TestDuck

DieRelease returns the resource managed by the die.

func (*TestDuckDie) DieReleaseJSON

func (d *TestDuckDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TestDuckDie) DieReleasePtr

func (d *TestDuckDie) DieReleasePtr() *resources.TestDuck

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TestDuckDie) DieReleaseRawExtension

func (d *TestDuckDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestDuckDie) DieReleaseUnstructured

func (d *TestDuckDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*TestDuckDie) DieReleaseYAML

func (d *TestDuckDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TestDuckDie) DieStamp

func (d *TestDuckDie) DieStamp(fn func(r *resources.TestDuck)) *TestDuckDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TestDuckDie) DieStampAt

func (d *TestDuckDie) DieStampAt(jp string, fn interface{}) *TestDuckDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TestDuckDie) DieWith

func (d *TestDuckDie) DieWith(fns ...func(d *TestDuckDie)) *TestDuckDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*TestDuckDie) GetObjectKind

func (d *TestDuckDie) GetObjectKind() schema.ObjectKind

func (*TestDuckDie) Kind

func (d *TestDuckDie) Kind(v string) *TestDuckDie

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (*TestDuckDie) MarshalJSON

func (d *TestDuckDie) MarshalJSON() ([]byte, error)

func (*TestDuckDie) MetadataDie

func (d *TestDuckDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *TestDuckDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*TestDuckDie) Spec

func (*TestDuckDie) SpecDie

func (d *TestDuckDie) SpecDie(fn func(d *TestDuckSpecDie)) *TestDuckDie

SpecDie stamps the resource's spec field with a mutable die.

func (*TestDuckDie) Status

func (*TestDuckDie) StatusDie

func (d *TestDuckDie) StatusDie(fn func(d *TestResourceStatusDie)) *TestDuckDie

func (*TestDuckDie) UnmarshalJSON

func (d *TestDuckDie) UnmarshalJSON(b []byte) error

type TestDuckSpecDie

type TestDuckSpecDie struct {
	// contains filtered or unexported fields
}

func (*TestDuckSpecDie) AddField

func (d *TestDuckSpecDie) AddField(key, value string) *TestDuckSpecDie

func (*TestDuckSpecDie) DeepCopy

func (d *TestDuckSpecDie) DeepCopy() *TestDuckSpecDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*TestDuckSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*TestDuckSpecDie) DieFeedJSON

func (d *TestDuckSpecDie) DieFeedJSON(j []byte) *TestDuckSpecDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TestDuckSpecDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TestDuckSpecDie) DieFeedRawExtension

func (d *TestDuckSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *TestDuckSpecDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestDuckSpecDie) DieFeedYAML

func (d *TestDuckSpecDie) DieFeedYAML(y []byte) *TestDuckSpecDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TestDuckSpecDie) DieFeedYAMLFile

func (d *TestDuckSpecDie) DieFeedYAMLFile(name string) *TestDuckSpecDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*TestDuckSpecDie) DieImmutable

func (d *TestDuckSpecDie) DieImmutable(immutable bool) *TestDuckSpecDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*TestDuckSpecDie) DieRelease

func (d *TestDuckSpecDie) DieRelease() resources.TestDuckSpec

DieRelease returns the resource managed by the die.

func (*TestDuckSpecDie) DieReleaseJSON

func (d *TestDuckSpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TestDuckSpecDie) DieReleasePtr

func (d *TestDuckSpecDie) DieReleasePtr() *resources.TestDuckSpec

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TestDuckSpecDie) DieReleaseRawExtension

func (d *TestDuckSpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestDuckSpecDie) DieReleaseYAML

func (d *TestDuckSpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TestDuckSpecDie) DieStamp

func (d *TestDuckSpecDie) DieStamp(fn func(r *resources.TestDuckSpec)) *TestDuckSpecDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TestDuckSpecDie) DieStampAt

func (d *TestDuckSpecDie) DieStampAt(jp string, fn interface{}) *TestDuckSpecDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TestDuckSpecDie) DieWith

func (d *TestDuckSpecDie) DieWith(fns ...func(d *TestDuckSpecDie)) *TestDuckSpecDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*TestDuckSpecDie) Fields

func (d *TestDuckSpecDie) Fields(v map[string]string) *TestDuckSpecDie

type TestResourceDie

type TestResourceDie struct {
	v1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*TestResourceDie) APIVersion

func (d *TestResourceDie) APIVersion(v string) *TestResourceDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*TestResourceDie) DeepCopy

func (d *TestResourceDie) DeepCopy() *TestResourceDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*TestResourceDie) DeepCopyObject

func (d *TestResourceDie) DeepCopyObject() runtime.Object

func (*TestResourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*TestResourceDie) DieFeedJSON

func (d *TestResourceDie) DieFeedJSON(j []byte) *TestResourceDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TestResourceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TestResourceDie) DieFeedRawExtension

func (d *TestResourceDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceDie) DieFeedYAML

func (d *TestResourceDie) DieFeedYAML(y []byte) *TestResourceDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TestResourceDie) DieFeedYAMLFile

func (d *TestResourceDie) DieFeedYAMLFile(name string) *TestResourceDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*TestResourceDie) DieImmutable

func (d *TestResourceDie) DieImmutable(immutable bool) *TestResourceDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*TestResourceDie) DieRelease

func (d *TestResourceDie) DieRelease() resources.TestResource

DieRelease returns the resource managed by the die.

func (*TestResourceDie) DieReleaseJSON

func (d *TestResourceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TestResourceDie) DieReleasePtr

func (d *TestResourceDie) DieReleasePtr() *resources.TestResource

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TestResourceDie) DieReleaseRawExtension

func (d *TestResourceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceDie) DieReleaseUnstructured

func (d *TestResourceDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*TestResourceDie) DieReleaseYAML

func (d *TestResourceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TestResourceDie) DieStamp

func (d *TestResourceDie) DieStamp(fn func(r *resources.TestResource)) *TestResourceDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TestResourceDie) DieStampAt

func (d *TestResourceDie) DieStampAt(jp string, fn interface{}) *TestResourceDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TestResourceDie) DieWith

func (d *TestResourceDie) DieWith(fns ...func(d *TestResourceDie)) *TestResourceDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*TestResourceDie) GetObjectKind

func (d *TestResourceDie) GetObjectKind() schema.ObjectKind

func (*TestResourceDie) Kind

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 (*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 (*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

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

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

DieFeed returns a new die with the provided resource.

func (*TestResourceEmptyStatusDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TestResourceEmptyStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TestResourceEmptyStatusDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceEmptyStatusDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TestResourceEmptyStatusDie) DieFeedYAMLFile

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

DieRelease returns the resource managed by the die.

func (*TestResourceEmptyStatusDie) DieReleaseJSON

func (d *TestResourceEmptyStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TestResourceEmptyStatusDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TestResourceEmptyStatusDie) DieReleaseRawExtension

func (d *TestResourceEmptyStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceEmptyStatusDie) DieReleaseUnstructured

func (d *TestResourceEmptyStatusDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*TestResourceEmptyStatusDie) DieReleaseYAML

func (d *TestResourceEmptyStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TestResourceEmptyStatusDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TestResourceEmptyStatusDie) DieStampAt

func (d *TestResourceEmptyStatusDie) DieStampAt(jp string, fn interface{}) *TestResourceEmptyStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TestResourceEmptyStatusDie) DieWith

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

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

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*TestResourceEmptyStatusDie) Spec

func (*TestResourceEmptyStatusDie) SpecDie

SpecDie stamps the resource's spec field with a mutable die.

func (*TestResourceEmptyStatusDie) StatusDie

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

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*TestResourceEmptyStatusStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*TestResourceEmptyStatusStatusDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TestResourceEmptyStatusStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TestResourceEmptyStatusStatusDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceEmptyStatusStatusDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TestResourceEmptyStatusStatusDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*TestResourceEmptyStatusStatusDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*TestResourceEmptyStatusStatusDie) DieRelease

DieRelease returns the resource managed by the die.

func (*TestResourceEmptyStatusStatusDie) DieReleaseJSON

func (d *TestResourceEmptyStatusStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TestResourceEmptyStatusStatusDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TestResourceEmptyStatusStatusDie) DieReleaseRawExtension

func (d *TestResourceEmptyStatusStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceEmptyStatusStatusDie) DieReleaseYAML

func (d *TestResourceEmptyStatusStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TestResourceEmptyStatusStatusDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TestResourceEmptyStatusStatusDie) DieStampAt

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TestResourceEmptyStatusStatusDie) DieWith

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

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

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

DieFeed returns a new die with the provided resource.

func (*TestResourceNilableStatusDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TestResourceNilableStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TestResourceNilableStatusDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceNilableStatusDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TestResourceNilableStatusDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*TestResourceNilableStatusDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*TestResourceNilableStatusDie) DieRelease

DieRelease returns the resource managed by the die.

func (*TestResourceNilableStatusDie) DieReleaseJSON

func (d *TestResourceNilableStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TestResourceNilableStatusDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TestResourceNilableStatusDie) DieReleaseRawExtension

func (d *TestResourceNilableStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceNilableStatusDie) DieReleaseUnstructured

func (d *TestResourceNilableStatusDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*TestResourceNilableStatusDie) DieReleaseYAML

func (d *TestResourceNilableStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TestResourceNilableStatusDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TestResourceNilableStatusDie) DieStampAt

func (d *TestResourceNilableStatusDie) DieStampAt(jp string, fn interface{}) *TestResourceNilableStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TestResourceNilableStatusDie) DieWith

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

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

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*TestResourceNilableStatusDie) Spec

func (*TestResourceNilableStatusDie) SpecDie

SpecDie stamps the resource's spec field with a mutable die.

func (*TestResourceNilableStatusDie) Status

func (*TestResourceNilableStatusDie) StatusDie

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

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

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

DieFeed returns a new die with the provided resource.

func (*TestResourceNoStatusDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TestResourceNoStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TestResourceNoStatusDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceNoStatusDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TestResourceNoStatusDie) DieFeedYAMLFile

func (d *TestResourceNoStatusDie) DieFeedYAMLFile(name string) *TestResourceNoStatusDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*TestResourceNoStatusDie) DieImmutable

func (d *TestResourceNoStatusDie) DieImmutable(immutable bool) *TestResourceNoStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*TestResourceNoStatusDie) DieRelease

DieRelease returns the resource managed by the die.

func (*TestResourceNoStatusDie) DieReleaseJSON

func (d *TestResourceNoStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TestResourceNoStatusDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TestResourceNoStatusDie) DieReleaseRawExtension

func (d *TestResourceNoStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceNoStatusDie) DieReleaseUnstructured

func (d *TestResourceNoStatusDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*TestResourceNoStatusDie) DieReleaseYAML

func (d *TestResourceNoStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TestResourceNoStatusDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TestResourceNoStatusDie) DieStampAt

func (d *TestResourceNoStatusDie) DieStampAt(jp string, fn interface{}) *TestResourceNoStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TestResourceNoStatusDie) DieWith

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

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 (*TestResourceNoStatusDie) SpecDie

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

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*TestResourceSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*TestResourceSpecDie) DieFeedJSON

func (d *TestResourceSpecDie) DieFeedJSON(j []byte) *TestResourceSpecDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TestResourceSpecDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TestResourceSpecDie) DieFeedRawExtension

func (d *TestResourceSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceSpecDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceSpecDie) DieFeedYAML

func (d *TestResourceSpecDie) DieFeedYAML(y []byte) *TestResourceSpecDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TestResourceSpecDie) DieFeedYAMLFile

func (d *TestResourceSpecDie) DieFeedYAMLFile(name string) *TestResourceSpecDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*TestResourceSpecDie) DieImmutable

func (d *TestResourceSpecDie) DieImmutable(immutable bool) *TestResourceSpecDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*TestResourceSpecDie) DieRelease

DieRelease returns the resource managed by the die.

func (*TestResourceSpecDie) DieReleaseJSON

func (d *TestResourceSpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TestResourceSpecDie) DieReleasePtr

func (d *TestResourceSpecDie) DieReleasePtr() *resources.TestResourceSpec

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TestResourceSpecDie) DieReleaseRawExtension

func (d *TestResourceSpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceSpecDie) DieReleaseYAML

func (d *TestResourceSpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TestResourceSpecDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TestResourceSpecDie) DieStampAt

func (d *TestResourceSpecDie) DieStampAt(jp string, fn interface{}) *TestResourceSpecDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TestResourceSpecDie) DieWith

func (d *TestResourceSpecDie) DieWith(fns ...func(d *TestResourceSpecDie)) *TestResourceSpecDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*TestResourceSpecDie) ErrOnMarshal

func (d *TestResourceSpecDie) ErrOnMarshal(v bool) *TestResourceSpecDie

func (*TestResourceSpecDie) ErrOnUnmarshal

func (d *TestResourceSpecDie) ErrOnUnmarshal(v bool) *TestResourceSpecDie

func (*TestResourceSpecDie) Fields

func (*TestResourceSpecDie) Template

func (*TestResourceSpecDie) TemplateDie

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

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*TestResourceStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*TestResourceStatusDie) DieFeedJSON

func (d *TestResourceStatusDie) DieFeedJSON(j []byte) *TestResourceStatusDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TestResourceStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TestResourceStatusDie) DieFeedRawExtension

func (d *TestResourceStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *TestResourceStatusDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceStatusDie) DieFeedYAML

func (d *TestResourceStatusDie) DieFeedYAML(y []byte) *TestResourceStatusDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TestResourceStatusDie) DieFeedYAMLFile

func (d *TestResourceStatusDie) DieFeedYAMLFile(name string) *TestResourceStatusDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*TestResourceStatusDie) DieImmutable

func (d *TestResourceStatusDie) DieImmutable(immutable bool) *TestResourceStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*TestResourceStatusDie) DieRelease

DieRelease returns the resource managed by the die.

func (*TestResourceStatusDie) DieReleaseJSON

func (d *TestResourceStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TestResourceStatusDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TestResourceStatusDie) DieReleaseRawExtension

func (d *TestResourceStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceStatusDie) DieReleaseYAML

func (d *TestResourceStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TestResourceStatusDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TestResourceStatusDie) DieStampAt

func (d *TestResourceStatusDie) DieStampAt(jp string, fn interface{}) *TestResourceStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TestResourceStatusDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*TestResourceStatusDie) Fields

func (*TestResourceStatusDie) Status

type TestResourceUnexportedFieldsDie

type TestResourceUnexportedFieldsDie struct {
	v1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*TestResourceUnexportedFieldsDie) APIVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*TestResourceUnexportedFieldsDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*TestResourceUnexportedFieldsDie) DeepCopyObject

func (d *TestResourceUnexportedFieldsDie) DeepCopyObject() runtime.Object

func (*TestResourceUnexportedFieldsDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*TestResourceUnexportedFieldsDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TestResourceUnexportedFieldsDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TestResourceUnexportedFieldsDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceUnexportedFieldsDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TestResourceUnexportedFieldsDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*TestResourceUnexportedFieldsDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*TestResourceUnexportedFieldsDie) DieRelease

DieRelease returns the resource managed by the die.

func (*TestResourceUnexportedFieldsDie) DieReleaseJSON

func (d *TestResourceUnexportedFieldsDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TestResourceUnexportedFieldsDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TestResourceUnexportedFieldsDie) DieReleaseRawExtension

func (d *TestResourceUnexportedFieldsDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceUnexportedFieldsDie) DieReleaseUnstructured

func (d *TestResourceUnexportedFieldsDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*TestResourceUnexportedFieldsDie) DieReleaseYAML

func (d *TestResourceUnexportedFieldsDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TestResourceUnexportedFieldsDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TestResourceUnexportedFieldsDie) DieStampAt

func (d *TestResourceUnexportedFieldsDie) DieStampAt(jp string, fn interface{}) *TestResourceUnexportedFieldsDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TestResourceUnexportedFieldsDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*TestResourceUnexportedFieldsDie) GetObjectKind

func (*TestResourceUnexportedFieldsDie) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (*TestResourceUnexportedFieldsDie) MarshalJSON

func (d *TestResourceUnexportedFieldsDie) MarshalJSON() ([]byte, error)

func (*TestResourceUnexportedFieldsDie) MetadataDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*TestResourceUnexportedFieldsDie) SpecDie

SpecDie stamps the resource's spec field with a mutable die.

func (*TestResourceUnexportedFieldsDie) StatusDie

StatusDie stamps the resource's status field with a mutable die.

func (*TestResourceUnexportedFieldsDie) UnmarshalJSON

func (d *TestResourceUnexportedFieldsDie) UnmarshalJSON(b []byte) error

type TestResourceUnexportedFieldsSpecDie

type TestResourceUnexportedFieldsSpecDie struct {
	// contains filtered or unexported fields
}

func (*TestResourceUnexportedFieldsSpecDie) AddField

func (*TestResourceUnexportedFieldsSpecDie) AddUnexportedField

func (*TestResourceUnexportedFieldsSpecDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*TestResourceUnexportedFieldsSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*TestResourceUnexportedFieldsSpecDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TestResourceUnexportedFieldsSpecDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TestResourceUnexportedFieldsSpecDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceUnexportedFieldsSpecDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TestResourceUnexportedFieldsSpecDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*TestResourceUnexportedFieldsSpecDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*TestResourceUnexportedFieldsSpecDie) DieRelease

DieRelease returns the resource managed by the die.

func (*TestResourceUnexportedFieldsSpecDie) DieReleaseJSON

func (d *TestResourceUnexportedFieldsSpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TestResourceUnexportedFieldsSpecDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TestResourceUnexportedFieldsSpecDie) DieReleaseRawExtension

func (d *TestResourceUnexportedFieldsSpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceUnexportedFieldsSpecDie) DieReleaseYAML

func (d *TestResourceUnexportedFieldsSpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TestResourceUnexportedFieldsSpecDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TestResourceUnexportedFieldsSpecDie) DieStampAt

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TestResourceUnexportedFieldsSpecDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*TestResourceUnexportedFieldsSpecDie) ErrOnMarshal

func (*TestResourceUnexportedFieldsSpecDie) ErrOnUnmarshal

func (*TestResourceUnexportedFieldsSpecDie) Fields

func (*TestResourceUnexportedFieldsSpecDie) Template

func (*TestResourceUnexportedFieldsSpecDie) TemplateDie

type TestResourceUnexportedFieldsStatusDie

type TestResourceUnexportedFieldsStatusDie struct {
	// contains filtered or unexported fields
}

func (*TestResourceUnexportedFieldsStatusDie) AddField

func (*TestResourceUnexportedFieldsStatusDie) AddUnexportedField

func (*TestResourceUnexportedFieldsStatusDie) ConditionsDie

func (*TestResourceUnexportedFieldsStatusDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*TestResourceUnexportedFieldsStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*TestResourceUnexportedFieldsStatusDie) DieFeedJSON

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*TestResourceUnexportedFieldsStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*TestResourceUnexportedFieldsStatusDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceUnexportedFieldsStatusDie) DieFeedYAML

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*TestResourceUnexportedFieldsStatusDie) DieFeedYAMLFile

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*TestResourceUnexportedFieldsStatusDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*TestResourceUnexportedFieldsStatusDie) DieRelease

DieRelease returns the resource managed by the die.

func (*TestResourceUnexportedFieldsStatusDie) DieReleaseJSON

func (d *TestResourceUnexportedFieldsStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*TestResourceUnexportedFieldsStatusDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*TestResourceUnexportedFieldsStatusDie) DieReleaseRawExtension

func (d *TestResourceUnexportedFieldsStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*TestResourceUnexportedFieldsStatusDie) DieReleaseYAML

func (d *TestResourceUnexportedFieldsStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*TestResourceUnexportedFieldsStatusDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*TestResourceUnexportedFieldsStatusDie) DieStampAt

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*TestResourceUnexportedFieldsStatusDie) DieWith

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*TestResourceUnexportedFieldsStatusDie) Fields

func (*TestResourceUnexportedFieldsStatusDie) Status

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL