Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
LookupX509 func(key string, cr *webhook.X509CertificateRequest) (any, bool, error)
LookupSSH func(key string, cr *webhook.SSHCertificateRequest) (any, bool, error)
AllowX509 func(certificate *webhook.X509Certificate) (bool, error)
AllowSSH func(certificate *webhook.SSHCertificate) (bool, error)
Secrets map[string]Secret
}
func (*Handler) AuthorizeSSH ¶
func (h *Handler) AuthorizeSSH(w http.ResponseWriter, r *http.Request)
func (*Handler) EnrichX509 ¶
func (h *Handler) EnrichX509(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.