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 StorageTargetAlreadyMounted // SCM fault codes ScmUnknown Code = iota + 200 ScmFormatInvalidSize ScmFormatInvalidDeviceCount ScmFormatMissingMountpoint ScmFormatMissingDevice ScmFormatMissingParam ScmFormatConflictingParam ScmDiscoveryFailed // Bdev fault codes BdevUnknown Code = iota + 300 BdevFormatUnknownClass BdevFormatFailure BdevFormatBadPciAddress // DAOS system fault codes SystemUnknown Code = iota + 400 SystemMemberExists SystemMemberMissing SystemMemberChanged // client fault codes ClientUnknown Code = iota + 500 ClientConfigBadControlPort ClientConfigBadAccessPoints // server fault codes ServerUnknown Code = iota + 600 ServerBadConfig ServerNoConfigPath ServerConfigBadControlPort ServerConfigBadAccessPoints ServerConfigBadProvider ServerConfigNoServers ServerScmUnmanaged ServerConfigDuplicateFabric ServerConfigDuplicateLogFile ServerConfigDuplicateScmMount ServerConfigDuplicateScmDeviceList ServerConfigOverlappingBdevDeviceList // spdk library bindings codes SpdkUnknown Code = iota + 700 SpdkCtrlrNoHealth SpdkBindingRetNull SpdkBindingFailed // security fault codes SecurityUnknown Code = iota + 900 )
Click to show internal directories.
Click to hide internal directories.