Documentation
¶
Index ¶
Constants ¶
View Source
const (
NAME = "nslabels"
)
Variables ¶
View Source
var (
NoLabelsPresent = "NsLabelsSentry: Namespace rejected because of no labels"
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
IgnoredNamespaces []string `mapstructure:"ignoredNamespaces"`
}
func (*Config) LoadSentry ¶
type Sentry ¶
type Sentry struct {
// contains filtered or unexported fields
}
func (Sentry) Admit ¶
func (s Sentry) Admit(receivedAdmissionReview v1beta1.AdmissionReview) *v1beta1.AdmissionResponse
Click to show internal directories.
Click to hide internal directories.