rainbond: github.com/goodrain/rainbond/node/api Index | Files | Directories

package api

import "github.com/goodrain/rainbond/node/api"

Index

Package Files

manager.go

type Manager Uses

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

Manager api manager

func NewManager Uses

func NewManager(c option.Conf, node *nodeclient.HostNode, ms *masterserver.MasterServer, kubecli kubecache.KubeClient) *Manager

NewManager api manager

func (*Manager) GetRouter Uses

func (m *Manager) GetRouter() *chi.Mux

GetRouter GetRouter

func (*Manager) HandleClusterScrape Uses

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

HandleClusterScrape prometheus handle

func (*Manager) Start Uses

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

Start 启动

func (*Manager) Stop Uses

func (m *Manager) Stop() error

Stop 停止

Directories

PathSynopsis
controller
model
router

Package api imports 19 packages (graph) and is imported by 4 packages. Updated 2019-11-20. Refresh now. Tools for package owners.