phases

package
v0.0.0-...-3bfe646 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 31 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAgentStart

func NewAgentStart(p fsm.ExecutorParams, operator ops.Operator) (fsm.PhaseExecutor, error)

NewAgentStart returns executor that starts an RPC agent on a node

func NewAgentStop

func NewAgentStop(p fsm.ExecutorParams, operator ops.Operator, packages pack.PackageService) (fsm.PhaseExecutor, error)

NewAgentStop returns executor that stops an RPC agent on a node

func NewChecks

func NewChecks(p fsm.ExecutorParams, operator ops.Operator, runner rpc.AgentRepository) (fsm.PhaseExecutor, error)

NewChecks returns executor that executes preflight checks on the joining node.

func NewElect

func NewElect(p fsm.ExecutorParams, operator ops.Operator) (fsm.PhaseExecutor, error)

NewElect returns executor that turns on leader election on the joined node

func NewEtcd

func NewEtcd(p fsm.ExecutorParams, operator ops.Operator, runner rpc.AgentRepository) (fsm.PhaseExecutor, error)

NewEtcd returns executor that adds a new etcd member to the cluster

func NewEtcdBackup

func NewEtcdBackup(p fsm.ExecutorParams, operator ops.Operator, runner rpc.AgentRepository) (fsm.PhaseExecutor, error)

NewEtcdBackup returns executor that backs up etcd data

func NewWaitK8s

func NewWaitK8s(p fsm.ExecutorParams, operator ops.Operator) (fsm.PhaseExecutor, error)

NewWaitK8s returns executor that waits for Kubernetes node to register

func NewWaitPlanet

func NewWaitPlanet(p fsm.ExecutorParams, operator ops.Operator) (fsm.PhaseExecutor, error)

NewWaitPlanet returns executor that waits for planet to start on the joining node

func NewWaitTeleport

func NewWaitTeleport(p fsm.ExecutorParams, operator ops.Operator) (fsm.PhaseExecutor, error)

NewWaitTeleport returns executor that waits for Teleport node to register

Types

This section is empty.

Jump to

Keyboard shortcuts

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