Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CAASManifolds ¶
func CAASManifolds(config ManifoldsConfig) dependency.Manifolds
CAASManifolds returns a set of co-configured manifolds covering the various responsibilities of a CAAS machine agent.
func IAASManifolds ¶
func IAASManifolds(config ManifoldsConfig) dependency.Manifolds
IAASManifolds returns a set of co-configured manifolds covering the various responsibilities of a IAAS machine agent.
Types ¶
type ManifoldsConfig ¶
type ManifoldsConfig struct { // Agent contains the agent that will be wrapped and made available to // its dependencies via a dependency.Engine. Agent coreagent.Agent // AgentConfigChanged is set whenever the machine agent's config // is updated. AgentConfigChanged *voyeur.Value // NewDBReplWorkerFunc returns a tracked db worker. NewDBReplWorkerFunc dbreplaccessor.NewDBReplWorkerFunc // Clock supplies timekeeping services to various workers. Clock clock.Clock // Stdout is the writer to use for stdout. Stdout io.Writer // Stderr is the writer to use for stderr. Stderr io.Writer // Stdin is the reader to use for stdin. Stdin io.Reader }
ManifoldsConfig allows specialisation of the result of Manifolds.
Click to show internal directories.
Click to hide internal directories.