admission

package
v0.0.0-...-215afb5 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallHandler

func InstallHandler(mux *mux.PathRecorderMux)

InstallHandler register handler for admission controller

Types

type Admit

type Admit interface {
	Admit(ar *v1.AdmissionReview) *v1.AdmissionResponse
}

Admit makes an admission decision based on the request attributes

type Patch

type Patch struct {
	Op    string      `json:"op,inline"`
	Path  string      `json:"path,inline"`
	Value interface{} `json:"value"`
}

Patch define json patch type

Jump to

Keyboard shortcuts

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