Documentation ¶
Index ¶
- Constants
- func CPUNotFoundError() error
- func EmptyClusterNameError() error
- func EmptyFSIDError() error
- func EmptyFlavourError() error
- func EmptyJobCommandError() error
- func EmptyJobIDError() error
- func EmptyJobImageError() error
- func EmptyJobModeError() error
- func EmptyJobNameError() error
- func EmptyJobPortError() error
- func EmptyJobTypeError() error
- func EmptyQueueNameError() error
- func EmptyReplicasError() error
- func EmptySparkMainFileError() error
- func EmptyUserNameError() error
- func GetErrorCode(err error) string
- func InvalidFlavourError(flavour string) error
- func InvalidJobModeError(mode string) error
- func InvalidJobPriorityError(priority string) error
- func InvalidJobTypeError(jobType string) error
- func InvalidScaleResourceError(resourceName string) error
- func JobFileNotFound(path string) error
- func JobIDNotFoundError(jobID string) error
- func MemoryNotFoundError() error
- func QueueResourceNotMatchError(cpu, mem string) error
- func UnSupportedOperate(action string) error
- type GormErr
- type PFError
Constants ¶
View Source
const ( // mysql errr number reference: https://mariadb.com/kb/en/mariadb-error-codes/ ErrNoDuplicateEntry = 1062 ErrNoKeyNotFound = 1032 ErrorUnknown = "UnknownError" // 数据库错误 ErrorKeyIsDuplicated = "DBKeyIsDuplicated" // 数据库key重复 ErrorRecordNotFound = "RecordNotFound" //记录不存在 )
View Source
const ( CPUNotFound = "CPUNotFound" MemoryNotFound = "MemoryNotFound" QueueResourceNotMatch = "QueueResourceNotMatch" InvalidScaleResource = "InvalidScaleResource" // 扩展资源类型不支持 )
Variables ¶
This section is empty.
Functions ¶
func CPUNotFoundError ¶
func CPUNotFoundError() error
func EmptyClusterNameError ¶
func EmptyClusterNameError() error
func EmptyFSIDError ¶
func EmptyFSIDError() error
func EmptyFlavourError ¶
func EmptyFlavourError() error
func EmptyJobCommandError ¶
func EmptyJobCommandError() error
func EmptyJobIDError ¶
func EmptyJobIDError() error
func EmptyJobImageError ¶
func EmptyJobImageError() error
func EmptyJobModeError ¶
func EmptyJobModeError() error
func EmptyJobNameError ¶
func EmptyJobNameError() error
func EmptyJobPortError ¶
func EmptyJobPortError() error
func EmptyJobTypeError ¶
func EmptyJobTypeError() error
func EmptyQueueNameError ¶
func EmptyQueueNameError() error
func EmptyReplicasError ¶
func EmptyReplicasError() error
func EmptySparkMainFileError ¶
func EmptySparkMainFileError() error
func EmptyUserNameError ¶
func EmptyUserNameError() error
func GetErrorCode ¶ added in v0.14.3
func InvalidFlavourError ¶
func InvalidJobModeError ¶
func InvalidJobPriorityError ¶
func InvalidJobTypeError ¶
func JobFileNotFound ¶
func JobIDNotFoundError ¶
func MemoryNotFoundError ¶
func MemoryNotFoundError() error
func UnSupportedOperate ¶
UnSupportedOperate indicate action is not supported
Types ¶
Click to show internal directories.
Click to hide internal directories.