Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MasterServer ¶
type MasterServer struct { *store.Client *client.HostNode Cluster *node.Cluster // contains filtered or unexported fields }
MasterServer 主节点服务
func NewMasterServer ¶
func NewMasterServer(modelnode *client.HostNode, kubecli kubecache.KubeClient) (*MasterServer, error)
NewMasterServer 创建master节点
func (*MasterServer) GetRegistry ¶
func (m *MasterServer) GetRegistry() *prometheus.Registry
GetRegistry get monitor metric registry
func (*MasterServer) Start ¶
func (m *MasterServer) Start(errchan chan error) error
Start master node start
Click to show internal directories.
Click to hide internal directories.