aws

package
v0.0.0-...-fd6b471 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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 NewClient

func NewClient(config *models.AWSConfig) (*Client, error)

NewClient creates a new AWS client

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 (c *Client) GetProviderName() string

func (*Client) GetRules

func (c *Client) GetRules(ruleNamePrefix string) ([]*models.FirewallRule, error)

func (*Client) MaxRules

func (c *Client) MaxRules() int

func (*Client) MaxSourcesPerRule

func (c *Client) MaxSourcesPerRule() int

func (*Client) PatchRule

func (c *Client) PatchRule(rule *models.FirewallRule) error

func (*Client) Priority

func (c *Client) Priority() int64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL