admissiontimeout

package
v0.0.0-...-73e1fb8 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: Apache-2.0 Imports: 6 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