server

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: Apache-2.0 Imports: 10 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

StartWebhookServer starts https server to listen for AdmissionReview requests from cluster

Jump to

Keyboard shortcuts

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