testing

package
v1.0.19 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateOutput = `` /* 1199-byte string literal not displayed */
View Source
var CreateResponse = securitygroups.SecurityGroup{
	ID:          "f7616338-fa30-42b8-bf6b-754c0701aab8",
	Name:        "EricSG",
	Description: "",
	SecurityGroupRules: []securitygroups.SecurityGroupRule{
		{
			Direction:       "egress",
			Ethertype:       "IPv4",
			ID:              "5658ade3-e87c-4016-afc6-b8efd3c2e306",
			SecurityGroupId: "f7616338-fa30-42b8-bf6b-754c0701aab8",
		},
		{
			Direction:       "ingress",
			Ethertype:       "IPv4",
			RemoteGroupId:   "f7616338-fa30-42b8-bf6b-754c0701aab8",
			ID:              "4f87f0ea-1927-4b81-a4bb-83943b10585e",
			SecurityGroupId: "f7616338-fa30-42b8-bf6b-754c0701aab8",
		},
		{
			Direction:       "ingress",
			Ethertype:       "IPv4",
			ID:              "1438172b-20b8-4454-945c-9b5508a8e4f7",
			Protocol:        "tcp",
			PortRangeMax:    &PortNumber_22,
			PortRangeMin:    &PortNumber_22,
			RemoteIpPrefix:  "0.0.0.0/0",
			SecurityGroupId: "f7616338-fa30-42b8-bf6b-754c0701aab8",
		},
		{
			Direction:       "ingress",
			Ethertype:       "IPv4",
			ID:              "43fcaf3d-5406-4fc1-ab42-a18cc2660f01",
			Protocol:        "tcp",
			PortRangeMax:    &PortNumber_3389,
			PortRangeMin:    &PortNumber_3389,
			RemoteIpPrefix:  "0.0.0.0/0",
			SecurityGroupId: "f7616338-fa30-42b8-bf6b-754c0701aab8",
		},
	},
}
View Source
var GetOutput = `` /* 1199-byte string literal not displayed */
View Source
var GetResponse = securitygroups.SecurityGroup{
	ID:          "f7616338-fa30-42b8-bf6b-754c0701aab8",
	Name:        "EricSG",
	Description: "",
	SecurityGroupRules: []securitygroups.SecurityGroupRule{
		{
			Direction:       "egress",
			Ethertype:       "IPv4",
			ID:              "5658ade3-e87c-4016-afc6-b8efd3c2e306",
			SecurityGroupId: "f7616338-fa30-42b8-bf6b-754c0701aab8",
		},
		{
			Direction:       "ingress",
			Ethertype:       "IPv4",
			RemoteGroupId:   "f7616338-fa30-42b8-bf6b-754c0701aab8",
			ID:              "4f87f0ea-1927-4b81-a4bb-83943b10585e",
			SecurityGroupId: "f7616338-fa30-42b8-bf6b-754c0701aab8",
		},
		{
			Direction:       "ingress",
			Ethertype:       "IPv4",
			ID:              "1438172b-20b8-4454-945c-9b5508a8e4f7",
			Protocol:        "tcp",
			PortRangeMax:    &PortNumber_22,
			PortRangeMin:    &PortNumber_22,
			RemoteIpPrefix:  "0.0.0.0/0",
			SecurityGroupId: "f7616338-fa30-42b8-bf6b-754c0701aab8",
		},
		{
			Direction:       "ingress",
			Ethertype:       "IPv4",
			ID:              "43fcaf3d-5406-4fc1-ab42-a18cc2660f01",
			Protocol:        "tcp",
			PortRangeMax:    &PortNumber_3389,
			PortRangeMin:    &PortNumber_3389,
			RemoteIpPrefix:  "0.0.0.0/0",
			SecurityGroupId: "f7616338-fa30-42b8-bf6b-754c0701aab8",
		},
	},
}
View Source
var ListOutput = `` /* 2846-byte string literal not displayed */
View Source
var ListResponse = []securitygroups.SecurityGroup{
	{
		ID:          "7844d4b4-d78f-45dc-9465-2b4d1bca83a5",
		Name:        "Sys-default",
		Description: "default",
		VpcId:       "default",
		SecurityGroupRules: []securitygroups.SecurityGroupRule{
			{
				Direction:       "egress",
				Ethertype:       "IPv4",
				ID:              "2aafd879-c90f-49e0-87ee-0e4f0721c40c",
				SecurityGroupId: "7844d4b4-d78f-45dc-9465-2b4d1bca83a5",
			}, {
				Direction:       "egress",
				Ethertype:       "IPv6",
				ID:              "bf04230c-208a-4864-b0ff-876c21b33d0c",
				SecurityGroupId: "7844d4b4-d78f-45dc-9465-2b4d1bca83a5",
			}, {
				Direction:       "ingress",
				Ethertype:       "IPv6",
				RemoteGroupId:   "7844d4b4-d78f-45dc-9465-2b4d1bca83a5",
				ID:              "ee07e0d4-b4ec-4c68-a754-ff01652d4e11",
				SecurityGroupId: "7844d4b4-d78f-45dc-9465-2b4d1bca83a5",
			}, {
				Direction:       "ingress",
				Ethertype:       "IPv4",
				ID:              "164bcf26-c9c0-417a-abc5-c129ad0c1854",
				Protocol:        "tcp",
				PortRangeMax:    &PortNumber_3389,
				PortRangeMin:    &PortNumber_3389,
				RemoteIpPrefix:  "0.0.0.0/0",
				SecurityGroupId: "7844d4b4-d78f-45dc-9465-2b4d1bca83a5",
			}, {
				Direction:       "ingress",
				Ethertype:       "IPv4",
				ID:              "ff0eb13a-9ea7-432c-9032-9316a298d43a",
				Protocol:        "tcp",
				PortRangeMax:    &PortNumber_22,
				PortRangeMin:    &PortNumber_22,
				RemoteIpPrefix:  "0.0.0.0/0",
				SecurityGroupId: "7844d4b4-d78f-45dc-9465-2b4d1bca83a5",
			}, {
				Direction:       "ingress",
				Ethertype:       "IPv4",
				RemoteGroupId:   "7844d4b4-d78f-45dc-9465-2b4d1bca83a5",
				ID:              "d534b6e7-d001-4c36-b34d-ae70aa48f988",
				SecurityGroupId: "7844d4b4-d78f-45dc-9465-2b4d1bca83a5",
			},
		},
	},
	{
		ID:          "f7616338-fa30-42b8-bf6b-754c0701aab8",
		Name:        "EricSG",
		Description: "",
		SecurityGroupRules: []securitygroups.SecurityGroupRule{
			{
				Direction:       "egress",
				Ethertype:       "IPv4",
				ID:              "5658ade3-e87c-4016-afc6-b8efd3c2e306",
				SecurityGroupId: "f7616338-fa30-42b8-bf6b-754c0701aab8",
			},
			{
				Direction:       "ingress",
				Ethertype:       "IPv4",
				RemoteGroupId:   "f7616338-fa30-42b8-bf6b-754c0701aab8",
				ID:              "4f87f0ea-1927-4b81-a4bb-83943b10585e",
				SecurityGroupId: "f7616338-fa30-42b8-bf6b-754c0701aab8",
			},
			{
				Direction:       "ingress",
				Ethertype:       "IPv4",
				ID:              "1438172b-20b8-4454-945c-9b5508a8e4f7",
				Protocol:        "tcp",
				PortRangeMax:    &PortNumber_22,
				PortRangeMin:    &PortNumber_22,
				RemoteIpPrefix:  "0.0.0.0/0",
				SecurityGroupId: "f7616338-fa30-42b8-bf6b-754c0701aab8",
			},
			{
				Direction:       "ingress",
				Ethertype:       "IPv4",
				ID:              "43fcaf3d-5406-4fc1-ab42-a18cc2660f01",
				Protocol:        "tcp",
				PortRangeMax:    &PortNumber_3389,
				PortRangeMin:    &PortNumber_3389,
				RemoteIpPrefix:  "0.0.0.0/0",
				SecurityGroupId: "f7616338-fa30-42b8-bf6b-754c0701aab8",
			},
		},
	},
}
View Source
var PortNumber_22 = 22
View Source
var PortNumber_3389 = 3389

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)

Types

This section is empty.

Jump to

Keyboard shortcuts

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