example

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 = "example"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
}

func (*Config) LoadSentry

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

func (*Config) Name

func (c *Config) Name() string

type ExampleSentry

type ExampleSentry struct{}

ExampleSentry satisfies sentry.Sentry interface

func (ExampleSentry) Admit

func (es ExampleSentry) Admit(receivedAdmissionReview v1beta1.AdmissionReview) *v1beta1.AdmissionResponse

This is your validating function

func (ExampleSentry) Type

func (es ExampleSentry) Type() string

Type returns the type of object you are checking

Jump to

Keyboard shortcuts

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