Documentation ¶
Index ¶
- Variables
- type Helm
- func (h *Helm) AddRepo(name, url string)
- func (h *Helm) Install(chartPath string) (*release.Release, error)
- func (h *Helm) InstallNamed(releaseName, chartPath string) (*release.Release, error)
- func (h *Helm) InstallNamespaced(repoPath, namespace string, createNamespace bool) (*release.Release, error)
- func (h *Helm) InstallNamespacedWithRelease(repoPath, releaseName, namespace string, createNamespace bool) (*release.Release, error)
- func (h *Helm) InstallWithValues(chartPath string, values map[string]interface{}) (*release.Release, error)
- func (h *Helm) List() ([]*release.Release, error)
- func (h *Helm) SearchRepo(name string) bool
- func (h *Helm) UpdateRepos() error
- type HelmClient
Constants ¶
This section is empty.
Variables ¶
View Source
var CliSettings = cli.New()
Functions ¶
This section is empty.
Types ¶
type Helm ¶
type Helm struct { Namespace string ActionConfig *action.Configuration }
func (*Helm) InstallNamed ¶
InstallNamed a named helm chart
func (*Helm) InstallNamespaced ¶
func (h *Helm) InstallNamespaced(repoPath, namespace string, createNamespace bool) (*release.Release, error)
InstallNamespaced installs a namespaced helm chart
func (*Helm) InstallNamespacedWithRelease ¶ added in v0.2.1
func (h *Helm) InstallNamespacedWithRelease(repoPath, releaseName, namespace string, createNamespace bool) (*release.Release, error)
InstallNamespacedWithRelease installs a namespaced helm chart
func (*Helm) InstallWithValues ¶
func (h *Helm) InstallWithValues(chartPath string, values map[string]interface{}) (*release.Release, error)
InstallWithValues a specific Helm chart with value overwrite
func (*Helm) SearchRepo ¶ added in v0.2.1
func (*Helm) UpdateRepos ¶ added in v0.2.1
type HelmClient ¶
type HelmClient interface { Install(chartPath string) (*release.Release, error) InstallNamed(releaseName, chartPath string) (*release.Release, error) InstallWithValues(chartPath string, values map[string]interface{}) (*release.Release, error) InstallNamespaced(chartPath, namespace string, createNamespace bool) (*release.Release, error) InstallNamespacedWithRelease(chartPath, releaseName, namespace string, createNamespace bool) (*release.Release, error) List() ([]*release.Release, error) AddRepo(name, url string) UpdateRepos() error SearchRepo(name string) bool }
func NewHelmClient ¶
func NewHelmClient(kubeConfig []byte, ns string) (HelmClient, error)
Click to show internal directories.
Click to hide internal directories.