Documentation ¶
Index ¶
- Variables
- type ControllerV4
- func (ctrl *ControllerV4) AlarmList(w http.ResponseWriter, r *http.Request)
- func (ctrl *ControllerV4) ClearAlarm(w http.ResponseWriter, r *http.Request)
- func (ctrl *ControllerV4) Clusters(w http.ResponseWriter, r *http.Request)
- func (ctrl *ControllerV4) Dump(w http.ResponseWriter, r *http.Request)
- func (ctrl *ControllerV4) URLPatterns() []rest.Route
- type Service
- func (service *Service) AlarmList(ctx context.Context, in *model.AlarmListRequest) (*model.AlarmListResponse, error)
- func (service *Service) ClearAlarm(ctx context.Context, in *model.ClearAlarmRequest) (*model.ClearAlarmResponse, error)
- func (service *Service) Clusters(ctx context.Context, in *model.ClustersRequest) (*model.ClustersResponse, error)
- func (service *Service) Dump(ctx context.Context, in *model.DumpRequest) (*model.DumpResponse, error)
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)
Click to show internal directories.
Click to hide internal directories.