ResourceAdmissionHandler defines the handler to validate the admission of resource operation
| 49 | |
| 50 | // ResourceAdmissionHandler defines the handler to validate the admission of resource operation |
| 51 | type ResourceAdmissionHandler interface { |
| 52 | Validate(ctx context.Context, manifests []*unstructured.Unstructured) error |
| 53 | } |
| 54 | |
| 55 | // NamespaceAdmissionHandler defines the handler to validate if the resource namespace is valid to be dispatch/delete |
| 56 | type NamespaceAdmissionHandler struct { |
no outgoing calls
no test coverage detected