webhook

package
v0.1.0-beta.16 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewWebhookHandler

func NewWebhookHandler(wctx *wrangler.Context) *Handler

func (*Handler) ValidateHandler

func (h *Handler) ValidateHandler(w http.ResponseWriter, req *http.Request)

type WorkloadReview

type WorkloadReview struct {
	AdmissionReview *admissionv1.AdmissionReview
	ObjectMeta      metav1.ObjectMeta
	Deployment      appsv1.Deployment
	DaemonSet       appsv1.DaemonSet
	StatefulSet     appsv1.StatefulSet
	CronJob         batchv1.CronJob
	Job             batchv1.Job
}

func (*WorkloadReview) PodTemplateAnnotations

func (r *WorkloadReview) PodTemplateAnnotations(key string) string

Jump to

Keyboard shortcuts

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