Versions in this module Expand all Collapse all v1 v1.5.0-1 Jun 24, 2023 v1.2.1 Mar 20, 2023 Changes in this version + func List(c *gophercloud.ServiceClient, opts ListOpts) pagination.Pager + type CreateOpts struct + Description string + Name string + ProjectID string + TenantID string + func (opts CreateOpts) ToSecGroupCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToSecGroupCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(c *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*SecGroup, error) + type DeleteResult struct + func Delete(c *gophercloud.ServiceClient, id string) (r DeleteResult) + type GetResult struct + func Get(c *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*SecGroup, error) + type ListOpts struct + Description string + ID string + Limit int + Marker string + Name string + NotTags string + NotTagsAny string + ProjectID string + SortDir string + SortKey string + Tags string + TagsAny string + TenantID string + type SecGroup struct + CreatedAt time.Time + Description string + ID string + Name string + ProjectID string + Rules []rules.SecGroupRule + Tags []string + TenantID string + UpdatedAt time.Time + func ExtractGroups(r pagination.Page) ([]SecGroup, error) + func (r *SecGroup) UnmarshalJSON(b []byte) error + type SecGroupPage struct + func (r SecGroupPage) IsEmpty() (bool, error) + func (r SecGroupPage) NextPageURL() (string, error) + type UpdateOpts struct + Description *string + Name string + func (opts UpdateOpts) ToSecGroupUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToSecGroupUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(c *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*SecGroup, error)