vendor: bump hcsshim to v0.8.22
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>
This commit is contained in:
8
vendor/github.com/Microsoft/hcsshim/hcn/hcnendpoint.go
generated
vendored
8
vendor/github.com/Microsoft/hcsshim/hcn/hcnendpoint.go
generated
vendored
@@ -37,6 +37,7 @@ type HostComputeEndpoint struct {
|
||||
Routes []Route `json:",omitempty"`
|
||||
MacAddress string `json:",omitempty"`
|
||||
Flags EndpointFlags `json:",omitempty"`
|
||||
Health Health `json:",omitempty"`
|
||||
SchemaVersion SchemaVersion `json:",omitempty"`
|
||||
}
|
||||
|
||||
@@ -58,6 +59,13 @@ type ModifyEndpointSettingRequest struct {
|
||||
Settings json.RawMessage `json:",omitempty"`
|
||||
}
|
||||
|
||||
// VmEndpointRequest creates a switch port with identifier `PortId`.
|
||||
type VmEndpointRequest struct {
|
||||
PortId guid.GUID `json:",omitempty"`
|
||||
VirtualNicName string `json:",omitempty"`
|
||||
VirtualMachineId guid.GUID `json:",omitempty"`
|
||||
}
|
||||
|
||||
type PolicyEndpointRequest struct {
|
||||
Policies []EndpointPolicy `json:",omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user