juju: github.com/juju/juju/worker/authenticationworker Index | Files

package authenticationworker

import "github.com/juju/juju/worker/authenticationworker"

Index

Package Files

manifold.go worker.go

Variables

var SSHUser = "ubuntu"

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

func Manifold Uses

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 Uses

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.

type ManifoldConfig Uses

type ManifoldConfig engine.AgentAPIManifoldConfig

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

Package authenticationworker imports 16 packages (graph) and is imported by 43 packages. Updated 2019-09-17. Refresh now. Tools for package owners.