kubernetes-client-0.3.2.0: Client library for Kubernetes
Safe HaskellNone
LanguageHaskell2010

Kubernetes.Client.Auth.Basic

Synopsis

Documentation

data BasicAuth Source #

Instances

Instances details
AuthMethod BasicAuth Source # 
Instance details

Defined in Kubernetes.Client.Auth.Basic

Methods

applyAuthMethod :: KubernetesClientConfig -> BasicAuth -> KubernetesRequest req contentType res accept -> IO (KubernetesRequest req contentType res accept) #

basicAuth :: DetectAuth Source #

Detects if username and password is specified in AuthConfig, if it is configures KubernetesClientConfig with BasicAuth

setBasicAuth Source #

Arguments

:: Text

Username

-> Text

Password

-> KubernetesClientConfig 
-> KubernetesClientConfig 

Configures the KubernetesClientConfig to use basic authentication.