Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Manifold ¶
func Manifold(agent Agent) dependency.Manifold
Manifold returns a manifold that starts a worker proxying the supplied Agent for use by other workers.
Types ¶
type Agent ¶
type Agent interface { Tag() names.Tag CurrentConfig() agent.Config ChangeConfig(agent.ConfigMutator) error SetAPIHostPorts([][]network.HostPort) error }
Agent is the interface exposed to workers that depend upon an agent's representation in its dependency.Engine. TODO(fwereade) this could *surely* be cleaned up, I'm not at all convinced these all need to go together: in particular, can't we accomplish the same function as SetAPIHostPorts with ChangeConfig?
Click to show internal directories.
Click to hide internal directories.