Back to godoc.org
github.com/goodrain/rainbond / node / api

package api

v3.6.1+incompatible
Latest Go to latest
Published: Jul 11, 2018 | License: LGPL-3.0 | Module: github.com/goodrain/rainbond

Index

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