# Packages
No description provided by the author
# Functions
AddBootstrapSupervisordInitContainer creates an init container that will copy over supervisord to the application image during the start-up procress.
AddPVCAndVolumeMount adds PVC and volume mount to the pod template spec volumeNameToPVCName is a map of volume name to the PVC created containerNameToVolumes is a map of the Devfile container names to the Devfile Volumes.
AddPVCToPodTemplateSpec adds the given PVC to the podTemplateSpec.
AddVolumeMountToPodTemplateSpec adds the Volume Mounts in containerNameToMountPaths to the podTemplateSpec containers for a given pvc and volumeName containerNameToMountPaths is a map of a container name to an array of its Mount Paths.
CreateObjectMeta creates a common object meta.
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..
FakePodStatus returns a pod with the status.
GenerateContainer creates a container spec that can be used when creating a pod.
GenerateDeploymentSpec creates a deployment spec.
GenerateIngressSpec creates an ingress spec.
GenerateOwnerReference genertes an ownerReference from the deployment which can then be set as owner for various Kubernetes objects and ensure that when the owner object is deleted from the cluster, all other objects are automatically removed by Kubernetes garbage collector.
GeneratePodTemplateSpec creates a pod template spec that can be used to create a deployment spec.
GeneratePVCSpec creates a pvc spec.
GenerateSelfSignedCertificate creates a self-signed SSl certificate.
GenerateServiceSpec creates a service spec.
New creates a new client.
# Constants
constants for deployments.
constants for deployments.
OdoSourceVolume is the constant containing the name of the emptyDir volume containing the project source.
OdoSourceVolumeMount is the directory to mount the volume in the container.
constants for volumes.
constants for volumes.
# Variables
No description provided by the author
# Structs
Client is a collection of fields used for client configuration and interaction.
FakeClientset holds fake ClientSets this is returned by FakeNew to access methods of fake client sets.
IngressParameter struct for function createIngress serviceName is the name of the service for the target reference ingressDomain is the ingress domain to use for the ingress portNumber is the target port of the ingress TLSSecretName is the target TLS Secret name of the ingress.
PodNotFoundError returns an error if no pod is found with the selector.
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.