package
0.7.0
Repository: https://github.com/lxc/incus.git
Documentation: pkg.go.dev

# Functions

Create creates a new operation lock for an Instance if one does not already exist and returns it.
CreateWaitGet is a weird function which does what we happen to want most of the time.
Get retrieves an existing lock or returns nil if no lock exists.

# Constants

ActionCreate for creating an instance.
ActionDelete for deleting an instance.
ActionRestart for restarting an instance.
ActionRestore for restoring an instance.
ActionStart for starting an instance.
ActionStop for stopping an instance.
ActionUpdate for updating an instance.

# Variables

ErrNonReusuableSucceeded is returned when no operation is created due to having to wait for a matching non-reusuable operation that has now completed successfully.

# Structs

InstanceOperation operation locking.

# Type aliases

Action indicates the operation action type.