package
3.16.1+incompatible
Repository: https://github.com/redhat-developer/odo.git
Documentation: pkg.go.dev
# Functions
ApplyKubernetes contains the logic to create the k8s resources defined by the `apply` command mode(Dev, Deploy): the mode in which the resources are deployed appName: application name devfile: the devfile object kubernetes: the kubernetes devfile component to be deployed kubeClient: Kubernetes client to be used to deploy the resource path: path to the context directory.
Contains checks to see if the component exists in an array or not by checking the name.
No description provided by the author
ExecuteRunCommand executes a Devfile command in the specified pod If componentExists, the previous instance of the command will be stopped before (if hotReloadCapable is not set).
No description provided by the author
GatherName computes and returns what should be used as name for the Devfile object specified.
GetComponentRuntimeFromDevfileMetadata returns the Project Type defined in the Devfile metadata or if not set, the Language.
GetComponentTypeFromDevfileMetadata returns component type from the devfile metadata; it could either be projectType or language, if neither of them are set, return 'Not available'.
No description provided by the author
GetDevfileInfo extracts information from the labels and annotations of resources to rebuild a Devfile.
GetRunningModes returns the list of modes on which a "name" component is deployed, by looking into namespace the resources deployed with matching labels, based on the "odo.dev/mode" label.
ListAllClusterComponents returns a list of all "components" on a cluster that are both odo and non-odo components.
No description provided by the author
ListRoutesAndIngresses lists routes and ingresses created by a component; it only returns the resources created with Deploy mode; it fetches resources from the cluster that match label and return.
Log returns log from component.
No description provided by the author
No description provided by the author
ValidateResourcesExist validates if the Kubernetes inlined components are installed on the cluster.
ValidateResourcesExistInK8sComponent validates if resources defined inside a Kubernetes inlined component are installed on the cluster.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
NoComponentFoundError is returned when no component of the specified name was found.
SecretMount describes a Secret mount (either as environment variables with envFrom or as a volume).
# Interfaces
PushedComponent is an abstraction over the cluster representation of the component.