virtcontainers: clh: Re-generate the client code

This patch re-generates the client code for Cloud Hypervisor v19.0.
Note: The client code of cloud-hypervisor's (CLH) OpenAPI is
automatically generated by openapi-generator [1-2].

[1] https://github.com/OpenAPITools/openapi-generator
[2] https://github.com/kata-containers/kata-containers/blob/main/src/runtime/virtcontainers/pkg/cloud-hypervisor/README.md

Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
Bo Chen
2021-12-02 11:58:03 -08:00
parent 0bf4d2578a
commit 4756a04b2d
20 changed files with 939 additions and 148 deletions

View File

@@ -7,6 +7,7 @@ Name | Type | Description | Notes
**Cid** | **int64** | Guest Vsock CID |
**Socket** | **string** | Path to UNIX domain socket, used to proxy vsock connections. |
**Iommu** | Pointer to **bool** | | [optional] [default to false]
**PciSegment** | Pointer to **int32** | | [optional]
**Id** | Pointer to **string** | | [optional]
## Methods
@@ -93,6 +94,31 @@ SetIommu sets Iommu field to given value.
HasIommu returns a boolean if a field has been set.
### GetPciSegment
`func (o *VsockConfig) GetPciSegment() int32`
GetPciSegment returns the PciSegment field if non-nil, zero value otherwise.
### GetPciSegmentOk
`func (o *VsockConfig) GetPciSegmentOk() (*int32, bool)`
GetPciSegmentOk returns a tuple with the PciSegment field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPciSegment
`func (o *VsockConfig) SetPciSegment(v int32)`
SetPciSegment sets PciSegment field to given value.
### HasPciSegment
`func (o *VsockConfig) HasPciSegment() bool`
HasPciSegment returns a boolean if a field has been set.
### GetId
`func (o *VsockConfig) GetId() string`