Documentation ¶
Overview ¶
Package srvc is the client.Objects.Services namespace.
Normalized object: Entry
Index ¶
- type Entry
- type FwSrvc
- func (c *FwSrvc) Delete(vsys string, e ...interface{}) error
- func (c *FwSrvc) Edit(vsys string, e Entry) error
- func (c *FwSrvc) Get(vsys, name string) (Entry, error)
- func (c *FwSrvc) GetList(vsys string) ([]string, error)
- func (c *FwSrvc) Initialize(con util.XapiClient)
- func (c *FwSrvc) Set(vsys string, e ...Entry) error
- func (c *FwSrvc) Show(vsys, name string) (Entry, error)
- func (c *FwSrvc) ShowList(vsys string) ([]string, error)
- type PanoSrvc
- func (c *PanoSrvc) Delete(dg string, e ...interface{}) error
- func (c *PanoSrvc) Edit(dg string, e Entry) error
- func (c *PanoSrvc) Get(dg, name string) (Entry, error)
- func (c *PanoSrvc) GetList(dg string) ([]string, error)
- func (c *PanoSrvc) Initialize(con util.XapiClient)
- func (c *PanoSrvc) Set(dg string, e ...Entry) error
- func (c *PanoSrvc) Show(dg, name string) (Entry, error)
- func (c *PanoSrvc) ShowList(dg 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 Description string Protocol string SourcePort string DestinationPort string Tags []string }
Entry is a normalized, version independent representation of a service object.
Protocol should be either "tcp" or "udp".
type FwSrvc ¶
type FwSrvc struct {
// contains filtered or unexported fields
}
FwSrvc is a namespace struct, included as part of pango.Client.
func (*FwSrvc) Delete ¶
Delete removes the given service objects from the firewall.
Service objects can be either a string or an Entry object.
func (*FwSrvc) Initialize ¶
func (c *FwSrvc) Initialize(con util.XapiClient)
Initialize is invoked when Initialize on the pango.Client is called.
type PanoSrvc ¶
type PanoSrvc struct {
// contains filtered or unexported fields
}
PanoSrvc is a namespace struct, included as part of pango.Client.
func (*PanoSrvc) Delete ¶
Delete removes the given service objects from the firewall.
Service objects can be either a string or an Entry object.
func (*PanoSrvc) Initialize ¶
func (c *PanoSrvc) Initialize(con util.XapiClient)
Initialize is invoked when Initialize on the pango.Client is called.