Documentation ¶
Index ¶
- Variables
- type SeldonDeploymentCreateUpdateHandler
- func (h *SeldonDeploymentCreateUpdateHandler) Handle(ctx context.Context, req types.Request) types.Response
- func (h *SeldonDeploymentCreateUpdateHandler) InjectDecoder(d types.Decoder) error
- func (h *SeldonDeploymentCreateUpdateHandler) MutatingSeldonDeploymentFn(ctx context.Context, mlDep *machinelearningv1alpha2.SeldonDeployment) error
Constants ¶
This section is empty.
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 SeldonDeploymentCreateUpdateHandler ¶
type SeldonDeploymentCreateUpdateHandler struct { // Decoder decodes objects Decoder types.Decoder }
SeldonDeploymentCreateUpdateHandler handles SeldonDeployment
func (*SeldonDeploymentCreateUpdateHandler) Handle ¶
func (h *SeldonDeploymentCreateUpdateHandler) Handle(ctx context.Context, req types.Request) types.Response
Handle handles admission requests.
func (*SeldonDeploymentCreateUpdateHandler) InjectDecoder ¶
func (h *SeldonDeploymentCreateUpdateHandler) InjectDecoder(d types.Decoder) error
InjectDecoder injects the decoder into the SeldonDeploymentCreateUpdateHandler
func (*SeldonDeploymentCreateUpdateHandler) MutatingSeldonDeploymentFn ¶
func (h *SeldonDeploymentCreateUpdateHandler) MutatingSeldonDeploymentFn(ctx context.Context, mlDep *machinelearningv1alpha2.SeldonDeployment) error
Click to show internal directories.
Click to hide internal directories.