@@ -32,18 +32,23 @@ type replicationClient struct {
3232// VolumeReplication holds the methods required for volume replication.
3333type VolumeReplication interface {
3434 // EnableVolumeReplication RPC call to enable the volume replication.
35- EnableVolumeReplication (replicationSource * replicationlib.ReplicationSource , replicationID string , secrets , parameters map [string ]string ) (* replicationlib.EnableVolumeReplicationResponse , error )
35+ EnableVolumeReplication (replicationSource * replicationlib.ReplicationSource ,
36+ replicationID string , secrets , parameters map [string ]string ) (
37+ * replicationlib.EnableVolumeReplicationResponse , error )
3638 // DisableVolumeReplication RPC call to disable the volume replication.
37- DisableVolumeReplication (replicationSource * replicationlib.ReplicationSource , replicationID string , secrets , parameters map [string ]string ) (* replicationlib.DisableVolumeReplicationResponse , error )
39+ DisableVolumeReplication (replicationSource * replicationlib.ReplicationSource ,
40+ replicationID string , secrets , parameters map [string ]string ) (
41+ * replicationlib.DisableVolumeReplicationResponse , error )
3842 // PromoteVolume RPC call to promote the volume.
39- PromoteVolume (replicationSource * replicationlib.ReplicationSource , replicationID string , force bool , secrets , parameters map [string ]string ) (* replicationlib.
40- PromoteVolumeResponse , error )
43+ PromoteVolume (replicationSource * replicationlib.ReplicationSource , replicationID string ,
44+ force bool , secrets , parameters map [string ]string ) (
45+ * replicationlib.PromoteVolumeResponse , error )
4146 // DemoteVolume RPC call to demote the volume.
42- DemoteVolume (replicationSource * replicationlib.ReplicationSource , replicationID string , secrets , parameters map [ string ] string ) ( * replicationlib.
43- DemoteVolumeResponse , error )
47+ DemoteVolume (replicationSource * replicationlib.ReplicationSource , replicationID string ,
48+ secrets , parameters map [ string ] string ) ( * replicationlib. DemoteVolumeResponse , error )
4449 // ResyncVolume RPC call to resync the volume.
45- ResyncVolume (replicationSource * replicationlib.ReplicationSource , replicationID string , force bool , secrets , parameters map [ string ] string ) ( * replicationlib.
46- ResyncVolumeResponse , error )
50+ ResyncVolume (replicationSource * replicationlib.ReplicationSource , replicationID string ,
51+ force bool , secrets , parameters map [ string ] string ) ( * replicationlib. ResyncVolumeResponse , error )
4752}
4853
4954// NewReplicationClient returns VolumeReplication interface which has the RPC
0 commit comments