Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MeshTenantsURL is the mesh tenant prefix. MeshTenantsURL = apiURL + "/mesh/tenants" // MeshTenantURL is the mesh tenant path. MeshTenantURL = apiURL + "/mesh/tenants/%s" // MeshServicesURL is mesh service prefix. MeshServicesURL = apiURL + "/mesh/services" // MeshServiceURL is the mesh service path. MeshServiceURL = apiURL + "/mesh/services/%s" // MeshServiceCanaryURL is the mesh service canary path. MeshServiceCanaryURL = apiURL + "/mesh/services/%s/canary" // MeshServiceResilienceURL is the mesh service resilience path. MeshServiceResilienceURL = apiURL + "/mesh/services/%s/resilience" // MeshServiceLoadBalanceURL is the mesh service load balance path. MeshServiceLoadBalanceURL = apiURL + "/mesh/services/%s/loadbalance" // MeshServiceOutputServerURL is the mesh service output server path. MeshServiceOutputServerURL = apiURL + "/mesh/services/%s/outputserver" // MeshServiceTracingsURL is the mesh service tracings path. MeshServiceTracingsURL = apiURL + "/mesh/services/%s/tracings" // MeshServiceMetricsURL is the mesh service metrics path. MeshServiceMetricsURL = apiURL + "/mesh/services/%s/metrics" // MeshServiceInstancesURL is the mesh service prefix. MeshServiceInstancesURL = apiURL + "/mesh/serviceinstances" // MeshServiceInstanceURL is the mesh service path. MeshServiceInstanceURL = apiURL + "/mesh/serviceinstances/%s/%s" // MeshIngressURL is the mesh ingress prefix. MeshIngressesURL = apiURL + "/mesh/ingresses" // MeshIngressURL is the mesh ingress path. MeshIngressURL = apiURL + "/mesh/ingresses/%s" )
Variables ¶
This section is empty.
Functions ¶
func ExitWithError ¶
func ExitWithError(err error)
ExitWithError exits with self-defined message not the one of cobra(such as usage).
func ExitWithErrorf ¶
func ExitWithErrorf(format string, a ...interface{})
ExitWithErrorf wraps ExitWithError with format.
Types ¶
type GlobalFlags ¶
GlobalFlags is the global flags for the whole client.
var CommandlineGlobalFlags GlobalFlags
CommandlineGlobalFlags is the singleton of GlobalFlags.
Click to show internal directories.
Click to hide internal directories.