lock

package
v5.3.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMachineLock

func GetMachineLock(name string, machineConfigDir string) (*lockfile.LockFile, error)

func GetMachineStartLock

func GetMachineStartLock() (*lockfile.LockFile, error)

GetMachineStartLock is a lock only used to prevent starting different machines at the same time, This is required as most provides support at max 1 running VM and to check this race free we cannot allows starting two machine.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL