Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewWorker = func(agentConfig agent.Config) (worker.Worker, error) { inner := func(ctx context.Context) error { return agent.WriteSystemIdentityFile(agentConfig) } return jworker.NewSimpleWorker(inner), nil }
Functions ¶
func Manifold ¶
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.
Types ¶
type ManifoldConfig ¶
type ManifoldConfig engine.AgentAPIManifoldConfig
ManifoldConfig defines the names of the manifolds on which a Manifold will depend.
Click to show internal directories.
Click to hide internal directories.