Documentation
¶
Index ¶
- Constants
- Variables
- func ConfigFlag() *pflag.FlagSet
- func FilterFlag() *pflag.FlagSet
- func LogFlags() *pflag.FlagSet
- func PortFlag() *pflag.FlagSet
- func StartCmd() *cobra.Command
- func StartExporterCmd() *cobra.Command
- func StartIndexerCmd() *cobra.Command
- func ValidateCmd() *cobra.Command
- type ServerBuilder
Constants ¶
View Source
const ( // exporter & indexer Config = "config" LogLevel = "log-level" LogColorDisable = "log-color-disable" Port = "port" // dev PackageFilter = "package-filter" )
Variables ¶
View Source
var ( AppName = "" Version = "" Commit = "" )
View Source
var VersionCmd = &cobra.Command{ Use: "version", Short: "Show information about the current binary build", Args: cobra.NoArgs, Run: printBuildInfo, }
Functions ¶
func ConfigFlag ¶
func FilterFlag ¶
func StartExporterCmd ¶
func StartIndexerCmd ¶
func ValidateCmd ¶
Types ¶
type ServerBuilder ¶ added in v1.1.1
type ServerBuilder func( port string, logger *logrus.Logger, cfg *config.MonitoringConfig, supportChains *config.SupportChains, ) (*http.Server, error)
Click to show internal directories.
Click to hide internal directories.