@@ -3,21 +3,21 @@ package fixtures
3
3
import (
4
4
"encoding/json"
5
5
6
- serverservice "go.hollow.sh/serverservice /pkg/api/v1"
6
+ fleetdbapi "github.com/metal-toolbox/fleetdb /pkg/api/v1"
7
7
)
8
8
9
9
var (
10
10
// To refresh this fixture, see the serverservice_components_test.go file
11
11
// and/or docs/README.development
12
12
// nolint:simplifycompositelit // testdata
13
- ServerServiceE3C246D4INLcomponents = serverservice .ServerComponentSlice {
14
- serverservice .ServerComponent {
13
+ FleetDBAPIE3C246D4INLcomponents = fleetdbapi .ServerComponentSlice {
14
+ fleetdbapi .ServerComponent {
15
15
Name : "BIOS" ,
16
16
Vendor : "american megatrends" ,
17
17
Model : "" ,
18
18
Serial : "0" ,
19
- Attributes : []serverservice .Attributes {
20
- serverservice .Attributes {
19
+ Attributes : []fleetdbapi .Attributes {
20
+ fleetdbapi .Attributes {
21
21
Namespace : "sh.hollow.alloy.outofband.metadata" ,
22
22
Data : json.RawMessage {
23
23
123 ,
90
90
},
91
91
},
92
92
},
93
- VersionedAttributes : []serverservice .VersionedAttributes {
94
- serverservice .VersionedAttributes {
93
+ VersionedAttributes : []fleetdbapi .VersionedAttributes {
94
+ fleetdbapi .VersionedAttributes {
95
95
Namespace : "sh.hollow.alloy.outofband.firmware" ,
96
96
Data : json.RawMessage {
97
97
123 ,
@@ -137,13 +137,13 @@ var (
137
137
ComponentTypeName : "BIOS" ,
138
138
ComponentTypeSlug : "bios" ,
139
139
},
140
- serverservice .ServerComponent {
140
+ fleetdbapi .ServerComponent {
141
141
Name : "Mainboard" ,
142
142
Vendor : "asrockrack" ,
143
143
Model : "E3C246D4I-NL" ,
144
144
Serial : "196231220000153" ,
145
- Attributes : []serverservice .Attributes {
146
- serverservice .Attributes {
145
+ Attributes : []fleetdbapi .Attributes {
146
+ fleetdbapi .Attributes {
147
147
Namespace : "sh.hollow.alloy.outofband.metadata" ,
148
148
Data : json.RawMessage {
149
149
123 ,
@@ -226,13 +226,13 @@ var (
226
226
ComponentTypeName : "Mainboard" ,
227
227
ComponentTypeSlug : "mainboard" ,
228
228
},
229
- serverservice .ServerComponent {
229
+ fleetdbapi .ServerComponent {
230
230
Name : "PhysicalMemory" ,
231
231
Vendor : "micron" ,
232
232
Model : "18ASF2G72HZ-2G6E1" ,
233
233
Serial : "F0F9053F" ,
234
- Attributes : []serverservice .Attributes {
235
- serverservice .Attributes {
234
+ Attributes : []fleetdbapi .Attributes {
235
+ fleetdbapi .Attributes {
236
236
Namespace : "sh.hollow.alloy.outofband.metadata" ,
237
237
Data : json.RawMessage {
238
238
123 ,
@@ -414,13 +414,13 @@ var (
414
414
ComponentTypeName : "PhysicalMemory" ,
415
415
ComponentTypeSlug : "physicalmemory" ,
416
416
},
417
- serverservice .ServerComponent {
417
+ fleetdbapi .ServerComponent {
418
418
Name : "PhysicalMemory" ,
419
419
Vendor : "micron" ,
420
420
Model : "18ASF2G72HZ-2G6E1" ,
421
421
Serial : "F0F90894" ,
422
- Attributes : []serverservice .Attributes {
423
- serverservice .Attributes {
422
+ Attributes : []fleetdbapi .Attributes {
423
+ fleetdbapi .Attributes {
424
424
Namespace : "sh.hollow.alloy.outofband.metadata" ,
425
425
Data : json.RawMessage {
426
426
123 ,
@@ -602,13 +602,13 @@ var (
602
602
ComponentTypeName : "PhysicalMemory" ,
603
603
ComponentTypeSlug : "physicalmemory" ,
604
604
},
605
- serverservice .ServerComponent {
605
+ fleetdbapi .ServerComponent {
606
606
Name : "NIC" ,
607
607
Vendor : "intel" ,
608
608
Model : "Ethernet Controller X710 for 10GbE SFP+" ,
609
609
Serial : "b4:96:91:70:26:c8" ,
610
- Attributes : []serverservice .Attributes {
611
- serverservice .Attributes {
610
+ Attributes : []fleetdbapi .Attributes {
611
+ fleetdbapi .Attributes {
612
612
Namespace : "sh.hollow.alloy.outofband.metadata" ,
613
613
Data : json.RawMessage {
614
614
91 ,
@@ -892,8 +892,8 @@ var (
892
892
},
893
893
},
894
894
},
895
- VersionedAttributes : []serverservice .VersionedAttributes {
896
- serverservice .VersionedAttributes {
895
+ VersionedAttributes : []fleetdbapi .VersionedAttributes {
896
+ fleetdbapi .VersionedAttributes {
897
897
Namespace : "sh.hollow.alloy.outofband.firmware" ,
898
898
Data : json.RawMessage {
899
899
123 ,
@@ -941,13 +941,13 @@ var (
941
941
ComponentTypeName : "NIC" ,
942
942
ComponentTypeSlug : "nic" ,
943
943
},
944
- serverservice .ServerComponent {
944
+ fleetdbapi .ServerComponent {
945
945
Name : "Drive" ,
946
946
Vendor : "intel" ,
947
947
Model : "INTEL SSDSC2KB48" ,
948
948
Serial : "PHYF001300HB480BGN" ,
949
- Attributes : []serverservice .Attributes {
950
- serverservice .Attributes {
949
+ Attributes : []fleetdbapi .Attributes {
950
+ fleetdbapi .Attributes {
951
951
Namespace : "sh.hollow.alloy.outofband.metadata" ,
952
952
Data : json.RawMessage {
953
953
123 ,
@@ -1074,13 +1074,13 @@ var (
1074
1074
ComponentTypeName : "Drive" ,
1075
1075
ComponentTypeSlug : "drive" ,
1076
1076
},
1077
- serverservice .ServerComponent {
1077
+ fleetdbapi .ServerComponent {
1078
1078
Name : "Drive" ,
1079
1079
Vendor : "intel" ,
1080
1080
Model : "INTEL SSDSC2KB48" ,
1081
1081
Serial : "PHYF001209KL480BGN" ,
1082
- Attributes : []serverservice .Attributes {
1083
- serverservice .Attributes {
1082
+ Attributes : []fleetdbapi .Attributes {
1083
+ fleetdbapi .Attributes {
1084
1084
Namespace : "sh.hollow.alloy.outofband.metadata" ,
1085
1085
Data : json.RawMessage {
1086
1086
123 ,
@@ -1207,13 +1207,13 @@ var (
1207
1207
ComponentTypeName : "Drive" ,
1208
1208
ComponentTypeSlug : "drive" ,
1209
1209
},
1210
- serverservice .ServerComponent {
1210
+ fleetdbapi .ServerComponent {
1211
1211
Name : "CPU" ,
1212
1212
Vendor : "intel" ,
1213
1213
Model : "Intel(R) Xeon(R) E-2278G CPU @ 3.40GHz" ,
1214
1214
Serial : "0" ,
1215
- Attributes : []serverservice .Attributes {
1216
- serverservice .Attributes {
1215
+ Attributes : []fleetdbapi .Attributes {
1216
+ fleetdbapi .Attributes {
1217
1217
Namespace : "sh.hollow.alloy.outofband.metadata" ,
1218
1218
Data : json.RawMessage {
1219
1219
123 ,
@@ -1365,13 +1365,13 @@ var (
1365
1365
ComponentTypeName : "CPU" ,
1366
1366
ComponentTypeSlug : "cpu" ,
1367
1367
},
1368
- serverservice .ServerComponent {
1368
+ fleetdbapi .ServerComponent {
1369
1369
Name : "StorageController" ,
1370
1370
Vendor : "intel" ,
1371
1371
Model : "Cannon Lake PCH SATA AHCI Controller" ,
1372
1372
Serial : "0" ,
1373
- Attributes : []serverservice .Attributes {
1374
- serverservice .Attributes {
1373
+ Attributes : []fleetdbapi .Attributes {
1374
+ fleetdbapi .Attributes {
1375
1375
Namespace : "sh.hollow.alloy.outofband.metadata" ,
1376
1376
Data : json.RawMessage {
1377
1377
123 ,
0 commit comments