Files
kata-containers/virtcontainers/pkg/cloud-hypervisor/client
Bo Chen de8fe25dd5 clh: Update CLH to stable/v0.5.x
Use CLH branch stable/v0.5.x, and also re-generate the openAPI client
code with the new 'cloud-hypervisor.yaml'.

Fixes: #2488

Signed-off-by: Bo Chen <chen.bo@intel.com>
2020-02-20 11:44:33 -08:00
..
2020-02-20 11:44:33 -08:00
2020-02-20 11:44:33 -08:00
2019-12-05 15:36:26 +00:00
2019-12-05 15:36:26 +00:00
2020-02-07 19:18:51 +00:00
2020-02-07 19:18:51 +00:00
2020-02-07 19:18:51 +00:00
2019-12-05 15:36:26 +00:00
2020-02-07 19:18:51 +00:00
2020-02-07 19:18:51 +00:00
2019-12-13 16:44:50 +00:00
2019-12-13 16:44:50 +00:00
2020-02-07 19:18:51 +00:00
2019-12-05 15:36:26 +00:00
2019-12-05 15:36:26 +00:00
2019-12-13 16:44:50 +00:00
2019-12-05 15:36:26 +00:00
2020-02-07 19:18:51 +00:00
2020-02-07 19:18:51 +00:00
2019-12-05 15:36:26 +00:00

Go API client for openapi

Local HTTP based API for managing and inspecting a cloud-hypervisor virtual machine.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 0.3.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
go get github.com/antihax/optional

Put the package under your project folder and add the following in import:

import "./openapi"

Documentation for API Endpoints

All URIs are relative to http://localhost/api/v1

Class Method HTTP request Description
DefaultApi BootVM Put /vm.boot Boot the previously created VM instance.
DefaultApi CreateVM Put /vm.create Create the cloud-hypervisor Virtual Machine (VM) instance. The instance is not booted, only created.
DefaultApi DeleteVM Put /vm.delete Delete the cloud-hypervisor Virtual Machine (VM) instance.
DefaultApi PauseVM Put /vm.pause Pause a previously booted VM instance.
DefaultApi RebootVM Put /vm.reboot Reboot the VM instance.
DefaultApi ResumeVM Put /vm.resume Resume a previously paused VM instance.
DefaultApi ShutdownVM Put /vm.shutdown Shut the VM instance down.
DefaultApi ShutdownVMM Put /vmm.shutdown Shuts the cloud-hypervisor VMM.
DefaultApi VmInfoGet Get /vm.info Returns general information about the cloud-hypervisor Virtual Machine (VM) instance.
DefaultApi VmResizePut Put /vm.resize Resize the VM
DefaultApi VmmPingGet Get /vmm.ping Ping the VMM to check for API server availability

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author