addons

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: Apache-2.0 Imports: 43 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Addons = []*Addon{
	{
		// contains filtered or unexported fields
	},

	{
		// contains filtered or unexported fields
	},

	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
}

Addons is a list of all addons

View Source
var ErrSkipThisAddon = errors.New("skipping this addon")

ErrSkipThisAddon is a special error that tells us to not error out, but to also not mark the addon as enabled

View Source
var Force = false

Force is used to override checks for addons

View Source
var Refresh = false

Refresh is used to refresh pods in specific cases when an addon is enabled Currently only used for gcp-auth

Functions

func Deprecations added in v1.28.0

func Deprecations(name string) (bool, string, string)

Deprecations if the selected addon is deprecated return the replacement addon, otherwise return the passed in addon

func EnableOrDisableAddon added in v1.18.0

func EnableOrDisableAddon(cc *config.ClusterConfig, name string, val string) error

EnableOrDisableAddon updates addon status executing any commands necessary

func IsRuntimeContainerd added in v1.8.2

func IsRuntimeContainerd(cc *config.ClusterConfig, _, _ string) error

IsRuntimeContainerd is a validator which returns an error if the current runtime is not containerd

func IsVolumesnapshotsEnabled added in v1.13.1

func IsVolumesnapshotsEnabled(cc *config.ClusterConfig, _, value string) error

IsVolumesnapshotsEnabled is a validator that prints out a warning if the volumesnapshots addon is disabled (does not return any errors!)

func RunCallbacks added in v1.10.0

func RunCallbacks(cc *config.ClusterConfig, name string, value string) error

RunCallbacks runs all actions associated to an addon, but does not set it (thread-safe)

func Set

func Set(cc *config.ClusterConfig, name string, value string) error

Set sets a value in the config (not threadsafe)

func SetAndSave added in v1.10.0

func SetAndSave(profile string, name string, value string) error

SetAndSave sets a value and saves the config

func SetBool

func SetBool(cc *config.ClusterConfig, name string, val string) error

SetBool sets a bool value in the config (not threadsafe)

func Start

func Start(wg *sync.WaitGroup, cc *config.ClusterConfig, toEnable map[string]bool, additional []string)

Start enables the default addons for a profile, plus any additional

Types

type Addon

type Addon struct {
	// contains filtered or unexported fields
}

Addon represents an addon

Jump to

Keyboard shortcuts

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