@daocloud-proto/virtnest 0.10.0-dev1 → 0.10.0-dev2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/v1alpha1/vm.pb.ts +0 -24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/virtnest",
3
- "version":"0.10.0-dev1",
3
+ "version":"0.10.0-dev2",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
package/v1alpha1/vm.pb.ts CHANGED
@@ -91,13 +91,6 @@ export enum EventLevel {
91
91
  Warning = "Warning",
92
92
  }
93
93
 
94
- export enum NodePhase {
95
- PhaseUnspecified = "PhaseUnspecified",
96
- PhaseReady = "PhaseReady",
97
- PhaseNotReady = "PhaseNotReady",
98
- PhaseUnknown = "PhaseUnknown",
99
- }
100
-
101
94
  export type Pagination = {
102
95
  page?: number
103
96
  pageSize?: number
@@ -521,7 +514,6 @@ export type LiveMigrateVMRequest = {
521
514
  cluster?: string
522
515
  namespace?: string
523
516
  name?: string
524
- targetNode?: string
525
517
  }
526
518
 
527
519
  export type LiveMigrateVMResponse = {
@@ -611,19 +603,6 @@ export type Object = {
611
603
  kind?: string
612
604
  }
613
605
 
614
- export type ListClusterNodesRequest = {
615
- cluster?: string
616
- }
617
-
618
- export type ListClusterNodesResponse = {
619
- items?: Node[]
620
- }
621
-
622
- export type Node = {
623
- name?: string
624
- phase?: NodePhase
625
- }
626
-
627
606
  export class VM {
628
607
  static ListClusterVMs(req: ListClusterVMsRequest, initReq?: fm.InitReq): Promise<ListClusterVmsResponse> {
629
608
  return fm.fetchReq<ListClusterVMsRequest, ListClusterVmsResponse>(`/apis/virtnest.io/v1alpha1/clusters/${req["cluster"]}/vms?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
@@ -709,7 +688,4 @@ export class VM {
709
688
  static ListVMEvents(req: ListVMEventsRequest, initReq?: fm.InitReq): Promise<ListVMEventsResponse> {
710
689
  return fm.fetchReq<ListVMEventsRequest, ListVMEventsResponse>(`/apis/virtnest.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/vms/${req["name"]}/events?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
711
690
  }
712
- static ListClusterNodes(req: ListClusterNodesRequest, initReq?: fm.InitReq): Promise<ListClusterNodesResponse> {
713
- return fm.fetchReq<ListClusterNodesRequest, ListClusterNodesResponse>(`/apis/virtnest.io/v1alpha1/clusters/${req["cluster"]}/nodes?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
714
- }
715
691
  }