Documentation ¶
Overview ¶
Package header is the client.Object.HttpHeader 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 FwHeader
- func (c *FwHeader) Delete(vsys, profile, logtype string, e ...interface{}) error
- func (c *FwHeader) Edit(vsys, profile, logtype string, e Entry) error
- func (c *FwHeader) Get(vsys, profile, logtype, name string) (Entry, error)
- func (c *FwHeader) GetList(vsys, profile, logtype string) ([]string, error)
- func (c *FwHeader) Initialize(con util.XapiClient)
- func (c *FwHeader) Set(vsys, profile, logtype string, e ...Entry) error
- func (c *FwHeader) Show(vsys, profile, logtype, name string) (Entry, error)
- func (c *FwHeader) ShowList(vsys, profile, logtype string) ([]string, error)
- type PanoHeader
- func (c *PanoHeader) Delete(tmpl, ts, vsys, dg, profile, logtype string, e ...interface{}) error
- func (c *PanoHeader) Edit(tmpl, ts, vsys, dg, profile, logtype string, e Entry) error
- func (c *PanoHeader) Get(tmpl, ts, vsys, dg, profile, logtype, name string) (Entry, error)
- func (c *PanoHeader) GetList(tmpl, ts, vsys, dg, profile, logtype string) ([]string, error)
- func (c *PanoHeader) Initialize(con util.XapiClient)
- func (c *PanoHeader) Set(tmpl, ts, vsys, dg, profile, logtype string, e ...Entry) error
- func (c *PanoHeader) Show(tmpl, ts, vsys, dg, profile, logtype, name string) (Entry, error)
- func (c *PanoHeader) 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 header.
PAN-OS 7.1+.
type FwHeader ¶
type FwHeader struct {
// contains filtered or unexported fields
}
FwHeader is the client.Network.HttpHeader namespace.
func (*FwHeader) Delete ¶
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*FwHeader) Initialize ¶
func (c *FwHeader) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
type PanoHeader ¶
type PanoHeader struct {
// contains filtered or unexported fields
}
PanoHeader is the client.Network.HttpHeader namespace.
func (*PanoHeader) Delete ¶
func (c *PanoHeader) Delete(tmpl, ts, vsys, dg, profile, logtype string, e ...interface{}) error
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*PanoHeader) Edit ¶
func (c *PanoHeader) Edit(tmpl, ts, vsys, dg, profile, logtype string, e Entry) error
Edit performs EDIT to create / update one object.
func (*PanoHeader) Get ¶
func (c *PanoHeader) Get(tmpl, ts, vsys, dg, profile, logtype, name string) (Entry, error)
Get performs GET to retrieve information for the given uid.
func (*PanoHeader) GetList ¶
func (c *PanoHeader) GetList(tmpl, ts, vsys, dg, profile, logtype string) ([]string, error)
GetList performs GET to retrieve a list of values.
func (*PanoHeader) Initialize ¶
func (c *PanoHeader) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*PanoHeader) Set ¶
func (c *PanoHeader) Set(tmpl, ts, vsys, dg, profile, logtype string, e ...Entry) error
Set performs SET to create / update one or more objects.