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

package hostkeyreporter

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

Package hostkeyreporter implements the client-side API facade used by the hostkeyreporter worker.


Package Files


type Facade Uses

type Facade struct {
    // contains filtered or unexported fields

Facade provides access to the HostKeyReporter API facade.

func NewFacade Uses

func NewFacade(caller base.APICaller) *Facade

NewFacade creates a new client-side HostKeyReporter facade.

func (*Facade) ReportKeys Uses

func (f *Facade) ReportKeys(machineId string, publicKeys []string) error

ReportKeys reports the public SSH host keys for a machine to the controller. The keys should be in the same format as the sshd host key files, one entry per key.

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