v1

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClusterWorkloadResourceMappingBlank = (&ClusterWorkloadResourceMappingDie{}).DieFeed(apisv1.ClusterWorkloadResourceMapping{})
View Source
var ClusterWorkloadResourceMappingContainerBlank = (&ClusterWorkloadResourceMappingContainerDie{}).DieFeed(apisv1.ClusterWorkloadResourceMappingContainer{})
View Source
var ClusterWorkloadResourceMappingSpecBlank = (&ClusterWorkloadResourceMappingSpecDie{}).DieFeed(apisv1.ClusterWorkloadResourceMappingSpec{})
View Source
var ClusterWorkloadResourceMappingTemplateBlank = (&ClusterWorkloadResourceMappingTemplateDie{}).DieFeed(apisv1.ClusterWorkloadResourceMappingTemplate{})
View Source
var EnvMappingBlank = (&EnvMappingDie{}).DieFeed(apisv1.EnvMapping{})
View Source
var ServiceBindingBlank = (&ServiceBindingDie{}).DieFeed(apisv1.ServiceBinding{})
View Source
var ServiceBindingConditionReady = diemetav1.ConditionBlank.Type(servicebindingv1.ServiceBindingConditionReady).Unknown().Reason("Initializing")
View Source
var ServiceBindingConditionServiceAvailable = diemetav1.ConditionBlank.Type(servicebindingv1.ServiceBindingConditionServiceAvailable).Unknown().Reason("Initializing")
View Source
var ServiceBindingConditionWorkloadProjected = diemetav1.ConditionBlank.Type(servicebindingv1.ServiceBindingConditionWorkloadProjected).Unknown().Reason("Initializing")
View Source
var ServiceBindingSecretReferenceBlank = (&ServiceBindingSecretReferenceDie{}).DieFeed(apisv1.ServiceBindingSecretReference{})
View Source
var ServiceBindingServiceReferenceBlank = (&ServiceBindingServiceReferenceDie{}).DieFeed(apisv1.ServiceBindingServiceReference{})
View Source
var ServiceBindingSpecBlank = (&ServiceBindingSpecDie{}).DieFeed(apisv1.ServiceBindingSpec{})
View Source
var ServiceBindingStatusBlank = (&ServiceBindingStatusDie{}).DieFeed(apisv1.ServiceBindingStatus{})
View Source
var ServiceBindingWorkloadReferenceBlank = (&ServiceBindingWorkloadReferenceDie{}).DieFeed(apisv1.ServiceBindingWorkloadReference{})

Functions

This section is empty.

Types

type ClusterWorkloadResourceMappingContainerDie

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

func (*ClusterWorkloadResourceMappingContainerDie) DeepCopy

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

func (*ClusterWorkloadResourceMappingContainerDie) DieDiff added in v1.0.0

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

func (*ClusterWorkloadResourceMappingContainerDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ClusterWorkloadResourceMappingContainerDie) DieFeedJSON

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

func (*ClusterWorkloadResourceMappingContainerDie) DieFeedPtr

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

func (*ClusterWorkloadResourceMappingContainerDie) DieFeedRawExtension

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

func (*ClusterWorkloadResourceMappingContainerDie) DieFeedYAML

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

func (*ClusterWorkloadResourceMappingContainerDie) DieFeedYAMLFile

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

func (*ClusterWorkloadResourceMappingContainerDie) DieImmutable

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

func (*ClusterWorkloadResourceMappingContainerDie) DiePatch added in v1.0.0

DiePatch generates a patch between the current value of the die and the sealed value.

func (*ClusterWorkloadResourceMappingContainerDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ClusterWorkloadResourceMappingContainerDie) DieReleaseJSON

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

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

func (*ClusterWorkloadResourceMappingContainerDie) DieReleasePtr

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

func (*ClusterWorkloadResourceMappingContainerDie) DieReleaseRawExtension

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

func (*ClusterWorkloadResourceMappingContainerDie) DieReleaseYAML

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

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

func (*ClusterWorkloadResourceMappingContainerDie) DieSeal added in v1.0.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ClusterWorkloadResourceMappingContainerDie) DieSealFeed added in v1.0.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ClusterWorkloadResourceMappingContainerDie) DieSealFeedPtr added in v1.0.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ClusterWorkloadResourceMappingContainerDie) DieSealRelease added in v1.0.0

DieSealRelease returns the sealed resource managed by the die.

func (*ClusterWorkloadResourceMappingContainerDie) DieSealReleasePtr added in v1.0.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

func (*ClusterWorkloadResourceMappingContainerDie) DieStamp

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

func (*ClusterWorkloadResourceMappingContainerDie) 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 (*ClusterWorkloadResourceMappingContainerDie) DieWith

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

func (*ClusterWorkloadResourceMappingContainerDie) Env

Env is a Restricted JSONPath that references the slice of environment variables for the container with the

container-like workload resource fragment. The referenced location is created if it does not exist. Defaults

to `.envs`.

func (*ClusterWorkloadResourceMappingContainerDie) Name

Name is a Restricted JSONPath that references the name of the container with the container-like workload resource

fragment. If not defined, container name filtering is ignored.

func (*ClusterWorkloadResourceMappingContainerDie) Path

Path is the JSONPath within the workload resource that matches an existing fragment that is container-like.

func (*ClusterWorkloadResourceMappingContainerDie) VolumeMounts

VolumeMounts is a Restricted JSONPath that references the slice of volume mounts for the container with the

container-like workload resource fragment. The referenced location is created if it does not exist. Defaults

to `.volumeMounts`.

type ClusterWorkloadResourceMappingDie

type ClusterWorkloadResourceMappingDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*ClusterWorkloadResourceMappingDie) APIVersion

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

func (*ClusterWorkloadResourceMappingDie) DeepCopy

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

func (*ClusterWorkloadResourceMappingDie) DeepCopyObject

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

func (*ClusterWorkloadResourceMappingDie) DieDiff added in v1.0.0

func (d *ClusterWorkloadResourceMappingDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

func (*ClusterWorkloadResourceMappingDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ClusterWorkloadResourceMappingDie) DieFeedJSON

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

func (*ClusterWorkloadResourceMappingDie) DieFeedPtr

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

func (*ClusterWorkloadResourceMappingDie) DieFeedRawExtension

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

func (*ClusterWorkloadResourceMappingDie) DieFeedYAML

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

func (*ClusterWorkloadResourceMappingDie) DieFeedYAMLFile

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

func (*ClusterWorkloadResourceMappingDie) DieImmutable

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

func (*ClusterWorkloadResourceMappingDie) DiePatch added in v1.0.0

func (d *ClusterWorkloadResourceMappingDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

func (*ClusterWorkloadResourceMappingDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ClusterWorkloadResourceMappingDie) DieReleaseJSON

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

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

func (*ClusterWorkloadResourceMappingDie) DieReleasePtr

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

func (*ClusterWorkloadResourceMappingDie) DieReleaseRawExtension

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

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

func (*ClusterWorkloadResourceMappingDie) DieReleaseUnstructured

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

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

func (*ClusterWorkloadResourceMappingDie) DieReleaseYAML

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

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

func (*ClusterWorkloadResourceMappingDie) DieSeal added in v1.0.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ClusterWorkloadResourceMappingDie) DieSealFeed added in v1.0.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ClusterWorkloadResourceMappingDie) DieSealFeedPtr added in v1.0.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ClusterWorkloadResourceMappingDie) DieSealRelease added in v1.0.0

DieSealRelease returns the sealed resource managed by the die.

func (*ClusterWorkloadResourceMappingDie) DieSealReleasePtr added in v1.0.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

func (*ClusterWorkloadResourceMappingDie) DieStamp

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

func (*ClusterWorkloadResourceMappingDie) 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 (*ClusterWorkloadResourceMappingDie) DieWith

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

func (*ClusterWorkloadResourceMappingDie) GetObjectKind

func (*ClusterWorkloadResourceMappingDie) 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 (*ClusterWorkloadResourceMappingDie) MarshalJSON

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

func (*ClusterWorkloadResourceMappingDie) Metadata added in v1.0.0

Metadata standard object's metadata.

func (*ClusterWorkloadResourceMappingDie) MetadataDie

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

func (*ClusterWorkloadResourceMappingDie) SpecDie

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

func (*ClusterWorkloadResourceMappingDie) TypeMetadata added in v1.0.0

TypeMetadata standard object's type metadata.

func (*ClusterWorkloadResourceMappingDie) TypeMetadataDie added in v1.0.0

TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.

func (*ClusterWorkloadResourceMappingDie) UnmarshalJSON

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

type ClusterWorkloadResourceMappingSpecDie

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

func (*ClusterWorkloadResourceMappingSpecDie) DeepCopy

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

func (*ClusterWorkloadResourceMappingSpecDie) DieDiff added in v1.0.0

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

func (*ClusterWorkloadResourceMappingSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ClusterWorkloadResourceMappingSpecDie) DieFeedJSON

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

func (*ClusterWorkloadResourceMappingSpecDie) DieFeedPtr

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

func (*ClusterWorkloadResourceMappingSpecDie) DieFeedRawExtension

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

func (*ClusterWorkloadResourceMappingSpecDie) DieFeedYAML

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

func (*ClusterWorkloadResourceMappingSpecDie) DieFeedYAMLFile

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

func (*ClusterWorkloadResourceMappingSpecDie) DieImmutable

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

func (*ClusterWorkloadResourceMappingSpecDie) DiePatch added in v1.0.0

func (d *ClusterWorkloadResourceMappingSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

func (*ClusterWorkloadResourceMappingSpecDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ClusterWorkloadResourceMappingSpecDie) DieReleaseJSON

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

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

func (*ClusterWorkloadResourceMappingSpecDie) DieReleasePtr

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

func (*ClusterWorkloadResourceMappingSpecDie) DieReleaseRawExtension

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

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

func (*ClusterWorkloadResourceMappingSpecDie) DieReleaseYAML

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

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

func (*ClusterWorkloadResourceMappingSpecDie) DieSeal added in v1.0.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ClusterWorkloadResourceMappingSpecDie) DieSealFeed added in v1.0.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ClusterWorkloadResourceMappingSpecDie) DieSealFeedPtr added in v1.0.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ClusterWorkloadResourceMappingSpecDie) DieSealRelease added in v1.0.0

DieSealRelease returns the sealed resource managed by the die.

func (*ClusterWorkloadResourceMappingSpecDie) DieSealReleasePtr added in v1.0.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

func (*ClusterWorkloadResourceMappingSpecDie) DieStamp

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

func (*ClusterWorkloadResourceMappingSpecDie) 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 (*ClusterWorkloadResourceMappingSpecDie) DieWith

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

func (*ClusterWorkloadResourceMappingSpecDie) VersionDie added in v1.0.0

VersionDie mutates a single item in Versions matched by the nested field Version, appending a new item if no match is found.

Versions is the collection of versions for a given resource, with mappings.

func (*ClusterWorkloadResourceMappingSpecDie) Versions

Versions is the collection of versions for a given resource, with mappings.

func (*ClusterWorkloadResourceMappingSpecDie) VersionsDie

deprecated use VersionDie

type ClusterWorkloadResourceMappingTemplateDie

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

func (*ClusterWorkloadResourceMappingTemplateDie) Annotations

Annotations is a Restricted JSONPath that references the annotations map within the workload resource. These

annotations must end up in the resulting Pod, and are generally not the workload resource's annotations.

Defaults to `.spec.template.metadata.annotations`.

func (*ClusterWorkloadResourceMappingTemplateDie) Containers

Containers is the collection of mappings to container-like fragments of the workload resource. Defaults to

mappings appropriate for a PodSpecable resource.

func (*ClusterWorkloadResourceMappingTemplateDie) ContainersDie

ContainersDie replaces Containers by collecting the released value from each die passed.

Containers is the collection of mappings to container-like fragments of the workload resource. Defaults to

mappings appropriate for a PodSpecable resource.

func (*ClusterWorkloadResourceMappingTemplateDie) DeepCopy

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieDiff added in v1.0.0

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

func (*ClusterWorkloadResourceMappingTemplateDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ClusterWorkloadResourceMappingTemplateDie) DieFeedJSON

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieFeedPtr

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieFeedRawExtension

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieFeedYAML

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieFeedYAMLFile

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieImmutable

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

func (*ClusterWorkloadResourceMappingTemplateDie) DiePatch added in v1.0.0

DiePatch generates a patch between the current value of the die and the sealed value.

func (*ClusterWorkloadResourceMappingTemplateDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ClusterWorkloadResourceMappingTemplateDie) DieReleaseJSON

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

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieReleasePtr

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieReleaseRawExtension

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieReleaseYAML

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

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieSeal added in v1.0.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ClusterWorkloadResourceMappingTemplateDie) DieSealFeed added in v1.0.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ClusterWorkloadResourceMappingTemplateDie) DieSealFeedPtr added in v1.0.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ClusterWorkloadResourceMappingTemplateDie) DieSealRelease added in v1.0.0

DieSealRelease returns the sealed resource managed by the die.

func (*ClusterWorkloadResourceMappingTemplateDie) DieSealReleasePtr added in v1.0.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

func (*ClusterWorkloadResourceMappingTemplateDie) DieStamp

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

func (*ClusterWorkloadResourceMappingTemplateDie) 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 (*ClusterWorkloadResourceMappingTemplateDie) DieWith

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

func (*ClusterWorkloadResourceMappingTemplateDie) Version

Version is the version of the workload resource that this mapping is for.

func (*ClusterWorkloadResourceMappingTemplateDie) Volumes

Volumes is a Restricted JSONPath that references the slice of volumes within the workload resource. Defaults to

`.spec.template.spec.volumes`.

type EnvMappingDie

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

func (*EnvMappingDie) DeepCopy

func (d *EnvMappingDie) DeepCopy() *EnvMappingDie

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

func (*EnvMappingDie) DieDiff added in v1.0.0

func (d *EnvMappingDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

func (*EnvMappingDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*EnvMappingDie) DieFeedJSON

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

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

func (*EnvMappingDie) DieFeedPtr

func (d *EnvMappingDie) DieFeedPtr(r *apisv1.EnvMapping) *EnvMappingDie

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

func (*EnvMappingDie) DieFeedRawExtension

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

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

func (*EnvMappingDie) DieFeedYAML

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

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

func (*EnvMappingDie) DieFeedYAMLFile

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

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

func (*EnvMappingDie) DieImmutable

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

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

func (*EnvMappingDie) DiePatch added in v1.0.0

func (d *EnvMappingDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

func (*EnvMappingDie) DieRelease

func (d *EnvMappingDie) DieRelease() apisv1.EnvMapping

DieRelease returns the resource managed by the die.

func (*EnvMappingDie) DieReleaseJSON

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

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

func (*EnvMappingDie) DieReleasePtr

func (d *EnvMappingDie) DieReleasePtr() *apisv1.EnvMapping

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

func (*EnvMappingDie) DieReleaseRawExtension

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

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

func (*EnvMappingDie) DieReleaseYAML

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

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

func (*EnvMappingDie) DieSeal added in v1.0.0

func (d *EnvMappingDie) DieSeal() *EnvMappingDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*EnvMappingDie) DieSealFeed added in v1.0.0

func (d *EnvMappingDie) DieSealFeed(r apisv1.EnvMapping) *EnvMappingDie

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*EnvMappingDie) DieSealFeedPtr added in v1.0.0

func (d *EnvMappingDie) DieSealFeedPtr(r *apisv1.EnvMapping) *EnvMappingDie

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*EnvMappingDie) DieSealRelease added in v1.0.0

func (d *EnvMappingDie) DieSealRelease() apisv1.EnvMapping

DieSealRelease returns the sealed resource managed by the die.

func (*EnvMappingDie) DieSealReleasePtr added in v1.0.0

func (d *EnvMappingDie) DieSealReleasePtr() *apisv1.EnvMapping

DieSealReleasePtr returns the sealed resource pointer managed by the die.

func (*EnvMappingDie) DieStamp

func (d *EnvMappingDie) DieStamp(fn func(r *apisv1.EnvMapping)) *EnvMappingDie

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

func (*EnvMappingDie) DieStampAt

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

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

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

func (*EnvMappingDie) DieWith

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

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

func (*EnvMappingDie) Key

func (d *EnvMappingDie) Key(v string) *EnvMappingDie

Key is the key in the Secret that will be exposed

func (*EnvMappingDie) Name

func (d *EnvMappingDie) Name(v string) *EnvMappingDie

Name is the name of the environment variable

type ServiceBindingDie

type ServiceBindingDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*ServiceBindingDie) APIVersion

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

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

func (*ServiceBindingDie) DeepCopy

func (d *ServiceBindingDie) DeepCopy() *ServiceBindingDie

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

func (*ServiceBindingDie) DeepCopyObject

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

func (*ServiceBindingDie) DieDiff added in v1.0.0

func (d *ServiceBindingDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

func (*ServiceBindingDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ServiceBindingDie) DieFeedJSON

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

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

func (*ServiceBindingDie) DieFeedPtr

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

func (*ServiceBindingDie) DieFeedRawExtension

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

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

func (*ServiceBindingDie) DieFeedYAML

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

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

func (*ServiceBindingDie) DieFeedYAMLFile

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

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

func (*ServiceBindingDie) DieImmutable

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

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

func (*ServiceBindingDie) DiePatch added in v1.0.0

func (d *ServiceBindingDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

func (*ServiceBindingDie) DieRelease

func (d *ServiceBindingDie) DieRelease() apisv1.ServiceBinding

DieRelease returns the resource managed by the die.

func (*ServiceBindingDie) DieReleaseJSON

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

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

func (*ServiceBindingDie) DieReleasePtr

func (d *ServiceBindingDie) DieReleasePtr() *apisv1.ServiceBinding

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

func (*ServiceBindingDie) DieReleaseRawExtension

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

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

func (*ServiceBindingDie) DieReleaseUnstructured

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

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

func (*ServiceBindingDie) DieReleaseYAML

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

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

func (*ServiceBindingDie) DieSeal added in v1.0.0

func (d *ServiceBindingDie) DieSeal() *ServiceBindingDie

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ServiceBindingDie) DieSealFeed added in v1.0.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ServiceBindingDie) DieSealFeedPtr added in v1.0.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ServiceBindingDie) DieSealRelease added in v1.0.0

func (d *ServiceBindingDie) DieSealRelease() apisv1.ServiceBinding

DieSealRelease returns the sealed resource managed by the die.

func (*ServiceBindingDie) DieSealReleasePtr added in v1.0.0

func (d *ServiceBindingDie) DieSealReleasePtr() *apisv1.ServiceBinding

DieSealReleasePtr returns the sealed resource pointer managed by the die.

func (*ServiceBindingDie) DieStamp

func (d *ServiceBindingDie) DieStamp(fn func(r *apisv1.ServiceBinding)) *ServiceBindingDie

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

func (*ServiceBindingDie) DieStampAt

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

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

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

func (*ServiceBindingDie) DieWith

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

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

func (*ServiceBindingDie) GetObjectKind

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

func (*ServiceBindingDie) Kind

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

func (*ServiceBindingDie) MarshalJSON

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

func (*ServiceBindingDie) Metadata added in v1.0.0

Metadata standard object's metadata.

func (*ServiceBindingDie) MetadataDie

func (d *ServiceBindingDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ServiceBindingDie

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

func (*ServiceBindingDie) Spec

func (*ServiceBindingDie) SpecDie

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

func (*ServiceBindingDie) Status

func (*ServiceBindingDie) StatusDie

func (d *ServiceBindingDie) StatusDie(fn func(d *ServiceBindingStatusDie)) *ServiceBindingDie

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

func (*ServiceBindingDie) TypeMetadata added in v1.0.0

TypeMetadata standard object's type metadata.

func (*ServiceBindingDie) TypeMetadataDie added in v1.0.0

func (d *ServiceBindingDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *ServiceBindingDie

TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.

func (*ServiceBindingDie) UnmarshalJSON

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

type ServiceBindingSecretReferenceDie

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

func (*ServiceBindingSecretReferenceDie) DeepCopy

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

func (*ServiceBindingSecretReferenceDie) DieDiff added in v1.0.0

func (d *ServiceBindingSecretReferenceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

func (*ServiceBindingSecretReferenceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ServiceBindingSecretReferenceDie) DieFeedJSON

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

func (*ServiceBindingSecretReferenceDie) DieFeedPtr

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

func (*ServiceBindingSecretReferenceDie) DieFeedRawExtension

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

func (*ServiceBindingSecretReferenceDie) DieFeedYAML

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

func (*ServiceBindingSecretReferenceDie) DieFeedYAMLFile

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

func (*ServiceBindingSecretReferenceDie) DieImmutable

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

func (*ServiceBindingSecretReferenceDie) DiePatch added in v1.0.0

func (d *ServiceBindingSecretReferenceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

func (*ServiceBindingSecretReferenceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ServiceBindingSecretReferenceDie) DieReleaseJSON

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

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

func (*ServiceBindingSecretReferenceDie) DieReleasePtr

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

func (*ServiceBindingSecretReferenceDie) DieReleaseRawExtension

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

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

func (*ServiceBindingSecretReferenceDie) DieReleaseYAML

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

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

func (*ServiceBindingSecretReferenceDie) DieSeal added in v1.0.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ServiceBindingSecretReferenceDie) DieSealFeed added in v1.0.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ServiceBindingSecretReferenceDie) DieSealFeedPtr added in v1.0.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ServiceBindingSecretReferenceDie) DieSealRelease added in v1.0.0

DieSealRelease returns the sealed resource managed by the die.

func (*ServiceBindingSecretReferenceDie) DieSealReleasePtr added in v1.0.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

func (*ServiceBindingSecretReferenceDie) DieStamp

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

func (*ServiceBindingSecretReferenceDie) 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 (*ServiceBindingSecretReferenceDie) DieWith

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

func (*ServiceBindingSecretReferenceDie) Name

Name of the referent secret.

More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

type ServiceBindingServiceReferenceDie

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

func (*ServiceBindingServiceReferenceDie) APIVersion

API version of the referent.

func (*ServiceBindingServiceReferenceDie) DeepCopy

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

func (*ServiceBindingServiceReferenceDie) DieDiff added in v1.0.0

func (d *ServiceBindingServiceReferenceDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

func (*ServiceBindingServiceReferenceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ServiceBindingServiceReferenceDie) DieFeedJSON

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

func (*ServiceBindingServiceReferenceDie) DieFeedPtr

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

func (*ServiceBindingServiceReferenceDie) DieFeedRawExtension

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

func (*ServiceBindingServiceReferenceDie) DieFeedYAML

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

func (*ServiceBindingServiceReferenceDie) DieFeedYAMLFile

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

func (*ServiceBindingServiceReferenceDie) DieImmutable

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

func (*ServiceBindingServiceReferenceDie) DiePatch added in v1.0.0

func (d *ServiceBindingServiceReferenceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

func (*ServiceBindingServiceReferenceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ServiceBindingServiceReferenceDie) DieReleaseJSON

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

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

func (*ServiceBindingServiceReferenceDie) DieReleasePtr

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

func (*ServiceBindingServiceReferenceDie) DieReleaseRawExtension

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

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

func (*ServiceBindingServiceReferenceDie) DieReleaseYAML

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

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

func (*ServiceBindingServiceReferenceDie) DieSeal added in v1.0.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ServiceBindingServiceReferenceDie) DieSealFeed added in v1.0.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ServiceBindingServiceReferenceDie) DieSealFeedPtr added in v1.0.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ServiceBindingServiceReferenceDie) DieSealRelease added in v1.0.0

DieSealRelease returns the sealed resource managed by the die.

func (*ServiceBindingServiceReferenceDie) DieSealReleasePtr added in v1.0.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

func (*ServiceBindingServiceReferenceDie) DieStamp

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

func (*ServiceBindingServiceReferenceDie) 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 (*ServiceBindingServiceReferenceDie) DieWith

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

type ServiceBindingSpecDie

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

func (*ServiceBindingSpecDie) DeepCopy

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

func (*ServiceBindingSpecDie) DieDiff added in v1.0.0

func (d *ServiceBindingSpecDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

func (*ServiceBindingSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ServiceBindingSpecDie) DieFeedJSON

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

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

func (*ServiceBindingSpecDie) DieFeedPtr

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

func (*ServiceBindingSpecDie) DieFeedRawExtension

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

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

func (*ServiceBindingSpecDie) DieFeedYAML

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

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

func (*ServiceBindingSpecDie) DieFeedYAMLFile

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

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

func (*ServiceBindingSpecDie) DieImmutable

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

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

func (*ServiceBindingSpecDie) DiePatch added in v1.0.0

func (d *ServiceBindingSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

func (*ServiceBindingSpecDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ServiceBindingSpecDie) DieReleaseJSON

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

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

func (*ServiceBindingSpecDie) DieReleasePtr

func (d *ServiceBindingSpecDie) DieReleasePtr() *apisv1.ServiceBindingSpec

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

func (*ServiceBindingSpecDie) DieReleaseRawExtension

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

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

func (*ServiceBindingSpecDie) DieReleaseYAML

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

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

func (*ServiceBindingSpecDie) DieSeal added in v1.0.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ServiceBindingSpecDie) DieSealFeed added in v1.0.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ServiceBindingSpecDie) DieSealFeedPtr added in v1.0.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ServiceBindingSpecDie) DieSealRelease added in v1.0.0

func (d *ServiceBindingSpecDie) DieSealRelease() apisv1.ServiceBindingSpec

DieSealRelease returns the sealed resource managed by the die.

func (*ServiceBindingSpecDie) DieSealReleasePtr added in v1.0.0

func (d *ServiceBindingSpecDie) DieSealReleasePtr() *apisv1.ServiceBindingSpec

DieSealReleasePtr returns the sealed resource pointer managed by the die.

func (*ServiceBindingSpecDie) DieStamp

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

func (*ServiceBindingSpecDie) DieStampAt

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

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

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

func (*ServiceBindingSpecDie) DieWith

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

func (*ServiceBindingSpecDie) Env

Env is the collection of mappings from Secret entries to environment variables

func (*ServiceBindingSpecDie) EnvDie

EnvDie mutates a single item in Env matched by the nested field Name, appending a new item if no match is found.

Env is the collection of mappings from Secret entries to environment variables

func (*ServiceBindingSpecDie) Name

Name is the name of the service as projected into the workload container. Defaults to .metadata.name.

func (*ServiceBindingSpecDie) Provider

Provider is the provider of the service as projected into the workload container

func (*ServiceBindingSpecDie) Service

Service is a reference to an object that fulfills the ProvisionedService duck type

func (*ServiceBindingSpecDie) ServiceDie

ServiceDie mutates Service as a die.

Service is a reference to an object that fulfills the ProvisionedService duck type

func (*ServiceBindingSpecDie) Type

Type is the type of the service as projected into the workload container

func (*ServiceBindingSpecDie) Workload

Workload is a reference to an object

func (*ServiceBindingSpecDie) WorkloadDie

WorkloadDie mutates Workload as a die.

Workload is a reference to an object

type ServiceBindingStatusDie

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

func (*ServiceBindingStatusDie) Binding

Binding exposes the projected secret for this ServiceBinding

func (*ServiceBindingStatusDie) BindingDie

BindingDie mutates Binding as a die.

Binding exposes the projected secret for this ServiceBinding

func (*ServiceBindingStatusDie) Conditions

Conditions are the conditions of this ServiceBinding

func (*ServiceBindingStatusDie) ConditionsDie

ConditionsDie replaces Conditions by collecting the released value from each die passed.

Conditions are the conditions of this ServiceBinding

func (*ServiceBindingStatusDie) DeepCopy

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

func (*ServiceBindingStatusDie) DieDiff added in v1.0.0

func (d *ServiceBindingStatusDie) DieDiff(opts ...cmp.Option) string

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

func (*ServiceBindingStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ServiceBindingStatusDie) DieFeedJSON

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

func (*ServiceBindingStatusDie) DieFeedPtr

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

func (*ServiceBindingStatusDie) DieFeedRawExtension

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

func (*ServiceBindingStatusDie) DieFeedYAML

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

func (*ServiceBindingStatusDie) DieFeedYAMLFile

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

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

func (*ServiceBindingStatusDie) DieImmutable

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

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

func (*ServiceBindingStatusDie) DiePatch added in v1.0.0

func (d *ServiceBindingStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

func (*ServiceBindingStatusDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ServiceBindingStatusDie) DieReleaseJSON

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

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

func (*ServiceBindingStatusDie) DieReleasePtr

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

func (*ServiceBindingStatusDie) DieReleaseRawExtension

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

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

func (*ServiceBindingStatusDie) DieReleaseYAML

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

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

func (*ServiceBindingStatusDie) DieSeal added in v1.0.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ServiceBindingStatusDie) DieSealFeed added in v1.0.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ServiceBindingStatusDie) DieSealFeedPtr added in v1.0.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ServiceBindingStatusDie) DieSealRelease added in v1.0.0

DieSealRelease returns the sealed resource managed by the die.

func (*ServiceBindingStatusDie) DieSealReleasePtr added in v1.0.0

func (d *ServiceBindingStatusDie) DieSealReleasePtr() *apisv1.ServiceBindingStatus

DieSealReleasePtr returns the sealed resource pointer managed by the die.

func (*ServiceBindingStatusDie) DieStamp

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

func (*ServiceBindingStatusDie) DieStampAt

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

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

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

func (*ServiceBindingStatusDie) DieWith

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

func (*ServiceBindingStatusDie) ObservedGeneration

func (d *ServiceBindingStatusDie) ObservedGeneration(v int64) *ServiceBindingStatusDie

ObservedGeneration is the 'Generation' of the ServiceBinding that

was last processed by the controller.

type ServiceBindingWorkloadReferenceDie

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

func (*ServiceBindingWorkloadReferenceDie) APIVersion

API version of the referent.

func (*ServiceBindingWorkloadReferenceDie) Containers

Containers describes which containers in a Pod should be bound to

func (*ServiceBindingWorkloadReferenceDie) DeepCopy

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

func (*ServiceBindingWorkloadReferenceDie) DieDiff added in v1.0.0

DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.

func (*ServiceBindingWorkloadReferenceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ServiceBindingWorkloadReferenceDie) DieFeedJSON

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

func (*ServiceBindingWorkloadReferenceDie) DieFeedPtr

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

func (*ServiceBindingWorkloadReferenceDie) DieFeedRawExtension

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

func (*ServiceBindingWorkloadReferenceDie) DieFeedYAML

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

func (*ServiceBindingWorkloadReferenceDie) DieFeedYAMLFile

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

func (*ServiceBindingWorkloadReferenceDie) DieImmutable

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

func (*ServiceBindingWorkloadReferenceDie) DiePatch added in v1.0.0

func (d *ServiceBindingWorkloadReferenceDie) DiePatch(patchType types.PatchType) ([]byte, error)

DiePatch generates a patch between the current value of the die and the sealed value.

func (*ServiceBindingWorkloadReferenceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ServiceBindingWorkloadReferenceDie) DieReleaseJSON

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

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

func (*ServiceBindingWorkloadReferenceDie) DieReleasePtr

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

func (*ServiceBindingWorkloadReferenceDie) DieReleaseRawExtension

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

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

func (*ServiceBindingWorkloadReferenceDie) DieReleaseYAML

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

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

func (*ServiceBindingWorkloadReferenceDie) DieSeal added in v1.0.0

DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.

func (*ServiceBindingWorkloadReferenceDie) DieSealFeed added in v1.0.0

DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.

func (*ServiceBindingWorkloadReferenceDie) DieSealFeedPtr added in v1.0.0

DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.

func (*ServiceBindingWorkloadReferenceDie) DieSealRelease added in v1.0.0

DieSealRelease returns the sealed resource managed by the die.

func (*ServiceBindingWorkloadReferenceDie) DieSealReleasePtr added in v1.0.0

DieSealReleasePtr returns the sealed resource pointer managed by the die.

func (*ServiceBindingWorkloadReferenceDie) DieStamp

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

func (*ServiceBindingWorkloadReferenceDie) 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 (*ServiceBindingWorkloadReferenceDie) DieWith

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

func (*ServiceBindingWorkloadReferenceDie) Selector

Selector is a query that selects the workload or workloads to bind the service to

func (*ServiceBindingWorkloadReferenceDie) SelectorDie

SelectorDie mutates Selector as a die.

Selector is a query that selects the workload or workloads to bind the service to

Jump to

Keyboard shortcuts

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