admission

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestsHandler added in v0.4.0

type RequestsHandler struct {
	DefaultTimezone          string
	ContainerName            string
	BootstrapImage           string
	BootstrapVerbose         bool
	DefaultInjectionStrategy inject.InjectionStrategy
	InjectByDefault          bool
	HostPathPrefix           string
	LocalTimePath            string
	CronJobTimeZone          bool
	// contains filtered or unexported fields
}

func NewRequestsHandler added in v0.4.0

func NewRequestsHandler() RequestsHandler

func (*RequestsHandler) InitializeClientset added in v0.4.0

func (h *RequestsHandler) InitializeClientset(kubeconfPath string) error

type Server added in v0.4.0

type Server struct {
	TLSCertFile     string
	TLSKeyFile      string
	TLSCipherSuites []string
	TLSMinVersion   string
	Address         string
	Handler         RequestsHandler
	Verbose         bool
}

func NewAdmissionServer

func NewAdmissionServer() *Server

func (*Server) Start added in v0.4.0

func (h *Server) Start(kubeconfigFlag string) error

Jump to

Keyboard shortcuts

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