server

package
v0.0.0-...-a7857d6 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Copied from https://github.com/kubernetes/kubernetes/blob/release-1.26/test/images/agnhost/webhook/scheme.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadTLSCerts

func LoadTLSCerts(certFile string, keyFile string) *tls.Config

func Run

func Run()

Types

type Config

type Config struct {
	CertFile  string
	KeyFile   string
	Message   string
	HttpPort  int
	HttpsPort int
}

type IConfig

type IConfig interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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