testing

package
v1.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BSSOpts = publicips.CreateOpts{

	PublicIP: publicips.PublicIP{
		Type: "5_bgp",
	},
	Bandwidth: publicips.Bandwidth{
		Name:       "test1",
		Size:       size,
		ShareType:  "PER",
		ChargeMode: "bandwidth",
	},
	ExtendParam: publicips.ExtendParam{
		ChargeMode:  "prePaid",
		PeriodNum:   pernum,
		PeriodType:  "month",
		IsAutoPay:   "true",
		IsAutoRenew: "false",
	},
}
View Source
var BSSResp = `
{
    "order_id": "CS1802081410IMDRN",
    "publicip_id": "f588ccfa-8750-4d7c-bf5d-2ede24414706"
}
`
View Source
var CreateResultForBSS = publicips.PrePaid{
	OrderID:    "CS1802081410IMDRN",
	PublicipID: "f588ccfa-8750-4d7c-bf5d-2ede24414706",
}
View Source
var OndemandResp = `` /* 345-byte string literal not displayed */
View Source
var OndmandOpts = publicips.CreateOpts{
	PublicIP: publicips.PublicIP{
		Type:      "5_bgp",
		IPVersion: ipver},
	Bandwidth: publicips.Bandwidth{
		Name:       "test1",
		Size:       size,
		ShareType:  "PER",
		ChargeMode: "bandwidth",
	},
}

Functions

func HandleOndemandSuccessfully

func HandleOndemandSuccessfully(t *testing.T)

func HandleWithBSSInfoSuccessfully

func HandleWithBSSInfoSuccessfully(t *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL