Documentation ¶
Overview ¶
Package vsys is the client.Vsys namespace.
For right now, this namespace does not support `Edit()` due to the inherent risks with `EDIT` at the vsys level.
For the Panorama struct, this helps discover and manage the vsys under a given template or template stack.
Normalized object: Entry
Index ¶
- type Entry
- type Firewall
- func (c *Firewall) Delete(e ...interface{}) error
- func (c *Firewall) Get(name string) (Entry, error)
- func (c *Firewall) GetAll() ([]Entry, error)
- func (c *Firewall) GetList() ([]string, error)
- func (c *Firewall) Set(e ...Entry) error
- func (c *Firewall) Show(name string) (Entry, error)
- func (c *Firewall) ShowAll() ([]Entry, error)
- func (c *Firewall) ShowList() ([]string, error)
- type NetworkImports
- type Panorama
- func (c *Panorama) Delete(tmpl, ts string, e ...interface{}) 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 ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string NetworkImports *NetworkImports }
Entry is a normalized, version independent representation of a Vsys.
type Firewall ¶
type Firewall struct {
// contains filtered or unexported fields
}
Firewall is the client.Vsys namespace.
func FirewallNamespace ¶
func FirewallNamespace(client util.XapiClient) *Firewall
FirewallNamespace returns an initialized namespace.
func (*Firewall) Delete ¶
Delete performs DELETE to remove the specified objects.
Objects can be either a string or an Entry object.
type NetworkImports ¶
type Panorama ¶
type Panorama struct {
// contains filtered or unexported fields
}
Panorama is the client.Vsys namespace.
func PanoramaNamespace ¶
func PanoramaNamespace(client util.XapiClient) *Panorama
PanoramaNamespace returns an initialized namespace.
func (*Panorama) Delete ¶
Delete performs DELETE to remove the specified objects.
Objects can be either a string or an Entry object.