v1beta1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: Apache-2.0 Imports: 8 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

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

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

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

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

func (*ClusterWorkloadResourceMappingContainerDie) DieStamp

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

func (*ClusterWorkloadResourceMappingContainerDie) 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 {
	v1.FrozenObjectMeta
	// contains filtered or unexported fields
}

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

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

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

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

func (*ClusterWorkloadResourceMappingDie) DieReleaseUnstructured

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

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

func (*ClusterWorkloadResourceMappingDie) DieStamp

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

func (*ClusterWorkloadResourceMappingDie) GetObjectKind

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

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

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

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

func (*ClusterWorkloadResourceMappingSpecDie) DieStamp

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

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

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

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

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

func (*ClusterWorkloadResourceMappingTemplateDie) DieStamp

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

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

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

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

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

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

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

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

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

DieRelease returns the resource managed by the die.

func (*ServiceBindingDie) DieReleasePtr

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

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

func (*ServiceBindingDie) DieReleaseUnstructured

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

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

func (*ServiceBindingDie) DieStamp

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

func (*ServiceBindingDie) GetObjectKind

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

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

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

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

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

func (*ServiceBindingSecretReferenceDie) DieStamp

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

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

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

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

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

func (*ServiceBindingServiceReferenceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource 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) DieFeedPtr

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

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

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

func (*ServiceBindingSpecDie) DieStamp

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

func (*ServiceBindingSpecDie) Env

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

func (*ServiceBindingSpecDie) EnvDie

func (d *ServiceBindingSpecDie) EnvDie(key 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) DieFeedPtr

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

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

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

func (*ServiceBindingStatusDie) DieStamp

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

func (*ServiceBindingStatusDie) 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) DieFeedPtr

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

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

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

func (*ServiceBindingWorkloadReferenceDie) DieStamp

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

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