cert-manager: github.com/jetstack/cert-manager/pkg/webhook/handlers Index | Files

package handlers

import "github.com/jetstack/cert-manager/pkg/webhook/handlers"

Index

Package Files

conversion.go interfaces.go mutation.go validation.go

func NewRegistryBackedValidator Uses

func NewRegistryBackedValidator(log logr.Logger, scheme *runtime.Scheme, registry *validation.Registry) *registryBackedValidator

type ConversionHook Uses

type ConversionHook interface {
    // Convert is called to convert a resource in one version into a different version.
    Convert(conversionSpec *apiextensionsv1beta1.ConversionRequest) *apiextensionsv1beta1.ConversionResponse
}

type MutatingAdmissionHook Uses

type MutatingAdmissionHook interface {
    // Admit is called to decide whether to accept the admission request. The returned AdmissionResponse may
    // use the Patch field to mutate the object from the passed AdmissionRequest.
    Mutate(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
}

type SchemeBackedConverter Uses

type SchemeBackedConverter struct {
    // contains filtered or unexported fields
}

func NewSchemeBackedConverter Uses

func NewSchemeBackedConverter(log logr.Logger, scheme *runtime.Scheme) *SchemeBackedConverter

func (*SchemeBackedConverter) Convert Uses

func (c *SchemeBackedConverter) Convert(conversionSpec *apiextensionsv1beta1.ConversionRequest) *apiextensionsv1beta1.ConversionResponse

type SchemeBackedDefaulter Uses

type SchemeBackedDefaulter struct {
    // contains filtered or unexported fields
}

func NewSchemeBackedDefaulter Uses

func NewSchemeBackedDefaulter(log logr.Logger, scheme *runtime.Scheme) *SchemeBackedDefaulter

func (*SchemeBackedDefaulter) Mutate Uses

func (c *SchemeBackedDefaulter) Mutate(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse

type ValidatingAdmissionHook Uses

type ValidatingAdmissionHook interface {
    // Validate is called to decide whether to accept the admission request. The returned AdmissionResponse
    // must not use the Patch field.
    Validate(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
}

Package handlers imports 18 packages (graph) and is imported by 3 packages. Updated 2020-08-12. Refresh now. Tools for package owners.