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 CreateOutput = `` /* 287-byte string literal not displayed */
View Source
var CreateResponse = publicips.PublicIPCreateResp{
	ID:              "84a71976-a8c2-42e0-8826-7fc27b876e42",
	Status:          "PENDING_CREATE",
	Type:            "5_bgp",
	PublicIpAddress: "49.4.68.149",
	TenantId:        "57e98940a77f4bb988a21a7d0603a626",
	CreateTime:      "2018-04-20 15:59:36",
	BandwidthSize:   0,
}
View Source
var GetOutput = `` /* 414-byte string literal not displayed */
View Source
var GetResponse = publicips.PublicIP{
	ID:                 "84a71976-a8c2-42e0-8826-7fc27b876e42",
	Status:             "DOWN",
	Type:               "5_bgp",
	PublicIpAddress:    "49.4.68.149",
	TenantId:           "57e98940a77f4bb988a21a7d0603a626",
	CreateTime:         "2018-04-20 15:59:36",
	BandwidthId:        "ffdaac30-cd95-4955-a672-7b798285b68d",
	BandwidthName:      "bandwidth-d62f",
	BandwidthShareType: "WHOLE",
	BandwidthSize:      1,
}
View Source
var ListOutput = `` /* 1603-byte string literal not displayed */
View Source
var ListResponse = []publicips.PublicIP{
	{
		ID:                 "2412e868-f93a-4dfc-b171-5096baa27403",
		Status:             "DOWN",
		Type:               "5_sbgp",
		PublicIpAddress:    "114.115.219.38",
		TenantId:           "57e98940a77f4bb988a21a7d0603a626",
		CreateTime:         "2018-04-20 16:32:16",
		BandwidthId:        "916409b9-8ec8-41ce-b9d0-26002c4662ff",
		BandwidthName:      "bandwidth-7eaa",
		BandwidthShareType: "WHOLE",
		BandwidthSize:      1,
		Profile: publicips.Profile{
			UserID:    "57e98940a77f4bb988a21a7d0603a626",
			ProductID: "da27d47d84ff4adba7de3ca3b0c9ce08",
			RegionID:  "cn-north-1",
			OrderID:   "CS1803212335SQ1UD",
		},
	},
	{
		ID:                 "3faa05bd-d878-44e2-a363-f6672a9761d3",
		Status:             "DOWN",
		Type:               "5_bgp",
		PublicIpAddress:    "49.4.22.32",
		TenantId:           "57e98940a77f4bb988a21a7d0603a626",
		CreateTime:         "2018-03-21 15:36:34",
		BandwidthId:        "3c43e46e-4af1-45b8-a84d-ee6d04488d2a",
		BandwidthName:      "bandwidth-6f78",
		BandwidthShareType: "PER",
		BandwidthSize:      1,
		Profile: publicips.Profile{
			UserID:    "57e98940a77f4bb988a21a7d0603a626",
			ProductID: "da27d47d84ff4adba7de3ca3b0c9ce08",
			RegionID:  "cn-north-1",
			OrderID:   "CS1803212335SQ1UD",
		},
	},
}
View Source
var UpdateOutput = `` /* 296-byte string literal not displayed */
View Source
var UpdateResponse = publicips.PublicIPUpdateResp{
	ID:              "84a71976-a8c2-42e0-8826-7fc27b876e42",
	Status:          "DOWN",
	Type:            "5_bgp",
	PortId:          "",
	PublicIpAddress: "49.4.68.149",
	TenantId:        "57e98940a77f4bb988a21a7d0603a626",
	CreateTime:      "2018-04-20 15:59:36",
	BandwidthSize:   1,
}

Functions

func HandleCreateSuccessfully

func HandleCreateSuccessfully(t *testing.T)

func HandleDeleteSuccessfully

func HandleDeleteSuccessfully(t *testing.T)

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