mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +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>
39 lines
1.2 KiB
Go
39 lines
1.2 KiB
Go
package osversion
|
|
|
|
const (
|
|
// RS1 (version 1607, codename "Redstone 1") corresponds to Windows Server
|
|
// 2016 (ltsc2016) and Windows 10 (Anniversary Update).
|
|
RS1 = 14393
|
|
|
|
// RS2 (version 1703, codename "Redstone 2") was a client-only update, and
|
|
// corresponds to Windows 10 (Creators Update).
|
|
RS2 = 15063
|
|
|
|
// RS3 (version 1709, codename "Redstone 3") corresponds to Windows Server
|
|
// 1709 (Semi-Annual Channel (SAC)), and Windows 10 (Fall Creators Update).
|
|
RS3 = 16299
|
|
|
|
// RS4 (version 1803, codename "Redstone 4") corresponds to Windows Server
|
|
// 1803 (Semi-Annual Channel (SAC)), and Windows 10 (April 2018 Update).
|
|
RS4 = 17134
|
|
|
|
// RS5 (version 1809, codename "Redstone 5") corresponds to Windows Server
|
|
// 2019 (ltsc2019), and Windows 10 (October 2018 Update).
|
|
RS5 = 17763
|
|
|
|
// V19H1 (version 1903) corresponds to Windows Server 1903 (semi-annual
|
|
// channel).
|
|
V19H1 = 18362
|
|
|
|
// V19H2 (version 1909) corresponds to Windows Server 1909 (semi-annual
|
|
// channel).
|
|
V19H2 = 18363
|
|
|
|
// V20H1 (version 2004) corresponds to Windows Server 2004 (semi-annual
|
|
// channel).
|
|
V20H1 = 19041
|
|
|
|
// V20H2 corresponds to Windows Server 20H2 (semi-annual channel).
|
|
V20H2 = 19042
|
|
)
|