kind: sigs.k8s.io/kind/pkg/internal/cluster/create/actions Index | Files | Directories

package actions

import "sigs.k8s.io/kind/pkg/internal/cluster/create/actions"

Index

Package Files

action.go

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
    ClusterContext *context.Context
    // contains filtered or unexported fields
}

ActionContext is data supplied to all actions

func NewActionContext Uses

func NewActionContext(
    logger log.Logger,
    cfg *config.Cluster,
    ctx *context.Context,
    status *cli.Status,
) *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

Directories

PathSynopsis
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 2019-11-11. Refresh now. Tools for package owners.