source

package
v0.0.0-...-61304a0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2018 License: LGPL-3.0 Imports: 6 Imported by: 0

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

func (c *Config) LoadSentry() sentry.Sentry

func (*Config) Name

func (c *Config) Name() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL