Documentation
¶
Index ¶
- Constants
- func SafeDNS1123Name(fullOriginalName string) (string, bool, string)
- type Credentials
- type DexAuthenticator
- type DexAuthenticatorSecret
- type DexCA
- type DexClient
- type DexClientSecret
- type DexProvider
- type KubernetesSecret
- type KubernetesServicePort
- type PublishAPICert
- type PublishAPIConfig
Constants ¶
View Source
const IDTokenTTLValueKey = "userAuthn:idTokenTTL"
IDTokenTTLValueKey is where the hook stores the idTokenTTL of the user-authn ModuleConfig ("" when unset) for the userAuthnIDTokenTTLBelow release requirement.
Variables ¶
This section is empty.
Functions ¶
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:"-"`
}
type DexAuthenticatorSecret ¶
type DexAuthenticatorSecret struct {
ID string `json:"uuid"`
Name string `json:"name"`
Namespace string `json:"namespace"`
Credentials Credentials `json:"credentials"`
}
type DexClient ¶
type DexClient struct {
ID string `json:"id"`
EncodedID string `json:"encodedID"`
Name string `json:"name"`
Namespace string `json:"namespace"`
Spec map[string]interface{} `json:"spec"`
Secret string `json:"clientSecret"`
// LegacyID and LegacyEncodedID is formatted with a colons delimiter which is impossible to use as a
// basic auth credentials part
LegacyID string `json:"legacyID"`
LegacyEncodedID string `json:"legacyEncodedID"`
Labels map[string]string `json:"labels"`
Annotations map[string]string `json:"annotations"`
AllowAccessToKubernetes bool `json:"allowAccessToKubernetes"`
// 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:"-"`
}
type DexClientSecret ¶
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_enabled_publish_api.go
- discover_publish_api_cert.go
- ensure_external_crds.go
- generate_basic_auth_proxy_cert.go
- generate_kubeconfig_encoded_names.go
- generate_kubernetes_dex_client_app_secret.go
- generate_selfsigned_ca.go
- get_dex_authenticator_crds.go
- get_dex_client_crds.go
- get_dex_providers_crds.go
- get_dex_user_crds.go
- order_dex_tls_certificate.go
Click to show internal directories.
Click to hide internal directories.