actions

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action interface {
	Execute(ctx *ActionContext) error
}

Action defines a step of bringing up a kind cluster after initial node container creation

type ActionContext

type ActionContext struct {
	Logger   log.Logger
	Status   *cli.Status
	Config   *config.Cluster
	Provider providers.Provider
	// contains filtered or unexported fields
}

ActionContext is data supplied to all actions

func NewActionContext

func NewActionContext(
	logger log.Logger,
	status *cli.Status,
	provider providers.Provider,
	cfg *config.Cluster,
) *ActionContext

NewActionContext returns a new ActionContext

func (*ActionContext) Nodes

func (ac *ActionContext) Nodes() ([]nodes.Node, error)

Nodes returns the list of cluster nodes, this is a cached call

Directories

Path Synopsis
Package config implements the kubeadm config action
Package config implements the kubeadm config action
Package installcni implements the install CNI action
Package installcni implements the install CNI action
Package installstorage implements the an action to install a default storageclass
Package installstorage implements the an action to install a default storageclass
Package kubeadminit implements the kubeadm init action
Package kubeadminit implements the kubeadm init action
Package kubeadmjoin implements the kubeadm join action
Package kubeadmjoin implements the kubeadm join action
Package loadbalancer implements the load balancer configuration action
Package loadbalancer implements the load balancer configuration action
Package waitforready implements the wait for ready action
Package waitforready implements the wait for ready action

Jump to

Keyboard shortcuts

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