Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EnsureMongoServerInstalled = mongo.EnsureServerInstalled
EnsureMongoServerInstalled is patched for testing.
View Source
var NewEnsureMongoParams = newEnsureMongoParams
NewEnsureMongoParams creates a mongo.EnsureServerParams from an agent configuration.
Functions ¶
func IsControllerFlagManifold ¶
func IsControllerFlagManifold(inputName string, yes bool) dependency.Manifold
IsControllerFlagManifold returns a dependency.Manifold that indicates the state config is present or not depending on the arg. It returns a worker implementing engine.Flag, whose Check method returns True in 2 cases: 1) state config is present on the machine and arg is True 2) state config is not present on the machine and arg is False.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.