Documentation ¶
Overview ¶
Package tags is the client.Objects.Tags namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type FwTags
- func (c *FwTags) Delete(vsys string, e ...interface{}) error
- func (c *FwTags) Edit(vsys string, e Entry) error
- func (c *FwTags) Get(vsys, name string) (Entry, error)
- func (c *FwTags) GetList(vsys string) ([]string, error)
- func (c *FwTags) Initialize(con util.XapiClient)
- func (c *FwTags) Set(vsys string, e ...Entry) error
- func (c *FwTags) Show(vsys, name string) (Entry, error)
- func (c *FwTags) ShowList(vsys string) ([]string, error)
- type PanoTags
- func (c *PanoTags) Delete(dg string, e ...interface{}) error
- func (c *PanoTags) Edit(dg string, e Entry) error
- func (c *PanoTags) Get(dg, name string) (Entry, error)
- func (c *PanoTags) GetList(dg string) ([]string, error)
- func (c *PanoTags) Initialize(con util.XapiClient)
- func (c *PanoTags) Set(dg string, e ...Entry) error
- func (c *PanoTags) Show(dg, name string) (Entry, error)
- func (c *PanoTags) ShowList(dg string) ([]string, error)
Constants ¶
const ( None = iota Red Green Blue Yellow Copper Orange Purple Gray LightGreen Cyan LightGray BlueGray Lime Black Gold Brown Olive Maroon RedOrange YellowOrange ForestGreen TurquoiseBlue AzureBlue CeruleanBlue MidnightBlue MediumBlue CobaltBlue BlueViolet MediumViolet MediumRose Lavender Orchid Thistle Peach Salmon Magenta RedViolet Mahogany BurntSienna Chestnut )
These are the color constants you can use in Entry.SetColor(). Note that each version of PANOS has added colors, so if you are looking for maximum compatibility, only use the first 16 colors (17 including None).
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
Entry is a normalized, version independent representation of an administrative tag. Note that colors should be set to a string such as `color5` or `color13`. If you want to set a color using the color name (e.g. - "red"), use the SetColor function.
type FwTags ¶
type FwTags struct {
// contains filtered or unexported fields
}
FwTags is a namespace struct, included as part of pango.Client.
func (*FwTags) Delete ¶
Delete removes the given administrative tags from the firewall.
Administrative tags can be either a string or an Entry object.
func (*FwTags) Initialize ¶
func (c *FwTags) Initialize(con util.XapiClient)
Initialize is invoked when Initialize on the pango.Client is called.
type PanoTags ¶
type PanoTags struct {
// contains filtered or unexported fields
}
PanoTags is a namespace struct, included as part of pango.Client.
func (*PanoTags) Delete ¶
Delete removes the given administrative tags from the firewall.
Administrative tags can be either a string or an Entry object.
func (*PanoTags) Initialize ¶
func (c *PanoTags) Initialize(con util.XapiClient)
Initialize is invoked when Initialize on the pango.Client is called.