mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
This tag of hcsshim brings in a couple welcome features/improvements. One being exposing a way to query for hns endpoint statistics (Packets received/sent etc.). This tag also contains some optimizations for querying whether a certain HCN feature is supported, which is a common workflow in kube-proxy on Windows. The first result from querying HCN is now cached so further calls can skip the hcn query as well as the version range parsing that was performed. This also gets rid of some redundant logs that used to hit everytime the version range parsing occurred. The Go-winio dep bump, and all of the ctrd deps are transitive only. Nothing new is needed/intended to be used. Signed-off-by: Daniel Canter <dcanter@microsoft.com>
47 lines
1.3 KiB
Go
47 lines
1.3 KiB
Go
/*
|
|
* HCS API
|
|
*
|
|
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
*
|
|
* API version: 2.1
|
|
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
*/
|
|
|
|
package hcsschema
|
|
|
|
type Devices struct {
|
|
ComPorts map[string]ComPort `json:"ComPorts,omitempty"`
|
|
|
|
Scsi map[string]Scsi `json:"Scsi,omitempty"`
|
|
|
|
VirtualPMem *VirtualPMemController `json:"VirtualPMem,omitempty"`
|
|
|
|
NetworkAdapters map[string]NetworkAdapter `json:"NetworkAdapters,omitempty"`
|
|
|
|
VideoMonitor *VideoMonitor `json:"VideoMonitor,omitempty"`
|
|
|
|
Keyboard *Keyboard `json:"Keyboard,omitempty"`
|
|
|
|
Mouse *Mouse `json:"Mouse,omitempty"`
|
|
|
|
HvSocket *HvSocket2 `json:"HvSocket,omitempty"`
|
|
|
|
EnhancedModeVideo *EnhancedModeVideo `json:"EnhancedModeVideo,omitempty"`
|
|
|
|
GuestCrashReporting *GuestCrashReporting `json:"GuestCrashReporting,omitempty"`
|
|
|
|
VirtualSmb *VirtualSmb `json:"VirtualSmb,omitempty"`
|
|
|
|
Plan9 *Plan9 `json:"Plan9,omitempty"`
|
|
|
|
Battery *Battery `json:"Battery,omitempty"`
|
|
|
|
FlexibleIov map[string]FlexibleIoDevice `json:"FlexibleIov,omitempty"`
|
|
|
|
SharedMemory *SharedMemoryConfiguration `json:"SharedMemory,omitempty"`
|
|
|
|
// TODO: This is pre-release support in schema 2.3. Need to add build number
|
|
// docs when a public build with this is out.
|
|
VirtualPci map[string]VirtualPciDevice `json:",omitempty"`
|
|
}
|