kind: Index | Files | Directories

package actions

import ""


Package Files


type Action Uses

type Action interface {
    Execute(ctx *ActionContext) error

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

type ActionContext Uses

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

ActionContext is data supplied to all actions

func NewActionContext Uses

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

NewActionContext returns a new ActionContext

func (*ActionContext) Nodes Uses

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

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


configPackage config implements the kubeadm config action
installcniPackage installcni implements the install CNI action
installstoragePackage installstorage implements the an action to isntall a default storageclass
kubeadminitPackage kubeadminit implements the kubeadm init action
kubeadmjoinPackage kubeadmjoin implements the kubeadm join action
loadbalancerPackage loadbalancer implements the load balancer configuration action
waitforreadyPackage waitforready implements the wait for ready action

Package actions imports 6 packages (graph) and is imported by 8 packages. Updated 2020-07-28. Refresh now. Tools for package owners.