Documentation ¶
Index ¶
Constants ¶
View Source
const (
NAME = "source"
)
View Source
const (
SourceUnappoved = "SourceSentry: pod rejected because image is not in allowed list"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Allowed []string `mapstructure:"allowed"`
}
func (*Config) LoadSentry ¶
type SourceSentry ¶
type SourceSentry struct {
// contains filtered or unexported fields
}
func (SourceSentry) Admit ¶
func (ss SourceSentry) Admit(receivedAdmissionReview v1beta1.AdmissionReview) *v1beta1.AdmissionResponse
func (SourceSentry) Type ¶
func (ss SourceSentry) Type() string
Click to show internal directories.
Click to hide internal directories.