Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InsufficientDeviceCountError ¶ added in v0.3.1
type InsufficientDeviceCountError struct {
// contains filtered or unexported fields
}
func NewInsufficientDeviceCountError ¶ added in v0.3.1
func NewInsufficientDeviceCountError(requestedCount, availableCount, total int64, mediaType pkg.MediaType, nodeName string) *InsufficientDeviceCountError
func (*InsufficientDeviceCountError) Error ¶ added in v0.3.1
func (e *InsufficientDeviceCountError) Error() string
func (InsufficientDeviceCountError) GetReason ¶ added in v0.3.1
func (e InsufficientDeviceCountError) GetReason() string
type InsufficientExclusiveResourceError ¶
type InsufficientExclusiveResourceError struct {
// contains filtered or unexported fields
}
func NewInsufficientExclusiveResourceError ¶
func NewInsufficientExclusiveResourceError(resource pkg.VolumeType, requested, max int64) *InsufficientExclusiveResourceError
func (*InsufficientExclusiveResourceError) Error ¶
func (e *InsufficientExclusiveResourceError) Error() string
func (InsufficientExclusiveResourceError) GetReason ¶
func (e InsufficientExclusiveResourceError) GetReason() string
type InsufficientLVMError ¶
type InsufficientLVMError struct {
// contains filtered or unexported fields
}
func NewInsufficientLVMError ¶
func NewInsufficientLVMError(requested, used, capacity int64, vgName string, nodeName string) *InsufficientLVMError
func (*InsufficientLVMError) Error ¶
func (e *InsufficientLVMError) Error() string
func (*InsufficientLVMError) GetReason ¶
func (e *InsufficientLVMError) GetReason() string
type InsufficientMountPointCountError ¶ added in v0.3.1
type InsufficientMountPointCountError struct {
// contains filtered or unexported fields
}
func NewInsufficientMountPointCountError ¶ added in v0.3.1
func NewInsufficientMountPointCountError(requestedCount, availableCount, total int64, mediaType pkg.MediaType, nodeName string) *InsufficientMountPointCountError
func (*InsufficientMountPointCountError) Error ¶ added in v0.3.1
func (e *InsufficientMountPointCountError) Error() string
func (InsufficientMountPointCountError) GetReason ¶ added in v0.3.1
func (e InsufficientMountPointCountError) GetReason() string
type NoAvailableVGError ¶
type NoAvailableVGError struct {
// contains filtered or unexported fields
}
NoAvailableVGError means there is no volume group on `nodeName`
func NewNoAvailableVGError ¶
func NewNoAvailableVGError(nodeName string) *NoAvailableVGError
func (*NoAvailableVGError) Error ¶
func (e *NoAvailableVGError) Error() string
func (*NoAvailableVGError) GetReason ¶
func (e *NoAvailableVGError) GetReason() string
type NoSuchVGError ¶ added in v0.3.1
type NoSuchVGError struct {
// contains filtered or unexported fields
}
NoSuchVGError means no named vg `name`
func NewNoSuchVGError ¶ added in v0.3.1
func NewNoSuchVGError(vgName string, nodeName string) *NoSuchVGError
func (*NoSuchVGError) Error ¶ added in v0.3.1
func (e *NoSuchVGError) Error() string
func (*NoSuchVGError) GetReason ¶ added in v0.3.1
func (e *NoSuchVGError) GetReason() string
type PredicateError ¶
type PredicateError interface { // GetReason should not any node or pod specific info in order not // to break the scheduler side message aggregation GetReason() string // Error() should return detailed message, contains the // detailed message regarding node or reason Error() string }
A generic interface for getting simple error message of same type to avoid pouring too many error into etcd store
type SnapshotError ¶ added in v0.7.0
type SnapshotError struct {
// contains filtered or unexported fields
}
func NewSnapshotError ¶ added in v0.7.0
func NewSnapshotError(resource pkg.VolumeType) *SnapshotError
func (*SnapshotError) Error ¶ added in v0.7.0
func (e *SnapshotError) Error() string
func (SnapshotError) GetReason ¶ added in v0.7.0
func (e SnapshotError) GetReason() string
Click to show internal directories.
Click to hide internal directories.