webhook

package
v0.0.0-...-547fad2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebhookController

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

WebhookController define the controller that manages(create, update and delete) the webhook configurations. it implements the Runnable interface from https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/manager#Runnable

func NewWebhookController

NewWebhookController create the WebhookController.

func (*WebhookController) Start

func (wc *WebhookController) Start(ctx context.Context) error

Start runs the WebhookController with the given context. it will create the corresponding webhook configuration with the client at starting and remove it when context done singal is received currently the controller will not watch the change of the webhook configurations.

Jump to

Keyboard shortcuts

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