cloudwatch

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: ISC Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enabled        bool
	Namespace      string
	UpdateInterval int
}

Config is a normalized, version independent representation of an AWS CloudWatch config.

PAN-OS 9.0+

func (*Config) Copy

func (o *Config) Copy(s Config)

Copy copies the information from source Config `s` to this object.

func (Config) Specify

func (o Config) Specify(list []plugin.Info) (string, interface{}, error)

type Firewall

type Firewall struct {
	// contains filtered or unexported fields
}

Firewall is the client.Plugin.AwsCloudWatch namespace.

func FirewallNamespace

func FirewallNamespace(client util.XapiClient) *Firewall

FirewallNamespace returns an initialized namespace.

func (*Firewall) Delete

func (c *Firewall) Delete() error

Delete performs DELETE to remove the config.

func (*Firewall) Edit

func (c *Firewall) Edit(e Config) error

Edit performs EDIT to configure the specified object.

func (*Firewall) Get

func (c *Firewall) Get() (Config, error)

Get performs GET to retrieve information for the given object.

func (*Firewall) Set

func (c *Firewall) Set(e Config) error

Set performs SET to configure the specified objects.

func (*Firewall) Show

func (c *Firewall) Show() (Config, error)

Show performs SHOW to retrieve information for the given object.

Jump to

Keyboard shortcuts

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