Versions in this module Expand all Collapse all v1 v1.19.1 Oct 25, 2022 Changes in this version + const BcsK8sCluster + const BcsMesosCluster + const BcsTkeCluster + var WriteClientError = WriteFuncFactory(400) + var WriteForbiddenError = WriteFuncFactory(403) + var WriteNotFoundError = WriteFuncFactory(404) + var WriteServerError = WriteFuncFactory(500) + var WriteUnauthorizedError = WriteFuncFactory(401) + func WriteFuncFactory(statusCode int) func(response *restful.Response, codeName, message string) + type CannotCreateClusterError struct + func NewCannotCreateClusterError(message string) *CannotCreateClusterError + func (e *CannotCreateClusterError) Error() string + type ClusterAreadyExistError struct + func NewClusterAreadyExistError(message string) *ClusterAreadyExistError + func (e *ClusterAreadyExistError) Error() string + type ClusterInitFailedError struct + func NewClusterInitFailedError(message string) *ClusterInitFailedError + func (e *ClusterInitFailedError) Error() string