package
0.14.5
Repository: https://github.com/ipfs/ipfs-cluster.git
Documentation: pkg.go.dev

# Functions

NewOperation creates a new Operation.
NewOperationTracker creates a new OperationTracker.
TrackerStatusToOperationPhase takes an api.TrackerStatus and converts it to an OpType and Phase.

# Constants

OperationPin represents a pin operation.
OperationRemote represents an noop operation.
OperationShard represents a meta pin.
OperationUnknown represents an unknown operation.
OperationUnpin represents an unpin operation.
PhaseDone represents the operation once finished.
PhaseError represents an error state.
PhaseInProgress represents the operation as in progress.
PhaseQueued represents the queued phase of an operation.

# Structs

Operation represents an ongoing operation involving a particular Cid.
OperationTracker tracks and manages all inflight Operations.

# Type aliases

OperationType represents the kinds of operations that the PinTracker performs and the operationTracker tracks the status of.
Phase represents the multiple phase that an operation can be in.