Documentation
¶
Index ¶
- func DexAuthenticatorClientID(name, namespace string) string
- func SafeDNS1123Name(fullOriginalName string) (string, bool, string)
- type Credentials
- type DexAuthenticator
- type DexAuthenticatorSecret
- type DexCA
- type DexProvider
- type KubernetesSecret
- type KubernetesServicePort
- type PublishAPICert
- type PublishAPIConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DexAuthenticatorClientID ¶ added in v1.78.0
DexAuthenticatorClientID is the id of the OAuth2Client of a DexAuthenticator. Name and namespace may both contain a dash, so they are joined by "@", which neither can contain: joined by a dash, distinct authenticators ("a" in "b-c" and "a-b" in "c") got one client and one secret.
Types ¶
type Credentials ¶
type DexAuthenticator ¶
type DexAuthenticator struct {
ID string `json:"uuid"`
EncodedName string `json:"encodedName"`
Name string `json:"name"`
Namespace string `json:"namespace"`
Spec map[string]interface{} `json:"spec"`
AllowAccessToKubernetes bool `json:"allowAccessToKubernetes"`
Credentials Credentials `json:"credentials"`
// AllowAccessToKubernetesAnnotation carries the raw annotation value from the filter,
// which has no logger, to the hook body, which does. It is nil when the annotation is
// absent, and json:"-" keeps it out of the internal values the templates read.
AllowAccessToKubernetesAnnotation *string `json:"-"`
// IsCreatedByModule tells an authenticator of a Deckhouse module, labeled heritage: deckhouse
// by helm_lib, from one of a user. Only the telemetry reads it.
IsCreatedByModule bool `json:"-"`
}
type DexAuthenticatorSecret ¶
type DexAuthenticatorSecret struct {
ID string `json:"uuid"`
Name string `json:"name"`
Namespace string `json:"namespace"`
Credentials Credentials `json:"credentials"`
}
type DexProvider ¶
type DexProvider map[string]interface{}
type KubernetesSecret ¶
type KubernetesSecret []byte
type KubernetesServicePort ¶
type KubernetesServicePort intstr.IntOrString
type PublishAPICert ¶
type PublishAPIConfig ¶ added in v1.77.0
Source Files
¶
- alert_on_long_id_token_ttl.go
- delete_crowd_basic_auth_proxy.go
- discover_apiserver_endpoints.go
- discover_dex_ca.go
- discover_dex_cluster_ip.go
- discover_dexprovider_token_exchange_migration.go
- discover_enabled_publish_api.go
- discover_publish_api_cert.go
- ensure_external_crds.go
- generate_basic_auth_proxy_cert.go
- generate_dex_sessions_cookie_key.go
- generate_dex_trusted_proxy_secret.go
- generate_kubeconfig_encoded_names.go
- generate_kubernetes_dex_client_app_secret.go
- generate_selfsigned_ca.go
- get_dex_authenticator_crds.go
- get_dex_providers_crds.go
- get_dex_user_crds.go
- handover.go
- handover_dex_client.go
- handover_dex_password.go
- handover_kubernetes_client.go
- handover_protect.go
- order_dex_tls_certificate.go
- order_revocation_feed_certificate.go
- order_user_api_certificate.go