k8s v0.5.0-rc.2 K8s.Middleware.Registry
Cluster middleware registry
Link to this section Summary
Functions
Adds a middleware to the end of the middleware stack
Returns a specification to start this module under a supervisor.
Returns middleware stack for a cluster and (request or response)
Sets/replaces the middleware stack
Link to this section Types
List of middlewares
Link to this section Functions
Link to this function
add(cluster, type, middleware)
add(atom(), K8s.Middleware.type_t(), module()) :: :ok
Adds a middleware to the end of the middleware stack
Link to this function
child_spec(arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Returns middleware stack for a cluster and (request or response)
Link to this function
set(cluster, type, middlewares)
set(atom(), K8s.Middleware.type_t(), [module()]) :: :ok
Sets/replaces the middleware stack