Documentation
¶
Index ¶
- Constants
- Variables
- func CreateVol(t *testing.T) (volID, volName string)
- func DeleteVol(t *testing.T, id string)
- func GetNewClient() (client gopowerstore.Client)
- func GetRemoteSystemForMetro(client gopowerstore.Client, t *testing.T) gopowerstore.RemoteSystem
- func Includes(list *[]string, target string) bool
Constants ¶
View Source
const ( TestVolumePrefix = "test_vol_" DefaultVolSize int64 = 1048576 DefaultChunkSize int64 = 1048576 )
Variables ¶
View Source
var C gopowerstore.Client
C is global powerstore Client instance for testing
Functions ¶
func GetNewClient ¶ added in v1.16.0
func GetNewClient() (client gopowerstore.Client)
func GetRemoteSystemForMetro ¶ added in v1.16.0
func GetRemoteSystemForMetro(client gopowerstore.Client, t *testing.T) gopowerstore.RemoteSystem
GetRemoteSystemForMetro queries the source PowerStore array for configured remote systems to find a remote system capable of metro replication and returns the system if one is found and an empty RemoteSystem struct otherwise.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.