mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-22 07:44:25 +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:
@@ -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`
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user