helmchart

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Install(ctx context.Context, spec Spec, fn func(install *action.Install)) error
	Uninstall(ctx context.Context, release string, installFunc func(install *action.Uninstall)) error
	IsInstalled(ctx context.Context, release string, installFunc func(install *action.Status)) (bool, error)
	GetReleaseInfo(ctx context.Context, release string, installFunc func(install *action.Status)) (*release.Info, error)
}

func NewClient

func NewClient(_ context.Context, opts ...ClientOption) (Client, error)

type ClientBuilder

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

type ClientOption

type ClientOption func(*ClientBuilder)

func WithRESTClientGetter

func WithRESTClientGetter(restClientGetter genericclioptions.RESTClientGetter) ClientOption

func WithRegistryClient

func WithRegistryClient(client *registry.Client) ClientOption

func WithReleaseStorage

func WithReleaseStorage(releaseStorage *storage.Storage) ClientOption

type Spec

type Spec interface {
	WithValuesFileTemplate(valuesTemplatePath string) Spec
	With(key string, value interface{}) Spec
	WithValues(entries map[string]interface{}) Spec
	// contains filtered or unexported methods
}

func LoadPackagedChart

func LoadPackagedChart(chartPath string) Spec

LoadPackagedChart initializes a Spec struct from a packaged chart spec. The path to the chart can reference to any of the supported filesystem. It returns a pointer to a Spec.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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