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) }
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.