admissiontimeout

package
v0.0.0-...-5152f1c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdmissionTimeout

type AdmissionTimeout struct {
	Timeout time.Duration
}

AdmissionTimeout provides a decorator that will fail an admission plugin after a certain amount of time

DEPRECATED: use the context of the admission handler instead.

func (AdmissionTimeout) WithTimeout

func (d AdmissionTimeout) WithTimeout(admissionPlugin admission.Interface, name string) admission.Interface

Jump to

Keyboard shortcuts

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