Documentation ¶
Overview ¶
Package param is the client.Object.HttpParam namespace.
For Panorama, there are two possibilities: managing this object on Panorama itself or inside of a Template.
To manage objects save on Panorama, leave "tmpl" and "ts" params empty and set "dg" to "shared" (which is also the default).
To manage objects in a template, specify the template name and the vsys (if unspecified, defaults to "shared").
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type FwParam
- func (c *FwParam) Delete(vsys, profile, logtype string, e ...interface{}) error
- func (c *FwParam) Edit(vsys, profile, logtype string, e Entry) error
- func (c *FwParam) Get(vsys, profile, logtype, name string) (Entry, error)
- func (c *FwParam) GetList(vsys, profile, logtype string) ([]string, error)
- func (c *FwParam) Initialize(con util.XapiClient)
- func (c *FwParam) Set(vsys, profile, logtype string, e ...Entry) error
- func (c *FwParam) Show(vsys, profile, logtype, name string) (Entry, error)
- func (c *FwParam) ShowList(vsys, profile, logtype string) ([]string, error)
- type PanoParam
- func (c *PanoParam) Delete(tmpl, ts, vsys, dg, profile, logtype string, e ...interface{}) error
- func (c *PanoParam) Edit(tmpl, ts, vsys, dg, profile, logtype string, e Entry) error
- func (c *PanoParam) Get(tmpl, ts, vsys, dg, profile, logtype, name string) (Entry, error)
- func (c *PanoParam) GetList(tmpl, ts, vsys, dg, profile, logtype string) ([]string, error)
- func (c *PanoParam) Initialize(con util.XapiClient)
- func (c *PanoParam) Set(tmpl, ts, vsys, dg, profile, logtype string, e ...Entry) error
- func (c *PanoParam) Show(tmpl, ts, vsys, dg, profile, logtype, name string) (Entry, error)
- func (c *PanoParam) ShowList(tmpl, ts, vsys, dg, profile, logtype string) ([]string, error)
Constants ¶
const ( Config = "config" System = "system" Threat = "threat" Traffic = "traffic" HipMatch = "hip-match" Url = "url" Data = "data" Wildfire = "wildfire" Tunnel = "tunnel" UserId = "userid" Gtp = "gtp" Auth = "auth" Sctp = "sctp" Iptag = "iptag" )
Valid logtype values for logtype.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
Entry is a normalized, version independent representation of an http param.
PAN-OS 7.1+.
type FwParam ¶
type FwParam struct {
// contains filtered or unexported fields
}
FwParam is the client.Network.HttpParam namespace.
func (*FwParam) Delete ¶
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*FwParam) Initialize ¶
func (c *FwParam) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
type PanoParam ¶
type PanoParam struct {
// contains filtered or unexported fields
}
PanoParam is the client.Network.HttpParam namespace.
func (*PanoParam) Delete ¶
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*PanoParam) Initialize ¶
func (c *PanoParam) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().