Documentation
¶
Index ¶
- func PluginInputTest(t *testing.T, input telegraf.Input)
- func PluginTest(t *testing.T, plugin telegrafPlugin) telegraf.Input
- func SetValue(in interface{}, value interface{}, fields ...string) error
- type ClientConfig
- type Logger
- func (l *Logger) Debug(args ...interface{})
- func (l *Logger) Debugf(format string, args ...interface{})
- func (l *Logger) Error(args ...interface{})
- func (l *Logger) Errorf(format string, args ...interface{})
- func (l *Logger) Info(args ...interface{})
- func (l *Logger) Infof(format string, args ...interface{})
- func (l *Logger) Warn(args ...interface{})
- func (l *Logger) Warnf(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientConfig ¶
type ClientConfig struct { InsecureSkipVerify bool `label:"Insecure Skip" json:"insecure_skip_verify" default:"false" description:"disables SSL certificate verification"` TLSCA string `label:"CA" json:"tls_ca" format:"file" description:"verify certificates of TLS enabled servers using this CA bundle"` TLSCert string `label:"Cert" json:"tls_cert" format:"file" description:"identify TLS client using this SSL certificate file"` TLSKey string `label:"Key" json:"tls_key" format:"file" description:"identify TLS client using this SSL key file"` }
func (ClientConfig) TlsClientConfig ¶
func (config ClientConfig) TlsClientConfig() tls.ClientConfig
Click to show internal directories.
Click to hide internal directories.