server

package
v0.0.0-...-545e74e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type CompletedConfig

type CompletedConfig struct {
	// contains filtered or unexported fields
}

func (CompletedConfig) New

func (c CompletedConfig) New() (*EtcdServer, error)

New returns a new instance of EtcdServer from the given config.

type EtcdServer

type EtcdServer struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
	Operator         *controller.Controller
}

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

func (*EtcdServer) Run

func (op *EtcdServer) Run(stopCh <-chan struct{}) error

type EtcdServerConfig

type EtcdServerConfig struct {
	GenericConfig  *genericapiserver.RecommendedConfig
	ExtraConfig    ExtraConfig
	OperatorConfig *controller.OperatorConfig
}

func (*EtcdServerConfig) Complete

func (c *EtcdServerConfig) Complete() CompletedConfig

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

type ExtraConfig

type ExtraConfig struct {
	AdmissionHooks []hooks.AdmissionHook
}

Jump to

Keyboard shortcuts

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