Documentation ¶
Index ¶
- Constants
- func ConfigurationToHelmValues(chart *chart.Chart, configuration *st4sdv1alpha1.SimulationToolkitSpecSetup, ...) (map[string]interface{}, error)
- func DiscoverClusterIngress() (string, error)
- func HelmDeployPart(namespace, releaseName, helmChartPath string, dryRun bool, ...) error
- func HelmDeploySimulationToolkit(helmChartPath string, configuration *st4sdv1alpha1.SimulationToolkitSpecSetup, ...) error
- func MergeMaps(a, b map[string]interface{}) map[string]interface{}
- func TriggerDeploymentConfigs(release *release.Release, kubeClient kube.Interface, namespace string) error
- func TriggerImportImage(kubeClient kube.Interface, namespace, imageUrl, imageName, tag string) error
- func UpdateCRD(path, namespace string, kubeClient kube.Interface) error
- type RecordDeployedChart
Constants ¶
View Source
const ( RELEASE_CLUSTER_SCOPED = "st4sd-cluster-scoped" RELEASE_NAMESPACED_UNMANAGED = "st4sd-namespaced-unmanaged" RELEASE_NAMESPACED_MANAGED = "st4sd-namespaced-managed" )
View Source
const (
PATTERN_FAILED_TO_PATCH = `cannot patch "(?P<Object>.+)" with kind (?P<Kind>[^:]+)`
)
Variables ¶
This section is empty.
Functions ¶
func ConfigurationToHelmValues ¶
func ConfigurationToHelmValues( chart *chart.Chart, configuration *st4sdv1alpha1.SimulationToolkitSpecSetup, releaseName string, ) (map[string]interface{}, error)
func DiscoverClusterIngress ¶
func HelmDeployPart ¶
func HelmDeployPart( namespace, releaseName, helmChartPath string, dryRun bool, configuration *st4sdv1alpha1.SimulationToolkitSpecSetup, chart *chart.Chart, actionConfig *action.Configuration, inNamespace []*release.Release, ) error
func HelmDeploySimulationToolkit ¶
func HelmDeploySimulationToolkit( helmChartPath string, configuration *st4sdv1alpha1.SimulationToolkitSpecSetup, namespace string, dryRun bool, ) error
func MergeMaps ¶
Merges 2 maps of key: value pairs overriding @a values with those in @b. This is the algorithm that helm uses to merge multiple "values.yaml" files VV: From https://github.com/helm/helm/blob/main/pkg/cli/values/options.go
func TriggerImportImage ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.