Documentation ¶
Index ¶
Constants ¶
View Source
const (
BOSH_BOOTLOADER_COMMON_NAME = "BOSH Bootloader"
)
View Source
const OS_READ_WRITE_MODE = os.FileMode(0644)
View Source
const PASSWORD_LENGTH = 15
View Source
const PASSWORD_PREFIX = "p-"
View Source
const USERNAME_LENGTH = 7
View Source
const USERNAME_PREFIX = "user-"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandBuilder ¶
func NewCommandBuilder ¶
func (CommandBuilder) DeleteCommand ¶
func (b CommandBuilder) DeleteCommand() *exec.Cmd
func (CommandBuilder) DeployCommand ¶
func (b CommandBuilder) DeployCommand() *exec.Cmd
type CommandRunner ¶
type CommandRunner struct {
// contains filtered or unexported fields
}
func NewCommandRunner ¶
func NewCommandRunner(dir string, command executable) CommandRunner
type DeployInput ¶
type DeployInput struct { IAAS string DirectorName string DirectorUsername string DirectorPassword string State State InfrastructureConfiguration InfrastructureConfiguration SSLKeyPair ssl.KeyPair EC2KeyPair ec2.KeyPair Credentials map[string]string }
func NewDeployInput ¶
func NewDeployInput(state storage.State, infrastructureConfiguration InfrastructureConfiguration, stringGenerator stringGenerator, envID, iaas string) (DeployInput, error)
type DeployOutput ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
func NewExecutor ¶
func NewExecutor(manifestBuilder manifestBuilder, deployCommand command, deleteCommand command, logger logger) Executor
func (Executor) Deploy ¶
func (e Executor) Deploy(input DeployInput) (DeployOutput, error)
type InfrastructureConfiguration ¶
type InfrastructureConfiguration struct { ExternalIP string AWS InfrastructureConfigurationAWS GCP InfrastructureConfigurationGCP }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.