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

package identityfilewriter

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

Index

Package Files

manifold.go

Variables

var NewWorker = func(agentConfig agent.Config) (worker.Worker, error) {
    inner := func(<-chan struct{}) error {
        return agent.WriteSystemIdentityFile(agentConfig)
    }
    return jworker.NewSimpleWorker(inner), nil
}

func Manifold Uses

func Manifold(config ManifoldConfig) dependency.Manifold

Manifold returns a dependency manifold that runs an identity file writer worker, using the resource names defined in the supplied config.

type ManifoldConfig Uses

type ManifoldConfig engine.AgentAPIManifoldConfig

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

Package identityfilewriter imports 8 packages (graph) and is imported by 22 packages. Updated 2019-08-26. Refresh now. Tools for package owners.