Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExcludeConnName string
ExcludeConnName Variable
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func NewCollector(configurations ...*Configuration) *Collector
func (*Collector) Collect ¶
func (c *Collector) Collect(ch chan<- prometheus.Metric)
func (*Collector) Describe ¶
func (c *Collector) Describe(ch chan<- *prometheus.Desc)
type Configuration ¶
type Configuration struct {
// contains filtered or unexported fields
}
func NewConfiguration ¶
func NewConfiguration(fileName string) (*Configuration, error)
NewConfiguration creates a Configuration struct out of an IPsec configuration from the filesystem.
func (*Configuration) HasTunnels ¶
func (c *Configuration) HasTunnels() bool
Click to show internal directories.
Click to hide internal directories.