@@ -19,6 +19,9 @@ type ListAggregateInstanceTypes struct {
1919
2020func OpListAggregateInstanceTypes () * ListAggregateInstanceTypes {
2121 return & ListAggregateInstanceTypes {
22+ list : AggregatedInstanceTypeList {
23+ Items : make ([]AggregatedInstanceType , 0 ),
24+ },
2225 itemIndexer : make (map [AggregatedInstanceTypeSpec ]int ),
2326 }
2427}
@@ -359,7 +362,11 @@ type ListClusterInstanceTypes struct {
359362}
360363
361364func OpListClusterInstanceTypes () * ListClusterInstanceTypes {
362- return & ListClusterInstanceTypes {}
365+ return & ListClusterInstanceTypes {
366+ list : ClusterInstanceTypeList {
367+ Items : make ([]ClusterInstanceType , 0 ),
368+ },
369+ }
363370}
364371
365372func (in * ListClusterInstanceTypes ) Next (cluster string , obj runtime.Object ) error {
@@ -411,7 +418,11 @@ type ListClusterInstances struct {
411418}
412419
413420func OpListClusterInstances () * ListClusterInstances {
414- return & ListClusterInstances {}
421+ return & ListClusterInstances {
422+ list : ClusterInstanceList {
423+ Items : make ([]ClusterInstance , 0 ),
424+ },
425+ }
415426}
416427
417428func (in * ListClusterInstances ) Next (cluster string , obj runtime.Object ) error {
@@ -468,7 +479,11 @@ type ListClusterInstancePersistentVolumeTypes struct {
468479}
469480
470481func OpListClusterInstancePersistentVolumeTypes () * ListClusterInstancePersistentVolumeTypes {
471- return & ListClusterInstancePersistentVolumeTypes {}
482+ return & ListClusterInstancePersistentVolumeTypes {
483+ list : ClusterInstancePersistentVolumeTypeList {
484+ Items : make ([]ClusterInstancePersistentVolumeType , 0 ),
485+ },
486+ }
472487}
473488
474489func (in * ListClusterInstancePersistentVolumeTypes ) Next (cluster string , obj runtime.Object ) error {
@@ -577,7 +592,11 @@ type ListClusterInstanceImagePullSecrets struct {
577592}
578593
579594func OpListClusterInstanceImagePullSecrets () * ListClusterInstanceImagePullSecrets {
580- return & ListClusterInstanceImagePullSecrets {}
595+ return & ListClusterInstanceImagePullSecrets {
596+ list : ClusterInstanceImagePullSecretList {
597+ Items : make ([]ClusterInstanceImagePullSecret , 0 ),
598+ },
599+ }
581600}
582601
583602func (in * ListClusterInstanceImagePullSecrets ) Next (cluster string , obj runtime.Object ) error {
@@ -634,7 +653,11 @@ type ListClusterInstanceSSHPublicKeys struct {
634653}
635654
636655func OpListClusterInstanceSSHPublicKeys () * ListClusterInstanceSSHPublicKeys {
637- return & ListClusterInstanceSSHPublicKeys {}
656+ return & ListClusterInstanceSSHPublicKeys {
657+ list : ClusterInstanceSSHPublicKeyList {
658+ Items : make ([]ClusterInstanceSSHPublicKey , 0 ),
659+ },
660+ }
638661}
639662
640663func (in * ListClusterInstanceSSHPublicKeys ) Next (cluster string , obj runtime.Object ) error {
0 commit comments