Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationHandler ¶
type AuthenticationHandler struct {
// contains filtered or unexported fields
}
AuthenticationHandler implements the webhook handler
func CreateAuthenticationHandler ¶
func CreateAuthenticationHandler() *AuthenticationHandler
CreateAuthenticationHandler returns default authentication http handler
func (*AuthenticationHandler) ServeHTTP ¶
func (h *AuthenticationHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (*AuthenticationHandler) WithAPIVersion ¶
func (h *AuthenticationHandler) WithAPIVersion(apiVersion versioned.APIVersion) *AuthenticationHandler
WithAPIVersion specify API version to use for handling authentication requests
func (*AuthenticationHandler) WithAuthenticator ¶
func (h *AuthenticationHandler) WithAuthenticator(p authenticator.Authenticator) *AuthenticationHandler
WithAuthenticator adds authenticator to overwrite default noop authenticator
Click to show internal directories.
Click to hide internal directories.