helm

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChartFileName

func ChartFileName(chart string) string

Types

type ChartRegistryDownloader

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

func NewChartRegistryDownloader

func NewChartRegistryDownloader(client Client, dstFolder string) *ChartRegistryDownloader

func (*ChartRegistryDownloader) Download

func (d *ChartRegistryDownloader) Download(ctx context.Context, charts ...string) error

type ChartRegistryImporter

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

func NewChartRegistryImporter

func NewChartRegistryImporter(client Client, srcFolder, registry, username, password string) *ChartRegistryImporter

func (*ChartRegistryImporter) Import

func (i *ChartRegistryImporter) Import(ctx context.Context, charts ...string) error

type Client

type Client interface {
	RegistryLogin(ctx context.Context, registry, username, password string) error
	PushChart(ctx context.Context, chart, registry string) error
	SaveChart(ctx context.Context, ociURI, version, folder string) error
}

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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