Documentation ¶
Index ¶
Constants ¶
View Source
const ListOutput = `` /* 1043-byte string literal not displayed */
ListOutput provides a single page of ServiceCatalog results.
Variables ¶
View Source
var ExpectedCatalogSlice = []tokens.CatalogEntry{{ ID: "4363ae44bdf34a3981fde3b823cb9aa2", Name: "keystone", Type: "identity", Endpoints: []tokens.Endpoint{ { ID: "39dc322ce86c4111b4f06c2eeae0841b", Interface: "public", Region: "RegionOne", URL: "http://localhost:5000", }, { ID: "ec642f27474842e78bf059f6c48f4e99", Interface: "internal", Region: "RegionOne", URL: "http://localhost:5000", }, { ID: "c609fc430175452290b62a4242e8a7e8", Region: "RegionOne", Interface: "admin", URL: "http://localhost:5000", }, }, }}
ExpectedCatalogSlice is the slice of domains expected to be returned from ListOutput.
Functions ¶
func HandleListCatalogSuccessfully ¶
HandleListCatalogSuccessfully creates an HTTP handler at `/domains` on the test handler mux that responds with a list of two domains.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.