cli

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2019 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deploy

func Deploy(c context.Context, globalOpts GlobalOptions, deployOpts DeployOptions) (err error)

func Entry

func Entry(c context.Context, args []string) error

func Update

func Update(c context.Context, globalOpts GlobalOptions, updateOpts UpdateOptions) (err error)

Types

type AWSOptions

type AWSOptions struct {
	Profile  string
	Region   string
	Endpoint string
	// contains filtered or unexported fields
}

func (*AWSOptions) CloudFormationClient

func (awsOpts *AWSOptions) CloudFormationClient(region string) (cloudformationiface.CloudFormationAPI, error)

func (*AWSOptions) STSClient

func (awsOpts *AWSOptions) STSClient() (stsiface.STSAPI, error)

func (*AWSOptions) Session

func (awsOpts *AWSOptions) Session() (*session.Session, error)

type DeployOptions

type DeployOptions struct {
	Yes          bool
	ManifestFile string
	Stack        string
	Tenant       string
	ShowDiff     bool
}

func ParseDeployOptions

func ParseDeployOptions(args []string) DeployOptions

type GlobalOptions

type GlobalOptions struct {
	AWS     AWSOptions
	Color   bool
	Version bool
	// contains filtered or unexported fields
}

func ParseGlobalOptions

func ParseGlobalOptions(args []string) GlobalOptions

type UpdateOptions

type UpdateOptions struct {
	Parameters     []string
	ParameterFiles []string
	Yes            bool
	StackName      string
	TemplateFile   string
	ShowDiff       bool
}

func ParseUpdateOptions

func ParseUpdateOptions(args []string) UpdateOptions

Jump to

Keyboard shortcuts

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