apiserver

package
v0.0.0-...-c1fcc63 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2017 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Scheme is a runtime scheme
	Scheme = runtime.NewScheme()
	// Codecs is a codec factory
	Codecs = serializer.NewCodecFactory(Scheme)
)

Functions

This section is empty.

Types

type Config

type Config struct {
	GenericConfig *genericapiserver.RecommendedConfig
}

Config contains a configuration for the api server.

func (*Config) Complete

func (cfg *Config) Complete() *completedConfig

Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.

type CustomMetricsAdapterServer

type CustomMetricsAdapterServer struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
	Provider         provider.CustomMetricsProvider
}

CustomMetricsAdapterServer contains state for a Kubernetes cluster master/api server.

func (*CustomMetricsAdapterServer) InstallCustomMetricsAPI

func (s *CustomMetricsAdapterServer) InstallCustomMetricsAPI() error

InstallCustomMetricsAPI registers the api server in Kube Aggregator

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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