server

package
v1.4.10 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

type Settings struct {
	ServiceName    string
	ServerCertPath string
	ServerKeyPath  string
	ClientCAPaths  []string
	ListenPort     string
	ListenAddr     string
}

type WebhookServer

type WebhookServer struct {
	Settings  *Settings
	Namespace string
	Router    chi.Router
}

func (*WebhookServer) Start

func (s *WebhookServer) Start() error

Start runs https server to listen for AdmissionReview requests from the API-server.

Jump to

Keyboard shortcuts

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