cloud

package
v0.0.0-...-9a89ba0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2014 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPIJob

type CPIJob struct {
	JobPath      string
	JobsPath     string
	PackagesPath string
}

func (CPIJob) String

func (j CPIJob) String() string

type Cloud

type Cloud interface {
	bmstemcell.Infrastructure
	bmvm.Infrastructure
}

func NewCloud

func NewCloud(
	fs boshsys.FileSystem,
	cmdRunner boshsys.CmdRunner,
	cpiJob CPIJob,
	deploymentUUID string,
	logger boshlog.Logger,
) Cloud

type CmdContext

type CmdContext struct {
	DirectorUUID string `json:"director_uuid"`
}

type CmdError

type CmdError struct {
	Type      string `json:"type"`
	Message   string `json:"message"`
	OkToRetry bool   `json:"ok_to_retry"`
}

func (CmdError) String

func (e CmdError) String() string

type CmdInput

type CmdInput struct {
	Method    string        `json:"method"`
	Arguments []interface{} `json:"arguments"`
	Context   CmdContext    `json:"context"`
}

type CmdOutput

type CmdOutput struct {
	Result interface{} `json:"result"`
	Error  *CmdError   `json:"error,omitempty"`
	Log    string      `json:"log"`
}

type Factory

type Factory interface {
	NewCloud([]bminstall.InstalledJob) (Cloud, error)
}

func NewFactory

func NewFactory(fs boshsys.FileSystem, cmdRunner boshsys.CmdRunner, config bmconfig.DeploymentConfig, logger boshlog.Logger) Factory

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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