| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Kubernetes.Client.Auth.Basic
Synopsis
- data BasicAuth = BasicAuth {}
- basicAuth :: DetectAuth
- setBasicAuth :: Text -> Text -> KubernetesClientConfig -> KubernetesClientConfig
Documentation
Constructors
| BasicAuth | |
Fields | |
Instances
| AuthMethod BasicAuth Source # | |
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
Arguments
| :: Text | Username |
| -> Text | Password |
| -> KubernetesClientConfig | |
| -> KubernetesClientConfig |
Configures the KubernetesClientConfig to use basic authentication.