mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-30 03:34:29 +01:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user