LinkLabel is the name of the name of the link in the devfile
const LinkLabel = "app.kubernetes.io/link-name"
ServiceKind is the kind of the service in the service binding object
const ServiceKind = "app.kubernetes.io/service-kind"
ServiceLabel is the name of the service in the service binding object
const ServiceLabel = "app.kubernetes.io/service-name"
var OdoDefaultBuilder = builder.Builder().WithHandlers(defaultFlow...)
func BindingDefinitions(ctx pipeline.Context)
func BuildCRDFromParams(paramMap map[string]string, crd *spec.Schema, group, version, kind string) (map[string]interface{}, error)
BuildCRDFromParams iterates over the parameter maps provided by the user and builds the CRD
func DeleteOperatorService(client kclient.ClientInterface, serviceName string) error
DeleteOperatorService deletes an Operator backed service TODO: make it unlink the service from component as a part of https://github.com/redhat-developer/odo/issues/3563
func GetCRInstances(client kclient.ClientInterface, customResource *olm.CRDDescription) (*unstructured.UnstructuredList, error)
GetCRInstances fetches and returns instances of the CR provided in the "customResource" field. It also returns error (if any)
func IsLinkSecret(labels map[string]string) bool
IsLinkSecret helps in identifying if a secret is related to Service Binding
func ListDeployedServices(client kclient.ClientInterface, labels map[string]string) (map[string]DeployedInfo, error)
func ListOperatorServices(client kclient.ClientInterface) ([]unstructured.Unstructured, []string, error)
ListOperatorServices lists all operator backed services. It returns list of services, slice of services that it failed (if any) to list and error (if any)
func ProvisionedService(ctx pipeline.Context)
func PushKubernetesResource(client kclient.ClientInterface, u unstructured.Unstructured, labels map[string]string, annotations map[string]string, mode string) error
PushKubernetesResource pushes a Kubernetes resource (u) to the cluster using client adding labels to the resource
func PushKubernetesResources(client kclient.ClientInterface, devfileObj parser.DevfileObj, k8sComponents []devfile.Component, labels map[string]string, annotations map[string]string, context, mode string, reference metav1.OwnerReference) error
PushKubernetesResources updates service(s) from Kubernetes Inlined component in a devfile by creating new ones or removing old ones
func SplitServiceKindName(serviceName string) (string, string, error)
SplitServiceKindName splits the service name provided for deletion by the user. It has to be of the format <service-kind>/<service-name>. Example: EtcdCluster/myetcd
func UnbindWithLibrary(kubeClient kclient.ClientInterface, secretToUnbind unstructured.Unstructured, deployment *appsv1.Deployment) error
UnbindWithLibrary unbinds the component and service using the ServiceBinding library; it does not delete the secret
DeployedInfo holds information about the services present on the cluster
type DeployedInfo struct { Kind string Name string // contains filtered or unexported fields }