Documentation ¶
Index ¶
Constants ¶
View Source
const TELEGRAF_MAIN_TEMPLATE_DST_FILE = "telegraf.conf"
View Source
const TELEGRAF_MAIN_TEMPLATE_SRC_FILE = "_telegraf.goconf"
Variables ¶
This section is empty.
Functions ¶
func LoadBackend ¶
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func NewApp ¶
func NewApp(cfg *config.ConfigSpec) *App
Create new config and populate it from environment
func (*App) ClearConfigFiles ¶
func (app *App) ClearConfigFiles()
remove all configuration files that were created by regex: starting with prefix and ending with extension
Click to show internal directories.
Click to hide internal directories.