Help us shape the future of Go! Take the 2026 Go Developer Survey

webhookmanager

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ID            spiffeid.ID
	KeyPairPath   string
	WebhookName   string
	WebhookClient admissionregistrationapiv1.ValidatingWebhookConfigurationInterface
	SVIDClient    spireapi.SVIDClient
	BundleClient  spireapi.BundleClient
	Clock         clock.WithTicker
}

type Manager

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

func New

func New(config Config) *Manager

func (*Manager) Init

func (m *Manager) Init(ctx context.Context) error

func (*Manager) Start

func (m *Manager) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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