fake

package
v0.0.0-...-c7825ed Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAdmissionRequest

func GetAdmissionRequest(jsonObj string, objType ObjectType, op admissionv1.Operation) (req ctrlAdmission.Request, err error)

get admission request for test

Types

type ObjectType

type ObjectType string
var (
	POD_TYPE        ObjectType = "Pod"
	DEPLOYMENT_TYPE ObjectType = "Deployment"
)

Jump to

Keyboard shortcuts

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