helm

package
v0.0.0-...-96b04c8 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSettings

func GetSettings() *cli.EnvSettings

func ListRepo

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

Types

type Client

type Client struct {
	Namespace string

	Architectures string
	// contains filtered or unexported fields
}

func NewClient

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

func (Client) GetRepoIP

func (c Client) GetRepoIP(arch string) (string, string, int, int, error)

func (Client) Install

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

func (Client) List

func (c Client) List() ([]*release.Release, error)

func (Client) SyncRepoCharts

func (c Client) SyncRepoCharts(arch string) error

func (Client) Uninstall

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

func (Client) Upgrade

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

type Config

type Config struct {
	OldNamespace  string
	Namespace     string
	Architectures string

	AuthenticationMode string
	Host               string
	BearerToken        string
	CertDataStr        string
	KeyDataStr         string
	ConfigContent      string
}

type Interface

type Interface interface {
	Install(name string, chartName string, chartVersion string, values map[string]interface{}) (*release.Release, error)
	Upgrade(name string, chartName string, chartVersion string, values map[string]interface{}) (*release.Release, error)
	Uninstall(name string) (*release.UninstallReleaseResponse, error)
	List() ([]*release.Release, error)
	GetRepoIP(arch string) (string, string, int, int, error)
	SyncRepoCharts(arch string) error
}

Jump to

Keyboard shortcuts

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