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-10-20 15:48:55 -07:00
parent 8296754e07
commit 8030b6caf0
6 changed files with 154 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ Name | Type | Description | Notes
**Shared** | Pointer to **bool** | | [optional] [default to false]
**Hugepages** | Pointer to **bool** | | [optional] [default to false]
**HugepageSize** | Pointer to **int64** | | [optional]
**Prefault** | Pointer to **bool** | | [optional] [default to false]
**Zones** | Pointer to [**[]MemoryZoneConfig**](MemoryZoneConfig.md) | | [optional]
## Methods
@@ -228,6 +229,31 @@ SetHugepageSize sets HugepageSize field to given value.
HasHugepageSize returns a boolean if a field has been set.
### GetPrefault
`func (o *MemoryConfig) GetPrefault() bool`
GetPrefault returns the Prefault field if non-nil, zero value otherwise.
### GetPrefaultOk
`func (o *MemoryConfig) GetPrefaultOk() (*bool, bool)`
GetPrefaultOk returns a tuple with the Prefault field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPrefault
`func (o *MemoryConfig) SetPrefault(v bool)`
SetPrefault sets Prefault field to given value.
### HasPrefault
`func (o *MemoryConfig) HasPrefault() bool`
HasPrefault returns a boolean if a field has been set.
### GetZones
`func (o *MemoryConfig) GetZones() []MemoryZoneConfig`

View File

@@ -14,6 +14,7 @@ Name | Type | Description | Notes
**HostNumaNode** | Pointer to **int32** | | [optional]
**HotplugSize** | Pointer to **int64** | | [optional]
**HotpluggedSize** | Pointer to **int64** | | [optional]
**Prefault** | Pointer to **bool** | | [optional] [default to false]
## Methods
@@ -274,6 +275,31 @@ SetHotpluggedSize sets HotpluggedSize field to given value.
HasHotpluggedSize returns a boolean if a field has been set.
### GetPrefault
`func (o *MemoryZoneConfig) GetPrefault() bool`
GetPrefault returns the Prefault field if non-nil, zero value otherwise.
### GetPrefaultOk
`func (o *MemoryZoneConfig) GetPrefaultOk() (*bool, bool)`
GetPrefaultOk returns a tuple with the Prefault field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPrefault
`func (o *MemoryZoneConfig) SetPrefault(v bool)`
SetPrefault sets Prefault field to given value.
### HasPrefault
`func (o *MemoryZoneConfig) HasPrefault() bool`
HasPrefault 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)