Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=internal.bindings.labs.vmware.com
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type EnvVar
- type ServiceBindingProjection
- func (in *ServiceBindingProjection) DeepCopy() *ServiceBindingProjection
- func (in *ServiceBindingProjection) DeepCopyInto(out *ServiceBindingProjection)
- func (in *ServiceBindingProjection) DeepCopyObject() runtime.Object
- func (b *ServiceBindingProjection) Do(ctx context.Context, ps *duckv1.WithPod)
- func (b *ServiceBindingProjection) GetBindingStatus() duck.BindableStatus
- func (b *ServiceBindingProjection) GetConditionSet() apis.ConditionSet
- func (b *ServiceBindingProjection) GetGroupVersionKind() schema.GroupVersionKind
- func (b *ServiceBindingProjection) GetStatus() *duckv1.Status
- func (b *ServiceBindingProjection) GetSubject() tracker.Reference
- func (b *ServiceBindingProjection) SetDefaults(context.Context)
- func (b *ServiceBindingProjection) Undo(ctx context.Context, ps *duckv1.WithPod)
- func (b *ServiceBindingProjection) Validate(ctx context.Context) (errs *apis.FieldError)
- type ServiceBindingProjectionList
- type ServiceBindingProjectionSpec
- type ServiceBindingProjectionStatus
- func (in *ServiceBindingProjectionStatus) DeepCopy() *ServiceBindingProjectionStatus
- func (in *ServiceBindingProjectionStatus) DeepCopyInto(out *ServiceBindingProjectionStatus)
- func (bs *ServiceBindingProjectionStatus) InitializeConditions()
- func (bs *ServiceBindingProjectionStatus) MarkBindingAvailable()
- func (bs *ServiceBindingProjectionStatus) MarkBindingUnavailable(reason string, message string)
- func (bs *ServiceBindingProjectionStatus) SetObservedGeneration(gen int64)
- type WorkloadReference
Constants ¶
const ( ServiceBindingProjectionConditionReady = apis.ConditionReady ServiceBindingProjectionConditionWorkloadAvailable = "WorkloadAvailable" ServiceBindingRootEnv = "SERVICE_BINDING_ROOT" )
const (
GroupName = "internal.bindings.labs.vmware.com"
)
const (
ServiceBindingProjectionAnnotationKey = GroupName + "/projection"
)
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"} )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type EnvVar ¶
func (*EnvVar) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.
func (*EnvVar) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceBindingProjection ¶
type ServiceBindingProjection struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceBindingProjectionSpec `json:"spec,omitempty"` Status ServiceBindingProjectionStatus `json:"status,omitempty"` }
+genclient +genreconciler +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ServiceBindingProjection) DeepCopy ¶
func (in *ServiceBindingProjection) DeepCopy() *ServiceBindingProjection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingProjection.
func (*ServiceBindingProjection) DeepCopyInto ¶
func (in *ServiceBindingProjection) DeepCopyInto(out *ServiceBindingProjection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceBindingProjection) DeepCopyObject ¶
func (in *ServiceBindingProjection) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceBindingProjection) Do ¶
func (b *ServiceBindingProjection) Do(ctx context.Context, ps *duckv1.WithPod)
func (*ServiceBindingProjection) GetBindingStatus ¶
func (b *ServiceBindingProjection) GetBindingStatus() duck.BindableStatus
func (*ServiceBindingProjection) GetConditionSet ¶
func (b *ServiceBindingProjection) GetConditionSet() apis.ConditionSet
func (*ServiceBindingProjection) GetGroupVersionKind ¶
func (b *ServiceBindingProjection) GetGroupVersionKind() schema.GroupVersionKind
func (*ServiceBindingProjection) GetStatus ¶
func (b *ServiceBindingProjection) GetStatus() *duckv1.Status
func (*ServiceBindingProjection) GetSubject ¶
func (b *ServiceBindingProjection) GetSubject() tracker.Reference
func (*ServiceBindingProjection) SetDefaults ¶
func (b *ServiceBindingProjection) SetDefaults(context.Context)
func (*ServiceBindingProjection) Undo ¶
func (b *ServiceBindingProjection) Undo(ctx context.Context, ps *duckv1.WithPod)
func (*ServiceBindingProjection) Validate ¶
func (b *ServiceBindingProjection) Validate(ctx context.Context) (errs *apis.FieldError)
type ServiceBindingProjectionList ¶
type ServiceBindingProjectionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceBindingProjection `json:"items"` }
func (*ServiceBindingProjectionList) DeepCopy ¶
func (in *ServiceBindingProjectionList) DeepCopy() *ServiceBindingProjectionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingProjectionList.
func (*ServiceBindingProjectionList) DeepCopyInto ¶
func (in *ServiceBindingProjectionList) DeepCopyInto(out *ServiceBindingProjectionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceBindingProjectionList) DeepCopyObject ¶
func (in *ServiceBindingProjectionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceBindingProjectionSpec ¶
type ServiceBindingProjectionSpec struct { // Name of the service binding on disk, defaults to this resource's name Name string `json:"name"` // Type of the provisioned service. The value is exposed directly as the // `type` in the mounted binding // +optional Type string `json:"type,omitempty"` // Provider of the provisioned service. The value is exposed directly as the // `provider` in the mounted binding // +optional Provider string `json:"provider,omitempty"` // Binding reference to the service binding's projected secret Binding corev1.LocalObjectReference `json:"binding"` // Workload resource to inject the binding into Workload WorkloadReference `json:"workload"` // Env projects keys from the binding secret into the workload as // environment variables Env []EnvVar `json:"env,omitempty"` }
func (*ServiceBindingProjectionSpec) DeepCopy ¶
func (in *ServiceBindingProjectionSpec) DeepCopy() *ServiceBindingProjectionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingProjectionSpec.
func (*ServiceBindingProjectionSpec) DeepCopyInto ¶
func (in *ServiceBindingProjectionSpec) DeepCopyInto(out *ServiceBindingProjectionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceBindingProjectionStatus ¶
func (*ServiceBindingProjectionStatus) DeepCopy ¶
func (in *ServiceBindingProjectionStatus) DeepCopy() *ServiceBindingProjectionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingProjectionStatus.
func (*ServiceBindingProjectionStatus) DeepCopyInto ¶
func (in *ServiceBindingProjectionStatus) DeepCopyInto(out *ServiceBindingProjectionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceBindingProjectionStatus) InitializeConditions ¶
func (bs *ServiceBindingProjectionStatus) InitializeConditions()
func (*ServiceBindingProjectionStatus) MarkBindingAvailable ¶
func (bs *ServiceBindingProjectionStatus) MarkBindingAvailable()
func (*ServiceBindingProjectionStatus) MarkBindingUnavailable ¶
func (bs *ServiceBindingProjectionStatus) MarkBindingUnavailable(reason string, message string)
func (*ServiceBindingProjectionStatus) SetObservedGeneration ¶
func (bs *ServiceBindingProjectionStatus) SetObservedGeneration(gen int64)
type WorkloadReference ¶
type WorkloadReference struct { tracker.Reference // Containers to target within the workload. If not set, all containers // will be injected. Containers []string `json:"containers,omitempty"` }
func (*WorkloadReference) DeepCopy ¶
func (in *WorkloadReference) DeepCopy() *WorkloadReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadReference.
func (*WorkloadReference) DeepCopyInto ¶
func (in *WorkloadReference) DeepCopyInto(out *WorkloadReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.