helm

package
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2024 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSettings

func GetSettings(cluster string) *cli.EnvSettings

Types

type Client

type Client struct {
	Namespace string

	Architectures string
	ClusterName   string
	// contains filtered or unexported fields
}

func NewClient

func NewClient(config *Config) (*Client, error)

func (Client) AddRepo

func (c Client) AddRepo(name string, url string, username string, password string) error

func (Client) GetChartDetail

func (c Client) GetChartDetail(repoName, name, version string) (*chart.Chart, error)

func (Client) GetCharts

func (c Client) GetCharts(repoName, name string) ([]*search.Result, error)

func (Client) GetDetail

func (c Client) GetDetail(name string) (*release.Release, error)

func (Client) GetRepo

func (c Client) GetRepo(name string) (*repo.Entry, error)

func (Client) Install

func (c Client) Install(name, repoName, chartName, chartVersion string, values map[string]interface{}) (*release.Release, error)

func (Client) List

func (c Client) List(limit, offset int, pattern string) ([]*release.Release, int, error)

func (Client) ListCharts

func (c Client) ListCharts(repoName, pattern string) ([]*search.Result, error)

func (Client) ListRepo

func (c Client) ListRepo() ([]*repo.Entry, error)

func (Client) RemoveRepo

func (c Client) RemoveRepo(name string) (bool, error)

func (Client) Uninstall

func (c Client) Uninstall(name string) (*release.UninstallReleaseResponse, error)

func (Client) UpdateRepo added in v1.3.0

func (c Client) UpdateRepo(repoName string) error

func (Client) Upgrade

func (c Client) Upgrade(name, repoName, chartName, chartVersion string, values map[string]interface{}) (*release.Release, error)

type Config

type Config struct {
	Host          string
	BearerToken   string
	OldNamespace  string
	Namespace     string
	Architectures string
	ClusterName   string
	KubeConfig    *rest.Config
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL