mirror of https://github.com/k3s-io/k3s
18 lines
295 B
Go
18 lines
295 B
Go
// +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
|
|
}
|