addons

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ParamsEnvPrefix = "env:"
)

Variables

This section is empty.

Functions

func DeleteAddonByName added in v1.4.0

func DeleteAddonByName(s *state.State, addonName string) error

DeleteAddonByName deletes an addon by its name. It's required to keep the old addon manifest for this to work, however, it's enough to keep only metadata (i.e. spec is not needed). If the addon is not found in the addons directory, or if the addons are not enabled, it will search for the embedded addons.

func EmbeddedAddonsOnly added in v1.4.0

func EmbeddedAddonsOnly(addons []kubeoneapi.Addon) (bool, error)

EmbeddedAddonsOnly checks if all specified addons are embedded addons

func Ensure

func Ensure(s *state.State) error

func EnsureAddonByName added in v1.3.0

func EnsureAddonByName(s *state.State, addonName string) error

EnsureAddonByName deploys an addon by its name. If the addon is not found in the addons directory, or if the addons are not enabled, it will search for the embedded addons.

func EnsureUserAddons added in v1.3.0

func EnsureUserAddons(s *state.State) error

EnsureUserAddons deploys addons that are provided by the user and that are not embedded.

func List added in v1.4.0

func List(s *state.State, outputFormat string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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