Documentation ¶
Overview ¶
Package orcond is the client.Objects.AppSigAndCondOrCond namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type FwOrCond
- func (c *FwOrCond) Delete(vsys, app, sig, andcond string, e ...interface{}) error
- func (c *FwOrCond) Edit(vsys, app, sig, andcond string, e Entry) error
- func (c *FwOrCond) Get(vsys, app, sig, andcond, name string) (Entry, error)
- func (c *FwOrCond) GetList(vsys, app, sig, andcond string) ([]string, error)
- func (c *FwOrCond) Initialize(con util.XapiClient)
- func (c *FwOrCond) Set(vsys, app, sig, andcond string, e ...Entry) error
- func (c *FwOrCond) Show(vsys, app, sig, andcond, name string) (Entry, error)
- func (c *FwOrCond) ShowList(vsys, app, sig, andcond string) ([]string, error)
- type PanoOrCond
- func (c *PanoOrCond) Delete(dg, app, sig, andcond string, e ...interface{}) error
- func (c *PanoOrCond) Edit(dg, app, sig, andcond string, e Entry) error
- func (c *PanoOrCond) Get(dg, app, sig, andcond, name string) (Entry, error)
- func (c *PanoOrCond) GetList(dg, app, sig, andcond string) ([]string, error)
- func (c *PanoOrCond) Initialize(con util.XapiClient)
- func (c *PanoOrCond) Set(dg, app, sig, andcond string, e ...Entry) error
- func (c *PanoOrCond) Show(dg, app, sig, andcond, name string) (Entry, error)
- func (c *PanoOrCond) ShowList(dg, app, sig, andcond string) ([]string, error)
Constants ¶
const ( OperatorPatternMatch = "pattern-match" OperatorGreaterThan = "greater-than" OperatorLessThan = "less-than" OperatorEqualTo = "equal-to" )
Valid Operator values.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string Operator string Context string Pattern string Value string Position string Mask string Qualifiers map[string]string }
Entry is a normalized, version independent representation of an application signature and-condition.
type FwOrCond ¶
type FwOrCond struct {
// contains filtered or unexported fields
}
FwOrCond is the client.Objects.AppSigAndCondOrCond namespace.
func (*FwOrCond) Delete ¶
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*FwOrCond) Initialize ¶
func (c *FwOrCond) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
type PanoOrCond ¶
type PanoOrCond struct {
// contains filtered or unexported fields
}
PanoOrCond is the client.Objects.AppSigAndCondOrCond namespace.
func (*PanoOrCond) Delete ¶
func (c *PanoOrCond) Delete(dg, app, sig, andcond string, e ...interface{}) error
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*PanoOrCond) Edit ¶
func (c *PanoOrCond) Edit(dg, app, sig, andcond string, e Entry) error
Edit performs EDIT to create / update one object.
func (*PanoOrCond) Get ¶
func (c *PanoOrCond) Get(dg, app, sig, andcond, name string) (Entry, error)
Get performs GET to retrieve information for the given uid.
func (*PanoOrCond) GetList ¶
func (c *PanoOrCond) GetList(dg, app, sig, andcond string) ([]string, error)
GetList performs GET to retrieve a list of values.
func (*PanoOrCond) Initialize ¶
func (c *PanoOrCond) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*PanoOrCond) Set ¶
func (c *PanoOrCond) Set(dg, app, sig, andcond string, e ...Entry) error
Set performs SET to create / update one or more objects.