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

package authenticationworker

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


Package Files

manifold.go worker.go


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). Updated 2020-08-06. Refresh now. Tools for package owners.