v1beta1

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: 9 Imported by: 2

Documentation

Overview

Package v1beta1 contains API Schema definitions for the v1beta1 API group +kubebuilder:object:generate=false +groupName=servicebinding.io

Index

Constants

View Source
const (
	// ServiceBindingReady means the ServiceBinding has projected the ProvisionedService
	// secret and the Workload is ready to start. It does not indicate the condition
	// of either the Service or the Workload resources referenced.
	ServiceBindingConditionReady = servicebindingv1.ServiceBindingConditionReady
	// ServiceBindingConditionServiceAvailable means the ServiceBinding's service
	// reference resolved to a ProvisionedService and found a secret. It does not
	// indicate the condition of the Service.
	ServiceBindingConditionServiceAvailable = servicebindingv1.ServiceBindingConditionServiceAvailable
	// ServiceBindingConditionWorkloadProjected means the ServiceBinding has projected
	// the ProvisionedService secret and the Workload is ready to start. It does not
	// indicate the condition of the Workload resources referenced.
	//
	// Not a standardized condition.
	ServiceBindingConditionWorkloadProjected = servicebindingv1.ServiceBindingConditionWorkloadProjected
)

These are valid conditions of ServiceBinding.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "servicebinding.io", Version: "v1beta1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type ClusterWorkloadResourceMapping

type ClusterWorkloadResourceMapping struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec ClusterWorkloadResourceMappingSpec `json:"spec,omitempty"`
}

ClusterWorkloadResourceMapping is the Schema for the clusterworkloadresourcemappings API

func (*ClusterWorkloadResourceMapping) ConvertFrom added in v0.8.0

func (dst *ClusterWorkloadResourceMapping) ConvertFrom(srcRaw conversion.Hub) error

func (*ClusterWorkloadResourceMapping) ConvertTo added in v0.8.0

func (src *ClusterWorkloadResourceMapping) ConvertTo(dstRaw conversion.Hub) error

func (*ClusterWorkloadResourceMapping) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterWorkloadResourceMapping.

func (*ClusterWorkloadResourceMapping) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterWorkloadResourceMapping) DeepCopyObject

func (in *ClusterWorkloadResourceMapping) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ClusterWorkloadResourceMapping) Default

func (r *ClusterWorkloadResourceMapping) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*ClusterWorkloadResourceMapping) SetupWebhookWithManager

func (r *ClusterWorkloadResourceMapping) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ClusterWorkloadResourceMapping) ValidateCreate

func (r *ClusterWorkloadResourceMapping) ValidateCreate() (admission.Warnings, error)

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ClusterWorkloadResourceMapping) ValidateDelete

func (r *ClusterWorkloadResourceMapping) ValidateDelete() (admission.Warnings, error)

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ClusterWorkloadResourceMapping) ValidateUpdate

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ClusterWorkloadResourceMappingContainer

type ClusterWorkloadResourceMappingContainer = servicebindingv1.ClusterWorkloadResourceMappingContainer

ClusterWorkloadResourceMappingContainer defines the mapping for a specific fragment of an workload resource to a Container-like structure.

Each mapping defines exactly one path that may match multiple container-like fragments within the workload resource. For each object matching the path the name, env and volumeMounts expressions are resolved to find those structures.

type ClusterWorkloadResourceMappingList

type ClusterWorkloadResourceMappingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []ClusterWorkloadResourceMapping `json:"items"`
}

ClusterWorkloadResourceMappingList contains a list of ClusterWorkloadResourceMapping

func (*ClusterWorkloadResourceMappingList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterWorkloadResourceMappingList.

func (*ClusterWorkloadResourceMappingList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterWorkloadResourceMappingList) DeepCopyObject

func (in *ClusterWorkloadResourceMappingList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterWorkloadResourceMappingSpec

type ClusterWorkloadResourceMappingSpec = servicebindingv1.ClusterWorkloadResourceMappingSpec

ClusterWorkloadResourceMappingSpec defines the desired state of ClusterWorkloadResourceMapping

type ClusterWorkloadResourceMappingTemplate

type ClusterWorkloadResourceMappingTemplate = servicebindingv1.ClusterWorkloadResourceMappingTemplate

ClusterWorkloadResourceMappingTemplate defines the mapping for a specific version of an workload resource to a logical PodTemplateSpec-like structure.

type EnvMapping

type EnvMapping = servicebindingv1.EnvMapping

EnvMapping defines a mapping from the value of a Secret entry to an environment variable

type ServiceBinding

type ServiceBinding struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ServiceBindingSpec   `json:"spec,omitempty"`
	Status ServiceBindingStatus `json:"status,omitempty"`
}

ServiceBinding is the Schema for the servicebindings API

func (*ServiceBinding) ConvertFrom added in v0.8.0

func (dst *ServiceBinding) ConvertFrom(srcRaw conversion.Hub) error

func (*ServiceBinding) ConvertTo added in v0.8.0

func (src *ServiceBinding) ConvertTo(dstRaw conversion.Hub) error

func (*ServiceBinding) DeepCopy

func (in *ServiceBinding) DeepCopy() *ServiceBinding

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBinding.

func (*ServiceBinding) DeepCopyInto

func (in *ServiceBinding) DeepCopyInto(out *ServiceBinding)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServiceBinding) DeepCopyObject

func (in *ServiceBinding) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ServiceBinding) Default

func (r *ServiceBinding) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*ServiceBinding) SetupWebhookWithManager

func (r *ServiceBinding) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ServiceBinding) ValidateCreate

func (r *ServiceBinding) ValidateCreate() (admission.Warnings, error)

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ServiceBinding) ValidateDelete

func (r *ServiceBinding) ValidateDelete() (admission.Warnings, error)

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ServiceBinding) ValidateUpdate

func (r *ServiceBinding) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ServiceBindingList

type ServiceBindingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []ServiceBinding `json:"items"`
}

ServiceBindingList contains a list of ServiceBinding

func (*ServiceBindingList) DeepCopy

func (in *ServiceBindingList) DeepCopy() *ServiceBindingList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingList.

func (*ServiceBindingList) DeepCopyInto

func (in *ServiceBindingList) DeepCopyInto(out *ServiceBindingList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServiceBindingList) DeepCopyObject

func (in *ServiceBindingList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ServiceBindingSecretReference

type ServiceBindingSecretReference = servicebindingv1.ServiceBindingSecretReference

ServiceBindingSecretReference defines a mirror of corev1.LocalObjectReference

type ServiceBindingServiceReference

type ServiceBindingServiceReference = servicebindingv1.ServiceBindingServiceReference

ServiceBindingServiceReference defines a subset of corev1.ObjectReference

type ServiceBindingSpec

type ServiceBindingSpec = servicebindingv1.ServiceBindingSpec

ServiceBindingSpec defines the desired state of ServiceBinding

type ServiceBindingStatus

type ServiceBindingStatus = servicebindingv1.ServiceBindingStatus

ServiceBindingStatus defines the observed state of ServiceBinding

type ServiceBindingWorkloadReference

type ServiceBindingWorkloadReference = servicebindingv1.ServiceBindingWorkloadReference

ServiceBindingWorkloadReference defines a subset of corev1.ObjectReference with extensions

Jump to

Keyboard shortcuts

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