agentclient

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: May 8, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGetStateRetryable

func NewGetStateRetryable(agentClient AgentClient) boshretry.Retryable

func NewPingRetryable

func NewPingRetryable(agentClient AgentClient) boshretry.Retryable

Types

type AgentClient

type AgentClient interface {
	Ping() (string, error)
	Stop() error
	Apply(bias.ApplySpec) error
	Start() error
	GetState() (AgentState, error)
	MountDisk(string) error
	UnmountDisk(string) error
	ListDisk() ([]string, error)
	MigrateDisk() error
	CompilePackage(packageSource BlobRef, compiledPackageDependencies []BlobRef) (compiledPackageRef BlobRef, err error)
}

type AgentState

type AgentState struct {
	JobState string
}

type BlobRef

type BlobRef struct {
	Name        string
	Version     string
	BlobstoreID string
	SHA1        string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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