webhook

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EchoWebhook

type EchoWebhook struct {
	Client client.Client
	// contains filtered or unexported fields
}

func NewEchoWebhook

func NewEchoWebhook(client client.Client, recorders ...Recorder) *EchoWebhook

func (*EchoWebhook) Handle

type LogRecorder

type LogRecorder struct {
}

func NewLogRecorder

func NewLogRecorder() *LogRecorder

func (*LogRecorder) Record

func (r *LogRecorder) Record(req admission.Request)

type Recorder

type Recorder interface {
	Record(req admission.Request)
}

Jump to

Keyboard shortcuts

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