webhook

package
v0.0.0-...-300c491 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DestinationValidator

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

DestinationValidator validates the destination

func (*DestinationValidator) Handle

DestinationValidator makes sure that endpoint specs conform with the layer number set (e.g., a layer 3 endpoint can not have a port set)

func (*DestinationValidator) InjectClient

func (v *DestinationValidator) InjectClient(c client.Client) error

InjectClient injects the client.

func (*DestinationValidator) InjectDecoder

func (v *DestinationValidator) InjectDecoder(d *admission.Decoder) error

InjectDecoder injects the decoder.

type LayerValidator

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

LayerValidator validates Pods

func (*LayerValidator) Handle

LayerValidator makes sure that endpoint specs conform with the layer number set (e.g., a layer 3 endpoint can not have a port set)

func (*LayerValidator) InjectClient

func (v *LayerValidator) InjectClient(c client.Client) error

InjectClient injects the client.

func (*LayerValidator) InjectDecoder

func (v *LayerValidator) InjectDecoder(d *admission.Decoder) error

InjectDecoder injects the decoder.

Jump to

Keyboard shortcuts

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