v1

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 12 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) Versions

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

func (*ClusterWorkloadResourceMappingSpecDie) VersionsDie

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

func (*ClusterWorkloadResourceMappingTemplateDie) DeepCopy

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

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

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

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

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

type ServiceBindingStatusDie

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

func (*ServiceBindingStatusDie) Binding

Binding exposes the projected secret for this ServiceBinding

func (*ServiceBindingStatusDie) BindingDie

func (*ServiceBindingStatusDie) Conditions

Conditions are the conditions of this ServiceBinding

func (*ServiceBindingStatusDie) ConditionsDie

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

func (*ServiceBindingStatusDie) DeepCopy

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

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

Jump to

Keyboard shortcuts

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