Documentation
¶
Index ¶
Constants ¶
View Source
const ( // MeshPrefix is the mesh prefix. MeshPrefix = "/mesh" // MeshTenantPrefix is the mesh tenant prefix. MeshTenantPrefix = "/mesh/tenants" // MeshTenantPath is the mesh tenant path. MeshTenantPath = "/mesh/tenants/{tenantName:string}" // MeshIngressPrefix is the mesh ingress prefix. MeshIngressPrefix = "/mesh/ingresses" // MeshIngressPath is the mesh ingress path. MeshIngressPath = "/mesh/ingresses/{ingressName:string}" // MeshServicePrefix is mesh service prefix. MeshServicePrefix = "/mesh/services" // MeshServicePath is the mesh service path. MeshServicePath = "/mesh/services/{serviceName:string}" // MeshServiceCanaryPath is the mesh service canary path. MeshServiceCanaryPath = "/mesh/services/{serviceName:string}/canary" // MeshServiceResiliencePath is the mesh service resilience path. MeshServiceResiliencePath = "/mesh/services/{serviceName:string}/resilience" // MeshServiceLoadBalancePath is the mesh service load balance path. MeshServiceLoadBalancePath = "/mesh/services/{serviceName:string}/loadbalance" // MeshServiceOutputServerPath is the mesh service output server path. MeshServiceOutputServerPath = "/mesh/services/{serviceName:string}/outputserver" // MeshServiceTracingsPath is the mesh service tracings path. MeshServiceTracingsPath = "/mesh/services/{serviceName:string}/tracings" // MeshServiceMetricsPath is the mesh service metrics path. MeshServiceMetricsPath = "/mesh/services/{serviceName:string}/metrics" // MeshServiceInstancePrefix is the mesh service prefix. MeshServiceInstancePrefix = "/mesh/serviceinstances" // MeshServiceInstancePath is the mesh service path. MeshServiceInstancePath = "/mesh/serviceinstances/{serviceName:string}/{instanceID:string}" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Master ¶
type Master struct {
// contains filtered or unexported fields
}
Master is the master role of Easegress for mesh control plane.
func New ¶
func New(superSpec *supervisor.Spec, super *supervisor.Supervisor) *Master
New creates a mesh master.
func (*Master) Status ¶
func (m *Master) Status() *supervisor.Status
Status returns the status of master.
Click to show internal directories.
Click to hide internal directories.