juju: github.com/juju/juju/apiserver/facades/agent/keyupdater Index | Files

package keyupdater

import "github.com/juju/juju/apiserver/facades/agent/keyupdater"

Index

Package Files

authorisedkeys.go

type KeyUpdater Uses

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 Uses

type KeyUpdaterAPI struct {
    // contains filtered or unexported fields
}

KeyUpdaterAPI implements the KeyUpdater interface and is the concrete implementation of the api end point.

func NewKeyUpdaterAPI Uses

func NewKeyUpdaterAPI(
    st *state.State,
    resources facade.Resources,
    authorizer facade.Authorizer,
) (*KeyUpdaterAPI, error)

NewKeyUpdaterAPI creates a new server-side keyupdater API end point.

func (*KeyUpdaterAPI) AuthorisedKeys Uses

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 Uses

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.

Package keyupdater imports 8 packages (graph) and is imported by 3 packages. Updated 2019-09-01. Refresh now. Tools for package owners.