Documentation
¶
Overview ¶
Package addons manages the default addons installations in the cluster. Addons are mostly Helm Charts, but can also be other resources as the project evolves. All of the AddOns must implement the AddOn interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOn ¶
type AddOn interface {
Apply(ctx context.Context) error
Version() (map[string]string, error)
HostPreflights() (*v1beta2.HostPreflightSpec, error)
}
AddOn is the interface that all addons must implement.
type Applier ¶
type Applier struct {
// contains filtered or unexported fields
}
Applier is an entity that applies (installs and updates) addons in the cluster.
func NewApplier ¶
NewApplier creates a new Applier instance with all addons registered.
func (*Applier) Apply ¶
Apply applies all registered addons to the cluster. Simply calls Apply on each addon.
func (*Applier) HostPreflights ¶ added in v0.6.0
func (a *Applier) HostPreflights() (*v1beta2.HostPreflightSpec, error)
HostPreflights reads all embedded host preflights from all add-ons and returns them merged in a single HostPreflightSpec.
type Option ¶ added in v0.6.0
type Option func(*Applier)
Option sets and option on an Applier reference.
func WithoutAddon ¶ added in v0.6.0
WithoutAddon disables an addon from being applied.
func WithoutPrompt ¶ added in v0.6.0
func WithoutPrompt() Option
WithoutPrompt disables the prompt before applying addons.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package adminconsole manages the Kots Admin Console helm chart installation or upgrade in the cluster.
|
Package adminconsole manages the Kots Admin Console helm chart installation or upgrade in the cluster. |
|
charts
Package charts embeds all static tgz files in this directory.
|
Package charts embeds all static tgz files in this directory. |
|
Package custom manages the installation of custom helm charts that have been embedded at the end of the helmvm binary.
|
Package custom manages the installation of custom helm charts that have been embedded at the end of the helmvm binary. |
|
Package openebs manages the OpenEBS storage provisioner helm chart installation or upgrade in the cluster.
|
Package openebs manages the OpenEBS storage provisioner helm chart installation or upgrade in the cluster. |
|
charts
Package charts embeds all static tgz files in this directory.
|
Package charts embeds all static tgz files in this directory. |