apiserver

package
v0.0.0-...-b984a18 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Scheme is a new scheme
	Scheme = runtime.NewScheme()
	// Codecs is a new CodecFactory
	Codecs = serializer.NewCodecFactory(Scheme)
)

Functions

This section is empty.

Types

type Config

type Config struct {
	GenericConfig *genericapiserver.Config
}

Config contains a configuration for the api server

func (*Config) Complete

func (c *Config) Complete() completedConfig

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

func (*Config) SkipComplete

func (c *Config) SkipComplete() completedConfig

SkipComplete provides a way to construct a server instance without config completion.

type EventsAdapterServer

type EventsAdapterServer struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
	Provider         provider.EventsProvider
}

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

func (*EventsAdapterServer) InstallEventsAPI

func (s *EventsAdapterServer) InstallEventsAPI() error

InstallEventsAPI 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