addons

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(a []Addon) error

Types

type Addon

type Addon interface {
	Name() string
	Enabled() bool
	Manage(*program.Context, *kubernetes.Provider, *manager.ClusterManager) error
	Supported(string) bool
	Helm() *helm.Config
	SetHelm(*helm.Config)
}

func New

func New(addons *Config) []Addon

func WithHelmInited

func WithHelmInited(addon Addon) Addon

type Config

type Config struct {
	// CCM defines configuration [hetzner-cloud-controller-manager](https://github.com/hetznercloud/hcloud-cloud-controller-manager).
	CCM *ccm.Config
	// K3SSystemUpgrader defines configuration for [system-upgrade-controller](https://github.com/rancher/system-upgrade-controller).
	K3SSystemUpgrader *k3supgrader.Config `json:"k3s-upgrade-controller" yaml:"k3s-upgrade-controller"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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