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(applyspec.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)
DeleteARPEntries(ips []string) error
SyncDNS(blobID, sha1 string, version uint64) (string, error)
RunScript(scriptName string, options map[string]interface{}) error
}
type AgentState ¶
type AgentState struct {
JobState string
NetworkSpecs map[string]NetworkSpec
}
type NetworkSpec ¶
type NetworkSpec struct {
IP string `json:"ip"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.