system

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JumpboxDeployment = DeploymentWithName("jumpbox")
View Source
var JumpboxInstance = JumpboxDeployment.Instance("jumpbox", "0")
View Source
var RedisDeployment = DeploymentWithName("redis")
View Source
var RedisSlowBackupDeployment = DeploymentWithName("redis-with-slow-backup")
View Source
var RedisWithLockingOrderDeployment = DeploymentWithName("redis-with-locking-order")
View Source
var RedisWithMetadataDeployment = DeploymentWithName("redis-with-metadata")
View Source
var RedisWithMissingScriptDeployment = DeploymentWithName("redis-with-missing-script")

Functions

func BackupDirWithTimestamp

func BackupDirWithTimestamp(deploymentName string) string

func MustHaveEnv

func MustHaveEnv(keyname string) string

Types

type Deployment added in v1.0.0

type Deployment struct {
	Name     string
	Manifest string
}

func DeploymentWithName added in v1.0.0

func DeploymentWithName(name string) Deployment

func NewDeployment added in v1.0.0

func NewDeployment(name, manifest string) Deployment

func (Deployment) Delete added in v1.0.0

func (d Deployment) Delete()

func (Deployment) Deploy added in v1.0.0

func (d Deployment) Deploy()

func (Deployment) Instance added in v1.0.0

func (d Deployment) Instance(group, index string) Instance

type Instance added in v1.0.0

type Instance struct {
	Group string
	Index string
	// contains filtered or unexported fields
}

func (Instance) AssertFilesExist added in v1.0.0

func (i Instance) AssertFilesExist(paths []string)

func (Instance) Copy added in v1.0.0

func (i Instance) Copy(sourcePath, destinationPath string)

func (Instance) RunCommand added in v1.0.0

func (i Instance) RunCommand(command string) *gexec.Session

func (Instance) RunCommandAs added in v1.0.0

func (i Instance) RunCommandAs(user, command string) *gexec.Session

Jump to

Keyboard shortcuts

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