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

package hostkeyreporter

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

Package hostkeyreporter implements the API facade used by the hostkeyreporter worker.


Package Files

facade.go shim.go

type Backend Uses

type Backend interface {
    SetSSHHostKeys(names.MachineTag, state.SSHHostKeys) error

Backend defines the State API used by the hostkeyreporter facade.

type Facade Uses

type Facade struct {
    // contains filtered or unexported fields

Facade implements the API required by the hostkeyreporter worker.

func New Uses

func New(backend Backend, _ facade.Resources, authorizer facade.Authorizer) (*Facade, error)

New returns a new API facade for the hostkeyreporter worker.

func NewFacade Uses

func NewFacade(st *state.State, res facade.Resources, auth facade.Authorizer) (*Facade, error)

NewFacade wraps New to express the supplied *state.State as a Backend.

func (*Facade) ReportKeys Uses

func (facade *Facade) ReportKeys(args params.SSHHostKeySet) (params.ErrorResults, error)

ReportKeys sets the SSH host keys for one or more entities.

Package hostkeyreporter imports 7 packages (graph) and is imported by 4 packages. Updated 2020-07-25. Refresh now. Tools for package owners.