server

package
v0.0.0-...-6424535 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAdmissionServerNoSSL

func GetAdmissionServerNoSSL(ac AdmissionController, listenOn int) *http.Server

func GetAdmissionValidationServer

func GetAdmissionValidationServer(ac AdmissionController, tlsCert, tlsKey string, listenOn int) *http.Server

Types

type AdmissionController

type AdmissionController interface {
	HandleAdmission(review *v1beta1.AdmissionReview) error
}

type AdmissionControllerServer

type AdmissionControllerServer struct {
	AdmissionController AdmissionController
	Decoder             runtime.Decoder
}

func (*AdmissionControllerServer) ServeHTTP

type MutateAdmission

type MutateAdmission struct {
	Client client.Client
}

func (*MutateAdmission) HandleAdmission

func (m *MutateAdmission) HandleAdmission(review *v1beta1.AdmissionReview) error

Jump to

Keyboard shortcuts

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