Documentation ¶
Index ¶
Constants ¶
View Source
const ListResult = `` /* 492-byte string literal not displayed */
ListResult provides a single page of LicenseType results.
Variables ¶
View Source
var ExpectedLicenseTypesSlice = []license_types.LicenseType{FirstLicenseType, SecondLicenseType}
ExpectedLicenseTypesSlice is the slice of LicenseTypes expected to be returned from ListResult.
View Source
var FirstLicenseType = license_types.LicenseType{ ID: "9c54c437-5f0f-46f5-8270-ddf450a44135", Name: "Windows Server 2016 Standard Edition", HasLicenseKey: false, Unit: "VM", LicenseSwitch: true, Description: "Windows Server 2016 Standard Edition", }
FirstLicenseType is the first LicenseType in the List request.
View Source
var SecondLicenseType = license_types.LicenseType{ ID: "e37c05ba-8fd0-493e-93d2-688833363a74", Name: "vCenter Server 6.x Standard", HasLicenseKey: true, Unit: "License", LicenseSwitch: false, Description: "vCenter Server 6.x Standard", }
SecondLicenseType is the second LicenseType in the List request.
Functions ¶
func HandleListLicenseTypesSuccessfully ¶
HandleListLicenseTypesSuccessfully creates an HTTP handler at `/license_types` on the test handler mux that responds with a list of two LicenseType.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.