Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Manifold ¶
func Manifold(config ManifoldConfig) dependency.Manifold
Manifold returns a dependency.Manifold which wraps the machine agent's voyeur.Value which gets set whenever it the machine agent's config is changed. Whenever the config is updated the presence of state serving info is checked and if state serving info was added or removed the manifold worker will bounce itself.
The manifold offes a single boolean output which will be true if state serving info is available (i.e. the machine agent should be a state server) and false otherwise.
This manifold is intended to be used as a dependency for the state manifold.
Types ¶
type ManifoldConfig ¶
Click to show internal directories.
Click to hide internal directories.