config

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetArgsList added in v0.4.0

func GetArgsList(argsMap map[string]string, extraArgs []string) []string

Types

type Agent

type Agent struct {
	NodeName            string
	ClientKubeletCert   string
	ClientKubeletKey    string
	ClientKubeProxyCert string
	ClientKubeProxyKey  string
	ServingKubeletCert  string
	ServingKubeletKey   string
	ClusterCIDR         net.IPNet
	ClusterDNS          net.IP
	ClusterDomain       string
	ResolvConf          string
	RootDir             string
	KubeConfigNode      string
	KubeConfigKubelet   string
	KubeConfigKubeProxy string
	NodeIP              string
	RuntimeSocket       string
	ListenAddress       string
	ClientCA            string
	CNIBinDir           string
	CNIConfDir          string
	ExtraKubeletArgs    []string
	ExtraKubeProxyArgs  []string
	PauseImage          string
	CNIPlugin           bool
	NodeTaints          []string
	NodeLabels          []string
}

type ArgString

type ArgString []string

func (ArgString) String

func (a ArgString) String() string

type Containerd

type Containerd struct {
	Address  string
	Log      string
	Root     string
	State    string
	Config   string
	Opt      string
	Template string
}

type Control

type Control struct {
	AdvertisePort         int
	AdvertiseIP           string
	ListenPort            int
	HTTPSPort             int
	ClusterSecret         string
	ClusterIPRange        *net.IPNet
	ServiceIPRange        *net.IPNet
	ClusterDNS            net.IP
	ClusterDomain         string
	NoCoreDNS             bool
	KubeConfigOutput      string
	KubeConfigMode        string
	DataDir               string
	Skips                 []string
	BootstrapType         string
	StorageBackend        string
	StorageEndpoint       string
	StorageCAFile         string
	StorageCertFile       string
	StorageKeyFile        string
	NoScheduler           bool
	ExtraAPIArgs          []string
	ExtraControllerArgs   []string
	ExtraSchedulerAPIArgs []string
	NoLeaderElect         bool

	Runtime *ControlRuntime `json:"-"`
}

type ControlRuntime

type ControlRuntime struct {
	ClientKubeAPICert string
	ClientKubeAPIKey  string
	ClientCA          string
	ClientCAKey       string
	ServerCA          string
	ServerCAKey       string
	ServiceKey        string
	PasswdFile        string
	NodePasswdFile    string

	KubeConfigAdmin      string
	KubeConfigController string
	KubeConfigScheduler  string
	KubeConfigAPIServer  string

	ServingKubeAPICert string
	ServingKubeAPIKey  string
	ClientToken        string
	NodeToken          string
	Handler            http.Handler
	Tunnel             http.Handler
	Authenticator      authenticator.Request

	RequestHeaderCA     string
	RequestHeaderCAKey  string
	ClientAuthProxyCert string
	ClientAuthProxyKey  string

	ClientAdminCert      string
	ClientAdminKey       string
	ClientControllerCert string
	ClientControllerKey  string
	ClientSchedulerCert  string
	ClientSchedulerKey   string
	ClientKubeProxyCert  string
	ClientKubeProxyKey   string

	ServingKubeletKey string
	ClientKubeletKey  string
}

type Node

type Node struct {
	Docker                   bool
	ContainerRuntimeEndpoint string
	NoFlannel                bool
	FlannelConf              string
	FlannelIface             *net.Interface
	Containerd               Containerd
	Images                   string
	AgentConfig              Agent
	CACerts                  []byte
	ServerAddress            string
	Certificate              *tls.Certificate
}

Jump to

Keyboard shortcuts

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