admin

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AdminServiceAPI = &Service{}
)

Functions

This section is empty.

Types

type ControllerV4

type ControllerV4 struct {
}

Service 治理相关接口服务

func (*ControllerV4) AlarmList

func (ctrl *ControllerV4) AlarmList(w http.ResponseWriter, r *http.Request)

func (*ControllerV4) ClearAlarm

func (ctrl *ControllerV4) ClearAlarm(w http.ResponseWriter, r *http.Request)

func (*ControllerV4) Clusters

func (ctrl *ControllerV4) Clusters(w http.ResponseWriter, r *http.Request)

func (*ControllerV4) Dump

func (ctrl *ControllerV4) Dump(w http.ResponseWriter, r *http.Request)

func (*ControllerV4) URLPatterns

func (ctrl *ControllerV4) URLPatterns() []rest.Route

URLPatterns 路由

type Service

type Service struct {
}

func (*Service) AlarmList

func (service *Service) AlarmList(ctx context.Context, in *model.AlarmListRequest) (*model.AlarmListResponse, error)

func (*Service) ClearAlarm

func (service *Service) ClearAlarm(ctx context.Context, in *model.ClearAlarmRequest) (*model.ClearAlarmResponse, error)

func (*Service) Clusters

func (service *Service) Clusters(ctx context.Context, in *model.ClustersRequest) (*model.ClustersResponse, error)

func (*Service) Dump

func (service *Service) Dump(ctx context.Context, in *model.DumpRequest) (*model.DumpResponse, error)

Jump to

Keyboard shortcuts

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