mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-30 00:11:59 +00:00
19 lines
313 B
Go
19 lines
313 B
Go
|
//go:build !linux
|
||
|
// +build !linux
|
||
|
|
||
|
package validate
|
||
|
|
||
|
import (
|
||
|
"github.com/syndtr/gocapability/capability"
|
||
|
)
|
||
|
|
||
|
// LastCap return last cap of system
|
||
|
func LastCap() capability.Cap {
|
||
|
return capability.Cap(-1)
|
||
|
}
|
||
|
|
||
|
// CheckLinux is a noop on this platform
|
||
|
func (v *Validator) CheckLinux() (errs error) {
|
||
|
return nil
|
||
|
}
|