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