Documentation ¶
Overview ¶
conductors unit tests
Index ¶
Constants ¶
View Source
const ConductorListBody = `` /* 781-byte string literal not displayed */
ConductorListBody contains the canned body of a conductor.List response, without detail.
View Source
const ConductorListDetailBody = `` /* 1061-byte string literal not displayed */
ConductorListDetailBody contains the canned body of a conductor.ListDetail response.
View Source
const SingleConductorBody = `` /* 437-byte string literal not displayed */
SingleConductorBody is the canned body of a Get request on an existing conductor.
Variables ¶
View Source
var ( ConductorFoo = conductors.Conductor{ CreatedAt: createdAtFoo, UpdatedAt: updatedAt, Hostname: "compute2.localdomain", ConductorGroup: "", Alive: true, Drivers: []string{ "ipmi", }, } )
Functions ¶
func HandleConductorListDetailSuccessfully ¶
HandleConductorListDetailSuccessfully sets up the test server to respond to a server List request.
func HandleConductorListSuccessfully ¶
HandleConductorListSuccessfully sets up the test server to respond to a server List request.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.