package
2.7.0+incompatible
Repository: https://github.com/kubernetes/dashboard.git
Documentation: pkg.go.dev

# Functions

GenerateCSRFKey generates random csrf key.
ToSelfSubjectAccessReview creates kubernetes API object based on provided data.

# Constants

CsrfTokenSecretData is the name of the data var that holds the csrf token inside the secret.
CsrfTokenSecretName is the resource information that are used as csrf token storage.

# Structs

CanIResponse is used to as response to check whether or not user is allowed to access given endpoint.

# Interfaces

ClientManager is responsible for initializing and creating clients to communicate with kubernetes apiserver on demand.
CsrfTokenManager is responsible for generating, reading and updating token stored in a secret.
ResourceVerber is responsible for performing generic CRUD operations on all supported resources.