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

@@ -8,6 +8,7 @@ Name | Type | Description | Notes
**MaxVcpus** | **int32** | | [default to 1]
**Topology** | Pointer to [**CpuTopology**](CpuTopology.md) | | [optional]
**MaxPhysBits** | Pointer to **int32** | | [optional]
**Affinity** | Pointer to [**[]CpuAffinity**](CpuAffinity.md) | | [optional]
## Methods
@@ -118,6 +119,31 @@ SetMaxPhysBits sets MaxPhysBits field to given value.
HasMaxPhysBits returns a boolean if a field has been set.
### GetAffinity
`func (o *CpusConfig) GetAffinity() []CpuAffinity`
GetAffinity returns the Affinity field if non-nil, zero value otherwise.
### GetAffinityOk
`func (o *CpusConfig) GetAffinityOk() (*[]CpuAffinity, bool)`
GetAffinityOk returns a tuple with the Affinity field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetAffinity
`func (o *CpusConfig) SetAffinity(v []CpuAffinity)`
SetAffinity sets Affinity field to given value.
### HasAffinity
`func (o *CpusConfig) HasAffinity() bool`
HasAffinity returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)