master

package
v0.0.0-...-1c98ef4 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultAPIResourceConfigSource

func DefaultAPIResourceConfigSource() *serverstorage.ResourceConfig

DefaultAPIResourceConfigSource default api resource config

func DefaultRESTStorageProvider

func DefaultRESTStorageProvider() []apiserver.RESTStorageProvider

DefaultRESTStorageProvider build default install api rest provider

func NewController

func NewController(para []interface{}) (*apiserver.ControllerProvider, error)

NewController create controller

Types

type Controller

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

Controller controller

func (*Controller) Name

func (c *Controller) Name() string

Name return controller name

func (*Controller) PostStartHook

func (c *Controller) PostStartHook(hookContext genericapiserver.PostStartHookContext) error

PostStartHook when apiserver startup call this hook

func (*Controller) PreShutdownHook

func (c *Controller) PreShutdownHook() error

PreShutdownHook when apiserver shutdown call this hook

func (*Controller) Start

func (c *Controller) Start()

Start begins the core controller loops that must exist for bootstrapping a cluster.

func (*Controller) Stop

func (c *Controller) Stop()

Stop stop all runner

Jump to

Keyboard shortcuts

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