helm

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(log *zap.Logger, config Config) Client

func (Client) PackageChart

func (c Client) PackageChart(chartPath string) (string, *chart.Chart, error)

PackageChart package given chart in current working directory (<name>-<version>.tgz) and return packaged chart path and metadata

func (Client) PackageCharts

func (c Client) PackageCharts(chartsDir string) (charts map[string]*chart.Chart, cleanup func(), err error)

func (Client) UpdateIndex

func (c Client) UpdateIndex(indexFilePath, archiveChartPath string, chart *chart.Chart, downloadUrl string) (bool, error)

UpdateIndex at the specified location with given chart. Base URL is url without chart name.

type Config added in v0.0.2

type Config struct {
	Sign           bool
	Key            string
	Keyring        string
	PassphraseFile string
}

func (Config) String added in v0.0.2

func (c Config) String() string

Jump to

Keyboard shortcuts

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