Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface {
// Do performs the backend auth, and make changes to the request headers and body mutations.
Do(ctx context.Context, requestHeaders map[string]string, headerMut *extprocv3.HeaderMutation, bodyMut *extprocv3.BodyMutation) error
}
Handler is the interface that deals with the backend auth for a specific backend.
TODO: maybe this can be just "post-transformation" handler, as it is not really only about auth.
func NewHandler ¶
NewHandler returns a new implementation of Handler based on the configuration.
Click to show internal directories.
Click to hide internal directories.