Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAdmissionWebhook ¶
func RegisterAdmissionWebhook(webhook AdmissionWebhook)
Types ¶
type AdmissionWebhook ¶
type AdmissionWebhook interface { Name() string Mutating(ctx context.Context, c client.Client, oldPod, newPod *corev1.Pod, operation admissionv1.Operation) error Validating(ctx context.Context, c client.Client, oldPod, newPod *corev1.Pod, operation admissionv1.Operation) error }
func ListAdmissionWebhooks ¶
func ListAdmissionWebhooks() []AdmissionWebhook
type MutatingHandler ¶
type MutatingHandler struct {
*mixin.WebhookHandlerMixin
}
func NewMutatingHandler ¶
func NewMutatingHandler() *MutatingHandler
type ValidatingHandler ¶
type ValidatingHandler struct {
*mixin.WebhookHandlerMixin
}
func NewValidatingHandler ¶
func NewValidatingHandler() *ValidatingHandler
Source Files ¶
Click to show internal directories.
Click to hide internal directories.