Documentation

Overview

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

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type Facade

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

      Facade provides access to the HostKeyReporter API facade.

      func NewFacade

      func NewFacade(caller base.APICaller) *Facade

        NewFacade creates a new client-side HostKeyReporter facade.

        func (*Facade) ReportKeys

        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.

          Source Files