Documentation ¶
Overview ¶
Package topologymutation contains the handlers for the topologymutation webhook.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is a topology mutation handler.
func NewHandler ¶
NewHandler returns a new topology mutation Handler.
func (*Handler) GeneratePatches ¶
func (h *Handler) GeneratePatches(ctx context.Context, req *runtimehooksv1.GeneratePatchesRequest, resp *runtimehooksv1.GeneratePatchesResponse)
GeneratePatches generates patches for the given request.
func (*Handler) ValidateTopology ¶
func (h *Handler) ValidateTopology(ctx context.Context, _ *runtimehooksv1.ValidateTopologyRequest, resp *runtimehooksv1.ValidateTopologyResponse)
ValidateTopology returns a function that validates the given request.
Click to show internal directories.
Click to hide internal directories.