Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AlreadyPrimaryClusterError = errors.New("already the primary cluster")
Functions ¶
func IsUnreachableError ¶
func New ¶
func New(ctx context.Context, pcs *apiv1.PerconaServerMySQLClusterSet, opts *ManagerOptions) (*mysqlshellClusterSetManager, error)
Types ¶
type ClusterSetManagerError ¶
type ClusterSetManagerError struct {
// contains filtered or unexported fields
}
func AsManagerError ¶
func AsManagerError(err error) *ClusterSetManagerError
func NewAccessDeniedError ¶
func NewAccessDeniedError() *ClusterSetManagerError
NewAccessDeniedError returns an error indicating that the clusterset credentials were rejected by the primary cluster.
func NewGenericError ¶
func NewGenericError(message string) *ClusterSetManagerError
NewGenericError returns an error for any other cluster set manager failure.
func NewUnreachableError ¶
func NewUnreachableError() *ClusterSetManagerError
NewUnreachableError returns an error indicating that no endpoint of the primary cluster could be reached.
func (*ClusterSetManagerError) Error ¶
func (e *ClusterSetManagerError) Error() string
func (*ClusterSetManagerError) Message ¶
func (e *ClusterSetManagerError) Message() string
func (*ClusterSetManagerError) Reason ¶
func (e *ClusterSetManagerError) Reason() string
Click to show internal directories.
Click to hide internal directories.