Versions in this module Expand all Collapse all v0 v0.5.2 May 19, 2015 Changes in this version + func AddServerToGroup(client *gophercloud.ServiceClient, serverID, groupName string) gophercloud.ErrResult + func Delete(client *gophercloud.ServiceClient, id string) gophercloud.ErrResult + func DeleteRule(client *gophercloud.ServiceClient, id string) gophercloud.ErrResult + func List(client *gophercloud.ServiceClient) pagination.Pager + func ListByServer(client *gophercloud.ServiceClient, serverID string) pagination.Pager + func RemoveServerFromGroup(client *gophercloud.ServiceClient, serverID, groupName string) gophercloud.ErrResult + type CreateOpts GroupOpts + func (opts CreateOpts) ToSecGroupCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToSecGroupCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) CreateResult + func (r CreateResult) Extract() (*SecurityGroup, error) + type CreateRuleOpts struct + CIDR string + FromGroupID string + FromPort int + IPProtocol string + ParentGroupID string + ToPort int + func (opts CreateRuleOpts) ToRuleCreateMap() (map[string]interface{}, error) + type CreateRuleOptsBuilder interface + ToRuleCreateMap func() (map[string]interface{}, error) + type CreateRuleResult struct + func CreateRule(client *gophercloud.ServiceClient, opts CreateRuleOptsBuilder) CreateRuleResult + func (r CreateRuleResult) Extract() (*Rule, error) + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) GetResult + func (r GetResult) Extract() (*SecurityGroup, error) + type Group struct + Name string + TenantID string + type GroupOpts struct + Description string + Name string + type IPRange struct + CIDR string + type Rule struct + FromPort int + Group Group + ID string + IPProtocol string + IPRange IPRange + ParentGroupID string + ToPort int + type SecurityGroup struct + Description string + ID string + Name string + Rules []Rule + TenantID string + func ExtractSecurityGroups(page pagination.Page) ([]SecurityGroup, error) + type SecurityGroupPage struct + func (page SecurityGroupPage) IsEmpty() (bool, error) + type UpdateOpts GroupOpts + func (opts UpdateOpts) ToSecGroupUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToSecGroupUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) UpdateResult + func (r UpdateResult) Extract() (*SecurityGroup, error)