config

package
v4.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: BSD-3-Clause Imports: 6 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 {
	Port int //Port for the admission controller to listen on
	//Server Certificate to be used for TLS handshake
	ServerCert string
	//Server Key to be used for TLS handshake
	ServerKey string

	LogLevel string

	LogMaxLength int
}

func GetAdmissionControllerConfig

func GetAdmissionControllerConfig() (*Config, error)

Jump to

Keyboard shortcuts

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