cluster

package
v0.4.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIServer added in v0.3.2

type APIServer interface {
	ExtraArgs() map[string]string
}

APIServer defines the requirements for a config that pertains to apiserver related options.

type AdminKubeconfig added in v0.4.0

type AdminKubeconfig interface {
	CertLifetime() time.Duration
}

AdminKubeconfig defines settings for admin kubeconfig.

type CNI

type CNI interface {
	Name() string
	URLs() []string
}

CNI defines the requirements for a config that pertains to Kubernetes cni.

type Cluster

type Cluster interface {
	Name() string
	APIServer() APIServer
	ControllerManager() ControllerManager
	Scheduler() Scheduler
	Endpoint() *url.URL
	Token() Token
	CertSANs() []string
	SetCertSANs([]string)
	CA() *x509.PEMEncodedCertificateAndKey
	AESCBCEncryptionSecret() string
	Config(machine.Type) (string, error)
	Etcd() Etcd
	Network() Network
	LocalAPIServerPort() int
	PodCheckpointer() PodCheckpointer
	CoreDNS() CoreDNS
	ExtraManifestURLs() []string
	AdminKubeconfig() AdminKubeconfig
}

Cluster defines the requirements for a config that pertains to cluster related options.

type ControllerManager added in v0.3.2

type ControllerManager interface {
	ExtraArgs() map[string]string
}

ControllerManager defines the requirements for a config that pertains to controller manager related options.

type CoreDNS added in v0.4.0

type CoreDNS interface {
	Image() string
}

CoreDNS defines the requirements for a config that pertains to bootkube coredns options.

type Etcd

type Etcd interface {
	Image() string
	CA() *x509.PEMEncodedCertificateAndKey
	ExtraArgs() map[string]string
}

Etcd defines the requirements for a config that pertains to etcd related options.

type Network

type Network interface {
	CNI() CNI
	PodCIDR() string
	ServiceCIDR() string
	DNSDomain() string
}

Network defines the requirements for a config that pertains to cluster network options.

type PodCheckpointer added in v0.4.0

type PodCheckpointer interface {
	Image() string
}

PodCheckpointer defines the requirements for a config that pertains to bootkube pod-checkpointer options.

type Scheduler added in v0.3.2

type Scheduler interface {
	ExtraArgs() map[string]string
}

Scheduler defines the requirements for a config that pertains to scheduler related options.

type Token

type Token interface {
	ID() string
	Secret() string
}

Token defines the requirements for a config that pertains to Kubernetes bootstrap token.

Jump to

Keyboard shortcuts

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