Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceListBody = `` /* 868-byte string literal not displayed */
ServiceListBody is sample response to the List call
Variables ¶
View Source
var FirstFakeService = services.Service{ Binary: "cinder-scheduler", DisabledReason: "", Host: "devstack", State: "up", Status: "enabled", UpdatedAt: time.Date(2017, 6, 29, 5, 50, 35, 0, time.UTC), Zone: "nova", }
First service from the ServiceListBody
View Source
var SecondFakeService = services.Service{ Binary: "cinder-backup", DisabledReason: "", Host: "devstack", State: "up", Status: "enabled", UpdatedAt: time.Date(2017, 6, 29, 5, 50, 42, 0, time.UTC), Zone: "nova", }
Second service from the ServiceListBody
View Source
var ThirdFakeService = services.Service{ ActiveBackendID: "", Binary: "cinder-volume", Cluster: "", DisabledReason: "", Frozen: false, Host: "devstack@lvmdriver-1", ReplicationStatus: "disabled", State: "up", Status: "enabled", UpdatedAt: time.Date(2017, 6, 29, 5, 50, 39, 0, time.UTC), Zone: "nova", }
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.