apiserver

package
v0.1.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(apiServer *ApiServer, apiRegister ApiRegister)

func NCSACommonLogFormatLogger

func NCSACommonLogFormatLogger() restful.FilterFunction

Types

type ApiRegister

type ApiRegister interface {
	Register(*restful.Container)
}

type ApiServer

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

func NewApiServer

func NewApiServer(listenAddr, advertiseAddr string) *ApiServer

func (*ApiServer) Proxy added in v0.1.3

func (apiServer *ApiServer) Proxy() restful.FilterFunction

func (*ApiServer) Start

func (apiServer *ApiServer) Start() error

func (*ApiServer) UpdateLeaderAddr

func (apiServer *ApiServer) UpdateLeaderAddr(addr string)

type RootPaths

type RootPaths struct {
	// paths are the paths available at root.
	Paths []string
}

RootPaths lists the paths available at root. For example: "/healthz", "/apis".

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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