Documentation ¶
Overview ¶
Package zone is the client.Network.Zone namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type FwZone
- func (c *FwZone) Delete(vsys string, e ...interface{}) error
- func (c *FwZone) DeleteInterface(vsys string, zone interface{}, mode, iface string) error
- func (c *FwZone) Edit(vsys string, e Entry) error
- func (c *FwZone) Get(vsys, name string) (Entry, error)
- func (c *FwZone) GetList(vsys string) ([]string, error)
- func (c *FwZone) Initialize(con util.XapiClient)
- func (c *FwZone) Set(vsys string, e ...Entry) error
- func (c *FwZone) SetInterface(vsys string, zone interface{}, mode, iface string) error
- func (c *FwZone) Show(vsys, name string) (Entry, error)
- func (c *FwZone) ShowList(vsys string) ([]string, error)
- type PanoZone
- func (c *PanoZone) Delete(tmpl, ts, vsys string, e ...interface{}) error
- func (c *PanoZone) DeleteInterface(tmpl, ts, vsys string, zone interface{}, mode, iface string) error
- func (c *PanoZone) Edit(tmpl, ts, vsys string, e Entry) error
- func (c *PanoZone) Get(tmpl, ts, vsys, name string) (Entry, error)
- func (c *PanoZone) GetList(tmpl, ts, vsys string) ([]string, error)
- func (c *PanoZone) Initialize(con util.XapiClient)
- func (c *PanoZone) Set(tmpl, ts, vsys string, e ...Entry) error
- func (c *PanoZone) SetInterface(tmpl, ts, vsys string, zone interface{}, mode, iface string) error
- func (c *PanoZone) Show(tmpl, ts, vsys, name string) (Entry, error)
- func (c *PanoZone) ShowList(tmpl, ts, vsys string) ([]string, error)
Constants ¶
const ( ModeL2 = "layer2" ModeL3 = "layer3" ModeVirtualWire = "virtual-wire" ModeTap = "tap" ModeExternal = "external" )
These are valid values for the Mode.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string Mode string Interfaces []string // unordered ZoneProfile string LogSetting string EnableUserId bool IncludeAcls []string // unordered ExcludeAcls []string // unordered }
Entry is a normalized, version independent representation of a zone.
type FwZone ¶
type FwZone struct {
// contains filtered or unexported fields
}
FwZone is a namespace struct, included as part of pango.Client.
func (*FwZone) Delete ¶
Delete removes the given objects.
Objects can be either a string or an Entry object.
func (*FwZone) DeleteInterface ¶
DeleteInterface performs a DELETE to remove the interface from the zone.
The zone can be either a string or an Entry object.
func (*FwZone) Initialize ¶
func (c *FwZone) Initialize(con util.XapiClient)
Initialize is invoked when Initialize on the pango.Client is called.
func (*FwZone) SetInterface ¶
SetInterface performs a SET to add an interface to a zone.
The zone can be either a string or an Entry object.
type PanoZone ¶
type PanoZone struct {
// contains filtered or unexported fields
}
PanoZone is a namespace struct, included as part of pango.Client.
func (*PanoZone) Delete ¶
Delete removes the given objects.
Objects can be either a string or an Entry object.
func (*PanoZone) DeleteInterface ¶
func (c *PanoZone) DeleteInterface(tmpl, ts, vsys string, zone interface{}, mode, iface string) error
DeleteInterface performs a DELETE to remove the interface from the zone.
The zone can be either a string or an Entry object.
func (*PanoZone) Initialize ¶
func (c *PanoZone) Initialize(con util.XapiClient)
Initialize is invoked when Initialize on the pango.Client is called.
func (*PanoZone) SetInterface ¶
SetInterface performs a SET to add an interface to a zone.
The zone can be either a string or an Entry object.