Documentation ¶
Index ¶
- func DownloadChart(configMap *corev1.ConfigMap, secret *corev1.Secret, chartsDir string, ...) (chartDir string, err error)
- func DownloadChartFromGit(configMap *corev1.ConfigMap, secret *corev1.Secret, destRepo string, ...) (chartDir string, err error)
- func DownloadChartFromHelmRepo(configMap *corev1.ConfigMap, secret *corev1.Secret, destRepo string, ...) (chartDir string, err error)
- func DownloadGitRepo(configMap *corev1.ConfigMap, secret *corev1.Secret, destRepo string, ...) (commitID string, err error)
- func GetAccessToken(secret *corev1.Secret) string
- func GetConfigMap(client client.Client, parentNamespace string, ...) (configMap *corev1.ConfigMap, err error)
- func GetHelmRepoClient(parentNamespace string, configMap *corev1.ConfigMap, skipCertVerify bool) (rest.HTTPClient, error)
- func GetPassword(secret *corev1.Secret) string
- func GetSecret(client client.Client, parentNamespace string, ...) (secret *corev1.Secret, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadChart ¶
func DownloadChart(configMap *corev1.ConfigMap, secret *corev1.Secret, chartsDir string, s *appv1.HelmRelease) (chartDir string, err error)
DownloadChart downloads the charts
func DownloadChartFromGit ¶
func DownloadChartFromGit(configMap *corev1.ConfigMap, secret *corev1.Secret, destRepo string, s *appv1.HelmRelease) (chartDir string, err error)
DownloadChartFromGit downloads a chart into the charsDir
func DownloadChartFromHelmRepo ¶
func DownloadChartFromHelmRepo(configMap *corev1.ConfigMap, secret *corev1.Secret, destRepo string, s *appv1.HelmRelease) (chartDir string, err error)
DownloadChartFromHelmRepo downloads a chart into the chartDir
func DownloadGitRepo ¶
func DownloadGitRepo(configMap *corev1.ConfigMap, secret *corev1.Secret, destRepo string, urls []string, branch string, insecureSkipVerify bool) (commitID string, err error)
DownloadGitRepo downloads a git repo into the charsDir
func GetAccessToken ¶
GetAccessToken retrieve the accessToken
func GetConfigMap ¶
func GetConfigMap(client client.Client, parentNamespace string, configMapRef *corev1.ObjectReference) (configMap *corev1.ConfigMap, err error)
GetConfigMap search the config map containing the helm repo client configuration.
func GetHelmRepoClient ¶
func GetHelmRepoClient(parentNamespace string, configMap *corev1.ConfigMap, skipCertVerify bool) (rest.HTTPClient, error)
GetHelmRepoClient returns an *http.client to access the helm repo
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.