package
3.16.1+incompatible
Repository: https://github.com/redhat-developer/odo.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
APIServiceBindingFromBinding returns a common api.ServiceBinding structure from a ServiceBinding.binding.operators.coreos.com/v1alpha1.
APIServiceBindingFromSpec returns a common api.ServiceBinding structure from a ServiceBinding.servicebinding.io/v1alpha3.
No description provided by the author
ConvertK8sResourceToUnstructured converts any K8s resource to unstructured.Unstructured format TODO: Remove this method and use https://github.com/redhat-developer/service-binding-operator/blob/master/pkg/converter/unstructured.go#L11.
No description provided by the author
No description provided by the author
FakeNew creates new fake client for testing returns Client that is filled with fake clients and FakeClientSet that holds fake Clientsets to access Actions, Reactors etc..
FakeNewWithIngressSupports creates new fake client for testing returns Client that is filled with fake clients and FakeClientSet that holds fake Clientsets to access Actions, Reactors etc..
FakePodStatus returns a pod with the status.
GenerateSelfSignedCertificate creates a self-signed SSl certificate.
GetGVRFromCR parses and returns the values for group, version and resource for a given Custom Resource (CR).
GetInputEnvVarsFromStrings generates corev1.EnvVar values from the array of string key=value pairs envVars is the array containing the key=value pairs.
New creates a new client.
NewForConfig creates a new client with the provided configuration or initializes the configuration if none is provided.
No description provided by the author
NewMockClientInterface creates a new mock instance.
No description provided by the author
NewServiceBindingObject returns the bindingApi.ServiceBinding object.
# Constants
No description provided by the author
ComponentPortAnnotationName annotation is used on the secrets that are created for each exposed port of the component.
No description provided by the author
No description provided by the author
No description provided by the author
JobNameOdoMaxLength is the max length of a job name To be on the safe side, we keep the max length less than the original(k8s) max length; we do this because k8s job in odo is created to run exec commands in Deploy mode and this is not a user created resource, so we do not want to break because of any error with job.
constants for volumes.
constants for volumes.
constants for volumes.
constants for volumes.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Client is a collection of fields used for client configuration and interaction.
DeploymentNotFoundError returns an error if no deployment is found with the selector.
FakeClientset holds fake ClientSets this is returned by FakeNew to access methods of fake client sets.
No description provided by the author
MockClientInterface is a mock of ClientInterface interface.
MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface.
No description provided by the author
No description provided by the author
SelfSignedCertificate struct is the return type of function GenerateSelfSignedCertificate CertPem is the byte array for certificate pem encode KeyPem is the byte array for key pem encode.
ServerInfo contains the fields that contain the server's information like address, OpenShift and Kubernetes versions.
ServiceNotFoundError returns an error if no service is found with the selector.
# Interfaces
No description provided by the author