Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(registry facade.FacadeRegistry)
Register is called to expose a package of facades onto a given registry.
Types ¶
type KeyUpdater ¶
type KeyUpdater interface { AuthorisedKeys(args params.Entities) (params.StringsResults, error) WatchAuthorisedKeys(args params.Entities) (params.NotifyWatchResults, error) }
KeyUpdater defines the methods on the keyupdater API end point.
type KeyUpdaterAPI ¶
type KeyUpdaterAPI struct {
// contains filtered or unexported fields
}
KeyUpdaterAPI implements the KeyUpdater interface and is the concrete implementation of the api end point.
func (*KeyUpdaterAPI) AuthorisedKeys ¶
func (api *KeyUpdaterAPI) AuthorisedKeys(arg params.Entities) (params.StringsResults, error)
AuthorisedKeys reports the authorised ssh keys for the specified machines. The current implementation relies on global authorised keys being stored in the model config. This will change as new user management and authorisation functionality is added.
func (*KeyUpdaterAPI) WatchAuthorisedKeys ¶
func (api *KeyUpdaterAPI) WatchAuthorisedKeys(arg params.Entities) (params.NotifyWatchResults, error)
WatchAuthorisedKeys starts a watcher to track changes to the authorised ssh keys for the specified machines. The current implementation relies on global authorised keys being stored in the model config. This will change as new user management and authorisation functionality is added.