hostkeyreporter

package
v0.0.0-...-a0d7459 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2017 License: AGPL-3.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL