Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config ...
func (*Config) FilterTargets ¶ added in v0.7.0
func (*Config) LoadConfigFile ¶
LoadConfigFile ...
type Target ¶
type Target struct {
Source string `db:"source"`
Description string `db:"description"`
Type string `db:"type"`
Regexp string `db:"regexp"`
MultiLine bool `db:"multi_line"`
TimeFormat string `db:"time_format"`
TimeZone string `db:"time_zone"`
Tags []string
Scheme string `db:"scheme"`
Host string `db:"host"`
User string `db:"user"`
Port int `db:"port"`
Path string `db:"path"`
SSHKeyPassphrase []byte
Id int64 `db:"id"`
}
Target ...
func (*Target) GetHostLength ¶ added in v0.10.0
func (*Target) GetPathLength ¶ added in v0.10.0
type TargetSet ¶ added in v0.4.0
type TargetSet struct {
Sources []string `yaml:"sources"`
Description string `yaml:"description,omitempty"`
Type string `yaml:"type"`
Regexp string `yaml:"regexp,omitempty"`
MultiLine bool `yaml:"multiLine,omitempty"`
TimeFormat string `yaml:"timeFormat,omitempty"`
TimeZone string `yaml:"timeZone,omitempty"`
Tags []string `yaml:"tags"`
}
TargetSet ...
Click to show internal directories.
Click to hide internal directories.