1
0
Fork 0
telegraf/plugins/inputs/intel_baseband/intel_baseband_notamd64linux.go

33 lines
654 B
Go
Raw Permalink Normal View History

//go:generate ../../../tools/readme_config_includer/generator
//go:build !linux || !amd64
package intel_baseband
import (
_ "embed"
"github.com/influxdata/telegraf"
"github.com/influxdata/telegraf/plugins/inputs"
)
//go:embed sample.conf
var sampleConfig string
type Baseband struct {
Log telegraf.Logger `toml:"-"`
}
func (*Baseband) SampleConfig() string { return sampleConfig }
func (b *Baseband) Init() error {
b.Log.Warn("Current platform is not supported")
return nil
}
func (*Baseband) Gather(_ telegraf.Accumulator) error { return nil }
func init() {
inputs.Add("intel_baseband", func() telegraf.Input {
return &Baseband{}
})
}