server

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: May 27, 2019 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewControllerPodResourceRecommendation

func NewControllerPodResourceRecommendation() *controllerPodResourceRecommendation

Types

type AdmissionController

type AdmissionController interface {
	MutatePod(http.ResponseWriter, *http.Request)
}

func NewAdmissionControllerWithConfig

func NewAdmissionControllerWithConfig(cfg Config, resourceRecommendator resource.ResourceRecommendator) (AdmissionController, error)

type Config

type Config struct {
	Enable bool
}

Jump to

Keyboard shortcuts

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