admissiontimeout

package
Version: v0.0.0-...-158c870 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: Apache-2.0 Imports: 6 Imported by: 1

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
t or T : Toggle theme light dark auto
y or Y : Canonical URL