playbook

package
v0.0.0-...-2c7a424 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNodeSetNotFound = errors.New("node set not found")
)

Functions

This section is empty.

Types

type NodeSet

type NodeSet struct {
	UID     string
	Workers []*worker.Worker
}

A NodeSet has a set of worker nodes that are deployed together. Preferably in one pod.

type Playbook

type Playbook interface {
	Name() string
	RunWorker(*worker.Worker) error
	Setup() error
	NodeSets() []*NodeSet
}

type SetupOpts

type SetupOpts struct {
	NodeSets []*NodeSet
}

Jump to

Keyboard shortcuts

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