forked from kata-containers/kata-containers
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime: clh: Re-generate the client code
This patch re-generates the client code for Cloud Hypervisor v37.0. Note: The client code of cloud-hypervisor's OpenAPI is automatically generated by openapi-generator. Fixes: kata-containers#8694 Signed-off-by: Bo Chen <chen.bo@intel.com>
- Loading branch information
1 parent
c6da548
commit 71dd40d
Showing
8 changed files
with
398 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
112 changes: 112 additions & 0 deletions
112
src/runtime/virtcontainers/pkg/cloud-hypervisor/client/api_default.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
src/runtime/virtcontainers/pkg/cloud-hypervisor/client/docs/VmAddUserDevice.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# VmAddUserDevice | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**Socket** | **string** | | | ||
|
||
## Methods | ||
|
||
### NewVmAddUserDevice | ||
|
||
`func NewVmAddUserDevice(socket string, ) *VmAddUserDevice` | ||
|
||
NewVmAddUserDevice instantiates a new VmAddUserDevice 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 | ||
|
||
### NewVmAddUserDeviceWithDefaults | ||
|
||
`func NewVmAddUserDeviceWithDefaults() *VmAddUserDevice` | ||
|
||
NewVmAddUserDeviceWithDefaults instantiates a new VmAddUserDevice 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 | ||
|
||
### GetSocket | ||
|
||
`func (o *VmAddUserDevice) GetSocket() string` | ||
|
||
GetSocket returns the Socket field if non-nil, zero value otherwise. | ||
|
||
### GetSocketOk | ||
|
||
`func (o *VmAddUserDevice) GetSocketOk() (*string, bool)` | ||
|
||
GetSocketOk returns a tuple with the Socket field if it's non-nil, zero value otherwise | ||
and a boolean to check if the value has been set. | ||
|
||
### SetSocket | ||
|
||
`func (o *VmAddUserDevice) SetSocket(v string)` | ||
|
||
SetSocket sets Socket field to given value. | ||
|
||
|
||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
Oops, something went wrong.