refactor: sort scheme.AddKnownTypes objects
@@ -21,38 +21,36 @@ func Resource(resource string) schema.GroupResource {
func addKnownTypes(scheme *runtime.Scheme) error {
scheme.AddKnownTypes(SchemeGroupVersion,
- &Volume{},
- &VolumeList{},
- &Engine{},
- &EngineList{},
- &Replica{},
- &ReplicaList{},
- &Setting{},
- &SettingList{},
- &EngineImage{},
- &EngineImageList{},
- &Node{},
- &NodeList{},
- &InstanceManager{},
- &InstanceManagerList{},
- &ShareManager{},
- &ShareManagerList{},
&BackingImage{},
&BackingImageList{},
- &BackingImageManager{},
- &BackingImageManagerList{},
&BackingImageDataSource{},
&BackingImageDataSourceList{},
+ &BackingImageManager{},
+ &BackingImageManagerList{},
+ &Backup{},
+ &BackupList{},
&BackupTarget{},
&BackupTargetList{},
&BackupVolume{},
&BackupVolumeList{},
- &Backup{},
- &BackupList{},
- &RecurringJob{},
- &RecurringJobList{},
+ &Engine{},
+ &EngineList{},
+ &EngineImage{},
+ &EngineImageList{},
+ &InstanceManager{},
+ &InstanceManagerList{},
+ &Node{},
+ &NodeList{},
&Orphan{},
&OrphanList{},
+ &RecurringJob{},
+ &RecurringJobList{},
+ &Replica{},
+ &ReplicaList{},
+ &Setting{},
+ &SettingList{},
+ &ShareManager{},
+ &ShareManagerList{},
&Snapshot{},
&SnapshotList{},
&SupportBundle{},
@@ -61,6 +59,8 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&SystemBackupList{},
&SystemRestore{},
&SystemRestoreList{},
+ &Volume{},
+ &VolumeList{},
)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
