Add ObjectInterfaces to Admission and Validation

This commit is contained in:
Mehdy Bohlool
2019-02-16 12:27:24 -08:00
parent c14e7e2004
commit 513a87c7b2
29 changed files with 171 additions and 135 deletions

View File

@@ -24,7 +24,9 @@ import (
type doNothingAdmission struct{}
func (doNothingAdmission) Admit(a admission.Attributes) error { return nil }
func (doNothingAdmission) Admit(a admission.Attributes, o admission.ObjectInterfaces) error {
return nil
}
func (doNothingAdmission) Handles(o admission.Operation) bool { return false }
func (doNothingAdmission) Validate() error { return nil }