webhook

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service is a webhook that handles pod mutations for KubeSolo

func NewService

func NewService(nodeName, nodeIP, pkiPath, adminKubeconfig string, loadBalancer bool) *Service

NewService creates a new webhook server

func (*Service) RegisterWebhook

func (w *Service) RegisterWebhook() error

RegisterWebhook registers the webhook with the Kubernetes API server

func (*Service) Start

func (s *Service) Start(ctx context.Context) error

Start starts the webhook server

Jump to

Keyboard shortcuts

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