admissiontimeout

package
v0.0.0-...-f8abdcd Latest Latest
Warning

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

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

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