Documentation
¶
Index ¶
- Constants
- func APICmd() *cobra.Command
- func CustomDataCmd() *cobra.Command
- func CustomDataKindCmd() *cobra.Command
- func ExitWithError(err error)
- func ExitWithErrorf(format string, a ...interface{})
- func HealthCmd() *cobra.Command
- func MemberCmd() *cobra.Command
- func ObjectCmd() *cobra.Command
- func ProfileCmd() *cobra.Command
- func WasmCmd() *cobra.Command
- type APIErr
- type GlobalFlags
- type SpecVisitor
- type YAMLVisitor
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" // MeshIngressesURL 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 CustomDataCmd ¶ added in v1.5.0
CustomDataCmd defines custom data command.
func CustomDataKindCmd ¶ added in v1.5.0
CustomDataKindCmd defines custom data kind command.
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.
func ProfileCmd ¶ added in v1.5.1
ProfileCmd defines member command.
Types ¶
type GlobalFlags ¶
GlobalFlags is the global flags for the whole client.
var CommandlineGlobalFlags GlobalFlags
CommandlineGlobalFlags is the singleton of GlobalFlags.
type SpecVisitor ¶ added in v1.3.0
SpecVisitor walk through multiple specs
type YAMLVisitor ¶ added in v1.5.0
YAMLVisitor walk through multiple YAML documents
Click to show internal directories.
Click to hide internal directories.