application

package
v0.0.0-...-b1d5767 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const StackNamePattern = `^[a-zA-Z][-a-zA-Z0-9]*$`

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	AWSClient            awsClient
	StateDir             string
	Logger               logger
	ResultWriter         io.Writer
	ConfigStore          configStore
	ManifestBuilder      manifestBuilder
	HTTPClient           httpClient
	CredentialsGenerator credentialsGenerator
	CloudConfigGenerator cloudConfigGenerator
}

func (*Application) Boot

func (a *Application) Boot(stackName string) error

func (*Application) Destroy

func (a *Application) Destroy(stackName string) error

func (*Application) Show

func (a *Application) Show(stackName string, options ShowOptions) error

type FilesystemConfigStore

type FilesystemConfigStore struct {
	RootDir string
}

func (*FilesystemConfigStore) Get

func (s *FilesystemConfigStore) Get(key string) ([]byte, error)

func (*FilesystemConfigStore) IsEmpty

func (s *FilesystemConfigStore) IsEmpty() (bool, error)

func (*FilesystemConfigStore) Set

func (s *FilesystemConfigStore) Set(key string, value []byte) error

type ManifestBuilder

type ManifestBuilder struct {
	DirectorManifestGenerator directorManifestGenerator
	BoshIOClient              boshIOClient
	CredentialsGenerator      credentialsGenerator
}

func (*ManifestBuilder) Build

func (b *ManifestBuilder) Build(stackName string, resources awsclient.BaseStackResources, accessKey, secretKey string) ([]byte, string, error)

type ShowOptions

type ShowOptions struct {
	SSHKey          bool
	BoshIP          bool
	BoshPassword    bool
	BoshEnvironment bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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