Documentation ¶
Overview ¶
Package addr is the ngfw.Objects.Address namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type FwAddr
- func (c *FwAddr) Delete(vsys string, e ...interface{}) error
- func (c *FwAddr) Edit(vsys string, e Entry) error
- func (c *FwAddr) Get(vsys, name string) (Entry, error)
- func (c *FwAddr) GetList(vsys string) ([]string, error)
- func (c *FwAddr) Initialize(con util.XapiClient)
- func (c *FwAddr) Set(vsys string, e ...Entry) error
- func (c *FwAddr) Show(vsys, name string) (Entry, error)
- func (c *FwAddr) ShowList(vsys string) ([]string, error)
- type PanoAddr
- func (c *PanoAddr) Delete(dg string, e ...interface{}) error
- func (c *PanoAddr) Edit(dg string, e Entry) error
- func (c *PanoAddr) Get(dg, name string) (Entry, error)
- func (c *PanoAddr) GetList(dg string) ([]string, error)
- func (c *PanoAddr) Initialize(con util.XapiClient)
- func (c *PanoAddr) Set(dg string, e ...Entry) error
- func (c *PanoAddr) Show(dg, name string) (Entry, error)
- func (c *PanoAddr) ShowList(dg string) ([]string, error)
Constants ¶
const ( IpNetmask = "ip-netmask" IpRange = "ip-range" Fqdn = "fqdn" IpWildcard = "ip-wildcard" // 9.0+ )
Valid Type values.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string Value string Type string Description string Tags []string // ordered }
Entry is a normalized, version independent representation of an address object.
type FwAddr ¶
type FwAddr struct {
// contains filtered or unexported fields
}
FwAddr is a namespace struct, included as part of pango.Firewall.
func (*FwAddr) Delete ¶
Delete removes the given address objects from the firewall.
Address objects can be either a string or an Entry object.
func (*FwAddr) Initialize ¶
func (c *FwAddr) Initialize(con util.XapiClient)
Initialize is invoked when Initialize on the pango.Client is called.
type PanoAddr ¶
type PanoAddr struct {
// contains filtered or unexported fields
}
PanoAddr is a namespace struct, included as part of pango.Firewall.
func (*PanoAddr) Delete ¶
Delete removes the given address objects from the firewall.
Address objects can be either a string or an Entry object.
func (*PanoAddr) Initialize ¶
func (c *PanoAddr) Initialize(con util.XapiClient)
Initialize is invoked when Initialize on the pango.Client is called.