Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Manifold ¶
func Manifold(config ManifoldConfig) dependency.Manifold
Manifold returns a manifold whose worker wraps an API connection made on behalf of the dependency identified by AgentName.
Types ¶
type Connection ¶
Connection includes the relevant features of a *api.State, and exists primarily so that we can patch out the openConnection function in tests (and not have to return a real *State).
type ManifoldConfig ¶
type ManifoldConfig util.AgentManifoldConfig
ManifoldConfig defines the names of the manifolds on which a Manifold will depend.
Click to show internal directories.
Click to hide internal directories.