server

package
v5.2.1-release+incompa... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2020 License: LGPL-3.0 Imports: 27 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager apiserver

func NewManager

func NewManager(c option.Config, etcdcli *clientv3.Client) *Manager

NewManager newManager

func (*Manager) Do

func (m *Manager) Do()

Do do

func (*Manager) EventLogInstance

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

EventLogInstance 查询event server instance

func (*Manager) KuberntesDashboardAPI

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

KuberntesDashboardAPI proxy traffix to kubernetes dashboard

func (*Manager) Metric

func (m *Manager) Metric()

Metric prometheus metric

func (*Manager) PrometheusAPI

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

PrometheusAPI prometheus api 代理

func (*Manager) RequestMetric

func (m *Manager) RequestMetric(next http.Handler) http.Handler

RequestMetric request metric midd

func (*Manager) Run

func (m *Manager) Run()

Run run

func (*Manager) SetMiddleware

func (m *Manager) SetMiddleware()

SetMiddleware set api meddleware

func (*Manager) Start

func (m *Manager) Start() error

Start manager

func (*Manager) Stop

func (m *Manager) Stop() error

Stop manager

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL