Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SampleProfiles = []model.ProfileSpec{ { BaseModel: &model.BaseModel{ Id: "1106b972-66ef-11e7-b172-db03f3689c9c", }, Name: "default", Description: "default policy", StorageType: "block", CustomProperties: model.CustomPropertiesSpec{}, }, { BaseModel: &model.BaseModel{ Id: "2f9c0a04-66ef-11e7-ade2-43158893e017", }, Name: "silver", Description: "silver policy", StorageType: "block", CustomProperties: model.CustomPropertiesSpec{ "dataStorage": map[string]interface{}{ "provisioningPolicy": "Thin", "compression": true, "deduplication": true, }, "ioConnectivity": map[string]interface{}{ "accessProtocol": "rbd", "maxIOPS": float64(5000000), "maxBWS": float64(500), "minIOPS": float64(1000000), "minBWS": float64(100), "latency": float64(100), }, }, }, } { BaseModel: &model.BaseModel{ Id: "1106b972-66ef-11e7-b172-db03f3689c9c", }, Name: "default", Description: "default policy", StorageType: "file", CustomProperties: model.CustomPropertiesSpec{}, }, { BaseModel: &model.BaseModel{ Id: "2f9c0a04-66ef-11e7-ade2-43158893e017", }, Name: "silver", Description: "silver policy", StorageType: "file", CustomProperties: model.CustomPropertiesSpec{ "dataStorage": map[string]interface{}{ "provisioningPolicy": "Thin", "compression": true, "deduplication": false, }, "ioConnectivity": map[string]interface{}{ "accessProtocol": "NFS", "maxIOPS": float64(5000000), "maxBWS": float64(500), "minIOPS": float64(1000000), "minBWS": float64(100), "latency": float64(100), }, }, }, } SampleCustomProperties = model.CustomPropertiesSpec{ "dataStorage": map[string]interface{}{ "provisioningPolicy": "Thin", "compression": true, "deduplication": true, }, "ioConnectivity": map[string]interface{}{ "accessProtocol": "rbd", "maxIOPS": float64(5000000), "maxBWS": float64(500), "minIOPS": float64(1000000), "minBWS": float64(100), "latency": float64(100), }, } SampleDocks = []model.DockSpec{ { BaseModel: &model.BaseModel{ Id: "b7602e18-771e-11e7-8f38-dbd6d291f4e0", }, Name: "sample", Description: "sample backend service", Endpoint: "localhost:50050", DriverName: "sample", Type: model.DockTypeProvioner, }, } SampleMultiDocks = []model.DockSpec{ { BaseModel: &model.BaseModel{ Id: "b7602e18-771e-11e7-8f38-dbd6d291f4e0", }, Name: "sample-dock-01", Description: "sample backend service", Endpoint: "localhost:50050", DriverName: "sample", Type: model.DockTypeProvioner, }, { BaseModel: &model.BaseModel{ Id: "a594b8ac-a103-11e7-985f-d723bcf01b5f", }, Name: "sample-dock-03", Description: "sample backend service", Endpoint: "localhost:50050", DriverName: "cinder", Type: model.DockTypeProvioner, }, { BaseModel: &model.BaseModel{ Id: "bdd44c8e-b8a9-488a-89c0-d1e5beb902dg", }, Name: "sample-dock-02", Description: "sample backend service", Endpoint: "localhost:50050", DriverName: "ceph", Type: model.DockTypeProvioner, }, } SamplePools = []model.StoragePoolSpec{ { BaseModel: &model.BaseModel{ Id: "084bf71e-a102-11e7-88a8-e31fe6d52248", }, Name: "sample-pool-01", Description: "This is the first sample storage pool for testing", StorageType: "block", TotalCapacity: int64(100), FreeCapacity: int64(90), DockId: "b7602e18-771e-11e7-8f38-dbd6d291f4e0", AvailabilityZone: "default", MultiAttach: true, Extras: model.StoragePoolExtraSpec{ DataStorage: model.DataStorageLoS{ ProvisioningPolicy: "Thin", Compression: true, Deduplication: false, }, IOConnectivity: model.IOConnectivityLoS{ AccessProtocol: "rbd", MaxIOPS: 8000000, MaxBWS: 700, MinIOPS: 1000000, MinBWS: 100, Latency: 100, }, Advanced: map[string]interface{}{ "diskType": "SSD", "latency": "3ms", }, }, }, { BaseModel: &model.BaseModel{ Id: "a594b8ac-a103-11e7-985f-d723bcf01b5f", }, Name: "sample-pool-02", Description: "This is the second sample storage pool for testing", StorageType: "block", TotalCapacity: int64(200), FreeCapacity: int64(170), AvailabilityZone: "default", DockId: "b7602e18-771e-11e7-8f38-dbd6d291f4e0", Extras: model.StoragePoolExtraSpec{ DataStorage: model.DataStorageLoS{ ProvisioningPolicy: "Thin", Compression: true, Deduplication: false, }, IOConnectivity: model.IOConnectivityLoS{ AccessProtocol: "rbd", MaxIOPS: 3000000, MaxBWS: 350, MinIOPS: 1000000, MinBWS: 100, Latency: 100, }, Advanced: map[string]interface{}{ "diskType": "SAS", "latency": "500ms", }, }, }, { BaseModel: &model.BaseModel{ Id: "bdd44c8e-b8a9-488a-89c0-d1e5beb902dg", }, Name: "opensds-files-default", Description: "This is the first file sample storage pool for testing", StorageType: "file", TotalCapacity: int64(200), FreeCapacity: int64(170), AvailabilityZone: "default", DockId: "b7602e18-771e-11e7-8f38-dbd6d291f4e0", Extras: model.StoragePoolExtraSpec{ DataStorage: model.DataStorageLoS{ ProvisioningPolicy: "Thin", Compression: false, Deduplication: false, StorageAccessCapability: []string{"Read", "Write", "Execute"}, }, IOConnectivity: model.IOConnectivityLoS{ AccessProtocol: "nfs", MaxIOPS: 7000000, MaxBWS: 600, MinIOPS: 1000000, MinBWS: 100, Latency: 100, }, Advanced: map[string]interface{}{ "diskType": "SSD", "latency": "5ms", }, }, }, } SampleAvailabilityZones = []string{"default"} { BaseModel: &model.BaseModel{ Id: "d2975ebe-d82c-430f-b28e-f373746a71ca", }, Name: "sample-fileshare-01", Description: "This is first sample fileshare for testing", Size: int64(1), Status: "available", PoolId: "a5965ebe-dg2c-434t-b28e-f373746a71ca", ProfileId: "b3585ebe-c42c-120g-b28e-f373746a71ca", SnapshotId: "b7602e18-771e-11e7-8f38-dbd6d291f4eg", AvailabilityZone: "default", ExportLocations: []string{"192.168.100.100"}, }, { BaseModel: &model.BaseModel{ Id: "1e643aca-4922-4b1a-bb98-4245054aeff4", }, Name: "sample-fileshare-2", Description: "This is second sample fileshare for testing", Size: int64(1), Status: "available", PoolId: "d5f65ebe-ag2c-341s-a25e-f373746a71dr", ProfileId: "1e643aca-4922-4b1a-bb98-4245054aeff4", SnapshotId: "a5965ebe-dg2c-434t-b28e-f373746a71ca", AvailabilityZone: "default", ExportLocations: []string{"192.168.100.101"}, }, } { BaseModel: &model.BaseModel{ Id: "d2975ebe-d82c-430f-b28e-f373746a71ca", }, Description: "This is a sample Acl for testing", }, { BaseModel: &model.BaseModel{ Id: "1e643aca-4922-4b1a-bb98-4245054aeff4", }, Description: "This is a sample Acl for testing", }, { BaseModel: &model.BaseModel{ Id: "6ad25d59-a160-45b2-8920-211be282e2df", }, Description: "This is a sample Acl for testing", ProfileId: "1106b972-66ef-11e7-b172-db03f3689c9c", Type: "ip", AccessCapability: []string{"Read", "Write"}, AccessTo: "10.32.109.15", FileShareId: "d2975ebe-d82c-430f-b28e-f373746a71ca", }, { BaseModel: &model.BaseModel{ Id: "ad25d59-a160-45b2-8920-211be282e2dfh", }, Description: "This is a sample Acl for testing", ProfileId: "1106b972-66ef-11e7-b172-db03f3689c9c", Type: "ip", AccessCapability: []string{"Read", "Write"}, AccessTo: "10.32.109.151", FileShareId: "d2975ebe-d82c-430f-b28e-f373746a71ca", }, } { BaseModel: &model.BaseModel{ Id: "3769855c-a102-11e7-b772-17b880d2f537", }, Name: "sample-snapshot-01", Description: "This is the first sample snapshot for testing", SnapshotSize: int64(1), FileShareId: "d2975ebe-d82c-430f-b28e-f373746a71ca", Status: "available", }, { BaseModel: &model.BaseModel{ Id: "3bfaf2cc-a102-11e7-8ecb-63aea739d755", }, Name: "sample-snapshot-02", Description: "This is the second sample snapshot for testing", SnapshotSize: int64(1), Status: "available", }, } SampleVolumeNames = []string{} SampleVolumes = []model.VolumeSpec{ { BaseModel: &model.BaseModel{ Id: "bd5b12a8-a101-11e7-941e-d77981b584d8", }, Name: "sample-volume", Description: "This is a sample volume for testing", AvailabilityZone: "default", Size: int64(1), Status: "available", PoolId: "084bf71e-a102-11e7-88a8-e31fe6d52248", ProfileId: "1106b972-66ef-11e7-b172-db03f3689c9c", SnapshotId: "", }, { BaseModel: &model.BaseModel{ Id: "bd5b12a8-a101-11e7-941e-d77981b584d8", }, Name: "sample-volume", AvailabilityZone: "default", Description: "This is a sample volume for testing", Size: int64(1), Status: "available", PoolId: "084bf71e-a102-11e7-88a8-e31fe6d52248", ProfileId: "1106b972-66ef-11e7-b172-db03f3689c9c", SnapshotId: "3769855c-a102-11e7-b772-17b880d2f537", }, } SampleMultiVolumes = []model.VolumeSpec{ { BaseModel: &model.BaseModel{ Id: "bd5b12a8-a101-11e7-941e-d77981b584d8", }, Name: "sample-volume-01", Description: "This is a sample volume for testing", AvailabilityZone: "default", Size: int64(2), Status: "available", PoolId: "084bf71e-a102-11e7-88a8-e31fe6d52248", ProfileId: "1106b972-66ef-11e7-b172-db03f3689c9c", SnapshotId: "", }, { BaseModel: &model.BaseModel{ Id: "bd5b12a8-a101-11e7-941e-d77981b584d8", }, Name: "sample-volume-02", AvailabilityZone: "default", Description: "This is a sample volume for testing", Size: int64(1), Status: "available", PoolId: "084bf71e-a102-11e7-88a8-e31fe6d52248", ProfileId: "1106b972-66ef-11e7-b172-db03f3689c9c", SnapshotId: "3769855c-a102-11e7-b772-17b880d2f537", }, } SampleVolumeWithDurableName = []model.VolumeSpec{ { BaseModel: &model.BaseModel{ Id: "bd5b12a8-a101-11e7-941e-d77981b584d8", }, Name: "sample-volume-01", Description: "This is a sample volume for testing", AvailabilityZone: "default", Size: int64(2), Status: "available", PoolId: "084bf71e-a102-11e7-88a8-e31fe6d52248", ProfileId: "1106b972-66ef-11e7-b172-db03f3689c9c", SnapshotId: "", Identifier: &model.Identifier{DurableName: "6216b2326e974b5fb0b3d2af5cd6b25b", DurableNameFormat: "NAA"}, }, } { BaseModel: &model.BaseModel{ Id: "bd5b12a8-a101-11e7-941e-d77981b584d8", }, Name: "sample-fileshare", Description: "This is a sample fileshare for testing", Size: int64(1), Status: "available", PoolId: "084bf71e-a102-11e7-88a8-e31fe6d52248", ProfileId: "1106b972-66ef-11e7-b172-db03f3689c9c", SnapshotId: "", }, { BaseModel: &model.BaseModel{ Id: "bd5b12a8-a101-11e7-941e-d77981b584d8", }, Name: "sample-fileshare", Description: "This is a sample fileshare for testing", Size: int64(1), Status: "available", PoolId: "084bf71e-a102-11e7-88a8-e31fe6d52248", ProfileId: "1106b972-66ef-11e7-b172-db03f3689c9c", SnapshotId: "3769855c-a102-11e7-b772-17b880d2f537", }, } SampleConnection = model.ConnectionInfo{ DriverVolumeType: "iscsi", ConnectionData: map[string]interface{}{ "targetDiscovered": true, "targetIqn": "iqn.2017-10.io.opensds:volume:00000001", "targetPortal": "127.0.0.0.1:3260", "discard": false, }, } SampleAttachments = []model.VolumeAttachmentSpec{ { BaseModel: &model.BaseModel{ Id: "f2dda3d2-bf79-11e7-8665-f750b088f63e", }, Status: "available", VolumeId: "bd5b12a8-a101-11e7-941e-d77981b584d8", HostId: "202964b5-8e73-46fd-b41b-a8e403f3c30b", ConnectionInfo: model.ConnectionInfo{ DriverVolumeType: "iscsi", ConnectionData: map[string]interface{}{ "targetDiscovered": true, "targetIqn": "iqn.2017-10.io.opensds:volume:00000001", "targetPortal": "127.0.0.0.1:3260", "discard": false, }, }, }, } SampleMultiAttachments = []model.VolumeAttachmentSpec{ { BaseModel: &model.BaseModel{ Id: "f2dda3d2-bf79-11e7-8665-f750b088f63e", }, Status: "available", VolumeId: "bd5b12a8-a101-11e7-941e-d77981b584d8", HostId: "202964b5-8e73-46fd-b41b-a8e403f3c30b", ConnectionInfo: model.ConnectionInfo{ DriverVolumeType: "iscsi", ConnectionData: map[string]interface{}{ "targetDiscovered": true, "targetIqn": "iqn.2017-10.io.opensds:volume:00000001", "targetPortal": "127.0.0.0.1:3260", "discard": false, }, }, }, { BaseModel: &model.BaseModel{ Id: "3769855c-a102-11e7-b772-17b880d2f537", }, Status: "attached", VolumeId: "bd5b12a8-a101-11e7-941e-d77981b584d9", HostId: "202964b5-8e73-46fd-b41b-a8e403f3c30b", ConnectionInfo: model.ConnectionInfo{ DriverVolumeType: "iscsi", ConnectionData: map[string]interface{}{ "targetDiscovered": true, "targetIqn": "iqn.2017-10.io.opensds:volume:00000001", "targetPortal": "127.0.0.0.1:3260", "discard": false, }, }, }, } SampleSnapshots = []model.VolumeSnapshotSpec{ { BaseModel: &model.BaseModel{ Id: "3769855c-a102-11e7-b772-17b880d2f537", }, Name: "sample-snapshot-01", Description: "This is the first sample snapshot for testing", Size: int64(1), Status: "available", VolumeId: "bd5b12a8-a101-11e7-941e-d77981b584d8", ProfileId: "1106b972-66ef-11e7-b172-db03f3689c9c", }, { BaseModel: &model.BaseModel{ Id: "3bfaf2cc-a102-11e7-8ecb-63aea739d755", }, Name: "sample-snapshot-02", Description: "This is the second sample snapshot for testing", Size: int64(1), Status: "available", VolumeId: "bd5b12a8-a101-11e7-941e-d77981b584d8", ProfileId: "1106b972-66ef-11e7-b172-db03f3689c9c", }, } { BaseModel: &model.BaseModel{ Id: "3769855c-a102-11e7-b772-17b880d2f537", }, Name: "sample-snapshot-01", Description: "This is the first sample snapshot for testing", ShareSize: int64(1), Status: "available", FileShareId: "bd5b12a8-a101-11e7-941e-d77981b584d8", ProfileId: "1106b972-66ef-11e7-b172-db03f3689c9c", }, { BaseModel: &model.BaseModel{ Id: "3bfaf2cc-a102-11e7-8ecb-63aea739d755", }, Name: "sample-snapshot-02", Description: "This is the second sample snapshot for testing", ShareSize: int64(1), Status: "available", FileShareId: "bd5b12a8-a101-11e7-941e-d77981b584d8", ProfileId: "1106b972-66ef-11e7-b172-db03f3689c9c", }, } SampleReplications = []model.ReplicationSpec{ { BaseModel: &model.BaseModel{ Id: "c299a978-4f3e-11e8-8a5c-977218a83359", }, PrimaryVolumeId: "bd5b12a8-a101-11e7-941e-d77981b584d8", SecondaryVolumeId: "bd5b12a8-a101-11e7-941e-d77981b584d8", Name: "sample-replication-01", Description: "This is a sample replication for testing", PoolId: "084bf71e-a102-11e7-88a8-e31fe6d52248", ProfileId: "1106b972-66ef-11e7-b172-db03f3689c9c", }, { BaseModel: &model.BaseModel{ Id: "73bfdd58-4f3f-11e8-91c0-d39a05f391ee", }, PrimaryVolumeId: "bd5b12a8-a101-11e7-941e-d77981b584d8", SecondaryVolumeId: "bd5b12a8-a101-11e7-941e-d77981b584d8", Name: "sample-replication-02", Description: "This is a sample replication for testing", PoolId: "084bf71e-a102-11e7-88a8-e31fe6d52248", ProfileId: "1106b972-66ef-11e7-b172-db03f3689c9c", }, } SampleVolumeGroups = []model.VolumeGroupSpec{ { BaseModel: &model.BaseModel{ Id: "3769855c-a102-11e7-b772-17b880d2f555", }, Name: "sample-group-01", Description: "This is the first sample group for testing", Status: "available", PoolId: "084bf71e-a102-11e7-88a8-e31fe6d52248", }, } SampleHosts = []model.HostSpec{ { BaseModel: &model.BaseModel{ Id: "202964b5-8e73-46fd-b41b-a8e403f3c30b", CreatedAt: "2019-11-11T11:01:33", }, TenantId: "x", AccessMode: "agentless", HostName: "sap1", IP: "192.168.56.12", AvailabilityZones: []string{"default", "az2"}, Initiators: []*model.Initiator{ &model.Initiator{ PortName: "20000024ff5bb888", Protocol: "iscsi", }, &model.Initiator{ PortName: "20000024ff5bc999", Protocol: "iscsi", }, }, }, { BaseModel: &model.BaseModel{ Id: "eb73e59a-8b0f-4517-8b95-023ec134aec9", CreatedAt: "2019-11-11T11:13:57", }, TenantId: "x", AccessMode: "agentless", HostName: "sap2", IP: "192.168.56.13", AvailabilityZones: []string{"default", "az2"}, Initiators: []*model.Initiator{ &model.Initiator{ PortName: "20012324ff5ac132", Protocol: "iscsi", }, }, }, } )
View Source
var ( ByteProfile = `` /* 133-byte string literal not displayed */ ByteProfiles = `` /* 600-byte string literal not displayed */ ByteCustomProperties = `` /* 289-byte string literal not displayed */ ByteDock = `` /* 184-byte string literal not displayed */ ByteDocks = `` /* 197-byte string literal not displayed */ BytePool = `` /* 564-byte string literal not displayed */ BytePools = `` /* 1375-byte string literal not displayed */ "id": "d2975ebe-d82c-430f-b28e-f373746a71ca", "description": "This is a sample Acl for testing" }` ByteVolume = `` /* 318-byte string literal not displayed */ ByteVolumes = `` /* 337-byte string literal not displayed */ ByteAttachment = `` /* 514-byte string literal not displayed */ ByteAttachments = `` /* 537-byte string literal not displayed */ ByteSnapshot = `` /* 296-byte string literal not displayed */ ByteVolumeGroup = `` /* 167-byte string literal not displayed */ ByteVolumeGroups = `` /* 179-byte string literal not displayed */ ByteSnapshots = `` /* 508-byte string literal not displayed */ ByteReplication = `` /* 385-byte string literal not displayed */ ByteReplications = `` /* 783-byte string literal not displayed */ ByteVersion = `{ "name": "v1beta", "status": "SUPPORTED", "updatedAt": "2017-04-10T14:36:58.014Z" }` ByteVersions = `[ { "name": "v1beta", "status": "CURRENT", "updatedAt": "2017-07-10T14:36:58.014Z" } ]` ByteHost = `` /* 566-byte string literal not displayed */ ByteHosts = `` /* 1358-byte string literal not displayed */ )
The Byte*** variable here is designed for unit test in client package. For how to ultilize these pre-assigned variables, please refer to (github.com/opensds/opensds/client/dock_test.go).
View Source
var ( StringSliceProfiles = []string{ `{ "id": "1106b972-66ef-11e7-b172-db03f3689c9c", "name": "default", "description": "default policy", "storageType": "block", "customProperties": {} }`, `{ "id": "2f9c0a04-66ef-11e7-ade2-43158893e017", "name": "silver", "description": "silver policy", "storageType": "block", "customProperties": { "dataStorage": { "provisioningPolicy": "Thin", "compression": true, "deduplication": true }, "ioConnectivity": { "accessProtocol": "rbd", "maxIOPS": 5000000, "maxBWS": 500, "minIOPS": 1000000, "minBWS": 100, "latency": 100 } } }`, } StringSliceDocks = []string{ `{ "id": "b7602e18-771e-11e7-8f38-dbd6d291f4e0", "name": "sample", "description": "sample backend service", "endpoint": "localhost:50050", "driverName": "sample", "type": "provisioner" }`, } StringSlicePools = []string{ `{ "id": "084bf71e-a102-11e7-88a8-e31fe6d52248", "name": "sample-pool-01", "description": "This is the first sample storage pool for testing", "storageType": "block", "totalCapacity": 100, "freeCapacity": 90, "dockId": "b7602e18-771e-11e7-8f38-dbd6d291f4e0", "availabilityZone": "default", "multiAttach": true, "extras": { "dataStorage": { "provisioningPolicy": "Thin", "compression": true, "deduplication": false }, "ioConnectivity": { "accessProtocol": "rbd", "maxIOPS": 8000000, "maxBWS": 700, "minIOPS": 1000000, "minBWS": 100, "latency": 100 }, "advanced": { "diskType": "SSD", "latency": "3ms" } } }`, } StringSliceVolumes = []string{ `{ "id": "bd5b12a8-a101-11e7-941e-d77981b584d8", "name": "sample-volume", "description": "This is a sample volume for testing", "size": 1, "availabilityZone": "default", "status": "available", "poolId": "084bf71e-a102-11e7-88a8-e31fe6d52248", "profileId": "1106b972-66ef-11e7-b172-db03f3689c9c" }`, } StringSliceAttachments = []string{ `{ "id": "f2dda3d2-bf79-11e7-8665-f750b088f63e", "status": "available", "volumeId": "bd5b12a8-a101-11e7-941e-d77981b584d8", "hostId": "202964b5-8e73-46fd-b41b-a8e403f3c30b", "connectionInfo": { "driverVolumeType": "iscsi", "data": { "targetDiscovered": true, "targetIqn": "iqn.2017-10.io.opensds:volume:00000001", "targetPortal": "127.0.0.0.1:3260", "discard": false } } }`, } StringSliceSnapshots = []string{ `{ "id": "3769855c-a102-11e7-b772-17b880d2f537", "name": "sample-snapshot-01", "description": "This is the first sample snapshot for testing", "size": 1, "status": "available", "volumeId": "bd5b12a8-a101-11e7-941e-d77981b584d8", "profileId": "1106b972-66ef-11e7-b172-db03f3689c9c" }`, `{ "id": "3bfaf2cc-a102-11e7-8ecb-63aea739d755", "name": "sample-snapshot-02", "description": "This is the second sample snapshot for testing", "size": 1, "status": "available", "volumeId": "bd5b12a8-a101-11e7-941e-d77981b584d8", "profileId": "1106b972-66ef-11e7-b172-db03f3689c9c" }`, } StringSliceReplications = []string{ `{ "id": "c299a978-4f3e-11e8-8a5c-977218a83359", "primaryVolumeId": "bd5b12a8-a101-11e7-941e-d77981b584d8", "secondaryVolumeId": "bd5b12a8-a101-11e7-941e-d77981b584d8", "name": "sample-replication-01", "description": "This is a sample replication for testing", "poolId": "084bf71e-a102-11e7-88a8-e31fe6d52248", "profileId": "1106b972-66ef-11e7-b172-db03f3689c9c" }`, `{ "id": "73bfdd58-4f3f-11e8-91c0-d39a05f391ee", "primaryVolumeId": "bd5b12a8-a101-11e7-941e-d77981b584d8", "secondaryVolumeId": "bd5b12a8-a101-11e7-941e-d77981b584d8", "name": "sample-replication-02", "description": "This is a sample replication for testing", "poolId": "084bf71e-a102-11e7-88a8-e31fe6d52248", "profileId": "1106b972-66ef-11e7-b172-db03f3689c9c" }`, } )
The StringSlice*** variable here is designed for unit test in etcd package. For how to ultilize these pre-assigned variables, please refer to (github.com/opensds/opensds/pkg/db/drivers/etcd/etcd_test.go).
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.