kubeadmargs

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIServer

type APIServer struct {
	ExtraArgs map[string]string
}

APIServer arguments

func (*APIServer) AppendMapStringStringExtraArg

func (apiserver *APIServer) AppendMapStringStringExtraArg(k, v string)

AppendMapStringStringExtraArg appends to CLI mapStringString additional flag

type Args

type Args struct {
	APIServer    APIServer
	FeatureGates map[string]bool
}

Args is a wrapper abstract type on top of kubeadm

func New

func New() *Args

New init empty Args

func NewFrom

func NewFrom(apiServerExtraArgs map[string]string) *Args

NewFrom constructor for Args, based on provided apiserver extraargs

Jump to

Keyboard shortcuts

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