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