Versions in this module Expand all Collapse all v1 v1.0.21 Mar 14, 2020 Changes in this version + func CreateURL(c *gophercloud.ServiceClient) string + func DeleteURL(c *gophercloud.ServiceClient, securityGroupId string) string + func GetURL(c *gophercloud.ServiceClient, securityGroupId string) string + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func ListURL(c *gophercloud.ServiceClient) string + type CreateOpts struct + EnterpriseProjectId string + Name string + VpcId string + func (opts CreateOpts) ToSecuritygroupsCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToSecuritygroupsCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*SecurityGroup, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, securityGroupId string) (r DeleteResult) + type GetResult struct + func Get(client *gophercloud.ServiceClient, securityGroupId string) (r GetResult) + func (r GetResult) Extract() (*SecurityGroup, error) + type ListOpts struct + EnterpriseProjectId string + Limit int + Marker string + VpcId string + func (opts ListOpts) ToListQuery() (string, error) + type ListOptsBuilder interface + ToListQuery func() (string, error) + type ListResult struct + func (r ListResult) Extract() (*[]SecurityGroup, error) + type SecurityGroup struct + Description string + EnterpriseProjectId string + ID string + Name string + SecurityGroupRules []SecurityGroupRule + VpcId string + func ExtractSecurityGroups(r pagination.Page) ([]SecurityGroup, error) + type SecurityGroupPage struct + func (r SecurityGroupPage) IsEmpty() (bool, error) + func (r SecurityGroupPage) NextPageURL() (string, error) + type SecurityGroupRule struct + Description string + Direction string + Ethertype string + ID string + PortRangeMax *int + PortRangeMin *int + Protocol string + RemoteGroupId string + RemoteIpPrefix string + SecurityGroupId string