juju: github.com/juju/juju/api/keyupdater Index | Files

package keyupdater

import "github.com/juju/juju/api/keyupdater"

Index

Package Files

authorisedkeys.go

type State Uses

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

State provides access to a worker's view of the state.

func NewState Uses

func NewState(caller base.APICaller) *State

NewState returns a version of the state that provides functionality required by the worker.

func (*State) AuthorisedKeys Uses

func (st *State) AuthorisedKeys(tag names.MachineTag) ([]string, error)

AuthorisedKeys returns the authorised ssh keys for the machine specified by machineTag.

func (*State) WatchAuthorisedKeys Uses

func (st *State) WatchAuthorisedKeys(tag names.MachineTag) (watcher.NotifyWatcher, error)

WatchAuthorisedKeys returns a notify watcher that looks for changes in the authorised ssh keys for the machine specified by machineTag.

Package keyupdater imports 6 packages (graph) and is imported by 75 packages. Updated 2019-08-25. Refresh now. Tools for package owners.