Documentation ¶
Index ¶
- Constants
- func DeleteAddonByName(s *state.State, addonName string) error
- func EmbeddedAddonsOnly(addons *kubeoneapi.Addons) (bool, error)
- func Ensure(s *state.State) error
- func EnsureAddonByName(s *state.State, addonName string) error
- func EnsureUserAddons(s *state.State) error
- func List(s *state.State, outputFormat string) error
Constants ¶
View Source
const (
ParamsEnvPrefix = "env:"
)
Variables ¶
This section is empty.
Functions ¶
func DeleteAddonByName ¶ added in v1.4.0
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.Addons) (bool, error)
EmbeddedAddonsOnly checks if all specified addons are embedded addons
func EnsureAddonByName ¶ added in v1.3.0
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
EnsureUserAddons deploys addons that are provided by the user and that are not embedded.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.