Documentation ¶
Overview ¶
Copyright 2012, 2013 Canonical Ltd. Licensed under the AGPLv3, see LICENCE file for details.
Copyright 2015 Canonical Ltd. Licensed under the AGPLv3, see LICENCE file for details.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMachiner ¶
func NewMachiner(st MachineAccessor, agentConfig agent.Config) worker.Worker
NewMachiner returns a Worker that will wait for the identified machine to become Dying and make it Dead; or until the machine becomes Dead by other means.
Types ¶
type APIMachineAccessor ¶
func (APIMachineAccessor) Machine ¶
func (a APIMachineAccessor) Machine(tag names.MachineTag) (Machine, error)
type MachineAccessor ¶
type MachineAccessor interface {
Machine(names.MachineTag) (Machine, error)
}
Click to show internal directories.
Click to hide internal directories.