# Functions

AugmentConfiguration modifies the provided Kubernetes client configuration such that it uses bearer tokens stored in the context using the WithAuthFromRequestIntoContext or WithAuthIntoContext functions.
ExtractTokenFromAuthorizationHeader extracts the token value from the authorization header assumed to be formatted as a bearer token.
No description provided by the author
No description provided by the author
WithAuthFromRequestIntoContext looks into the provided HTTP request and stores the bearer token from that request's Authorization header into the returned context which is based on the provided context.
WithAuthIntoContext stores the provided bearer token into the returned context which is based on the provided context.

# Structs

InClusterK8sClientFactory produces instances of the clients that works on behalf of SPI SA; (it's quite ok to get just one instance of the client from that factory and pass it to all the consumers).
K8sClientFactoryBuilder allows to construct different types of K8S client factories.
UserAuthK8sClientFactory is produces instances of the client which works on behalf of the user (i.e.
WorkspaceAwareK8sClientFactory is a K8S client factory, which is authenticates on server via user token, but it uses the custom API server URL and sets the workspace path in the requests to the cluster, by consuming the namespace in the context when new client instance is created.