addons

package
v3.1.7 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 34 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateApplyOptions

func CreateApplyOptions(configFlags *genericclioptions.ConfigFlags, manifests []string, version string) (*apply.ApplyOptions, error)

func InstallAddons

func InstallAddons(kubeConf *common.KubeConf, addon *kubekeyapiv1alpha2.Addon, kubeConfig string) error

func InstallChart

func InstallChart(kubeConf *common.KubeConf, addon *kubekeyapiv1alpha2.Addon, kubeConfig string) error

func InstallYaml

func InstallYaml(manifests []string, namespace, kubeConfig, version string) error

func NewConfigFlags

func NewConfigFlags(kubeconfig, namespace string) *genericclioptions.ConfigFlags

func ToOptions

func ToOptions(flags *apply.ApplyFlags, manifests []string, version string) (*apply.ApplyOptions, error)

Types

type AddonModule added in v3.1.2

type AddonModule struct {
	common.KubeModule
	// contains filtered or unexported fields
}

func (*AddonModule) Init added in v3.1.2

func (s *AddonModule) Init()

type AddonsModule

type AddonsModule struct {
	common.KubeModule
	Skip bool
}

func (*AddonsModule) Init

func (a *AddonsModule) Init()

func (*AddonsModule) IsSkip

func (a *AddonsModule) IsSkip() bool

type Install

type Install struct {
	common.KubeAction
}

func (*Install) Execute

func (i *Install) Execute(runtime connector.Runtime) error

type InstallAddon added in v3.1.2

type InstallAddon struct {
	common.KubeAction
	// contains filtered or unexported fields
}

func (*InstallAddon) Execute added in v3.1.2

func (i *InstallAddon) Execute(runtime connector.Runtime) error

Jump to

Keyboard shortcuts

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