Documentation ¶
Overview ¶
Package variable is the client.Panorama.TemplateVariable namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type Panorama
- func (c *Panorama) Delete(tmpl, ts string, e ...interface{}) error
- func (c *Panorama) Edit(tmpl, ts string, e Entry) error
- func (c *Panorama) Get(tmpl, ts, name string) (Entry, error)
- func (c *Panorama) GetAll(tmpl, ts string) ([]Entry, error)
- func (c *Panorama) GetList(tmpl, ts string) ([]string, error)
- func (c *Panorama) Set(tmpl, ts string, e ...Entry) error
- func (c *Panorama) Show(tmpl, ts, name string) (Entry, error)
- func (c *Panorama) ShowAll(tmpl, ts string) ([]Entry, error)
- func (c *Panorama) 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 Panorama ¶ added in v0.6.0
type Panorama struct {
// contains filtered or unexported fields
}
Panorama is the client.Panorama.TemplateVariable namespace.
func PanoramaNamespace ¶ added in v0.6.0
func PanoramaNamespace(client util.XapiClient) *Panorama
PanoramaNamespace returns an initialized namespace.
func (*Panorama) Delete ¶ added in v0.6.0
Delete performs DELETE to remove the specified objects.
Objects can be either a string or an Entry object.
func (*Panorama) Get ¶ added in v0.6.0
Get performs GET to retrieve configuration for the given object.
func (*Panorama) Show ¶ added in v0.6.0
Show performs SHOW to retrieve configuration for the given object.
Click to show internal directories.
Click to hide internal directories.