webhook

package
v0.6.11 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FleetWebhookCertFileName = "tls.crt"
	FleetWebhookKeyFileName  = "tls.key"
	FleetWebhookCfgName      = "fleet-validating-webhook-configuration"
	FleetWebhookSvcName      = "fleetwebhook"
)

Variables

View Source
var AddToManagerFuncs []func(manager.Manager, []string) error

Functions

func AddToManager

func AddToManager(m manager.Manager, whiteListedUsers []string) error

AddToManager adds all Controllers to the Manager

Types

type Config added in v0.6.2

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

func NewWebhookConfig added in v0.6.2

func NewWebhookConfig(mgr manager.Manager, port int, clientConnectionType *options.WebhookClientConnectionType, certDir string, enableGuardRail bool) (*Config, error)

func (*Config) Start added in v0.6.2

func (w *Config) Start(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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