v1beta1

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type ClusterWorkloadResourceMappingContainerDie

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

func (*ClusterWorkloadResourceMappingContainerDie) DeepCopy

func (d *ClusterWorkloadResourceMappingContainerDie) DeepCopy() *ClusterWorkloadResourceMappingContainerDie

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

func (*ClusterWorkloadResourceMappingContainerDie) DieFeed

func (d *ClusterWorkloadResourceMappingContainerDie) DieFeed(r apisv1beta1.ClusterWorkloadResourceMappingContainer) *ClusterWorkloadResourceMappingContainerDie

DieFeed returns a new die with the provided resource.

func (*ClusterWorkloadResourceMappingContainerDie) DieFeedJSON added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingContainerDie) DieFeedPtr

func (d *ClusterWorkloadResourceMappingContainerDie) DieFeedPtr(r *apisv1beta1.ClusterWorkloadResourceMappingContainer) *ClusterWorkloadResourceMappingContainerDie

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

func (*ClusterWorkloadResourceMappingContainerDie) DieFeedRawExtension

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

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

func (*ClusterWorkloadResourceMappingContainerDie) DieFeedYAML added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingContainerDie) DieFeedYAMLFile added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingContainerDie) DieImmutable

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

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

func (*ClusterWorkloadResourceMappingContainerDie) DieRelease

func (d *ClusterWorkloadResourceMappingContainerDie) DieRelease() apisv1beta1.ClusterWorkloadResourceMappingContainer

DieRelease returns the resource managed by the die.

func (*ClusterWorkloadResourceMappingContainerDie) DieReleaseJSON added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingContainerDie) DieReleasePtr

func (d *ClusterWorkloadResourceMappingContainerDie) DieReleasePtr() *apisv1beta1.ClusterWorkloadResourceMappingContainer

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

func (*ClusterWorkloadResourceMappingContainerDie) DieReleaseRawExtension

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

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

func (*ClusterWorkloadResourceMappingContainerDie) DieReleaseYAML added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingContainerDie) DieStamp

func (d *ClusterWorkloadResourceMappingContainerDie) DieStamp(fn func(r *apisv1beta1.ClusterWorkloadResourceMappingContainer)) *ClusterWorkloadResourceMappingContainerDie

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

func (*ClusterWorkloadResourceMappingContainerDie) DieStampAt added in v0.5.0

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

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

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

func (*ClusterWorkloadResourceMappingContainerDie) DieWith added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingContainerDie) Env

func (d *ClusterWorkloadResourceMappingContainerDie) Env(v string) *ClusterWorkloadResourceMappingContainerDie

Env is a Restricted JSONPath that references the slice of environment variables for the container with the container-like workload resource fragment. The referenced location is created if it does not exist. Defaults to `.envs`.

func (*ClusterWorkloadResourceMappingContainerDie) Name

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

Name is a Restricted JSONPath that references the name of the container with the container-like workload resource fragment. If not defined, container name filtering is ignored.

func (*ClusterWorkloadResourceMappingContainerDie) Path

func (d *ClusterWorkloadResourceMappingContainerDie) Path(v string) *ClusterWorkloadResourceMappingContainerDie

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

func (*ClusterWorkloadResourceMappingContainerDie) VolumeMounts

func (d *ClusterWorkloadResourceMappingContainerDie) VolumeMounts(v string) *ClusterWorkloadResourceMappingContainerDie

VolumeMounts is a Restricted JSONPath that references the slice of volume mounts for the container with the container-like workload resource fragment. The referenced location is created if it does not exist. Defaults to `.volumeMounts`.

type ClusterWorkloadResourceMappingDie

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

func (*ClusterWorkloadResourceMappingDie) APIVersion

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

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

func (*ClusterWorkloadResourceMappingDie) DeepCopy

func (d *ClusterWorkloadResourceMappingDie) DeepCopy() *ClusterWorkloadResourceMappingDie

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

func (*ClusterWorkloadResourceMappingDie) DeepCopyObject

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

func (*ClusterWorkloadResourceMappingDie) DieFeed

func (d *ClusterWorkloadResourceMappingDie) DieFeed(r apisv1beta1.ClusterWorkloadResourceMapping) *ClusterWorkloadResourceMappingDie

DieFeed returns a new die with the provided resource.

func (*ClusterWorkloadResourceMappingDie) DieFeedJSON added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingDie) DieFeedPtr

func (d *ClusterWorkloadResourceMappingDie) DieFeedPtr(r *apisv1beta1.ClusterWorkloadResourceMapping) *ClusterWorkloadResourceMappingDie

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

func (*ClusterWorkloadResourceMappingDie) DieFeedRawExtension

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

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

func (*ClusterWorkloadResourceMappingDie) DieFeedYAML added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingDie) DieFeedYAMLFile added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingDie) DieImmutable

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

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

func (*ClusterWorkloadResourceMappingDie) DieRelease

func (d *ClusterWorkloadResourceMappingDie) DieRelease() apisv1beta1.ClusterWorkloadResourceMapping

DieRelease returns the resource managed by the die.

func (*ClusterWorkloadResourceMappingDie) DieReleaseJSON added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingDie) DieReleasePtr

func (d *ClusterWorkloadResourceMappingDie) DieReleasePtr() *apisv1beta1.ClusterWorkloadResourceMapping

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

func (*ClusterWorkloadResourceMappingDie) DieReleaseRawExtension

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

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

func (*ClusterWorkloadResourceMappingDie) DieReleaseUnstructured

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

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

func (*ClusterWorkloadResourceMappingDie) DieReleaseYAML added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingDie) DieStamp

func (d *ClusterWorkloadResourceMappingDie) DieStamp(fn func(r *apisv1beta1.ClusterWorkloadResourceMapping)) *ClusterWorkloadResourceMappingDie

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

func (*ClusterWorkloadResourceMappingDie) DieStampAt added in v0.5.0

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

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

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

func (*ClusterWorkloadResourceMappingDie) DieWith added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingDie) GetObjectKind

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

func (*ClusterWorkloadResourceMappingDie) Kind

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

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

func (*ClusterWorkloadResourceMappingDie) MarshalJSON

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

func (*ClusterWorkloadResourceMappingDie) MetadataDie

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

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

func (*ClusterWorkloadResourceMappingDie) Spec

func (d *ClusterWorkloadResourceMappingDie) Spec(v apisv1beta1.ClusterWorkloadResourceMappingSpec) *ClusterWorkloadResourceMappingDie

func (*ClusterWorkloadResourceMappingDie) SpecDie

func (d *ClusterWorkloadResourceMappingDie) SpecDie(fn func(d *ClusterWorkloadResourceMappingSpecDie)) *ClusterWorkloadResourceMappingDie

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

func (*ClusterWorkloadResourceMappingDie) UnmarshalJSON

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

type ClusterWorkloadResourceMappingSpecDie

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

func (*ClusterWorkloadResourceMappingSpecDie) DeepCopy

func (d *ClusterWorkloadResourceMappingSpecDie) DeepCopy() *ClusterWorkloadResourceMappingSpecDie

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

func (*ClusterWorkloadResourceMappingSpecDie) DieFeed

func (d *ClusterWorkloadResourceMappingSpecDie) DieFeed(r apisv1beta1.ClusterWorkloadResourceMappingSpec) *ClusterWorkloadResourceMappingSpecDie

DieFeed returns a new die with the provided resource.

func (*ClusterWorkloadResourceMappingSpecDie) DieFeedJSON added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingSpecDie) DieFeedPtr

func (d *ClusterWorkloadResourceMappingSpecDie) DieFeedPtr(r *apisv1beta1.ClusterWorkloadResourceMappingSpec) *ClusterWorkloadResourceMappingSpecDie

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

func (*ClusterWorkloadResourceMappingSpecDie) DieFeedRawExtension

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

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

func (*ClusterWorkloadResourceMappingSpecDie) DieFeedYAML added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingSpecDie) DieFeedYAMLFile added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingSpecDie) DieImmutable

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

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

func (*ClusterWorkloadResourceMappingSpecDie) DieRelease

func (d *ClusterWorkloadResourceMappingSpecDie) DieRelease() apisv1beta1.ClusterWorkloadResourceMappingSpec

DieRelease returns the resource managed by the die.

func (*ClusterWorkloadResourceMappingSpecDie) DieReleaseJSON added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingSpecDie) DieReleasePtr

func (d *ClusterWorkloadResourceMappingSpecDie) DieReleasePtr() *apisv1beta1.ClusterWorkloadResourceMappingSpec

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

func (*ClusterWorkloadResourceMappingSpecDie) DieReleaseRawExtension

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

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

func (*ClusterWorkloadResourceMappingSpecDie) DieReleaseYAML added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingSpecDie) DieStamp

func (d *ClusterWorkloadResourceMappingSpecDie) DieStamp(fn func(r *apisv1beta1.ClusterWorkloadResourceMappingSpec)) *ClusterWorkloadResourceMappingSpecDie

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

func (*ClusterWorkloadResourceMappingSpecDie) DieStampAt added in v0.5.0

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

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

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

func (*ClusterWorkloadResourceMappingSpecDie) DieWith added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingSpecDie) Versions

func (d *ClusterWorkloadResourceMappingSpecDie) Versions(v ...apisv1beta1.ClusterWorkloadResourceMappingTemplate) *ClusterWorkloadResourceMappingSpecDie

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

func (*ClusterWorkloadResourceMappingSpecDie) VersionsDie

func (d *ClusterWorkloadResourceMappingSpecDie) VersionsDie(version string, fn func(d *ClusterWorkloadResourceMappingTemplateDie)) *ClusterWorkloadResourceMappingSpecDie

type ClusterWorkloadResourceMappingTemplateDie

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

func (*ClusterWorkloadResourceMappingTemplateDie) Annotations

func (d *ClusterWorkloadResourceMappingTemplateDie) Annotations(v string) *ClusterWorkloadResourceMappingTemplateDie

Annotations is a Restricted JSONPath that references the annotations map within the workload resource. These annotations must end up in the resulting Pod, and are generally not the workload resource's annotations. Defaults to `.spec.template.metadata.annotations`.

func (*ClusterWorkloadResourceMappingTemplateDie) Containers

func (d *ClusterWorkloadResourceMappingTemplateDie) Containers(v ...apisv1beta1.ClusterWorkloadResourceMappingContainer) *ClusterWorkloadResourceMappingTemplateDie

Containers is the collection of mappings to container-like fragments of the workload resource. Defaults to mappings appropriate for a PodSpecable resource.

func (*ClusterWorkloadResourceMappingTemplateDie) ContainersDie

func (d *ClusterWorkloadResourceMappingTemplateDie) ContainersDie(containers ...*ClusterWorkloadResourceMappingContainerDie) *ClusterWorkloadResourceMappingTemplateDie

func (*ClusterWorkloadResourceMappingTemplateDie) DeepCopy

func (d *ClusterWorkloadResourceMappingTemplateDie) DeepCopy() *ClusterWorkloadResourceMappingTemplateDie

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieFeed

func (d *ClusterWorkloadResourceMappingTemplateDie) DieFeed(r apisv1beta1.ClusterWorkloadResourceMappingTemplate) *ClusterWorkloadResourceMappingTemplateDie

DieFeed returns a new die with the provided resource.

func (*ClusterWorkloadResourceMappingTemplateDie) DieFeedJSON added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieFeedPtr

func (d *ClusterWorkloadResourceMappingTemplateDie) DieFeedPtr(r *apisv1beta1.ClusterWorkloadResourceMappingTemplate) *ClusterWorkloadResourceMappingTemplateDie

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieFeedRawExtension

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

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieFeedYAML added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieFeedYAMLFile added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieImmutable

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

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieRelease

func (d *ClusterWorkloadResourceMappingTemplateDie) DieRelease() apisv1beta1.ClusterWorkloadResourceMappingTemplate

DieRelease returns the resource managed by the die.

func (*ClusterWorkloadResourceMappingTemplateDie) DieReleaseJSON added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieReleasePtr

func (d *ClusterWorkloadResourceMappingTemplateDie) DieReleasePtr() *apisv1beta1.ClusterWorkloadResourceMappingTemplate

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieReleaseRawExtension

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

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieReleaseYAML added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieStamp

func (d *ClusterWorkloadResourceMappingTemplateDie) DieStamp(fn func(r *apisv1beta1.ClusterWorkloadResourceMappingTemplate)) *ClusterWorkloadResourceMappingTemplateDie

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieStampAt added in v0.5.0

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

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

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieWith added in v0.5.0

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

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

func (*ClusterWorkloadResourceMappingTemplateDie) Version

func (d *ClusterWorkloadResourceMappingTemplateDie) Version(v string) *ClusterWorkloadResourceMappingTemplateDie

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

func (*ClusterWorkloadResourceMappingTemplateDie) Volumes

func (d *ClusterWorkloadResourceMappingTemplateDie) Volumes(v string) *ClusterWorkloadResourceMappingTemplateDie

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

type EnvMappingDie

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

func (*EnvMappingDie) DeepCopy

func (d *EnvMappingDie) DeepCopy() *EnvMappingDie

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

func (*EnvMappingDie) DieFeed

func (d *EnvMappingDie) DieFeed(r apisv1beta1.EnvMapping) *EnvMappingDie

DieFeed returns a new die with the provided resource.

func (*EnvMappingDie) DieFeedJSON added in v0.5.0

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 *apisv1beta1.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 added in v0.5.0

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

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

func (*EnvMappingDie) DieFeedYAMLFile added in v0.5.0

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) DieRelease

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

DieRelease returns the resource managed by the die.

func (*EnvMappingDie) DieReleaseJSON added in v0.5.0

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() *apisv1beta1.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 added in v0.5.0

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

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

func (*EnvMappingDie) DieStamp

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

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

func (*EnvMappingDie) DieStampAt added in v0.5.0

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 added in v0.5.0

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 {
	v1.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) DieFeed

func (d *ServiceBindingDie) DieFeed(r apisv1beta1.ServiceBinding) *ServiceBindingDie

DieFeed returns a new die with the provided resource.

func (*ServiceBindingDie) DieFeedJSON added in v0.5.0

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

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

func (*ServiceBindingDie) DieFeedPtr

func (d *ServiceBindingDie) DieFeedPtr(r *apisv1beta1.ServiceBinding) *ServiceBindingDie

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

func (*ServiceBindingDie) DieFeedRawExtension

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

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

func (*ServiceBindingDie) DieFeedYAML added in v0.5.0

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

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

func (*ServiceBindingDie) DieFeedYAMLFile added in v0.5.0

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) DieRelease

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

DieRelease returns the resource managed by the die.

func (*ServiceBindingDie) DieReleaseJSON added in v0.5.0

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() *apisv1beta1.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 added in v0.5.0

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

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

func (*ServiceBindingDie) DieStamp

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

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

func (*ServiceBindingDie) DieStampAt added in v0.5.0

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 added in v0.5.0

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

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

func (*ServiceBindingDie) GetObjectKind

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

func (*ServiceBindingDie) Kind

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

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

func (*ServiceBindingDie) MarshalJSON

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

func (*ServiceBindingDie) MetadataDie

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

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

func (*ServiceBindingDie) Spec

func (d *ServiceBindingDie) Spec(v apisv1beta1.ServiceBindingSpec) *ServiceBindingDie

func (*ServiceBindingDie) SpecDie

func (d *ServiceBindingDie) SpecDie(fn func(d *ServiceBindingSpecDie)) *ServiceBindingDie

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

func (*ServiceBindingDie) Status

func (d *ServiceBindingDie) Status(v apisv1beta1.ServiceBindingStatus) *ServiceBindingDie

func (*ServiceBindingDie) StatusDie

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

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

func (*ServiceBindingDie) UnmarshalJSON

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

type ServiceBindingSecretReferenceDie

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

func (*ServiceBindingSecretReferenceDie) DeepCopy

func (d *ServiceBindingSecretReferenceDie) DeepCopy() *ServiceBindingSecretReferenceDie

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

func (*ServiceBindingSecretReferenceDie) DieFeed

func (d *ServiceBindingSecretReferenceDie) DieFeed(r apisv1beta1.ServiceBindingSecretReference) *ServiceBindingSecretReferenceDie

DieFeed returns a new die with the provided resource.

func (*ServiceBindingSecretReferenceDie) DieFeedJSON added in v0.5.0

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

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

func (*ServiceBindingSecretReferenceDie) DieFeedPtr

func (d *ServiceBindingSecretReferenceDie) DieFeedPtr(r *apisv1beta1.ServiceBindingSecretReference) *ServiceBindingSecretReferenceDie

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

func (*ServiceBindingSecretReferenceDie) DieFeedRawExtension

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

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

func (*ServiceBindingSecretReferenceDie) DieFeedYAML added in v0.5.0

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

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

func (*ServiceBindingSecretReferenceDie) DieFeedYAMLFile added in v0.5.0

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

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

func (*ServiceBindingSecretReferenceDie) DieImmutable

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

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

func (*ServiceBindingSecretReferenceDie) DieRelease

func (d *ServiceBindingSecretReferenceDie) DieRelease() apisv1beta1.ServiceBindingSecretReference

DieRelease returns the resource managed by the die.

func (*ServiceBindingSecretReferenceDie) DieReleaseJSON added in v0.5.0

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

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

func (*ServiceBindingSecretReferenceDie) DieReleasePtr

func (d *ServiceBindingSecretReferenceDie) DieReleasePtr() *apisv1beta1.ServiceBindingSecretReference

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

func (*ServiceBindingSecretReferenceDie) DieReleaseRawExtension

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

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

func (*ServiceBindingSecretReferenceDie) DieReleaseYAML added in v0.5.0

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

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

func (*ServiceBindingSecretReferenceDie) DieStamp

func (d *ServiceBindingSecretReferenceDie) DieStamp(fn func(r *apisv1beta1.ServiceBindingSecretReference)) *ServiceBindingSecretReferenceDie

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

func (*ServiceBindingSecretReferenceDie) DieStampAt added in v0.5.0

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

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

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

func (*ServiceBindingSecretReferenceDie) DieWith added in v0.5.0

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

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

func (*ServiceBindingSecretReferenceDie) Name

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

Name of the referent secret. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

type ServiceBindingServiceReferenceDie

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

func (*ServiceBindingServiceReferenceDie) APIVersion

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

API version of the referent.

func (*ServiceBindingServiceReferenceDie) DeepCopy

func (d *ServiceBindingServiceReferenceDie) DeepCopy() *ServiceBindingServiceReferenceDie

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

func (*ServiceBindingServiceReferenceDie) DieFeed

func (d *ServiceBindingServiceReferenceDie) DieFeed(r apisv1beta1.ServiceBindingServiceReference) *ServiceBindingServiceReferenceDie

DieFeed returns a new die with the provided resource.

func (*ServiceBindingServiceReferenceDie) DieFeedJSON added in v0.5.0

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

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

func (*ServiceBindingServiceReferenceDie) DieFeedPtr

func (d *ServiceBindingServiceReferenceDie) DieFeedPtr(r *apisv1beta1.ServiceBindingServiceReference) *ServiceBindingServiceReferenceDie

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

func (*ServiceBindingServiceReferenceDie) DieFeedRawExtension

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

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

func (*ServiceBindingServiceReferenceDie) DieFeedYAML added in v0.5.0

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

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

func (*ServiceBindingServiceReferenceDie) DieFeedYAMLFile added in v0.5.0

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

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

func (*ServiceBindingServiceReferenceDie) DieImmutable

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

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

func (*ServiceBindingServiceReferenceDie) DieRelease

func (d *ServiceBindingServiceReferenceDie) DieRelease() apisv1beta1.ServiceBindingServiceReference

DieRelease returns the resource managed by the die.

func (*ServiceBindingServiceReferenceDie) DieReleaseJSON added in v0.5.0

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

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

func (*ServiceBindingServiceReferenceDie) DieReleasePtr

func (d *ServiceBindingServiceReferenceDie) DieReleasePtr() *apisv1beta1.ServiceBindingServiceReference

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

func (*ServiceBindingServiceReferenceDie) DieReleaseRawExtension

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

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

func (*ServiceBindingServiceReferenceDie) DieReleaseYAML added in v0.5.0

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

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

func (*ServiceBindingServiceReferenceDie) DieStamp

func (d *ServiceBindingServiceReferenceDie) DieStamp(fn func(r *apisv1beta1.ServiceBindingServiceReference)) *ServiceBindingServiceReferenceDie

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

func (*ServiceBindingServiceReferenceDie) DieStampAt added in v0.5.0

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

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

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

func (*ServiceBindingServiceReferenceDie) DieWith added in v0.5.0

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

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

func (*ServiceBindingServiceReferenceDie) Kind

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

Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (*ServiceBindingServiceReferenceDie) Name

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

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

type ServiceBindingSpecDie

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

func (*ServiceBindingSpecDie) DeepCopy

func (d *ServiceBindingSpecDie) DeepCopy() *ServiceBindingSpecDie

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

func (*ServiceBindingSpecDie) DieFeed

func (d *ServiceBindingSpecDie) DieFeed(r apisv1beta1.ServiceBindingSpec) *ServiceBindingSpecDie

DieFeed returns a new die with the provided resource.

func (*ServiceBindingSpecDie) DieFeedJSON added in v0.5.0

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

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

func (*ServiceBindingSpecDie) DieFeedPtr

func (d *ServiceBindingSpecDie) DieFeedPtr(r *apisv1beta1.ServiceBindingSpec) *ServiceBindingSpecDie

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

func (*ServiceBindingSpecDie) DieFeedRawExtension

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

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

func (*ServiceBindingSpecDie) DieFeedYAML added in v0.5.0

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

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

func (*ServiceBindingSpecDie) DieFeedYAMLFile added in v0.5.0

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) DieRelease

func (d *ServiceBindingSpecDie) DieRelease() apisv1beta1.ServiceBindingSpec

DieRelease returns the resource managed by the die.

func (*ServiceBindingSpecDie) DieReleaseJSON added in v0.5.0

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() *apisv1beta1.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 added in v0.5.0

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

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

func (*ServiceBindingSpecDie) DieStamp

func (d *ServiceBindingSpecDie) DieStamp(fn func(r *apisv1beta1.ServiceBindingSpec)) *ServiceBindingSpecDie

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

func (*ServiceBindingSpecDie) DieStampAt added in v0.5.0

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 added in v0.5.0

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

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

func (*ServiceBindingSpecDie) Env

func (d *ServiceBindingSpecDie) Env(v ...apisv1beta1.EnvMapping) *ServiceBindingSpecDie

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

func (*ServiceBindingSpecDie) EnvDie

func (d *ServiceBindingSpecDie) EnvDie(name string, fn func(d *EnvMappingDie)) *ServiceBindingSpecDie

func (*ServiceBindingSpecDie) Name

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

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

func (*ServiceBindingSpecDie) Provider

func (d *ServiceBindingSpecDie) Provider(v string) *ServiceBindingSpecDie

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

func (*ServiceBindingSpecDie) Service

func (d *ServiceBindingSpecDie) Service(v apisv1beta1.ServiceBindingServiceReference) *ServiceBindingSpecDie

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

func (*ServiceBindingSpecDie) ServiceDie

func (d *ServiceBindingSpecDie) ServiceDie(fn func(d *ServiceBindingServiceReferenceDie)) *ServiceBindingSpecDie

func (*ServiceBindingSpecDie) Type

func (d *ServiceBindingSpecDie) Type(v string) *ServiceBindingSpecDie

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

func (*ServiceBindingSpecDie) Workload

func (d *ServiceBindingSpecDie) Workload(v apisv1beta1.ServiceBindingWorkloadReference) *ServiceBindingSpecDie

Workload is a reference to an object

func (*ServiceBindingSpecDie) WorkloadDie

func (d *ServiceBindingSpecDie) WorkloadDie(fn func(d *ServiceBindingWorkloadReferenceDie)) *ServiceBindingSpecDie

type ServiceBindingStatusDie

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

func (*ServiceBindingStatusDie) Binding

func (d *ServiceBindingStatusDie) Binding(v *apisv1beta1.ServiceBindingSecretReference) *ServiceBindingStatusDie

Binding exposes the projected secret for this ServiceBinding

func (*ServiceBindingStatusDie) BindingDie

func (d *ServiceBindingStatusDie) BindingDie(fn func(d *ServiceBindingSecretReferenceDie)) *ServiceBindingStatusDie

func (*ServiceBindingStatusDie) Conditions

func (d *ServiceBindingStatusDie) Conditions(v ...metav1.Condition) *ServiceBindingStatusDie

Conditions are the conditions of this ServiceBinding

func (*ServiceBindingStatusDie) ConditionsDie

func (d *ServiceBindingStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *ServiceBindingStatusDie

func (*ServiceBindingStatusDie) DeepCopy

func (d *ServiceBindingStatusDie) DeepCopy() *ServiceBindingStatusDie

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

func (*ServiceBindingStatusDie) DieFeed

func (d *ServiceBindingStatusDie) DieFeed(r apisv1beta1.ServiceBindingStatus) *ServiceBindingStatusDie

DieFeed returns a new die with the provided resource.

func (*ServiceBindingStatusDie) DieFeedJSON added in v0.5.0

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

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

func (*ServiceBindingStatusDie) DieFeedPtr

func (d *ServiceBindingStatusDie) DieFeedPtr(r *apisv1beta1.ServiceBindingStatus) *ServiceBindingStatusDie

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

func (*ServiceBindingStatusDie) DieFeedRawExtension

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

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

func (*ServiceBindingStatusDie) DieFeedYAML added in v0.5.0

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

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

func (*ServiceBindingStatusDie) DieFeedYAMLFile added in v0.5.0

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) DieRelease

func (d *ServiceBindingStatusDie) DieRelease() apisv1beta1.ServiceBindingStatus

DieRelease returns the resource managed by the die.

func (*ServiceBindingStatusDie) DieReleaseJSON added in v0.5.0

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

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

func (*ServiceBindingStatusDie) DieReleasePtr

func (d *ServiceBindingStatusDie) DieReleasePtr() *apisv1beta1.ServiceBindingStatus

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

func (*ServiceBindingStatusDie) DieReleaseRawExtension

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

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

func (*ServiceBindingStatusDie) DieReleaseYAML added in v0.5.0

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

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

func (*ServiceBindingStatusDie) DieStamp

func (d *ServiceBindingStatusDie) DieStamp(fn func(r *apisv1beta1.ServiceBindingStatus)) *ServiceBindingStatusDie

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

func (*ServiceBindingStatusDie) DieStampAt added in v0.5.0

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 added in v0.5.0

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

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

func (*ServiceBindingStatusDie) ObservedGeneration

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

ObservedGeneration is the 'Generation' of the ServiceBinding that was last processed by the controller.

type ServiceBindingWorkloadReferenceDie

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

func (*ServiceBindingWorkloadReferenceDie) APIVersion

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

API version of the referent.

func (*ServiceBindingWorkloadReferenceDie) Containers

func (d *ServiceBindingWorkloadReferenceDie) Containers(v ...string) *ServiceBindingWorkloadReferenceDie

Containers describes which containers in a Pod should be bound to

func (*ServiceBindingWorkloadReferenceDie) DeepCopy

func (d *ServiceBindingWorkloadReferenceDie) DeepCopy() *ServiceBindingWorkloadReferenceDie

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

func (*ServiceBindingWorkloadReferenceDie) DieFeed

func (d *ServiceBindingWorkloadReferenceDie) DieFeed(r apisv1beta1.ServiceBindingWorkloadReference) *ServiceBindingWorkloadReferenceDie

DieFeed returns a new die with the provided resource.

func (*ServiceBindingWorkloadReferenceDie) DieFeedJSON added in v0.5.0

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

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

func (*ServiceBindingWorkloadReferenceDie) DieFeedPtr

func (d *ServiceBindingWorkloadReferenceDie) DieFeedPtr(r *apisv1beta1.ServiceBindingWorkloadReference) *ServiceBindingWorkloadReferenceDie

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

func (*ServiceBindingWorkloadReferenceDie) DieFeedRawExtension

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

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

func (*ServiceBindingWorkloadReferenceDie) DieFeedYAML added in v0.5.0

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

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

func (*ServiceBindingWorkloadReferenceDie) DieFeedYAMLFile added in v0.5.0

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

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

func (*ServiceBindingWorkloadReferenceDie) DieImmutable

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

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

func (*ServiceBindingWorkloadReferenceDie) DieRelease

func (d *ServiceBindingWorkloadReferenceDie) DieRelease() apisv1beta1.ServiceBindingWorkloadReference

DieRelease returns the resource managed by the die.

func (*ServiceBindingWorkloadReferenceDie) DieReleaseJSON added in v0.5.0

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

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

func (*ServiceBindingWorkloadReferenceDie) DieReleasePtr

func (d *ServiceBindingWorkloadReferenceDie) DieReleasePtr() *apisv1beta1.ServiceBindingWorkloadReference

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

func (*ServiceBindingWorkloadReferenceDie) DieReleaseRawExtension

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

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

func (*ServiceBindingWorkloadReferenceDie) DieReleaseYAML added in v0.5.0

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

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

func (*ServiceBindingWorkloadReferenceDie) DieStamp

func (d *ServiceBindingWorkloadReferenceDie) DieStamp(fn func(r *apisv1beta1.ServiceBindingWorkloadReference)) *ServiceBindingWorkloadReferenceDie

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

func (*ServiceBindingWorkloadReferenceDie) DieStampAt added in v0.5.0

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

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

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

func (*ServiceBindingWorkloadReferenceDie) DieWith added in v0.5.0

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

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

func (*ServiceBindingWorkloadReferenceDie) Kind

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

Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (*ServiceBindingWorkloadReferenceDie) Name

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

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

func (*ServiceBindingWorkloadReferenceDie) Selector

func (d *ServiceBindingWorkloadReferenceDie) Selector(v *metav1.LabelSelector) *ServiceBindingWorkloadReferenceDie

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

func (*ServiceBindingWorkloadReferenceDie) SelectorDie

func (d *ServiceBindingWorkloadReferenceDie) SelectorDie(fn func(d *diemetav1.LabelSelectorDie)) *ServiceBindingWorkloadReferenceDie

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳