webhook

package
v0.0.0-...-f0ef8f0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: MIT Imports: 13 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 {
	Listen      string
	TLSCertPath string
	TLSKeyPath  string
}

type PodAssigner

type PodAssigner interface {
	GetPodSchedulingPatches(*corev1.Pod) []utils.JsonPatchOperation
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New

func New(c *Config, pa PodAssigner, log *logging.Logger) *Server

func (*Server) Run

func (s *Server) Run()

Jump to

Keyboard shortcuts

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