Documentation ¶
Overview ¶
Package edl is the ngfw.Objects.Edl namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type Firewall
- func (c *Firewall) Delete(vsys string, e ...interface{}) error
- func (c *Firewall) Edit(vsys string, e Entry) error
- func (c *Firewall) Get(vsys, name string) (Entry, error)
- func (c *Firewall) GetAll(vsys string) ([]Entry, error)
- func (c *Firewall) GetList(vsys string) ([]string, error)
- func (c *Firewall) Set(vsys string, e ...Entry) error
- func (c *Firewall) Show(vsys, name string) (Entry, error)
- func (c *Firewall) ShowAll(vsys string) ([]Entry, error)
- func (c *Firewall) ShowList(vsys string) ([]string, error)
- type Panorama
- func (c *Panorama) Delete(dg string, e ...interface{}) error
- func (c *Panorama) Edit(dg string, e Entry) error
- func (c *Panorama) Get(dg, name string) (Entry, error)
- func (c *Panorama) GetAll(dg string) ([]Entry, error)
- func (c *Panorama) GetList(dg string) ([]string, error)
- func (c *Panorama) Set(dg string, e ...Entry) error
- func (c *Panorama) Show(dg, name string) (Entry, error)
- func (c *Panorama) ShowAll(dg string) ([]Entry, error)
- func (c *Panorama) ShowList(dg string) ([]string, error)
Constants ¶
const ( TypeIp string = "ip" TypeDomain string = "domain" TypeUrl string = "url" TypePredefinedIp string = "predefined-ip" // PAN-OS 8.0+ TypePredefinedUrl string = "predefined-url" // PAN-OS 10.0+ )
Constants for Entry.Type field. Only TypeIp is valid for PAN-OS 7.0 and earlier.
const ( RepeatEveryFiveMinutes = "every five minutes" // PAN-OS 8.0+ RepeatHourly = "hourly" RepeatDaily = "daily" RepeatWeekly = "weekly" RepeatMonthly = "monthly" )
Constants for the Repeat field.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string Type string Description string Source string CertificateProfile string // PAN-OS 8.0+ Username string // PAN-OS 8.0+ Password string // PAN-OS 8.0+ ExpandDomain bool // PAN-OS 9.0+ Repeat string RepeatAt string RepeatDayOfWeek string RepeatDayOfMonth int Exceptions []string // ordered }
Entry is a normalized, version independent representation of an external dynamic list.
type Firewall ¶ added in v0.6.0
type Firewall struct {
// contains filtered or unexported fields
}
Firewall is the client.Objects.Edl namespace.
func FirewallNamespace ¶ added in v0.6.0
func FirewallNamespace(client util.XapiClient) *Firewall
FirewallNamespace returns an initialized namespace.
func (*Firewall) Delete ¶ added in v0.6.0
Delete performs DELETE to remove the specified objects.
Objects can be either a string or an Entry object.
func (*Firewall) Get ¶ added in v0.6.0
Get performs GET to retrieve information for the given object.
func (*Firewall) Show ¶ added in v0.6.0
Show performs SHOW to retrieve information for the given object.
type Panorama ¶ added in v0.6.0
type Panorama struct {
// contains filtered or unexported fields
}
Panorama is the client.Objects.Edl namespace.
func PanoramaNamespace ¶ added in v0.6.0
func PanoramaNamespace(client util.XapiClient) *Panorama
PanoramaNamespace returns an initialized namespace.
func (*Panorama) Delete ¶ added in v0.6.0
Delete performs DELETE to remove the specified objects.
Objects can be either a string or an Entry object.
func (*Panorama) Get ¶ added in v0.6.0
Get performs GET to retrieve information for the given object.
func (*Panorama) Show ¶ added in v0.6.0
Show performs SHOW to retrieve information for the given object.