Documentation ¶
Overview ¶
Package addrgrp is the client.Objects.AddressGroup namespace.
Normalized object: Entry
Index ¶
- type Entry
- type FwAddrGrp
- func (c *FwAddrGrp) Delete(vsys string, e ...interface{}) error
- func (c *FwAddrGrp) Edit(vsys string, e Entry) error
- func (c *FwAddrGrp) Get(vsys, name string) (Entry, error)
- func (c *FwAddrGrp) GetList(vsys string) ([]string, error)
- func (c *FwAddrGrp) Initialize(con util.XapiClient)
- func (c *FwAddrGrp) Set(vsys string, e ...Entry) error
- func (c *FwAddrGrp) Show(vsys, name string) (Entry, error)
- func (c *FwAddrGrp) ShowList(vsys string) ([]string, error)
- type PanoAddrGrp
- func (c *PanoAddrGrp) Delete(dg string, e ...interface{}) error
- func (c *PanoAddrGrp) Edit(dg string, e Entry) error
- func (c *PanoAddrGrp) Get(dg, name string) (Entry, error)
- func (c *PanoAddrGrp) GetList(dg string) ([]string, error)
- func (c *PanoAddrGrp) Initialize(con util.XapiClient)
- func (c *PanoAddrGrp) Set(dg string, e ...Entry) error
- func (c *PanoAddrGrp) Show(dg, name string) (Entry, error)
- func (c *PanoAddrGrp) ShowList(dg string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string Description string StaticAddresses []string // unordered DynamicMatch string Tags []string // ordered }
Entry is a normalized, version independent representation of an address group. The value set in DynamicMatch should be something like the following:
- 'tag1'
- 'tag1' or 'tag2' and 'tag3'
The Tags param is for administrative tags for this address object group itself.
type FwAddrGrp ¶
type FwAddrGrp struct {
// contains filtered or unexported fields
}
FwAddrGrp is a namespace struct, included as part of pango.Client.
func (*FwAddrGrp) Delete ¶
Delete removes the given address groups from the firewall.
Address groups can be either a string or an Entry object.
func (*FwAddrGrp) Initialize ¶
func (c *FwAddrGrp) Initialize(con util.XapiClient)
Initialize is invoked when Initialize on the pango.Client is called.
type PanoAddrGrp ¶
type PanoAddrGrp struct {
// contains filtered or unexported fields
}
PanoAddrGrp is a namespace struct, included as part of pango.Client.
func (*PanoAddrGrp) Delete ¶
func (c *PanoAddrGrp) Delete(dg string, e ...interface{}) error
Delete removes the given address groups from the firewall.
Address groups can be either a string or an Entry object.
func (*PanoAddrGrp) Edit ¶
func (c *PanoAddrGrp) Edit(dg string, e Entry) error
Edit performs EDIT to create / update an address group.
func (*PanoAddrGrp) Get ¶
func (c *PanoAddrGrp) Get(dg, name string) (Entry, error)
Get performs GET to retrieve information for the given address group.
func (*PanoAddrGrp) GetList ¶
func (c *PanoAddrGrp) GetList(dg string) ([]string, error)
GetList performs GET to retrieve a list of address groups.
func (*PanoAddrGrp) Initialize ¶
func (c *PanoAddrGrp) Initialize(con util.XapiClient)
Initialize is invoked when Initialize on the pango.Client is called.
func (*PanoAddrGrp) Set ¶
func (c *PanoAddrGrp) Set(dg string, e ...Entry) error
Set performs SET to create / update one or more address groups.