Documentation ¶
Overview ¶
Package static contains static information for the locate service.
Index ¶
Constants ¶
View Source
const ( IssuerLocate = "locate" AudienceLocate = "locate" IssuerMonitoring = "monitoring" SubjectMonitoring = "monitoring" )
Constants used by the locate service, clients, and target servers accepting access tokens issued by the locate service.
Variables ¶
View Source
var Configs = map[string]Ports{ "ndt/ndt7": { URL("ws", "", "/ndt/v7/upload"), URL("ws", "", "/ndt/v7/download"), URL("wss", "", "/ndt/v7/upload"), URL("wss", "", "/ndt/v7/download"), }, "ndt/ndt5": { URL("ws", ":3001", "/ndt_protocol"), URL("wss", ":3010", "/ndt_protocol"), }, "wehe/replay": { URL("https", "", "/v0/allow"), }, }
Configs is a temporary, static mapping of service names and their set of associated ports. Ultimately, this will be discovered dynamically as service heartbeats register with the locate service.
View Source
var LegacyServices = map[string]string{
"ndt/ndt5": "ndt_ssl",
"ndt/ndt7": "ndt7",
}
LegacyServices associates legacy mlab-ns experiment target names with their v2 equivalent.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.