Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateRule(rule *models.FirewallRule) error
- func (c *Client) DeleteRule(rule *models.FirewallRule) error
- func (c *Client) GetProviderName() string
- func (c *Client) GetRules(ruleNamePrefix string) ([]*models.FirewallRule, error)
- func (c *Client) MaxRules() int
- func (c *Client) MaxSourcesPerRule() int
- func (c *Client) PatchRule(rule *models.FirewallRule) error
- func (c *Client) Priority() int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateRule ¶
func (c *Client) CreateRule(rule *models.FirewallRule) error
func (*Client) DeleteRule ¶
func (c *Client) DeleteRule(rule *models.FirewallRule) error
func (*Client) GetProviderName ¶
func (*Client) GetRules ¶
func (c *Client) GetRules(ruleNamePrefix string) ([]*models.FirewallRule, error)
func (*Client) MaxSourcesPerRule ¶
Click to show internal directories.
Click to hide internal directories.