stack

package
v9.0.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2018 License: MIT Imports: 18 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSStack

type AWSStack struct {
	Config *AWSStackConfig

	LambdaZipFileLocation   string
	BuildScriptFileLocation string
	// contains filtered or unexported fields
}

func NewAWSStack

func NewAWSStack(config *AWSStackConfig) (*AWSStack, error)

func (*AWSStack) Apply

func (s *AWSStack) Apply() error

func (*AWSStack) Destroy

func (s *AWSStack) Destroy() error

type AWSStackConfig

type AWSStackConfig struct {
	Name            string
	Region          string
	Device          string
	AMI             string
	SpotPrice       string
	SSHKey          string
	PreventShutdown bool
	Version         string
	Schedule        string
	Force           bool
}

type TempDir

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

func NewTempDir

func NewTempDir(name string) (*TempDir, error)

func (*TempDir) Cleanup

func (tempDir *TempDir) Cleanup() error

func (*TempDir) Path

func (tempDir *TempDir) Path(filename string) string

func (*TempDir) Save

func (tempDir *TempDir) Save(filename string, contents []byte) (string, error)

Jump to

Keyboard shortcuts

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