Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMessageFromError ¶
GetMessageFromError returns the message from the error.
Types ¶
type CommonRequestParameters ¶
type CommonRequestParameters struct {
VolumeID string
GroupID string
ReplicationID string
Parameters map[string]string
SecretName string
SecretNamespace string
Replication client.VolumeReplication
}
CommonRequestParameters holds the common parameters across replication operations.
type Replication ¶
type Replication struct {
Params CommonRequestParameters
Force bool
}
Replication represents the instance of a single replication operation.
func (*Replication) Demote ¶
func (r *Replication) Demote() *Response
func (*Replication) Disable ¶
func (r *Replication) Disable() *Response
func (*Replication) Enable ¶
func (r *Replication) Enable() *Response
func (*Replication) GetInfo ¶
func (r *Replication) GetInfo() *Response
func (*Replication) Promote ¶
func (r *Replication) Promote() *Response
func (*Replication) Resync ¶
func (r *Replication) Resync() *Response
Click to show internal directories.
Click to hide internal directories.