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

package masterserver

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

Index

Package Files

server.go

type MasterServer Uses

type MasterServer struct {
    *store.Client
    *client.HostNode
    Cluster *node.Cluster
    // contains filtered or unexported fields
}

MasterServer 主节点服务

func NewMasterServer Uses

func NewMasterServer(modelnode *client.HostNode, kubecli kubecache.KubeClient) (*MasterServer, error)

NewMasterServer 创建master节点

func (*MasterServer) GetRegistry Uses

func (m *MasterServer) GetRegistry() *prometheus.Registry

GetRegistry get monitor metric registry

func (*MasterServer) Start Uses

func (m *MasterServer) Start(errchan chan error) error

Start master node start

func (*MasterServer) Stop Uses

func (m *MasterServer) Stop(i interface{})

Stop 停止

Directories

PathSynopsis
monitor
node

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