testing

package
v0.4.48 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const CreateRequest = `` /* 239-byte string literal not displayed */
View Source
const CreateResponse = `` /* 1204-byte string literal not displayed */
View Source
const CreateRuleRequest = `
{
  "description": "Default security group",
  "direction": "egress",
  "ethertype": "IPv4",
  "protocol": "tcp"
}
`
View Source
const CreateRuleResponse = `` /* 413-byte string literal not displayed */
View Source
const GetResponse = `` /* 1204-byte string literal not displayed */
View Source
const ListResponse = `` /* 1503-byte string literal not displayed */
View Source
const UpdateRequest = `
{
  "name": "default"
}
`

Variables

View Source
var (
	SecurityGroup1 = securitygroups.SecurityGroup{
		Name:           groupName,
		Description:    groupDescription,
		ID:             groupID,
		CreatedAt:      groupCreatedTime,
		UpdatedAt:      &groupUpdatedTime,
		RevisionNumber: 4,
		SecurityGroupRules: []securitygroups.SecurityGroupRule{
			{
				ID:              groupRuleID,
				SecurityGroupID: groupID,
				Direction:       direction,
				RemoteGroupID:   nil,
				EtherType:       &eitherType,
				Protocol:        &sgProto,
				PortRangeMax:    nil,
				PortRangeMin:    nil,
				Description:     nil,
				RemoteIPPrefix:  nil,
				CreatedAt:       groupCreatedTime,
				UpdatedAt:       &groupUpdatedTime,
				RevisionNumber:  0,
			},
			{
				ID:              groupRuleID,
				SecurityGroupID: groupID,
				Direction:       direction,
				RemoteGroupID:   nil,
				EtherType:       &eitherType,
				Protocol:        &sgProto2,
				PortRangeMax:    nil,
				PortRangeMin:    nil,
				Description:     nil,
				RemoteIPPrefix:  nil,
				CreatedAt:       groupCreatedTime,
				UpdatedAt:       &groupUpdatedTime,
				RevisionNumber:  0,
			},
		},
		ProjectID: fake.ProjectID,
		RegionID:  fake.RegionID,
		Region:    "Luxembourg 1",
	}

	ExpectedSecurityGroupSlice = []securitygroups.SecurityGroup{SecurityGroup1}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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