Skip to content

Commit

Permalink
let the user choose the boot disk
Browse files Browse the repository at this point in the history
Signed-off-by: yaacov <[email protected]>
  • Loading branch information
yaacov committed Jun 6, 2024
1 parent 0ce6d36 commit dcacf95
Show file tree
Hide file tree
Showing 10 changed files with 220 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions src/generated/forklift/crds/forklift.konveyor.io_plans.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions src/generated/forklift/models/V1beta1MigrationStatusVms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
61 changes: 61 additions & 0 deletions src/generated/forklift/models/V1beta1MigrationStatusVmsLuks.ts
Original file line number Diff line number Diff line change
@@ -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;
}
6 changes: 6 additions & 0 deletions src/generated/forklift/models/V1beta1PlanSpecVms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
61 changes: 61 additions & 0 deletions src/generated/forklift/models/V1beta1PlanSpecVmsLuks.ts
Original file line number Diff line number Diff line change
@@ -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;
}
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
61 changes: 61 additions & 0 deletions src/generated/forklift/models/V1beta1PlanStatusMigrationVmsLuks.ts
Original file line number Diff line number Diff line change
@@ -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;
}
9 changes: 9 additions & 0 deletions src/generated/forklift/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit dcacf95

Please sign in to comment.