Documentation ¶
Overview ¶
Package path is the client.Device.HaPathMonitorGroup namespace.
Normalized object: Entry
Index ¶
- Constants
- type DstIpGroup
- type Entry
- type Firewall
- func (c *Firewall) Delete(gType string, e ...interface{}) error
- func (c *Firewall) Edit(gType string, e Entry) error
- func (c *Firewall) Get(gType, name string) (Entry, error)
- func (c *Firewall) GetAll(gType string) ([]Entry, error)
- func (c *Firewall) GetList(gType string) ([]string, error)
- func (c *Firewall) Set(gType string, e ...Entry) error
- func (c *Firewall) Show(gType, name string) (Entry, error)
- func (c *Firewall) ShowAll(gType string) ([]Entry, error)
- func (c *Firewall) ShowList(gType string) ([]string, error)
Constants ¶
View Source
const ( // FailureCondition Values FailureConditionAny = "any" FailureConditionAll = "all" // gType Values VirtualWire = "virtual-wire" Vlan = "vlan" VirtualRouter = "virtual-router" LogicalRouter = "logical-router" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DstIpGroup ¶
type Entry ¶
type Entry struct { Name string Enable bool SrcIp string // virtual-wire, vlan FailureCondition string PingInterval int PingCount int DstIpGroups []DstIpGroup }
Entry is a normalized, version independent representation of a HA path monitor group.
type Firewall ¶
type Firewall struct {
// contains filtered or unexported fields
}
Firewall is the client.Device.HaPathMonitorGroup 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.
Click to show internal directories.
Click to hide internal directories.