actions

package
v0.0.0-...-ff55af6 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: Apache-2.0 Imports: 3 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
}

type ActionContext

type ActionContext struct {
	Status  *cli.Status
	Cluster *createtypes.ClusterOptions
	Server  *grpc.Server
	Port    string
}

ActionContext is data supplied to all actions

func NewActionContext

func NewActionContext(
	cluster *createtypes.ClusterOptions,
	server *grpc.Server,
	port string,
	status *cli.Status,
) *ActionContext

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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