Documentation ¶
Index ¶
Constants ¶
View Source
const (
NAME = "example"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
Click to show internal directories.
Click to hide internal directories.