Documentation ¶
Overview ¶
Package admission handles kubernetes admissions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Admitter ¶
type Admitter struct {
// contains filtered or unexported fields
}
Admitter admits a pod into the review process.
func New ¶
func New(request *admissionv1.AdmissionRequest, mutations []mutate.MutationFunc) *Admitter
New builds a new Admitter.
func (Admitter) Review ¶
func (a Admitter) Review() (*admissionv1.AdmissionReview, error)
Review filters for resources that should be mutated by this mutating webhook. Specifically, any resource who has the label `"webhook":"enabled"`, will be mutated by this webhook.
Click to show internal directories.
Click to hide internal directories.