package
2.7.0+incompatible
Repository: https://github.com/kubernetes/dashboard.git
Documentation: pkg.go.dev
# Functions
ShouldRejectRequest returns true if url contains name and namespace of resource that should be filtered out from dashboard.
ToAuthenticationModes transforms array of authentication mode strings to valid AuthenticationModes type.
# Constants
Authentication modes supported by dashboard should be defined below.
Resource information that are used as certificate storage for custom certificates used by the user.
Expiration time (in seconds) of tokens generated by dashboard.
Resource information that are used as encryption key storage.
Authentication modes supported by dashboard should be defined below.
# Structs
AuthResponse is returned from our backend as a response for login/refresh requests.
LoginModesResponse contains list of auth modes supported by dashboard.
LoginSkippableResponse contains a flag that tells the UI not to display the Skip button.
LoginSpec is extracted from request coming from Dashboard frontend during login request.
ProtectedResource represents basic information about resource that should be filtered out from Dashboard UI.
TokenRefreshSpec contains token that is required by token refresh operation.
# Interfaces
Authenticator represents authentication methods supported by Dashboard.
AuthManager is used for user authentication management.
TokenManager is responsible for generating and decrypting tokens used for authorization.
# Type aliases
AuthenticationMode represents auth mode supported by dashboard, i.e.
AuthenticationModes represents auth modes supported by dashboard.