ready

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(out io.Writer, role Role) *cobra.Command

Types

type Ready

type Ready struct {
	// contains filtered or unexported fields
}

func (*Ready) RegisterFlags

func (r *Ready) RegisterFlags(flags *pflag.FlagSet)

func (*Ready) Run

func (r *Ready) Run(out io.Writer) error

Run Register installed machine at Pipeline. Optional step. Skipped if no Pipeline credentials are provided.

func (*Ready) Short

func (r *Ready) Short() string

func (*Ready) Use

func (r *Ready) Use() string

func (*Ready) Validate

func (r *Ready) Validate(cmd *cobra.Command) error

type Role

type Role string
const (
	RoleMaster Role = "master"
	RoleWorker Role = "worker"
)

Jump to

Keyboard shortcuts

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