Documentation
¶
Index ¶
- type Config
- type Helm
- func (h *Helm) Install(ctx context.Context, chart string, values map[string]interface{}, name string, ...) (string, error)
- func (h *Helm) List(ctx context.Context, namespace string, allNamespaces bool) (string, error)
- func (h *Helm) Uninstall(ctx context.Context, name string, namespace string) (string, error)
- type Kubernetes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.0.60
type Config struct {
AllowedRegistries []string `toml:"allowed_registries,omitempty"`
StorageDriver string `toml:"storage_driver,omitempty"`
}
Config holds Helm toolset configuration
type Helm ¶
type Helm struct {
// contains filtered or unexported fields
}
func NewHelm ¶
func NewHelm(kubernetes Kubernetes, config *Config) *Helm
NewHelm creates a new Helm instance
type Kubernetes ¶
type Kubernetes interface {
genericclioptions.RESTClientGetter
NamespaceOrDefault(namespace string) string
}
Click to show internal directories.
Click to hide internal directories.