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