addons

package
v1.14.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 30 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
	},
}

Addons is a list of all addons

Functions

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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