Documentation ¶
Overview ¶
Package srvc is the client.Objects.Services namespace.
Normalized object: Entry
Index ¶
- Constants
- 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) GetAll(vsys 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) ShowAll(vsys 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) GetAll(dg 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) ShowAll(dg string) ([]Entry, error)
- func (c *PanoSrvc) ShowList(dg string) ([]string, error)
Constants ¶
const ( ProtocolTcp = "tcp" ProtocolUdp = "udp" ProtocolSctp = "sctp" // 8.1+ )
Valid Protocol values
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 // ordered OverrideSessionTimeout bool // 8.1+ OverrideTimeout int // 8.1+ OverrideHalfClosedTimeout int // 8.1+ OverrideTimeWaitTimeout int // 8.1+ }
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.