kubeone

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogLevelInfo  = "info"
	LogLevelWarn  = "warning"
	LogLevelError = "error"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONLog added in v0.4.2

type JSONLog struct {
	Level   string `json:"level"`
	Message string `json:"msg"`
	Time    string `json:"time"`
}

type JSONLogs added in v0.4.2

type JSONLogs []JSONLog

type Kubeone

type Kubeone struct {
	// ConfigDirectory is the directory where the generated kubeone.yaml will be located.
	ConfigDirectory string
	// SpawnProcessLimit represents a synchronization channel which limits the number of spawned kubeone
	// processes. This values must be non-nil and be buffered, where the capacity indicates
	// the limit.
	SpawnProcessLimit chan struct{}
}

func (*Kubeone) Apply

func (k *Kubeone) Apply(prefix string) error

Apply will run `kubeone apply -m kubeone.yaml -y` in the ConfigDirectory. Returns nil if successful, error otherwise.

Jump to

Keyboard shortcuts

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