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

# Functions

Clone returns a clone of the internal operations map containing references to the actual operations.
ForwardedOperationResponse creates a response that forwards the metadata of an operation created on another node.
ForwardedOperationWebSocket returns a new forwarted websocket operation.
Init sets the debug value for the operations package.
Lock locks the operations mutex.
OperationCreate creates a new operation and returns it.
OperationGetInternal returns the operation with the given id.
OperationResponse returns an operation response.
OperationWebSocket returns a new websocket operation.
SetProgressMetadata updates an operation metadata map with the provided progress data.
Unlock unlocks the operations mutex.

# Constants

OperationClassTask represents the Task OperationClass.
OperationClassToken represents the Token OperationClass.
OperationClassWebsocket represents the Websocket OperationClass.

# Structs

Operation represents an operation.

# Type aliases

OperationClass represents the OperationClass type.