mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-01 21:24:36 +00:00
virtcontainers: clh: Re-generate the client code
This patch re-generates the client code for Cloud Hypervisor v18.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:
parent
f0b5331430
commit
0e0e59dc5f
@ -383,7 +383,7 @@ components:
|
|||||||
id: id
|
id: id
|
||||||
hotplug_size: 1
|
hotplug_size: 1
|
||||||
hotplug_size: 3
|
hotplug_size: 3
|
||||||
hotplug_method: acpi
|
hotplug_method: Acpi
|
||||||
disks:
|
disks:
|
||||||
- path: path
|
- path: path
|
||||||
num_queues: 7
|
num_queues: 7
|
||||||
@ -540,7 +540,7 @@ components:
|
|||||||
one_time_burst: 0
|
one_time_burst: 0
|
||||||
refill_time: 0
|
refill_time: 0
|
||||||
mac: mac
|
mac: mac
|
||||||
vhost_mode: client
|
vhost_mode: Client
|
||||||
iommu: false
|
iommu: false
|
||||||
vhost_socket: vhost_socket
|
vhost_socket: vhost_socket
|
||||||
vhost_user: false
|
vhost_user: false
|
||||||
@ -563,7 +563,7 @@ components:
|
|||||||
one_time_burst: 0
|
one_time_burst: 0
|
||||||
refill_time: 0
|
refill_time: 0
|
||||||
mac: mac
|
mac: mac
|
||||||
vhost_mode: client
|
vhost_mode: Client
|
||||||
iommu: false
|
iommu: false
|
||||||
vhost_socket: vhost_socket
|
vhost_socket: vhost_socket
|
||||||
vhost_user: false
|
vhost_user: false
|
||||||
@ -688,7 +688,7 @@ components:
|
|||||||
id: id
|
id: id
|
||||||
hotplug_size: 1
|
hotplug_size: 1
|
||||||
hotplug_size: 3
|
hotplug_size: 3
|
||||||
hotplug_method: acpi
|
hotplug_method: Acpi
|
||||||
disks:
|
disks:
|
||||||
- path: path
|
- path: path
|
||||||
num_queues: 7
|
num_queues: 7
|
||||||
@ -845,7 +845,7 @@ components:
|
|||||||
one_time_burst: 0
|
one_time_burst: 0
|
||||||
refill_time: 0
|
refill_time: 0
|
||||||
mac: mac
|
mac: mac
|
||||||
vhost_mode: client
|
vhost_mode: Client
|
||||||
iommu: false
|
iommu: false
|
||||||
vhost_socket: vhost_socket
|
vhost_socket: vhost_socket
|
||||||
vhost_user: false
|
vhost_user: false
|
||||||
@ -868,7 +868,7 @@ components:
|
|||||||
one_time_burst: 0
|
one_time_burst: 0
|
||||||
refill_time: 0
|
refill_time: 0
|
||||||
mac: mac
|
mac: mac
|
||||||
vhost_mode: client
|
vhost_mode: Client
|
||||||
iommu: false
|
iommu: false
|
||||||
vhost_socket: vhost_socket
|
vhost_socket: vhost_socket
|
||||||
vhost_user: false
|
vhost_user: false
|
||||||
@ -1053,7 +1053,7 @@ components:
|
|||||||
id: id
|
id: id
|
||||||
hotplug_size: 1
|
hotplug_size: 1
|
||||||
hotplug_size: 3
|
hotplug_size: 3
|
||||||
hotplug_method: acpi
|
hotplug_method: Acpi
|
||||||
properties:
|
properties:
|
||||||
size:
|
size:
|
||||||
format: int64
|
format: int64
|
||||||
@ -1068,7 +1068,7 @@ components:
|
|||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
hotplug_method:
|
hotplug_method:
|
||||||
default: acpi
|
default: Acpi
|
||||||
type: string
|
type: string
|
||||||
shared:
|
shared:
|
||||||
default: false
|
default: false
|
||||||
@ -1236,7 +1236,7 @@ components:
|
|||||||
one_time_burst: 0
|
one_time_burst: 0
|
||||||
refill_time: 0
|
refill_time: 0
|
||||||
mac: mac
|
mac: mac
|
||||||
vhost_mode: client
|
vhost_mode: Client
|
||||||
iommu: false
|
iommu: false
|
||||||
vhost_socket: vhost_socket
|
vhost_socket: vhost_socket
|
||||||
vhost_user: false
|
vhost_user: false
|
||||||
@ -1272,7 +1272,7 @@ components:
|
|||||||
vhost_socket:
|
vhost_socket:
|
||||||
type: string
|
type: string
|
||||||
vhost_mode:
|
vhost_mode:
|
||||||
default: client
|
default: Client
|
||||||
type: string
|
type: string
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
|
@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|||||||
**HotplugSize** | Pointer to **int64** | | [optional]
|
**HotplugSize** | Pointer to **int64** | | [optional]
|
||||||
**HotpluggedSize** | Pointer to **int64** | | [optional]
|
**HotpluggedSize** | Pointer to **int64** | | [optional]
|
||||||
**Mergeable** | Pointer to **bool** | | [optional] [default to false]
|
**Mergeable** | Pointer to **bool** | | [optional] [default to false]
|
||||||
**HotplugMethod** | Pointer to **string** | | [optional] [default to "acpi"]
|
**HotplugMethod** | Pointer to **string** | | [optional] [default to "Acpi"]
|
||||||
**Shared** | Pointer to **bool** | | [optional] [default to false]
|
**Shared** | Pointer to **bool** | | [optional] [default to false]
|
||||||
**Hugepages** | Pointer to **bool** | | [optional] [default to false]
|
**Hugepages** | Pointer to **bool** | | [optional] [default to false]
|
||||||
**HugepageSize** | Pointer to **int64** | | [optional]
|
**HugepageSize** | Pointer to **int64** | | [optional]
|
||||||
|
@ -13,7 +13,7 @@ Name | Type | Description | Notes
|
|||||||
**QueueSize** | Pointer to **int32** | | [optional] [default to 256]
|
**QueueSize** | Pointer to **int32** | | [optional] [default to 256]
|
||||||
**VhostUser** | Pointer to **bool** | | [optional] [default to false]
|
**VhostUser** | Pointer to **bool** | | [optional] [default to false]
|
||||||
**VhostSocket** | Pointer to **string** | | [optional]
|
**VhostSocket** | Pointer to **string** | | [optional]
|
||||||
**VhostMode** | Pointer to **string** | | [optional] [default to "client"]
|
**VhostMode** | Pointer to **string** | | [optional] [default to "Client"]
|
||||||
**Id** | Pointer to **string** | | [optional]
|
**Id** | Pointer to **string** | | [optional]
|
||||||
**Fd** | Pointer to **[]int32** | | [optional]
|
**Fd** | Pointer to **[]int32** | | [optional]
|
||||||
**RateLimiterConfig** | Pointer to [**RateLimiterConfig**](RateLimiterConfig.md) | | [optional]
|
**RateLimiterConfig** | Pointer to [**RateLimiterConfig**](RateLimiterConfig.md) | | [optional]
|
||||||
|
@ -36,7 +36,7 @@ func NewMemoryConfig(size int64) *MemoryConfig {
|
|||||||
this.Size = size
|
this.Size = size
|
||||||
var mergeable bool = false
|
var mergeable bool = false
|
||||||
this.Mergeable = &mergeable
|
this.Mergeable = &mergeable
|
||||||
var hotplugMethod string = "acpi"
|
var hotplugMethod string = "Acpi"
|
||||||
this.HotplugMethod = &hotplugMethod
|
this.HotplugMethod = &hotplugMethod
|
||||||
var shared bool = false
|
var shared bool = false
|
||||||
this.Shared = &shared
|
this.Shared = &shared
|
||||||
@ -52,7 +52,7 @@ func NewMemoryConfigWithDefaults() *MemoryConfig {
|
|||||||
this := MemoryConfig{}
|
this := MemoryConfig{}
|
||||||
var mergeable bool = false
|
var mergeable bool = false
|
||||||
this.Mergeable = &mergeable
|
this.Mergeable = &mergeable
|
||||||
var hotplugMethod string = "acpi"
|
var hotplugMethod string = "Acpi"
|
||||||
this.HotplugMethod = &hotplugMethod
|
this.HotplugMethod = &hotplugMethod
|
||||||
var shared bool = false
|
var shared bool = false
|
||||||
this.Shared = &shared
|
this.Shared = &shared
|
||||||
|
@ -51,7 +51,7 @@ func NewNetConfig() *NetConfig {
|
|||||||
this.QueueSize = &queueSize
|
this.QueueSize = &queueSize
|
||||||
var vhostUser bool = false
|
var vhostUser bool = false
|
||||||
this.VhostUser = &vhostUser
|
this.VhostUser = &vhostUser
|
||||||
var vhostMode string = "client"
|
var vhostMode string = "Client"
|
||||||
this.VhostMode = &vhostMode
|
this.VhostMode = &vhostMode
|
||||||
return &this
|
return &this
|
||||||
}
|
}
|
||||||
@ -75,7 +75,7 @@ func NewNetConfigWithDefaults() *NetConfig {
|
|||||||
this.QueueSize = &queueSize
|
this.QueueSize = &queueSize
|
||||||
var vhostUser bool = false
|
var vhostUser bool = false
|
||||||
this.VhostUser = &vhostUser
|
this.VhostUser = &vhostUser
|
||||||
var vhostMode string = "client"
|
var vhostMode string = "Client"
|
||||||
this.VhostMode = &vhostMode
|
this.VhostMode = &vhostMode
|
||||||
return &this
|
return &this
|
||||||
}
|
}
|
||||||
|
@ -567,7 +567,7 @@ components:
|
|||||||
default: false
|
default: false
|
||||||
hotplug_method:
|
hotplug_method:
|
||||||
type: string
|
type: string
|
||||||
default: "acpi"
|
default: "Acpi"
|
||||||
shared:
|
shared:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
@ -714,7 +714,7 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
vhost_mode:
|
vhost_mode:
|
||||||
type: string
|
type: string
|
||||||
default: "client"
|
default: "Client"
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
fd:
|
fd:
|
||||||
|
Loading…
Reference in New Issue
Block a user