helm

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Settings = cli.New()
)

Functions

func InitializeHelmAction

func InitializeHelmAction(settings *cli.EnvSettings) (*action.Configuration, error)

func NewClientFromKubeConf

func NewClientFromKubeConf(options *KubeConfClientOptions, settings *cli.EnvSettings) (*action.Configuration, error)

Types

type Client

type Client struct {
	URL          string
	RepoName     string
	ChartName    string
	ReleaseName  string
	Namespace    string
	Args         map[string]string
	Settings     *cli.EnvSettings
	ActionConfig *action.Configuration
}

func (*Client) AddRepo

func (client *Client) AddRepo() (bool, error)

AddRepo adds repo with given name and url

func (*Client) InstallChart

func (client *Client) InstallChart(valueOpts *values.Options) (*string, error)

func (*Client) ListDeployedReleases

func (client *Client) ListDeployedReleases() ([]*release.Release, error)

func (*Client) StatusHelmChart

func (client *Client) StatusHelmChart(releaseName string) (status string, err error)

func (*Client) UninstallChart

func (client *Client) UninstallChart() (*string, error)

func (*Client) UpdateRepo

func (client *Client) UpdateRepo() error

func (*Client) UpgradeChart

func (client *Client) UpgradeChart(valueOpts *values.Options) (*string, error)

type Config

type Config struct {
	Repo       string
	Name       string
	URL        string
	Args       []string
	Cmd        *cobra.Command
	ValuesYaml string
	ValueOpts  *values.Options
}

type KubeConfClientOptions

type KubeConfClientOptions struct {
	*Options
	KubeContext string
	KubeConfig  []byte
}

type Options

type Options struct {
	Namespace        string
	RepositoryConfig string
	RepositoryCache  string
	Debug            bool
	Linting          bool
}

Jump to

Keyboard shortcuts

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