server

package
v0.3.19 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2019 License: Apache-2.0 Imports: 21 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, sigsK8SClient client.Client, resourceRecommendator resource.ResourceRecommendator, controllerValidator controller_validator.Validator) (AdmissionController, error)

NewAdmissionControllerWithConfig creates AdmissionController with configuration and dependencies

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