Documentation ¶
Overview ¶
Package variable is the client.Panorama.TemplateVariable namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type Variable
- func (c *Variable) Delete(tmpl, ts string, e ...interface{}) error
- func (c *Variable) Edit(tmpl, ts string, e Entry) error
- func (c *Variable) Get(tmpl, ts, name string) (Entry, error)
- func (c *Variable) GetList(tmpl, ts string) ([]string, error)
- func (c *Variable) Initialize(con util.XapiClient)
- func (c *Variable) Set(tmpl, ts string, e ...Entry) error
- func (c *Variable) Show(tmpl, ts, name string) (Entry, error)
- func (c *Variable) ShowList(tmpl, ts string) ([]string, error)
Constants ¶
View Source
const ( TypeIpNetmask = "ip-netmask" TypeIpRange = "ip-range" TypeFqdn = "fqdn" TypeGroupId = "group-id" TypeInterface = "interface" )
These are the constants for the Type field.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
Entry is a normalized, version independent representation of a template variable.
Template variables are a new addition to PAN-OS 8.1.
type Variable ¶
type Variable struct {
// contains filtered or unexported fields
}
Variable is the client.Panorama.TemplateVariable namespace.
func (*Variable) Delete ¶
Delete removes the given template variables from the firewall.
Variables can be a string or an Entry object.
func (*Variable) Initialize ¶
func (c *Variable) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
Click to show internal directories.
Click to hide internal directories.