@daocloud-proto/virtnest 0.5.1 → 0.6.0-dev-2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/virtnest",
3
- "version":"0.5.1",
3
+ "version":"0.6.0-dev-2",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -16,7 +16,13 @@ export type ClusterInfo = {
16
16
  status?: Status
17
17
  isKubevirtInstalled?: boolean
18
18
  isInsightAgentReady?: boolean
19
- isSpiderpoolInstalled?: boolean
19
+ spiderpool?: SpiderPool
20
+ }
21
+
22
+ export type SpiderPool = {
23
+ isInstalled?: boolean
24
+ enableIpv4?: boolean
25
+ enableIpv6?: boolean
20
26
  }
21
27
 
22
28
  export type ListClustersRequest = {
package/v1alpha1/vm.pb.ts CHANGED
@@ -536,6 +536,7 @@ export type MultusConfigInfo = {
536
536
  name?: string
537
537
  namespace?: string
538
538
  cniType?: string
539
+ hasDefaultIppool?: boolean
539
540
  }
540
541
 
541
542
  export type NetworkInterfaceInfo = {
@@ -568,12 +569,18 @@ export type ListVMEventsResponse = {
568
569
 
569
570
  export type VmEvents = {
570
571
  level?: string
571
- object?: string
572
+ component?: string
573
+ object?: Object
572
574
  name?: string
573
575
  detail?: string
574
576
  time?: string
575
577
  }
576
578
 
579
+ export type Object = {
580
+ name?: string
581
+ kind?: string
582
+ }
583
+
577
584
  export class VM {
578
585
  static ListClusterVMs(req: ListClusterVMsRequest, initReq?: fm.InitReq): Promise<ListClusterVmsResponse> {
579
586
  return fm.fetchReq<ListClusterVMsRequest, ListClusterVmsResponse>(`/apis/virtnest.io/v1alpha1/clusters/${req["cluster"]}/vms?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})