adminapi

package
v0.0.0-...-4d3f714 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMetrics

func GetMetrics(req *restful.Request, resp *restful.Response)

GetMetrics returns metrics data

func GetVersion

func GetVersion(req *restful.Request, resp *restful.Response)

GetVersion writes version in response header

func GetWebService

func GetWebService() restful.WebService

GetWebService creates route and returns all admin api's

func Init

func Init() (err error)

Init function initiates admin server config and runs it

func MesherHealth

func MesherHealth(req *restful.Request, resp *restful.Response)

MesherHealth returns mesher health

func RouteRule

func RouteRule(req *restful.Request, resp *restful.Response)

RouteRule returns all router configs

func RouteRuleByService

func RouteRuleByService(req *restful.Request, resp *restful.Response)

RouteRuleByService returns route config for particular service

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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