package
0.2.0-alpha.3
Repository: https://github.com/superproj/onex.git
Documentation: pkg.go.dev

# Functions

CreateMiner creates a new error for when creating a Miner.
DeleteMiner creates a new error for when deleting a Miner.
InvalidMinerConfiguration creates a new error when a Miner has invalid configuration.
MinerSetStatusErrorPtr converts a MinerSetStatusError to a pointer.
MinerStatusErrorPtr converts a MinerStatusError to a pointer.
UpdateMiner creates a new error for when updating a Miner.

# Constants

CreateMinerError indicates an error while trying to create a Node to match this Miner.
DeleteMinerError indicates an error was encountered while trying to delete the Node that this Miner represents.
InsufficientResourcesMinerError generally refers to exceeding one's quota in a cloud provider, or running out of physical miners in an on-premise environment.
InvalidConfigurationMinerError represents that the combination of configuration in the MinerSpec is not supported by this cluster.
InvalidConfigurationMinerSetError represents the combination of configuration in the MinerTemplateSpec is not supported by this cluster.
JoinClusterTimeoutMinerError indicates that the miner did not join the cluster as a new node within the expected timeframe after instance creation at the provider succeeded Example use case: A controller that deletes Miners which do not result in a Node joining the cluster within a given timeout and that are managed by a MinerSet.
UnsupportedChangeMinerError indicates that the MinerSpec has been updated in a way that is not supported for reconciliation on this cluster.
UpdateMinerError indicates an error while trying to update a Node that this Miner represents.

# Structs

MinerError is a more descriptive kind of error that represents an error condition that should be set in the Miner.Status.

# Type aliases

MinerSetStatusError defines errors states for MinerSet objects.
MinerStatusError defines errors states for Miner objects.