Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdmissionHandler ¶
type AdmissionHandler struct {
// contains filtered or unexported fields
}
AdmissionHandler for validating OperatingSystemProfile CRD.
func NewAdmissionHandler ¶
func NewAdmissionHandler(log *zap.SugaredLogger, scheme *runtime.Scheme) *AdmissionHandler
NewAdmissionHandler returns a new validation AdmissionHandler.
func (*AdmissionHandler) Handle ¶
func (h *AdmissionHandler) Handle(_ context.Context, req webhook.AdmissionRequest) webhook.AdmissionResponse
func (*AdmissionHandler) SetupWebhookWithManager ¶
func (h *AdmissionHandler) SetupWebhookWithManager(mgr ctrlruntime.Manager)
Click to show internal directories.
Click to hide internal directories.