From dcacf9576de1911ceccfd7fde850fcc5d9833803 Mon Sep 17 00:00:00 2001 From: yaacov Date: Thu, 6 Jun 2024 11:59:23 +0300 Subject: [PATCH] let the user choose the boot disk Signed-off-by: yaacov --- package.json | 2 +- .../crds/forklift.konveyor.io_migrations.yaml | 3 + .../crds/forklift.konveyor.io_plans.yaml | 6 ++ .../models/V1beta1MigrationStatusVms.ts | 6 ++ .../models/V1beta1MigrationStatusVmsLuks.ts | 61 +++++++++++++++++++ .../forklift/models/V1beta1PlanSpecVms.ts | 6 ++ .../forklift/models/V1beta1PlanSpecVmsLuks.ts | 61 +++++++++++++++++++ .../models/V1beta1PlanStatusMigrationVms.ts | 6 ++ .../V1beta1PlanStatusMigrationVmsLuks.ts | 61 +++++++++++++++++++ src/generated/forklift/openapi.yaml | 9 +++ 10 files changed, 220 insertions(+), 1 deletion(-) create mode 100644 src/generated/forklift/models/V1beta1MigrationStatusVmsLuks.ts create mode 100644 src/generated/forklift/models/V1beta1PlanSpecVmsLuks.ts create mode 100644 src/generated/forklift/models/V1beta1PlanStatusMigrationVmsLuks.ts diff --git a/package.json b/package.json index 47f2c92..293f0be 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kubev2v/types", - "version": "0.0.16", + "version": "0.0.17", "description": "Typescript interfaces and types for forklift-console-plugin", "license": "Apache-2.0", "private": false, diff --git a/src/generated/forklift/crds/forklift.konveyor.io_migrations.yaml b/src/generated/forklift/crds/forklift.konveyor.io_migrations.yaml index 2256612..2a64671 100644 --- a/src/generated/forklift/crds/forklift.konveyor.io_migrations.yaml +++ b/src/generated/forklift/crds/forklift.konveyor.io_migrations.yaml @@ -467,6 +467,9 @@ spec: restorePowerState: description: Source VM power state before migration. type: string + rootDisk: + description: Choose the bootable disk number for praimery + type: string started: description: Started timestamp. format: date-time diff --git a/src/generated/forklift/crds/forklift.konveyor.io_plans.yaml b/src/generated/forklift/crds/forklift.konveyor.io_plans.yaml index 959b4c1..905ead5 100644 --- a/src/generated/forklift/crds/forklift.konveyor.io_plans.yaml +++ b/src/generated/forklift/crds/forklift.konveyor.io_plans.yaml @@ -372,6 +372,9 @@ spec: description: The VM Namespace Only relevant for an openshift source. type: string + rootDisk: + description: Choose the bootable disk number for praimery + type: string type: description: Type used to qualify the name. type: string @@ -949,6 +952,9 @@ spec: restorePowerState: description: Source VM power state before migration. type: string + rootDisk: + description: Choose the bootable disk number for praimery + type: string started: description: Started timestamp. format: date-time diff --git a/src/generated/forklift/models/V1beta1MigrationStatusVms.ts b/src/generated/forklift/models/V1beta1MigrationStatusVms.ts index 2014327..0194830 100644 --- a/src/generated/forklift/models/V1beta1MigrationStatusVms.ts +++ b/src/generated/forklift/models/V1beta1MigrationStatusVms.ts @@ -96,6 +96,12 @@ export interface V1beta1MigrationStatusVms { * @required {false} */ restorePowerState?: string; + /** rootDisk + * Choose the bootable disk number for praimery + * + * @required {false} + */ + rootDisk?: string; /** started * Started timestamp. * diff --git a/src/generated/forklift/models/V1beta1MigrationStatusVmsLuks.ts b/src/generated/forklift/models/V1beta1MigrationStatusVmsLuks.ts new file mode 100644 index 0000000..73718c8 --- /dev/null +++ b/src/generated/forklift/models/V1beta1MigrationStatusVmsLuks.ts @@ -0,0 +1,61 @@ +/** + * + * + * + * The version of the OpenAPI document: + * Contact Email: + * License: + * + * NOTE: This file is auto generated by crdtotypes (https://github.com/yaacov/crdtoapi/). + * https://github.com/yaacov/crdtoapi/README.crdtotypes + */ + +/** + * Disk decryption LUKS keys + * + * @export + */ +export interface V1beta1MigrationStatusVmsLuks { + /** apiVersion + * API version of the referent. + * + * @required {false} + */ + apiVersion?: string; + /** fieldPath + * If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. + * + * @required {false} + */ + fieldPath?: string; + /** kind + * Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + * + * @required {false} + */ + kind?: string; + /** name + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + * + * @required {false} + */ + name?: string; + /** namespace + * Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + * + * @required {false} + */ + namespace?: string; + /** resourceVersion + * Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + * + * @required {false} + */ + resourceVersion?: string; + /** uid + * UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + * + * @required {false} + */ + uid?: string; +} diff --git a/src/generated/forklift/models/V1beta1PlanSpecVms.ts b/src/generated/forklift/models/V1beta1PlanSpecVms.ts index fb3188c..8ec28ea 100644 --- a/src/generated/forklift/models/V1beta1PlanSpecVms.ts +++ b/src/generated/forklift/models/V1beta1PlanSpecVms.ts @@ -49,6 +49,12 @@ export interface V1beta1PlanSpecVms { * @required {false} */ namespace?: string; + /** rootDisk + * Choose the bootable disk number for praimery + * + * @required {false} + */ + rootDisk?: string; /** type * Type used to qualify the name. * diff --git a/src/generated/forklift/models/V1beta1PlanSpecVmsLuks.ts b/src/generated/forklift/models/V1beta1PlanSpecVmsLuks.ts new file mode 100644 index 0000000..07e5469 --- /dev/null +++ b/src/generated/forklift/models/V1beta1PlanSpecVmsLuks.ts @@ -0,0 +1,61 @@ +/** + * + * + * + * The version of the OpenAPI document: + * Contact Email: + * License: + * + * NOTE: This file is auto generated by crdtotypes (https://github.com/yaacov/crdtoapi/). + * https://github.com/yaacov/crdtoapi/README.crdtotypes + */ + +/** + * Disk decryption LUKS keys + * + * @export + */ +export interface V1beta1PlanSpecVmsLuks { + /** apiVersion + * API version of the referent. + * + * @required {false} + */ + apiVersion?: string; + /** fieldPath + * If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. + * + * @required {false} + */ + fieldPath?: string; + /** kind + * Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + * + * @required {false} + */ + kind?: string; + /** name + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + * + * @required {false} + */ + name?: string; + /** namespace + * Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + * + * @required {false} + */ + namespace?: string; + /** resourceVersion + * Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + * + * @required {false} + */ + resourceVersion?: string; + /** uid + * UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + * + * @required {false} + */ + uid?: string; +} diff --git a/src/generated/forklift/models/V1beta1PlanStatusMigrationVms.ts b/src/generated/forklift/models/V1beta1PlanStatusMigrationVms.ts index 4c98b78..f99faa4 100644 --- a/src/generated/forklift/models/V1beta1PlanStatusMigrationVms.ts +++ b/src/generated/forklift/models/V1beta1PlanStatusMigrationVms.ts @@ -96,6 +96,12 @@ export interface V1beta1PlanStatusMigrationVms { * @required {false} */ restorePowerState?: string; + /** rootDisk + * Choose the bootable disk number for praimery + * + * @required {false} + */ + rootDisk?: string; /** started * Started timestamp. * diff --git a/src/generated/forklift/models/V1beta1PlanStatusMigrationVmsLuks.ts b/src/generated/forklift/models/V1beta1PlanStatusMigrationVmsLuks.ts new file mode 100644 index 0000000..c923d7b --- /dev/null +++ b/src/generated/forklift/models/V1beta1PlanStatusMigrationVmsLuks.ts @@ -0,0 +1,61 @@ +/** + * + * + * + * The version of the OpenAPI document: + * Contact Email: + * License: + * + * NOTE: This file is auto generated by crdtotypes (https://github.com/yaacov/crdtoapi/). + * https://github.com/yaacov/crdtoapi/README.crdtotypes + */ + +/** + * Disk decryption LUKS keys + * + * @export + */ +export interface V1beta1PlanStatusMigrationVmsLuks { + /** apiVersion + * API version of the referent. + * + * @required {false} + */ + apiVersion?: string; + /** fieldPath + * If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. + * + * @required {false} + */ + fieldPath?: string; + /** kind + * Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + * + * @required {false} + */ + kind?: string; + /** name + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + * + * @required {false} + */ + name?: string; + /** namespace + * Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + * + * @required {false} + */ + namespace?: string; + /** resourceVersion + * Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + * + * @required {false} + */ + resourceVersion?: string; + /** uid + * UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + * + * @required {false} + */ + uid?: string; +} diff --git a/src/generated/forklift/openapi.yaml b/src/generated/forklift/openapi.yaml index cac1037..50d5546 100644 --- a/src/generated/forklift/openapi.yaml +++ b/src/generated/forklift/openapi.yaml @@ -783,6 +783,9 @@ components: restorePowerState: description: Source VM power state before migration. type: string + rootDisk: + description: Choose the bootable disk number for praimery + type: string started: description: Started timestamp. format: date-time @@ -1685,6 +1688,9 @@ components: namespace: description: The VM Namespace Only relevant for an openshift source. type: string + rootDisk: + description: Choose the bootable disk number for praimery + type: string type: description: Type used to qualify the name. type: string @@ -2288,6 +2294,9 @@ components: restorePowerState: description: Source VM power state before migration. type: string + rootDisk: + description: Choose the bootable disk number for praimery + type: string started: description: Started timestamp. format: date-time