Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AgentAPIManifoldTestConfig ¶
func AgentAPIManifoldTestConfig() engine.AgentAPIManifoldConfig
AgentAPIManifoldTestConfig returns a AgentAPIManifoldConfig suitable for use with RunAgentAPIManifold.
func RunAgentAPIManifold ¶
func RunAgentAPIManifold( manifold dependency.Manifold, agent agent.Agent, apiCaller base.APICaller, ) (worker.Worker, error)
RunAgentAPIManifold is useful for testing manifolds based on AgentAPIManifold. It takes the manifold, sets up the resources required to successfully pass AgentAPIManifold's checks and then runs the manifold start func.
An agent and apiCaller may be optionally provided. If they are nil, dummy barely-good-enough defaults will be used (these dummies are fine not actually used for much).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.