stack

package
v9.0.14+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2018 License: MIT Imports: 19 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
	Email           string
	InstanceType    string
	InstanceRegions string
	SkipPrice       string
	MaxPrice        string
	SSHKey          string
	PreventShutdown bool
	Version         string
	Schedule        string
	Force           bool
	ChromiumVersion string
	RepoPatches     *RepoPatches
	RepoPrebuilts   *RepoPrebuilts
	HostsFile       string
	EncryptedKeys   bool
	AMI             string
}

type RepoPatches

type RepoPatches []struct {
	Repo    string
	Patches []string
	Scripts []string
}

type RepoPrebuilts

type RepoPrebuilts []struct {
	Repo    string
	Modules []string
}

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