providers

package
v0.195.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HelmInstaller

type HelmInstaller interface {
	// InstallChart takes a releaseName's name and a chart name and installs it. If namespace is not empty
	// it will install into that namespace and create the namespace. Version is required.
	InstallChart(ctx context.Context, opts InstallChartOpts) error
}

HelmInstaller deals with setting up Helm related resources.

type InstallChartOpts

type InstallChartOpts struct {
	ChartName       string
	CreateNamespace bool
	Namespace       string
	ReleaseName     string
	Values          map[string]interface{}
	Version         string
	RegistryClient  *registry.Client
}

InstallChartOpts defines parameters for InstallChart.

type URLGetter

type URLGetter interface {
	// Get file content by url string
	Get(url string, options ...getter.Option) (*bytes.Buffer, error)
}

URLGetter is an interface to support GET to the specified URL.

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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