helm

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const OCIScheme = registry.OCIScheme

Variables

This section is empty.

Functions

func CAFileOpt added in v0.12.0

func CAFileOpt(caFile string) action.PullOpt

func ChartVersionOpt added in v0.12.0

func ChartVersionOpt(chartVersion string) action.PullOpt

func DestDirOpt added in v0.12.0

func DestDirOpt(outputDir string) action.PullOpt

func DoNotUntarOpt added in v0.12.0

func DoNotUntarOpt() action.PullOpt

func InsecureSkipTLSverifyOpt added in v0.12.0

func InsecureSkipTLSverifyOpt() action.PullOpt

func LoadChart added in v1.0.0

func LoadChart(chartPath string) (*chart.Chart, error)

func NewClient

func NewClient(out output.Output) (*Client, CleanupFunc)

func RepoURLOpt added in v0.12.0

func RepoURLOpt(repoURL string) action.PullOpt

func TempRepositoryCacheOpt added in v0.12.0

func TempRepositoryCacheOpt(tempDir string) action.PullOpt

func UsernamePasswordOpt added in v0.12.0

func UsernamePasswordOpt(username, password string) action.PullOpt

Types

type CleanupFunc

type CleanupFunc func() error

type Client

type Client struct {
	// contains filtered or unexported fields
}

func (*Client) CreateHelmRepoIndex

func (c *Client) CreateHelmRepoIndex(dir string) error

func (*Client) GetChartFromRepo

func (c *Client) GetChartFromRepo(
	outputDir, repoURL, chartName, chartVersion string,
	configOpts []ConfigOpt,
	extraPullOpts ...action.PullOpt,
) (string, error)

func (*Client) GetChartFromURL

func (c *Client) GetChartFromURL(outputDir, chartURL, workingDir string) (string, error)

func (*Client) PushHelmChartToOCIRegistry added in v1.0.0

func (c *Client) PushHelmChartToOCIRegistry(src, ociDest string) error

type ConfigOpt added in v1.0.0

type ConfigOpt func(*action.Configuration) error

func RegistryClientConfigOpt added in v1.0.0

func RegistryClientConfigOpt(opts ...registry.ClientOption) ConfigOpt

Jump to

Keyboard shortcuts

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