Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Code ¶
type Code int
Code represents a stable fault code.
NB: All control plane errors should register their codes in the following block in order to avoid conflicts.
const ( // general fault codes Unknown Code = iota MissingSoftwareDependency // generic storage fault codes StorageUnknown Code = iota + 100 StorageAlreadyFormatted StorageFilesystemAlreadyMounted StorageDeviceAlreadyMounted // SCM fault codes ScmUnknown Code = iota + 200 ScmFormatBadParam // Bdev fault codes BdevUnknown Code = iota + 300 BdevFormatBadParam // security fault codes SecurityUnknown Code = iota + 900 )
Click to show internal directories.
Click to hide internal directories.