
This contains quite a bit (also bumps google/uuid to 1.3.0). Some HostProcess container improvements to get ready for whenever it goes to stable in Kubernetes, Hyper-V (windows) container support for CRI, and a plethora of other small additions and fixes. Signed-off-by: Daniel Canter <dcanter@microsoft.com>
12 lines
157 B
Go
12 lines
157 B
Go
//go:build windows
|
|
|
|
package winapi
|
|
|
|
import (
|
|
"golang.org/x/sys/windows"
|
|
)
|
|
|
|
func IsElevated() bool {
|
|
return windows.GetCurrentProcessToken().IsElevated()
|
|
}
|