Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory returns a new factory for the gnmipath gnmipath.
Types ¶
type Config ¶
type Config struct { // Addr is the listen address of the gNMI server. Addr string `mapstructure:"addr"` // TpSec is the transport security used by the gNMI server, i.e., "insecure", "tls", or "mtls". TpSec string `mapstructure:"tp_sec"` // CAFile is the CA certificate to use for mTLS. CAFile string `mapstructure:"ca_file"` // CertFile is the certificate to use for TLS. CertFile string `mapstructure:"cert_file"` // KeyFile is the key to use for TLS. KeyFile string `mapstructure:"key_file"` // CredsRefresh is the duration to refresh the credentials. CredsRefresh string `mapstructure:"creds_refresh"` // TargetName is the target name of this gNMI server. TargetName string `mapstructure:"target_name"` // BufferSize is the buffer depth to use for internal buffering. BufferSize int `mapstructure:"buffer_size"` // Sep is the separator used in the metric name. Sep string `mapstructure:"sep"` }
Config holds the configuration for this processor.
Click to show internal directories.
Click to hide internal directories.