action

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DiffModeLive is a subcommand name for diffing manifests in plan with actually running manifests in k8s.
	DiffModeLive = "live"

	// DiffModeLocal is a subcommand name for diffing manifests in two plans.
	DiffModeLocal = "local"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Action added in v0.16.6

type Action interface {
	Run() error
	Cmd() *cli.Command
}

Action is an interface for all actions.

type Build

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

Build is struct for running 'build' CLI command.

func (*Build) Cmd

func (i *Build) Cmd() *cli.Command

Cmd returns 'build' *cli.Command.

func (*Build) Run

func (i *Build) Run() error

Run is main function for 'build' CLI command.

type Diff

type Diff struct {
	Wide       int
	ShowSecret bool
}

Diff is struct for running 'diff' commands.

func (*Diff) Cmd

func (d *Diff) Cmd() *cli.Command

Cmd returns 'diff' *cli.Command.

type DiffLive added in v0.16.0

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

DiffLive is struct for running 'diff live' command.

func (*DiffLive) Cmd added in v0.16.0

func (d *DiffLive) Cmd() *cli.Command

Cmd returns 'diff live' *cli.Command.

func (*DiffLive) Run added in v0.16.0

func (d *DiffLive) Run() error

Run is main function for 'diff live' command.

type DiffLocalPlan added in v0.16.0

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

DiffLocalPlan is struct for running 'diff plan' command.

func (*DiffLocalPlan) Cmd added in v0.16.0

func (d *DiffLocalPlan) Cmd() *cli.Command

Cmd returns 'diff plan' *cli.Command.

func (*DiffLocalPlan) Run added in v0.16.0

func (d *DiffLocalPlan) Run() error

Run is main function for 'diff plan' command.

type Down

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

Down is struct for running 'down' command.

func (*Down) Cmd

func (i *Down) Cmd() *cli.Command

Cmd returns 'down' *cli.Command.

func (*Down) Run

func (i *Down) Run() error

Run is main function for 'down' command.

type List

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

List is struct for running 'list' command.

func (*List) Cmd

func (l *List) Cmd() *cli.Command

Cmd returns 'list' *cli.Command.

func (*List) Run

func (l *List) Run() error

Run is main function for 'list' command.

type Rollback

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

Rollback is struct for running 'rollback' command.

func (*Rollback) Cmd

func (i *Rollback) Cmd() *cli.Command

Cmd returns 'rollback' *cli.Command.

func (*Rollback) Run

func (i *Rollback) Run() error

Run is main function for 'rollback' command.

type Status

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

Status is struct for running 'status' command.

func (*Status) Cmd

func (l *Status) Cmd() *cli.Command

Cmd returns 'status' *cli.Command.

func (*Status) Run

func (l *Status) Run() error

Run is main function for 'status' command.

type Up

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

Up is struct for running 'up' command.

func (*Up) Cmd

func (i *Up) Cmd() *cli.Command

Cmd returns 'up' *cli.Command.

func (*Up) Run

func (i *Up) Run() error

Run is main function for 'up' command.

type Validate

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

Validate is struct for running 'validate' command.

func (*Validate) Cmd

func (l *Validate) Cmd() *cli.Command

Cmd returns 'validate' *cli.Command.

func (*Validate) Run

func (l *Validate) Run() error

Run is main function for 'validate' command.

type Yml

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

Yml is struct for running 'yml' command.

func (*Yml) Cmd

func (i *Yml) Cmd() *cli.Command

Cmd returns 'yml' *cli.Command.

func (*Yml) Run

func (i *Yml) Run() error

Run is main function for 'yml' command.

Jump to

Keyboard shortcuts

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