testing

package
v1.0.21 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetOutput = `` /* 541-byte string literal not displayed */
View Source
var GetResponse = bandwidths.BandWidth{
	ID:        "3c43e46e-4af1-45b8-a84d-ee6d04488d2a",
	Name:      "bandwidth-6f78",
	Size:      1,
	ShareType: "PER",
	PublicipInfo: []bandwidths.PublicIpinfo{
		{
			PublicipId:      "3faa05bd-d878-44e2-a363-f6672a9761d3",
			PublicipAddress: "49.4.22.32",
			PublicipType:    "5_bgp",
		},
	},
	TenantId:      "57e98940a77f4bb988a21a7d0603a626",
	BandwidthType: "bgp",
	ChargeMode:    "bandwidth",
	BillingInfo:   "CS1803212335SQ1UD:60564b0c1f484feaad26cda1acc6d4d8:cn-north-1:57e98940a77f4bb988a21a7d0603a626",
}
View Source
var ListOutput = `` /* 1065-byte string literal not displayed */
View Source
var ListResponse = []bandwidths.BandWidth{
	{
		ID:        "3c43e46e-4af1-45b8-a84d-ee6d04488d2a",
		Name:      "bandwidth-6f78",
		Size:      1,
		ShareType: "PER",
		PublicipInfo: []bandwidths.PublicIpinfo{
			{
				PublicipId:      "3faa05bd-d878-44e2-a363-f6672a9761d3",
				PublicipAddress: "49.4.22.32",
				PublicipType:    "5_bgp",
			},
		},
		TenantId:      "57e98940a77f4bb988a21a7d0603a626",
		BandwidthType: "bgp",
		ChargeMode:    "bandwidth",
		BillingInfo:   "CS1803212335SQ1UD:60564b0c1f484feaad26cda1acc6d4d8:cn-north-1:57e98940a77f4bb988a21a7d0603a626",
	},
	{
		ID:        "99cb8fb5-6f23-47c3-84a6-6ac4b7729c73",
		Name:      "bandwidth-b540",
		Size:      1,
		ShareType: "PER",
		PublicipInfo: []bandwidths.PublicIpinfo{
			{
				PublicipId:      "4d60bba4-0791-4e82-8262-9bdffaeb1d14",
				PublicipAddress: "49.4.4.36",
				PublicipType:    "5_bgp",
			},
		},
		TenantId:      "57e98940a77f4bb988a21a7d0603a626",
		BandwidthType: "bgp",
		ChargeMode:    "bandwidth",
		BillingInfo:   "CS1803212337UFH9F:60564b0c1f484feaad26cda1acc6d4d8:cn-north-1:57e98940a77f4bb988a21a7d0603a626",
	},
}
View Source
var UpdateOutput = `` /* 541-byte string literal not displayed */
View Source
var UpdateResponse = bandwidths.BandWidth{
	ID:        "3c43e46e-4af1-45b8-a84d-ee6d04488d2a",
	Name:      "bandwidth-ABCD",
	Size:      1,
	ShareType: "PER",
	PublicipInfo: []bandwidths.PublicIpinfo{
		{
			PublicipId:      "3faa05bd-d878-44e2-a363-f6672a9761d3",
			PublicipAddress: "49.4.22.32",
			PublicipType:    "5_bgp",
		},
	},
	TenantId:      "57e98940a77f4bb988a21a7d0603a626",
	BandwidthType: "bgp",
	ChargeMode:    "bandwidth",
	BillingInfo:   "CS1803212335SQ1UD:60564b0c1f484feaad26cda1acc6d4d8:cn-north-1:57e98940a77f4bb988a21a7d0603a626",
}

Functions

func HandleGetSuccessfully

func HandleGetSuccessfully(t *testing.T)

func HandleListSuccessfully

func HandleListSuccessfully(t *testing.T)

func HandleUpdateSuccessfully

func HandleUpdateSuccessfully(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