server

package
v0.0.0-...-53fea73 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: AGPL-3.0 Imports: 17 Imported by: 0

README

TODO

  1. Cleanup logging
  2. Fix -v cli args
  3. Always need more tests :)

Documentation

Index

Constants

View Source
const (
	PreventEvictAnnotation = "k8s-eviction-extender.michaelgugino.github.com/no-evict"
	EvictionRequested      = "k8s-eviction-extender.michaelgugino.github.com/evict-requested"
)

Variables

This section is empty.

Functions

func Serve

func Serve(certfile string, keyfile string, port int, kclient *kubernetes.Clientset)

Types

type Config

type Config struct {
	CertFile string
	KeyFile  string
}

Config contains the server (the webhook) cert and key.

Jump to

Keyboard shortcuts

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