Documentation ¶
Index ¶
- Variables
- func EnableOrDisableAddon(cc *config.ClusterConfig, name string, val string) error
- func IsRuntimeContainerd(cc *config.ClusterConfig, _, _ string) error
- func IsVolumesnapshotsEnabled(cc *config.ClusterConfig, _, value string) error
- func RunCallbacks(cc *config.ClusterConfig, name string, value string) error
- func Set(cc *config.ClusterConfig, name string, value string) error
- func SetAndSave(profile string, name string, value string) error
- func SetBool(cc *config.ClusterConfig, name string, val string) error
- func Start(wg *sync.WaitGroup, cc *config.ClusterConfig, toEnable map[string]bool, ...)
- type Addon
Constants ¶
This section is empty.
Variables ¶
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 }, }
Addons is a list of all addons
var Force bool = false
Force is used to override checks for addons
var Refresh bool = false
Refresh is used to refresh pods in specific cases when an addon is enabled Currently only used for gcp-auth
Functions ¶
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
SetAndSave sets a value and saves the config