apiext

package
v3.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebhookRunner

type WebhookRunner interface {
	Run(ctx context.Context, resourceScheme *runtime.Scheme) error
}

Webhook provides a simple abstraction for apiext webhook server

type WebhookServer

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

func NewWebhookServer

func NewWebhookServer(config WebhookServerConfig) *WebhookServer

func (*WebhookServer) Run

func (s *WebhookServer) Run(ctx context.Context, scheme *runtime.Scheme) error

Run the Emissary-ingress apiext conversion webhook using the provided configuration

type WebhookServerConfig

type WebhookServerConfig struct {
	Namespace   string
	ServiceName string
	HTTPPort    int
	HTTPSPort   int
}

WebhookServerConfig provides settings to configure the WebhookServer at runtime.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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