Versions in this module Expand all Collapse all v1 v1.0.21 Mar 14, 2020 Changes in this version + const DirEgress + const DirIngress + const EtherType4 + const EtherType6 + const ProtocolAH + const ProtocolDCCP + const ProtocolEGP + const ProtocolESP + const ProtocolGRE + const ProtocolICMP + const ProtocolIGMP + const ProtocolIPv6Encap + const ProtocolIPv6Frag + const ProtocolIPv6ICMP + const ProtocolIPv6NoNxt + const ProtocolIPv6Opts + const ProtocolIPv6Route + const ProtocolOSPF + const ProtocolPGM + const ProtocolRSVP + const ProtocolSCTP + const ProtocolTCP + const ProtocolUDP + const ProtocolUDPLite + const ProtocolVRRP + func List(c *gophercloud.ServiceClient, opts ListOpts) pagination.Pager + type CreateOpts struct + Description string + Direction RuleDirection + EtherType RuleEtherType + PortRangeMax int + PortRangeMin int + Protocol RuleProtocol + RemoteGroupID string + RemoteIPPrefix string + SecGroupID string + TenantID string + func (opts CreateOpts) ToSecGroupRuleCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToSecGroupRuleCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(c *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*SecGroupRule, 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() (*SecGroupRule, error) + type ListOpts struct + Direction string + EtherType string + ID string + Limit int + Marker string + PortRangeMax int + PortRangeMin int + Protocol string + RemoteGroupID string + RemoteIPPrefix string + SecGroupID string + SortDir string + SortKey string + TenantID string + type RuleDirection string + type RuleEtherType string + type RuleProtocol string + type SecGroupRule struct + CreatedAt string + Description string + Direction string + EtherType string + ID string + PortRangeMax int + PortRangeMin int + ProjectId string + Protocol string + RemoteGroupID string + RemoteIPPrefix string + SecGroupID string + TenantID string + UpdatedAt string + func ExtractRules(r pagination.Page) ([]SecGroupRule, error) + type SecGroupRulePage struct + func (r SecGroupRulePage) IsEmpty() (bool, error) + func (r SecGroupRulePage) NextPageURL() (string, error)