Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceListBody = `` /* 429-byte string literal not displayed */
ServiceListBody is sample response to the List call
Variables ¶
View Source
var FirstFakeService = services.Service{ Binary: "manila-share", Host: "manila2@generic1", ID: 1, State: "up", Status: "enabled", UpdatedAt: time.Date(2015, 9, 7, 13, 3, 57, 0, time.UTC), Zone: "manila", }
First service from the ServiceListBody
View Source
var SecondFakeService = services.Service{ Binary: "manila-scheduler", Host: "manila2", ID: 2, State: "up", Status: "enabled", UpdatedAt: time.Date(2015, 9, 7, 13, 3, 57, 0, time.UTC), Zone: "manila", }
Second service from the ServiceListBody
Functions ¶
func HandleListSuccessfully ¶
HandleListSuccessfully configures the test server to respond to a List request.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.