extractor

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extractor

Extractor is a function type for implementations that can respond to Kubernetes admission controller requests for an object and return that object's metadata and any PodSpecs contained within the object.

func ForAdmissionRequest

func ForAdmissionRequest(request admissionV1.AdmissionRequest) Extractor

ForAdmissionRequest returns an Extractor function for the Kubernetes object contained in the given AdmissionRequest. If no Extractor is available for the given admission request, ForAdmissionRequest returns nil.

Jump to

Keyboard shortcuts

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