Documentation
¶
Index ¶
- type Client
- func (client *Client) AzadKubeProxyHandler(ctx context.Context, p *httputil.ReverseProxy) func(http.ResponseWriter, *http.Request)
- func (client *Client) ErrorHandler(ctx context.Context) func(w http.ResponseWriter, r *http.Request, err error)
- func (client *Client) LivenessHandler(ctx context.Context) func(http.ResponseWriter, *http.Request)
- func (client *Client) ReadinessHandler(ctx context.Context) func(http.ResponseWriter, *http.Request)
- type ClientInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Config config.Config CacheClient cache.ClientInterface OIDCVerifier *oidc.IDTokenVerifier UserClient user.ClientInterface ClaimsClient claims.ClientInterface HealthClient health.ClientInterface }
Client ...
func (*Client) AzadKubeProxyHandler ¶
func (client *Client) AzadKubeProxyHandler(ctx context.Context, p *httputil.ReverseProxy) func(http.ResponseWriter, *http.Request)
AzadKubeProxyHandler ...
func (*Client) ErrorHandler ¶
func (client *Client) ErrorHandler(ctx context.Context) func(w http.ResponseWriter, r *http.Request, err error)
ErrorHandler ...
func (*Client) LivenessHandler ¶
LivenessHandler ...
func (*Client) ReadinessHandler ¶
func (client *Client) ReadinessHandler(ctx context.Context) func(http.ResponseWriter, *http.Request)
ReadinessHandler ...
type ClientInterface ¶
type ClientInterface interface { ReadinessHandler(ctx context.Context) func(http.ResponseWriter, *http.Request) LivenessHandler(ctx context.Context) func(http.ResponseWriter, *http.Request) AzadKubeProxyHandler(ctx context.Context, p *httputil.ReverseProxy) func(http.ResponseWriter, *http.Request) ErrorHandler(ctx context.Context) func(w http.ResponseWriter, r *http.Request, err error) }
ClientInterface ...
func NewHandlersClient ¶
func NewHandlersClient(ctx context.Context, config config.Config, cacheClient cache.ClientInterface, userClient user.ClientInterface, claimsClient claims.ClientInterface, healthClient health.ClientInterface) (ClientInterface, error)
NewHandlersClient ...
Click to show internal directories.
Click to hide internal directories.