webhook

package
v0.0.0-...-6342274 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePatchForPod

func CreatePatchForPod(pod *v12.Pod) ([]byte, error)

createPatch creates a mutation patch for resources Injects a NodeSelector and an Annotation

func MACMutateHandler

func MACMutateHandler(w http.ResponseWriter, r *http.Request)

func NewWebhookCommand

func NewWebhookCommand() *cobra.Command

Generates the NewWebhookCommand

Types

This section is empty.

Jump to

Keyboard shortcuts

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