authenticationworker

package
v0.0.0-...-4bd6544 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2016 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SSHUser = "ubuntu"

The user name used to ssh into Juju nodes. Override for testing.

Functions

func Manifold

func Manifold(config ManifoldConfig) dependency.Manifold

Manifold returns a dependency manifold that runs a authenticationworker worker, using the resource names defined in the supplied config.

func NewWorker

func NewWorker(st *keyupdater.State, agentConfig agent.Config) (worker.Worker, error)

NewWorker returns a worker that keeps track of the machine's authorised ssh keys and ensures the ~/.ssh/authorized_keys file is up to date.

Types

type ManifoldConfig

type ManifoldConfig engine.AgentAPIManifoldConfig

ManifoldConfig defines the names of the manifolds on which a Manifold will depend.

Jump to

Keyboard shortcuts

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