Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the apps v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=apps.openshift.io
Package v1alpha1 contains API Schema definitions for the apps v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=apps.openshift.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "apps.openshift.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type ApplicationSelector ¶
type ApplicationSelector struct { // +optional LabelSelector *metav1.LabelSelector `json:"labelSelector,omitempty"` metav1.GroupVersionResource `json:",inline"` ResourceRef string `json:"resourceRef,omitempty"` }
ApplicationSelector defines the selector based on labels and GVR
func (*ApplicationSelector) DeepCopy ¶
func (in *ApplicationSelector) DeepCopy() *ApplicationSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSelector.
func (*ApplicationSelector) DeepCopyInto ¶
func (in *ApplicationSelector) DeepCopyInto(out *ApplicationSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackingServiceSelector ¶
type BackingServiceSelector struct { metav1.GroupVersionKind `json:",inline"` ResourceRef string `json:"resourceRef"` // +optional Namespace *string `json:"namespace,omitempty"` EnvVarPrefix *string `json:"envVarPrefix,omitempty"` Id *string `json:"id,omitempty"` }
BackingServiceSelector defines the selector based on resource name, version, and resource kind
func (*BackingServiceSelector) DeepCopy ¶
func (in *BackingServiceSelector) DeepCopy() *BackingServiceSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackingServiceSelector.
func (*BackingServiceSelector) DeepCopyInto ¶
func (in *BackingServiceSelector) DeepCopyInto(out *BackingServiceSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BoundApplication ¶ added in v0.1.1
type BoundApplication struct { metav1.GroupVersionKind `json:",inline"` corev1.LocalObjectReference `json:",inline"` }
BoundApplication defines the application workloads to which the binding secret has injected.
func (*BoundApplication) DeepCopy ¶ added in v0.1.1
func (in *BoundApplication) DeepCopy() *BoundApplication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BoundApplication.
func (*BoundApplication) DeepCopyInto ¶ added in v0.1.1
func (in *BoundApplication) DeepCopyInto(out *BoundApplication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceBindingRequest ¶
type ServiceBindingRequest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceBindingRequestSpec `json:"spec,omitempty"` Status ServiceBindingRequestStatus `json:"status,omitempty"` }
ServiceBindingRequest expresses intent to bind an operator-backed service with an application workload. +k8s:openapi-gen=true +kubebuilder:subresource:status +operator-sdk:gen-csv:customresourcedefinitions.displayName="Service Binding Request" +kubebuilder:resource:path=servicebindingrequests,shortName=sbr;sbrs
func (ServiceBindingRequest) AsOwnerReference ¶
func (sbr ServiceBindingRequest) AsOwnerReference() metav1.OwnerReference
func (*ServiceBindingRequest) DeepCopy ¶
func (in *ServiceBindingRequest) DeepCopy() *ServiceBindingRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingRequest.
func (*ServiceBindingRequest) DeepCopyInto ¶
func (in *ServiceBindingRequest) DeepCopyInto(out *ServiceBindingRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceBindingRequest) DeepCopyObject ¶
func (in *ServiceBindingRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceBindingRequestList ¶
type ServiceBindingRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceBindingRequest `json:"items"` }
ServiceBindingRequestList contains a list of ServiceBindingRequest
func (*ServiceBindingRequestList) DeepCopy ¶
func (in *ServiceBindingRequestList) DeepCopy() *ServiceBindingRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingRequestList.
func (*ServiceBindingRequestList) DeepCopyInto ¶
func (in *ServiceBindingRequestList) DeepCopyInto(out *ServiceBindingRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceBindingRequestList) DeepCopyObject ¶
func (in *ServiceBindingRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceBindingRequestSpec ¶
type ServiceBindingRequestSpec struct { // MountPathPrefix is the prefix for volume mount // +optional MountPathPrefix string `json:"mountPathPrefix,omitempty"` // EnvVarPrefix is the prefix for environment variables // +optional EnvVarPrefix string `json:"envVarPrefix,omitempty"` // Custom env variables // +optional CustomEnvVar []corev1.EnvVar `json:"customEnvVar,omitempty"` // BackingServiceSelector is used to identify the backing service operator. // Deprecation Notice: // In the upcoming release, this field would be depcreated. It would be mandatory // to set "backingServiceSelectors". // +optional BackingServiceSelector *BackingServiceSelector `json:"backingServiceSelector,omitempty"` // BackingServiceSelectors is used to identify multiple backing services. // This would be made a required field after 'BackingServiceSelector' // is removed. // +optional BackingServiceSelectors *[]BackingServiceSelector `json:"backingServiceSelectors,omitempty"` // ApplicationSelector is used to identify the application connecting to the // backing service operator. // +optional ApplicationSelector ApplicationSelector `json:"applicationSelector"` // DetectBindingResources is flag used to bind all non-bindable variables from // different subresources owned by backing operator CR. // +optional DetectBindingResources bool `json:"detectBindingResources,omitempty"` }
ServiceBindingRequestSpec defines the desired state of ServiceBindingRequest
func (*ServiceBindingRequestSpec) DeepCopy ¶
func (in *ServiceBindingRequestSpec) DeepCopy() *ServiceBindingRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingRequestSpec.
func (*ServiceBindingRequestSpec) DeepCopyInto ¶
func (in *ServiceBindingRequestSpec) DeepCopyInto(out *ServiceBindingRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceBindingRequestStatus ¶
type ServiceBindingRequestStatus struct { // Conditions describes the state of the operator's reconciliation functionality. Conditions []conditionsv1.Condition `json:"conditions"` // Secret is the name of the intermediate secret Secret string `json:"secret"` // Applications contain all the applications filtered by name or label // +optional Applications []BoundApplication `json:"applications,omitempty"` }
ServiceBindingRequestStatus defines the observed state of ServiceBindingRequest +k8s:openapi-gen=true
func (*ServiceBindingRequestStatus) DeepCopy ¶
func (in *ServiceBindingRequestStatus) DeepCopy() *ServiceBindingRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingRequestStatus.
func (*ServiceBindingRequestStatus) DeepCopyInto ¶
func (in *ServiceBindingRequestStatus) DeepCopyInto(out *ServiceBindingRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.