testing

package
v0.3.34 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 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 = `` /* 810-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 = `` /* 810-byte string literal not displayed */
View Source
const ListResponse = `` /* 959-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:        nil,
			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