Help us shape the future of Go! Take the 2026 Go Developer Survey

test

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyResponse

func VerifyResponse(tb testing.TB, response *admission.Response, status int32, message string)

VerifyResponse is a helper function to verify the response of a webhook function.

Types

type Decoder

type Decoder[T interface {
	runtime.Object
	DeepCopyInto(T)
}] struct {
	Object    T
	OldObject T
}

func (*Decoder[T]) Decode

func (d *Decoder[T]) Decode(_ admission.Request, into runtime.Object) error

func (*Decoder[T]) DecodeRaw

func (d *Decoder[T]) DecodeRaw(_ runtime.RawExtension, into runtime.Object) error

Jump to

Keyboard shortcuts

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