server

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 51 Imported by: 0

Documentation

Overview

Package server is used to create and run the webhook server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenAndServe

func ListenAndServe(ctx context.Context, cfg *rest.Config, mcmEnabled bool) error

ListenAndServe starts the webhook server.

func Mutation

func Mutation(clients *clients.Clients) ([]admission.MutatingAdmissionHandler, error)

Mutation returns a list of all MutatingAdmissionHandlers used by the webhook.

func Validation

func Validation(clients *clients.Clients) ([]admission.ValidatingAdmissionHandler, error)

Validation returns a list of all ValidatingAdmissionHandlers used by the webhook.

Types

This section is empty.

Jump to

Keyboard shortcuts

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