Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Task ¶
type Task struct {
Fn func(*state.State) error
Predicate func(*state.State) bool
Desciption string
ErrMsg string
Retries int
}
Task is a runnable task
type Tasks ¶
type Tasks []Task
func WithBinariesOnly ¶
WithBinariesOnly will prepend passed tasks with tasks WithHostnameOS() and append install prerequisite binaries (docker, kubeadm, kubelet, etc...) on all hosts
func WithClusterStatus ¶
func WithFullInstall ¶
WithFullInstall with install binaries (using WithBinariesOnly) and orchestrate complete cluster init
func WithHostnameOS ¶
WithHostnameOS will prepend passed tasks with 2 basic tasks:
- detect OS on all cluster hosts
- detect hostnames on all cluster hosts
func WithProbes ¶
WithProbes will run different probes over the defined cluster
func WithRefreshResources ¶
func WithUpgrade ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.