github.com/khulnasoft/cli@v0.0.0-20240402070845-01bcad7beefa/cli/command/volume/testdata/volume-inspect-cluster.golden (about) 1 [ 2 { 3 "ClusterVolume": { 4 "ID": "fooid", 5 "Version": { 6 "Index": 123 7 }, 8 "CreatedAt": "0001-01-01T00:00:00Z", 9 "UpdatedAt": "0001-01-01T00:00:00Z", 10 "Spec": { 11 "Group": "group0", 12 "AccessMode": { 13 "Scope": "multi", 14 "Sharing": "all", 15 "BlockVolume": {} 16 }, 17 "AccessibilityRequirements": { 18 "Requisite": [ 19 { 20 "Segments": { 21 "region": "R1", 22 "zone": "Z1" 23 } 24 }, 25 { 26 "Segments": { 27 "region": "R1", 28 "zone": "Z2" 29 } 30 } 31 ], 32 "Preferred": [ 33 { 34 "Segments": { 35 "region": "R1", 36 "zone": "Z1" 37 } 38 } 39 ] 40 }, 41 "CapacityRange": { 42 "RequiredBytes": 1000, 43 "LimitBytes": 1000000 44 }, 45 "Secrets": [ 46 { 47 "Key": "secretkey1", 48 "Secret": "mysecret1" 49 }, 50 { 51 "Key": "secretkey2", 52 "Secret": "mysecret2" 53 } 54 ], 55 "Availability": "active" 56 }, 57 "PublishStatus": [ 58 { 59 "NodeID": "node1", 60 "State": "published", 61 "PublishContext": { 62 "some": "data", 63 "yup": "data" 64 } 65 }, 66 { 67 "NodeID": "node2", 68 "State": "pending-node-unpublish", 69 "PublishContext": { 70 "publish": "context", 71 "some": "more" 72 } 73 } 74 ], 75 "Info": { 76 "CapacityBytes": 10000, 77 "VolumeContext": { 78 "has": "entries", 79 "the": "context" 80 }, 81 "VolumeID": "clusterdriver1volume1id", 82 "AccessibleTopology": [ 83 { 84 "Segments": { 85 "region": "R1", 86 "zone": "Z1" 87 } 88 } 89 ] 90 } 91 }, 92 "Driver": "clusterdriver1", 93 "Labels": null, 94 "Mountpoint": "", 95 "Name": "clustervolume", 96 "Options": null, 97 "Scope": "global" 98 } 99 ]