Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoUID = errors.New("No UID from request")
)
Functions ¶
func NewSentryServerNoSSL ¶
Types ¶
type Sentry ¶
type Sentry interface { Admit(v1beta1.AdmissionReview) *v1beta1.AdmissionResponse Type() string }
type SentryHandler ¶
type SentryHandler struct {
Sentry
}
func (SentryHandler) ServeHTTP ¶
func (sh SentryHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.