Documentation ¶
Overview ¶
subnets unit tests
Index ¶
Constants ¶
View Source
const CreateRequest = `` /* 169-byte string literal not displayed */
View Source
const CreateResponse = `
{
"tasks": [
"50f53a35-42ed-40c4-82b2-5a37fb3e00bc"
]
}
`
View Source
const DeleteResponse = `
{
"tasks": [
"50f53a35-42ed-40c4-82b2-5a37fb3e00bc"
]
}
`
View Source
const GetResponse = `` /* 463-byte string literal not displayed */
View Source
const ListResponse = `` /* 548-byte string literal not displayed */
View Source
const UpdateRequest = `
{
"name": "subnet"
}
`
Variables ¶
View Source
var ( Subnet1 = subnets.Subnet{ ID: "e7944e55-f957-413d-aa56-fdc876543113", Name: "subnet", IPVersion: 4, EnableDHCP: true, CIDR: cidr, CreatedAt: createdTime, UpdatedAt: updatedTime, NetworkID: "ee2402d0-f0cd-4503-9b75-69be1d11c5f1", TaskID: &taskID, CreatorTaskID: &taskID, Region: "RegionOne", ProjectID: fake.ProjectID, RegionID: fake.RegionID, } Tasks1 = tasks.TaskResults{ Tasks: []tasks.TaskID{"50f53a35-42ed-40c4-82b2-5a37fb3e00bc"}, } ExpectedSubnetSlice = []subnets.Subnet{Subnet1} )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.