webhook

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdmissionWebhookServer

type AdmissionWebhookServer struct {
	ResponseFn   func(review *admissionv1.AdmissionReview) (*admissionv1.AdmissionResponse, error)
	ObjectGVK    schema.GroupVersionKind
	Deserializer runtime.Decoder
	// contains filtered or unexported fields
}

func (*AdmissionWebhookServer) Calls

func (s *AdmissionWebhookServer) Calls() int

func (*AdmissionWebhookServer) GetURL

func (s *AdmissionWebhookServer) GetURL() string

func (*AdmissionWebhookServer) ServeHTTP

func (s *AdmissionWebhookServer) ServeHTTP(resp http.ResponseWriter, req *http.Request)

func (*AdmissionWebhookServer) StartTLS

func (s *AdmissionWebhookServer) StartTLS(t *testing.T, certFile, keyFile string, port string)

Jump to

Keyboard shortcuts

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