Documentation ¶
Index ¶
- func AgentApiManifold(config AgentApiManifoldConfig, start AgentApiStartFunc) dependency.Manifold
- func AgentManifold(config AgentManifoldConfig, start AgentStartFunc) dependency.Manifold
- func ApiManifold(config ApiManifoldConfig, start ApiStartFunc) dependency.Manifold
- type AgentApiManifoldConfig
- type AgentApiStartFunc
- type AgentManifoldConfig
- type AgentStartFunc
- type ApiManifoldConfig
- type ApiStartFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AgentApiManifold ¶
func AgentApiManifold(config AgentApiManifoldConfig, start AgentApiStartFunc) dependency.Manifold
AgentApiManifold returns a dependency.Manifold that calls the supplied start func with the API and agent resources defined in the config (once those resources are present).
func AgentManifold ¶
func AgentManifold(config AgentManifoldConfig, start AgentStartFunc) dependency.Manifold
AgentManifold returns a dependency.Manifold that calls the supplied start func with the agent resource defined in the config (once it's present).
func ApiManifold ¶
func ApiManifold(config ApiManifoldConfig, start ApiStartFunc) dependency.Manifold
ApiManifold returns a dependency.Manifold that calls the supplied start func with the API resource defined in the config (once it's present).
Types ¶
type AgentApiManifoldConfig ¶
Many manifolds completely depend on an agent and an API connection; this type configures them.
type AgentApiStartFunc ¶
AgentApiStartFunc encapsulates the behaviour that varies among AgentApiManifolds.
type AgentManifoldConfig ¶
type AgentManifoldConfig struct {
AgentName string
}
Some manifolds just depend on an agent; this type configures them.
type AgentStartFunc ¶
AgentStartFunc encapsulates the behaviour that varies among AgentManifolds.
type ApiManifoldConfig ¶
type ApiManifoldConfig struct {
ApiCallerName string
}
Some (hopefully growing number of) manifolds completely depend on an API connection; this type configures them.