Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateOutput = `` /* 567-byte string literal not displayed */
View Source
var CreateResponse = subnets.Subnet{ ID: "c9aba52d-ec14-40cb-930f-c8153e93c2db", Name: "subnet", Cidr: "192.168.20.0/24", DNSList: []string{"114.114.114.114", "114.114.115.115"}, Status: "UNKNOWN", VpcID: "ea3b0efe-0d6a-4288-8b16-753504a994b9", GatewayIP: "192.168.20.1", DhcpEnable: enable, PrimaryDNS: "114.114.114.114", SecondaryDNS: "114.114.115.115", AvailabilityZone: "cn-north-1a", NeutronNetworkID: "c9aba52d-ec14-40cb-930f-c8153e93c2db", NeutronSubnetID: "c557e272-dea4-40ee-931b-36c33fb192b2", }
View Source
var GetOutput = `` /* 566-byte string literal not displayed */
View Source
var GetResponse = subnets.Subnet{ ID: "c9aba52d-ec14-40cb-930f-c8153e93c2db", Name: "subnet", Cidr: "192.168.20.0/24", DNSList: []string{"114.114.114.114", "114.114.115.115"}, Status: "ACTIVE", VpcID: "ea3b0efe-0d6a-4288-8b16-753504a994b9", GatewayIP: "192.168.20.1", DhcpEnable: enable, PrimaryDNS: "114.114.114.114", SecondaryDNS: "114.114.115.115", AvailabilityZone: "cn-north-1a", NeutronNetworkID: "c9aba52d-ec14-40cb-930f-c8153e93c2db", NeutronSubnetID: "c557e272-dea4-40ee-931b-36c33fb192b2", }
View Source
var ListOutput = `` /* 1118-byte string literal not displayed */
View Source
var ListResponse = []subnets.Subnet{ { ID: "9a78d8b5-4f00-4de9-b0d8-1228afb27726", Name: "subnet-3d95", Cidr: "192.168.0.0/24", DNSList: []string{"100.125.1.250", "114.114.114.114"}, Status: "ACTIVE", VpcID: "ea3b0efe-0d6a-4288-8b16-753504a994b9", GatewayIP: "192.168.0.1", DhcpEnable: enable, PrimaryDNS: "100.125.1.250", SecondaryDNS: "114.114.114.114", AvailabilityZone: "cn-north-1a", NeutronNetworkID: "9a78d8b5-4f00-4de9-b0d8-1228afb27726", NeutronSubnetID: "4d1d4f45-6375-4821-822e-44c92d12a58c", }, { ID: "c9aba52d-ec14-40cb-930f-c8153e93c2db", Name: "subnet", Cidr: "192.168.20.0/24", DNSList: []string{"114.114.114.114", "114.114.115.115"}, Status: "ACTIVE", VpcID: "ea3b0efe-0d6a-4288-8b16-753504a994b9", GatewayIP: "192.168.20.1", DhcpEnable: enable, PrimaryDNS: "114.114.114.114", SecondaryDNS: "114.114.115.115", AvailabilityZone: "cn-north-1a", NeutronNetworkID: "c9aba52d-ec14-40cb-930f-c8153e93c2db", NeutronSubnetID: "c557e272-dea4-40ee-931b-36c33fb192b2", }, }
View Source
var UpdateOutput = `
{
"subnet": {
"id": "c9aba52d-ec14-40cb-930f-c8153e93c2db",
"status": "ACTIVE"
}
}
`
View Source
var UpdateResponse = subnets.UpdateResp{
ID: "c9aba52d-ec14-40cb-930f-c8153e93c2db",
Status: "ACTIVE",
}
Functions ¶
func HandleGetSuccessfully ¶
func HandleListSuccessfully ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.