hostkeyreporter

package
v0.0.0-...-298751d Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: AGPL-3.0 Imports: 8 Imported by: 1

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(registry facade.FacadeRegistry)

Register is called to expose a package of facades onto a given registry.

Types

type Backend

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

Backend defines the State API used by the hostkeyreporter facade.

type Facade

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

Facade implements the API required by the hostkeyreporter worker.

func New

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

New returns a new API facade for the hostkeyreporter worker.

func (*Facade) ReportKeys

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

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

Jump to

Keyboard shortcuts

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