Back to / node / api

package api

Latest Go to latest
Published: Jul 11, 2018 | License: LGPL-3.0 | Module:


type Manager

type Manager struct {
	// contains filtered or unexported fields

Manager api manager

func NewManager

func NewManager(c option.Conf, node *model.HostNode, ms *masterserver.MasterServer, exporter *statsd.Exporter, sharedInformers informers.SharedInformerFactory) *Manager

NewManager api manager

func (*Manager) HandleStatsd

func (m *Manager) HandleStatsd(w http.ResponseWriter, r *http.Request)

HandleStatsd statsd handle

func (*Manager) ReloadStatsdMappConfig

func (m *Manager) ReloadStatsdMappConfig(w http.ResponseWriter, r *http.Request)

ReloadStatsdMappConfig ReloadStatsdMappConfig

func (*Manager) Start

func (m *Manager) Start(errChan chan error) error

Start 启动

func (*Manager) Stop

func (m *Manager) Stop() error

Stop 停止

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier