Documentation ¶
Index ¶
Constants ¶
View Source
const ( BcsK8sCluster = iota + 1 BcsMesosCluster BcsTkeCluster )
Variables ¶
View Source
var WriteClientError = WriteFuncFactory(400)
View Source
var WriteForbiddenError = WriteFuncFactory(403)
View Source
var WriteNotFoundError = WriteFuncFactory(404)
View Source
var WriteServerError = WriteFuncFactory(500)
Functions ¶
func WriteFuncFactory ¶
WriteFuncFactory builds WriteXXX shortcut functions
Types ¶
type CannotCreateClusterError ¶
type CannotCreateClusterError struct {
// contains filtered or unexported fields
}
func NewCannotCreateClusterError ¶
func NewCannotCreateClusterError(message string) *CannotCreateClusterError
func (*CannotCreateClusterError) Error ¶
func (e *CannotCreateClusterError) Error() string
type ClusterAreadyExistError ¶
type ClusterAreadyExistError struct {
// contains filtered or unexported fields
}
func NewClusterAreadyExistError ¶
func NewClusterAreadyExistError(message string) *ClusterAreadyExistError
func (*ClusterAreadyExistError) Error ¶
func (e *ClusterAreadyExistError) Error() string
type ClusterInitFailedError ¶
type ClusterInitFailedError struct {
// contains filtered or unexported fields
}
func NewClusterInitFailedError ¶
func NewClusterInitFailedError(message string) *ClusterInitFailedError
func (*ClusterInitFailedError) Error ¶
func (e *ClusterInitFailedError) Error() string
Click to show internal directories.
Click to hide internal directories.