Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceListBody = `` /* 1348-byte string literal not displayed */
ServiceListBody is sample response to the List call
Variables ¶
View Source
var FirstFakeService = services.Service{ Binary: "nova-scheduler", DisabledReason: "test1", Host: "host1", ID: 1, State: "up", Status: "disabled", UpdatedAt: time.Date(2012, 10, 29, 13, 42, 2, 0, time.UTC), Zone: "internal", }
First service from the ServiceListBody
View Source
var FourthFakeService = services.Service{ Binary: "nova-compute", DisabledReason: "test4", Host: "host2", ID: 4, State: "down", Status: "disabled", UpdatedAt: time.Date(2012, 9, 18, 8, 3, 38, 0, time.UTC), Zone: "nova", }
Fourth service from the ServiceListBody
View Source
var SecondFakeService = services.Service{ Binary: "nova-compute", DisabledReason: "test2", Host: "host1", ID: 2, State: "up", Status: "disabled", UpdatedAt: time.Date(2012, 10, 29, 13, 42, 5, 0, time.UTC), Zone: "nova", }
Second service from the ServiceListBody
View Source
var ThirdFakeService = services.Service{ Binary: "nova-scheduler", DisabledReason: "", Host: "host2", ID: 3, State: "down", Status: "enabled", UpdatedAt: time.Date(2012, 9, 19, 6, 55, 34, 0, time.UTC), Zone: "internal", }
Third 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.