Versions in this module Expand all Collapse all v3 v3.0.0 Jan 5, 2022 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 + ProjectID string + Protocol RuleProtocol + RemoteGroupID string + RemoteIPPrefix string + SecGroupID 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 + Description string + Direction string + EtherType string + ID string + Limit int + Marker string + PortRangeMax int + PortRangeMin int + ProjectID string + 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 + Description string + Direction string + EtherType string + ID string + PortRangeMax int + PortRangeMin int + ProjectID string + Protocol string + RemoteGroupID string + RemoteIPPrefix string + SecGroupID string + TenantID string + func ExtractRules(r pagination.Page) ([]SecGroupRule, error) + type SecGroupRulePage struct + func (r SecGroupRulePage) IsEmpty() (bool, error) + func (r SecGroupRulePage) NextPageURL() (string, error) Other modules containing this package github.com/pierreprinetti/gophercloud github.com/pierreprinetti/gophercloud/v2