Documentation ¶
Index ¶
Constants ¶
View Source
const AllowedReason string = "allowed to be admitted"
Webhook response reasons
Variables ¶
View Source
var ( // Builders contain admission webhook builders Builders = map[string]*builder.WebhookBuilder{} // HandlerMap contains admission webhook handlers HandlerMap = map[string][]admission.Handler{} )
Functions ¶
This section is empty.
Types ¶
type HostProfileCreateUpdateHandler ¶
type HostProfileCreateUpdateHandler struct { // API client Client client.Client // Decoder decodes objects Decoder types.Decoder }
HostProfileCreateUpdateHandler handles HostProfile
func (*HostProfileCreateUpdateHandler) Handle ¶
func (h *HostProfileCreateUpdateHandler) Handle(ctx context.Context, req types.Request) types.Response
Handle handles admission requests.
func (*HostProfileCreateUpdateHandler) InjectClient ¶
func (h *HostProfileCreateUpdateHandler) InjectClient(c client.Client) error
InjectClient injects the client into the HostProfileCreateUpdateHandler
func (*HostProfileCreateUpdateHandler) InjectDecoder ¶
func (h *HostProfileCreateUpdateHandler) InjectDecoder(d types.Decoder) error
InjectDecoder injects the decoder into the HostProfileCreateUpdateHandler
Click to show internal directories.
Click to hide internal directories.