stack

package
v9.0.24+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2019 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
	IgnoreVersionChecks    bool
	ChromiumVersion        string
	CustomPatches          *CustomPatches
	CustomScripts          *CustomScripts
	CustomPrebuilts        *CustomPrebuilts
	CustomManifestRemotes  *CustomManifestRemotes
	CustomManifestProjects *CustomManifestProjects
	HostsFile              string
	EncryptedKeys          bool
	AMI                    string
}

type CustomManifestProjects

type CustomManifestProjects []struct {
	Path    string
	Name    string
	Remote  string
	Modules []string
}

type CustomManifestRemotes

type CustomManifestRemotes []struct {
	Name     string
	Fetch    string
	Revision string
}

type CustomPatches

type CustomPatches []struct {
	Repo    string
	Patches []string
}

type CustomPrebuilts

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

type CustomScripts

type CustomScripts []struct {
	Repo    string
	Scripts []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