1
0
Fork 0
telegraf/plugins/inputs/postfix/postfix_windows.go
Daniel Baumann 4978089aab
Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-24 07:26:29 +02:00

32 lines
565 B
Go

//go:build windows
package postfix
import (
_ "embed"
"github.com/influxdata/telegraf"
"github.com/influxdata/telegraf/plugins/inputs"
)
//go:embed sample.conf
var sampleConfig string
type Postfix struct {
Log telegraf.Logger `toml:"-"`
}
func (*Postfix) SampleConfig() string { return sampleConfig }
func (p *Postfix) Init() error {
p.Log.Warn("Current platform is not supported")
return nil
}
func (*Postfix) Gather(_ telegraf.Accumulator) error { return nil }
func init() {
inputs.Add("postfix", func() telegraf.Input {
return &Postfix{}
})
}