Documentation ¶
Overview ¶
Package loopback is the client.Network.TunnelInterface namespace.
Normalized object: Entry
Index ¶
- type Entry
- type FwTunnel
- func (c *FwTunnel) Delete(e ...interface{}) error
- func (c *FwTunnel) Edit(vsys string, e Entry) error
- func (c *FwTunnel) Get(name string) (Entry, error)
- func (c *FwTunnel) GetList() ([]string, error)
- func (c *FwTunnel) Initialize(con util.XapiClient)
- func (c *FwTunnel) Set(vsys string, e ...Entry) error
- func (c *FwTunnel) Show(name string) (Entry, error)
- func (c *FwTunnel) ShowList() ([]string, error)
- type PanoTunnel
- func (c *PanoTunnel) Delete(tmpl, ts string, e ...interface{}) error
- func (c *PanoTunnel) Edit(tmpl, ts, vsys string, e Entry) error
- func (c *PanoTunnel) Get(tmpl, ts, name string) (Entry, error)
- func (c *PanoTunnel) GetList(tmpl, ts string) ([]string, error)
- func (c *PanoTunnel) Initialize(con util.XapiClient)
- func (c *PanoTunnel) Set(tmpl, ts, vsys string, e ...Entry) error
- func (c *PanoTunnel) Show(tmpl, ts, name string) (Entry, error)
- func (c *PanoTunnel) ShowList(tmpl, ts 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 Comment string NetflowProfile string StaticIps []string // ordered ManagementProfile string Mtu int // contains filtered or unexported fields }
Entry is a normalized, version independent representation of a VLAN interface.
type FwTunnel ¶
type FwTunnel struct {
// contains filtered or unexported fields
}
FwTunnel is the client.Network.TunnelInterface namespace.
func (*FwTunnel) Delete ¶
Delete removes the given tunnel interface(s) from the firewall.
Interfaces can be a string or an Entry object.
func (*FwTunnel) Edit ¶
Edit performs EDIT to create / update the specified tunnel interface.
Specifying a non-empty vsys will import the interface into that vsys, allowing the vsys to use it.
func (*FwTunnel) Initialize ¶
func (c *FwTunnel) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*FwTunnel) Set ¶
Set performs SET to create / update one or more tunnel interfaces.
Specifying a non-empty vsys will import the interfaces into that vsys, allowing the vsys to use them.
type PanoTunnel ¶
type PanoTunnel struct {
// contains filtered or unexported fields
}
PanoTunnel is the client.Network.TunnelInterface namespace.
func (*PanoTunnel) Delete ¶
func (c *PanoTunnel) Delete(tmpl, ts string, e ...interface{}) error
Delete removes the given tunnel interface(s) from the firewall.
Interfaces can be a string or an Entry object.
func (*PanoTunnel) Edit ¶
func (c *PanoTunnel) Edit(tmpl, ts, vsys string, e Entry) error
Edit performs EDIT to create / update the specified tunnel interface.
Specifying a non-empty vsys will import the interface into that vsys, allowing the vsys to use it.
func (*PanoTunnel) Get ¶
func (c *PanoTunnel) Get(tmpl, ts, name string) (Entry, error)
Get performs GET to retrieve information for the given tunnel interface.
func (*PanoTunnel) GetList ¶
func (c *PanoTunnel) GetList(tmpl, ts string) ([]string, error)
GetList performs GET to retrieve a list of tunnel interfaces.
func (*PanoTunnel) Initialize ¶
func (c *PanoTunnel) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*PanoTunnel) Set ¶
func (c *PanoTunnel) Set(tmpl, ts, vsys string, e ...Entry) error
Set performs SET to create / update one or more tunnel interfaces.
Specifying a non-empty vsys will import the interfaces into that vsys, allowing the vsys to use them.