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 that governs the construction of and access to a machine-wide lock intended to prevent various operations from running concurrently and interfering with one another. Examples (are not limited to): hook executions, package installation, synchronisation of reboots. Clients can access the lock by passing a **fslock.Lock into the out param of their GetResourceFunc.
Types ¶
type ManifoldConfig ¶
type ManifoldConfig util.AgentManifoldConfig
ManifoldConfig specifies the names a machinelock manifold should use to address its dependencies.
Click to show internal directories.
Click to hide internal directories.