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:
@@ -0,0 +1,82 @@
|
||||
# CpuAffinity
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Vcpu** | Pointer to **int32** | | [optional]
|
||||
**HostCpus** | Pointer to **[]int32** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewCpuAffinity
|
||||
|
||||
`func NewCpuAffinity() *CpuAffinity`
|
||||
|
||||
NewCpuAffinity instantiates a new CpuAffinity object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewCpuAffinityWithDefaults
|
||||
|
||||
`func NewCpuAffinityWithDefaults() *CpuAffinity`
|
||||
|
||||
NewCpuAffinityWithDefaults instantiates a new CpuAffinity object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetVcpu
|
||||
|
||||
`func (o *CpuAffinity) GetVcpu() int32`
|
||||
|
||||
GetVcpu returns the Vcpu field if non-nil, zero value otherwise.
|
||||
|
||||
### GetVcpuOk
|
||||
|
||||
`func (o *CpuAffinity) GetVcpuOk() (*int32, bool)`
|
||||
|
||||
GetVcpuOk returns a tuple with the Vcpu field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetVcpu
|
||||
|
||||
`func (o *CpuAffinity) SetVcpu(v int32)`
|
||||
|
||||
SetVcpu sets Vcpu field to given value.
|
||||
|
||||
### HasVcpu
|
||||
|
||||
`func (o *CpuAffinity) HasVcpu() bool`
|
||||
|
||||
HasVcpu returns a boolean if a field has been set.
|
||||
|
||||
### GetHostCpus
|
||||
|
||||
`func (o *CpuAffinity) GetHostCpus() []int32`
|
||||
|
||||
GetHostCpus returns the HostCpus field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHostCpusOk
|
||||
|
||||
`func (o *CpuAffinity) GetHostCpusOk() (*[]int32, bool)`
|
||||
|
||||
GetHostCpusOk returns a tuple with the HostCpus field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHostCpus
|
||||
|
||||
`func (o *CpuAffinity) SetHostCpus(v []int32)`
|
||||
|
||||
SetHostCpus sets HostCpus field to given value.
|
||||
|
||||
### HasHostCpus
|
||||
|
||||
`func (o *CpuAffinity) HasHostCpus() bool`
|
||||
|
||||
HasHostCpus 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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Path** | **string** | |
|
||||
**Iommu** | Pointer to **bool** | | [optional] [default to false]
|
||||
**PciSegment** | Pointer to **int32** | | [optional]
|
||||
**Id** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
@@ -72,6 +73,31 @@ SetIommu sets Iommu field to given value.
|
||||
|
||||
HasIommu returns a boolean if a field has been set.
|
||||
|
||||
### GetPciSegment
|
||||
|
||||
`func (o *DeviceConfig) GetPciSegment() int32`
|
||||
|
||||
GetPciSegment returns the PciSegment field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPciSegmentOk
|
||||
|
||||
`func (o *DeviceConfig) 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 *DeviceConfig) SetPciSegment(v int32)`
|
||||
|
||||
SetPciSegment sets PciSegment field to given value.
|
||||
|
||||
### HasPciSegment
|
||||
|
||||
`func (o *DeviceConfig) HasPciSegment() bool`
|
||||
|
||||
HasPciSegment returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *DeviceConfig) GetId() string`
|
||||
|
||||
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
|
||||
**VhostSocket** | Pointer to **string** | | [optional]
|
||||
**PollQueue** | Pointer to **bool** | | [optional] [default to true]
|
||||
**RateLimiterConfig** | Pointer to [**RateLimiterConfig**](RateLimiterConfig.md) | | [optional]
|
||||
**PciSegment** | Pointer to **int32** | | [optional]
|
||||
**Id** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
@@ -280,6 +281,31 @@ SetRateLimiterConfig sets RateLimiterConfig field to given value.
|
||||
|
||||
HasRateLimiterConfig returns a boolean if a field has been set.
|
||||
|
||||
### GetPciSegment
|
||||
|
||||
`func (o *DiskConfig) GetPciSegment() int32`
|
||||
|
||||
GetPciSegment returns the PciSegment field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPciSegmentOk
|
||||
|
||||
`func (o *DiskConfig) 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 *DiskConfig) SetPciSegment(v int32)`
|
||||
|
||||
SetPciSegment sets PciSegment field to given value.
|
||||
|
||||
### HasPciSegment
|
||||
|
||||
`func (o *DiskConfig) HasPciSegment() bool`
|
||||
|
||||
HasPciSegment returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *DiskConfig) GetId() string`
|
||||
|
||||
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
||||
**QueueSize** | **int32** | | [default to 1024]
|
||||
**Dax** | **bool** | | [default to true]
|
||||
**CacheSize** | **int64** | |
|
||||
**PciSegment** | Pointer to **int32** | | [optional]
|
||||
**Id** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
@@ -151,6 +152,31 @@ and a boolean to check if the value has been set.
|
||||
SetCacheSize sets CacheSize field to given value.
|
||||
|
||||
|
||||
### GetPciSegment
|
||||
|
||||
`func (o *FsConfig) GetPciSegment() int32`
|
||||
|
||||
GetPciSegment returns the PciSegment field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPciSegmentOk
|
||||
|
||||
`func (o *FsConfig) 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 *FsConfig) SetPciSegment(v int32)`
|
||||
|
||||
SetPciSegment sets PciSegment field to given value.
|
||||
|
||||
### HasPciSegment
|
||||
|
||||
`func (o *FsConfig) HasPciSegment() bool`
|
||||
|
||||
HasPciSegment returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *FsConfig) GetId() string`
|
||||
|
||||
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
||||
**VhostMode** | Pointer to **string** | | [optional] [default to "Client"]
|
||||
**Id** | Pointer to **string** | | [optional]
|
||||
**Fd** | Pointer to **[]int32** | | [optional]
|
||||
**PciSegment** | Pointer to **int32** | | [optional]
|
||||
**RateLimiterConfig** | Pointer to [**RateLimiterConfig**](RateLimiterConfig.md) | | [optional]
|
||||
|
||||
## Methods
|
||||
@@ -337,6 +338,31 @@ SetFd sets Fd field to given value.
|
||||
|
||||
HasFd returns a boolean if a field has been set.
|
||||
|
||||
### GetPciSegment
|
||||
|
||||
`func (o *NetConfig) GetPciSegment() int32`
|
||||
|
||||
GetPciSegment returns the PciSegment field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPciSegmentOk
|
||||
|
||||
`func (o *NetConfig) 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 *NetConfig) SetPciSegment(v int32)`
|
||||
|
||||
SetPciSegment sets PciSegment field to given value.
|
||||
|
||||
### HasPciSegment
|
||||
|
||||
`func (o *NetConfig) HasPciSegment() bool`
|
||||
|
||||
HasPciSegment returns a boolean if a field has been set.
|
||||
|
||||
### GetRateLimiterConfig
|
||||
|
||||
`func (o *NetConfig) GetRateLimiterConfig() RateLimiterConfig`
|
||||
|
||||
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
||||
**Iommu** | Pointer to **bool** | | [optional] [default to false]
|
||||
**Mergeable** | Pointer to **bool** | | [optional] [default to false]
|
||||
**DiscardWrites** | Pointer to **bool** | | [optional] [default to false]
|
||||
**PciSegment** | Pointer to **int32** | | [optional]
|
||||
**Id** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
@@ -150,6 +151,31 @@ SetDiscardWrites sets DiscardWrites field to given value.
|
||||
|
||||
HasDiscardWrites returns a boolean if a field has been set.
|
||||
|
||||
### GetPciSegment
|
||||
|
||||
`func (o *PmemConfig) GetPciSegment() int32`
|
||||
|
||||
GetPciSegment returns the PciSegment field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPciSegmentOk
|
||||
|
||||
`func (o *PmemConfig) 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 *PmemConfig) SetPciSegment(v int32)`
|
||||
|
||||
SetPciSegment sets PciSegment field to given value.
|
||||
|
||||
### HasPciSegment
|
||||
|
||||
`func (o *PmemConfig) HasPciSegment() bool`
|
||||
|
||||
HasPciSegment returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *PmemConfig) GetId() string`
|
||||
|
||||
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user