v1alpha1

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

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

View Source
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

Types

type ApplicationSelector

type ApplicationSelector struct {
	MatchLabels map[string]string `json:"matchLabels"`
	Group       string            `json:"group,omitempty"`
	Version     string            `json:"version"`
	Resource    string            `json:"resource"`
	ResourceRef string            `json:"resourceRef"`
}

ApplicationSelector defines the selector based on labels and GVR +k8s:openapi-gen=true

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 {
	Group       string `json:"group"`
	Version     string `json:"version"`
	Kind        string `json:"kind"`
	ResourceRef string `json:"resourceRef"`
}

BackingServiceSelector defines the selector based on resource name, version, and resource kind +k8s:openapi-gen=true

func (*BackingServiceSelector) DeepCopy

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 CustomEnvMap added in v0.0.19

type CustomEnvMap struct {
	// key of custom env variable
	Name string `json:"name"`
	// value template, currently supports expected is go template
	Value string `json:"value"`
}

CustomEnvMap is a set of Name and Value of an environment variable +k8s:openapi-gen=true +optional

func (*CustomEnvMap) DeepCopy added in v0.0.19

func (in *CustomEnvMap) DeepCopy() *CustomEnvMap

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

func (*CustomEnvMap) DeepCopyInto added in v0.0.19

func (in *CustomEnvMap) DeepCopyInto(out *CustomEnvMap)

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 is the Schema for the servicebindings API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=servicebindingrequests,shortName=sbr;sbrs

func (*ServiceBindingRequest) DeepCopy

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

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

func (*ServiceBindingRequestList) DeepCopyInto

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
	MountPathPrefix string `json:"mountPathPrefix,omitempty"`

	// EnvVarPrefix is the prefix for environment variables
	// +optional
	EnvVarPrefix string `json:"envVarPrefix,omitempty"`

	// Custom env variables
	// +optional
	CustomEnvVar []CustomEnvMap `json:"customEnvVar"`

	// BackingServiceSelector is used to identify the backing service operator.
	BackingServiceSelector BackingServiceSelector `json:"backingServiceSelector"`

	// ApplicationSelector is used to identify the application connecting to the
	// backing service operator.
	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"`
}

ServiceBindingRequestSpec defines the desired state of ServiceBindingRequest +k8s:openapi-gen=true

func (*ServiceBindingRequestSpec) DeepCopy

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

func (*ServiceBindingRequestSpec) DeepCopyInto

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

type ServiceBindingRequestStatus

type ServiceBindingRequestStatus struct {
	// BindingStatus is the status of the service binding request.
	BindingStatus string `json:"bindingStatus,omitempty"`
	// Secret is the name of the intermediate secret
	Secret string `json:"secret,omitempty"`
	// ApplicationObjects contains all the application objects filtered by label
	ApplicationObjects []string `json:"applicationObjects,omitempty"`
}

ServiceBindingRequestStatus defines the observed state of ServiceBindingRequest +k8s:openapi-gen=true

func (*ServiceBindingRequestStatus) DeepCopy

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

func (*ServiceBindingRequestStatus) DeepCopyInto

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

Jump to

Keyboard shortcuts

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