Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainReconciler ¶
type ChainReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Threads int AuthserviceDeploymentName string }
ChainReconciler reconciles a Chain object
func (*ChainReconciler) Reconcile ¶
Reconcile creates/updates the AuthService configuration when a Chain is modified.
func (*ChainReconciler) SetupWithManager ¶
func (r *ChainReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager connects the controller with the manager.
type JSONChain ¶
type JSONChain struct { Name string `json:"name,omitempty"` Match *JSONMatch `json:"match,omitempty"` Filters []JSONFilter `json:"filters,omitempty"` }
JSONChain is part of the ConfigMap data.
type JSONConfigData ¶
type JSONConfigData struct { ListenAddress string `json:"listen_address,omitempty"` ListenPort string `json:"listen_port,omitempty"` LogLevel string `json:"log_level,omitempty"` Threads int `json:"threads,omitempty"` Chains []*JSONChain `json:"chains,omitempty"` }
JSONConfigData is part of the ConfigMap data.
type JSONFilter ¶
type JSONFilter struct {
Oidc *JSONOidc `json:"oidc,omitempty"`
}
JSONFilter is part of the ConfigMap data.
type JSONMatch ¶
type JSONMatch struct { Header string `json:"header,omitempty"` Criteria string `json:"criteria,omitempty"` Prefix string `json:"prefix,omitempty"` Equality string `json:"equality,omitempty"` }
JSONMatch is part of the ConfigMap data.
type JSONOidc ¶
type JSONOidc struct { AuthorizationURI string `json:"authorization_uri"` TokenURI string `json:"token_uri"` CallbackURI string `json:"callback_uri"` ClientID string `json:"client_id"` Jwks string `json:"jwks"` ClientSecret string `json:"client_secret"` TrustedCertificateAuthority string `json:"trusted_certificate_authority,omitempty"` Scopes []string `json:"scopes"` CookieNamePrefix string `json:"cookie_name_prefix,omitempty"` IDToken *JSONToken `json:"id_token"` AccessToken *JSONToken `json:"access_token,omitempty"` }
JSONOidc is part of the ConfigMap data.
Click to show internal directories.
Click to hide internal directories.