Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
State provides access to a worker's view of the state.
func NewState ¶
NewState returns a version of the state that provides functionality required by the worker.
func (*State) AuthorisedKeys ¶
AuthorisedKeys returns the authorised ssh keys for the machine specified by machineTag.
func (*State) WatchAuthorisedKeys ¶
func (st *State) WatchAuthorisedKeys(machineTag string) (watcher.NotifyWatcher, error)
WatchAuthorisedKeys returns a notify watcher that looks for changes in the authorised ssh keys for the machine specified by machineTag.
Click to show internal directories.
Click to hide internal directories.