@daocloud-proto/virtnest 0.5.0 → 0.6.0-dev-1

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.0",
3
+ "version":"0.6.0-dev-1",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
package/v1alpha1/vm.pb.ts CHANGED
@@ -568,12 +568,18 @@ export type ListVMEventsResponse = {
568
568
 
569
569
  export type VmEvents = {
570
570
  level?: string
571
- object?: string
571
+ component?: string
572
+ object?: Object
572
573
  name?: string
573
574
  detail?: string
574
575
  time?: string
575
576
  }
576
577
 
578
+ export type Object = {
579
+ name?: string
580
+ kind?: string
581
+ }
582
+
577
583
  export class VM {
578
584
  static ListClusterVMs(req: ListClusterVMsRequest, initReq?: fm.InitReq): Promise<ListClusterVmsResponse> {
579
585
  return fm.fetchReq<ListClusterVMsRequest, ListClusterVmsResponse>(`/apis/virtnest.io/v1alpha1/clusters/${req["cluster"]}/vms?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})