mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
removed Validator.Validate Interface
This commit is contained in:
parent
a31820bac9
commit
7db787e97c
@ -36,7 +36,6 @@ var isDisabledBuild bool
|
|||||||
// Validator is a interface for validating that a pod with an AppArmor profile can be run by a Node.
|
// Validator is a interface for validating that a pod with an AppArmor profile can be run by a Node.
|
||||||
type Validator interface {
|
type Validator interface {
|
||||||
Validate(pod *v1.Pod) error
|
Validate(pod *v1.Pod) error
|
||||||
ValidateHost() error
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewValidator is in order to find AppArmor FS
|
// NewValidator is in order to find AppArmor FS
|
||||||
|
Loading…
Reference in New Issue
Block a user