cli

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCLI

func RunCLI(args []string)

RunCLI runs a new instance of cfnctl

Types

type Apply

type Apply struct {
	AutoApprove  bool
	TemplatePath string
	ParamFile    string
}

func (*Apply) Run

func (a *Apply) Run() error

Run executes the function receives command

type Destroy

type Destroy struct {
	AutoApprove  bool
	TemplatePath string
}

func (*Destroy) Run

func (d *Destroy) Run() error

Run executes the function receives command

type Output

type Output struct{}

func (*Output) Run

func (o *Output) Run() error

Run executes the function receives command

type Plan

type Plan struct {
	TemplatePath string
	ParamFile    string
}

func (*Plan) Run

func (p *Plan) Run() error

Run executes the function receives command

type Runner

type Runner interface {
	Run() error
}

Runner interface simplifies command interaction

type Validate

type Validate struct {
	TemplatePath string
}

func (*Validate) Run

func (v *Validate) Run() error

Run executes the function receives command

type Version

type Version struct {
	Version string
}

func (*Version) Run

func (v *Version) Run() error

Run executes the function receives command

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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