# Functions
CreateNamespace creates a new Kubernetes namespace with the provided name.
ExecuteCommand exectues the command using the args.
ExecuteCommandInDirectory executes the command using the args within the specified directory.
ExistsNamespace checks whether a namespace with the provided name exists.
ExpandTilde expands ~ to HOME.
GetChart returns the chart and the related git commit ID from the configuration service.
GetClientset returns the kubernetes Clientset.
GetFiles returns a list of files in a directory filtered by the provided suffix.
GetKeptnAPITokenFromSecret returns the `keptn-api-token` data secret from Keptn Installation.
GetKeptnDirectory returns a path, which is used to store logs and possibly creds.
GetKeptnEndpointFromIngress returns the host of ingress object Keptn Installation.
GetKeptnEndpointFromService returns the loadbalancer service IP from Keptn Installation.
GetKeptnManagedNamespace returns the list of namespace with the annotation & label `keptn.sh/managed-by: keptn`.
GetKubeAPI returns the CoreV1Interface.
GetRenderedDeployments returns all deployments contained in the provided chart.
GetRenderedServices returns all services contained in the provided chart.
IsDeployment tests whether the provided struct is a deployment.
IsService tests whether the provided struct is a service.
LoadChart converts a byte array into a Chart.
LoadChartFromPath loads a directory or Helm chart into a Chart.
NewChartPackager creates a new chartPackager instance.
NewChartRetriever creates a new chartRetriever instance.
NewChartStorer creates a new chartStorer instance.
PackageChart packages the chart and returns itDeprecated: PackageChart is deprecated, use chartPackager.Package instead.
PatchKeptnManagedNamespace to patch the namespace with the annotation & label `keptn.sh/managed-by: keptn`.
RestartPodsWithSelector restarts the pods which are found in the provided namespace and selector.
No description provided by the author
StoreChart stores a chart in the configuration serviceDeprecated: StoreChart is deprecated, use chartStorer.Store instead.
UserHomeDir returns the HOME directory by taking into account the operating system.
WaitForDeploymentsInNamespace waits until all deployments in a namespace are available.
WaitForDeploymentToBeRolledOut waits until the deployment is Available.
No description provided by the author
# Structs
RetrieveChartOptions are the parameters to obtain a chart.
StoreChartOptions are the parameters for storing a chart.