context

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAdmissionRequest

func GetAdmissionRequest(ctx context.Context) *admissionv1beta1.AdmissionRequest

GetAdmissionRequest returns the admission request stored on the context. If there is no admission request on the context it will return nil.

func SetAdmissionRequest

func SetAdmissionRequest(ctx context.Context, ar *admissionv1beta1.AdmissionRequest) context.Context

SetAdmissionRequest will set a admission request on the context and return the new context that has the admission request set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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