Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodePlugin ¶
type NodePlugin interface {
Name() string
// Validate makes an admission decision based on the request attributes. It is NOT allowed to mutate
Validate(ctx context.Context, req admission.Request, node, oldNode *corev1.Node) error
// Admit makes an admission decision based on the request attributes
Admit(ctx context.Context, req admission.Request, node, oldNode *corev1.Node) error
}
Click to show internal directories.
Click to hide internal directories.