metaserver

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TODO: make addrs configurable
	Httpaddr = "127.0.0.1:10550"
)

Variables

This section is empty.

Functions

func BuildHandlerChain

func BuildHandlerChain(handler http.Handler, ls *MetaServer) http.Handler

Types

type MetaServer

type MetaServer struct {
	HandlerChainWaitGroup *utilwaitgroup.SafeWaitGroup
	LongRunningFunc       apirequest.LongRunningRequestCheck
	RequestTimeout        time.Duration
	Handler               http.Handler
	NegotiatedSerializer  runtime.NegotiatedSerializer
	Factory               handlerfactory.Factory
}

MetaServer is simplification of server.GenericAPIServer

func NewMetaServer

func NewMetaServer() *MetaServer

func (*MetaServer) BuildBasicHandler

func (ls *MetaServer) BuildBasicHandler() http.Handler

func (*MetaServer) Start

func (ls *MetaServer) Start(stopChan <-chan struct{})

Jump to

Keyboard shortcuts

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