addons

package
v3.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 31 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 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

Jump to

Keyboard shortcuts

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