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.
Click to show internal directories.
Click to hide internal directories.