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

package identityfilewriter

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


Package Files



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