Documentation ¶
Overview ¶
Package link is the client.Device.HaLinkMonitorGroup namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type Firewall
- func (c *Firewall) Delete(e ...interface{}) error
- func (c *Firewall) Edit(e Entry) error
- func (c *Firewall) Get(name string) (Entry, error)
- func (c *Firewall) GetAll() ([]Entry, error)
- func (c *Firewall) GetList() ([]string, error)
- func (c *Firewall) Set(e ...Entry) error
- func (c *Firewall) Show(name string) (Entry, error)
- func (c *Firewall) ShowAll() ([]Entry, error)
- func (c *Firewall) ShowList() ([]string, error)
Constants ¶
View Source
const ( // FailureCondition Values FailureConditionAny = "any" FailureConditionAll = "all" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string Enable bool FailureCondition string Interfaces []string // unordered }
Entry is a normalized, version independent representation of an HA link monitor group.
type Firewall ¶
type Firewall struct {
// contains filtered or unexported fields
}
Firewall is the client.Device.HaLinkMonitorGroup 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.