cmdutil

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DBConnConfig = dbconn.Config{}

Functions

func CheckFlagDependency added in v0.1.1

func CheckFlagDependency(cmd *cobra.Command, dependencyFlag string, dependentFlags []string) error

func LoadDBConns

func LoadDBConns(ctx context.Context) (dbconn.OrderedConns, error)

func MetricsServer

func MetricsServer(logger zerolog.Logger) http.Handler

func PprofServer added in v0.1.1

func PprofServer(logger zerolog.Logger) http.Handler

func RegisterDBConnFlags

func RegisterDBConnFlags(cmd *cobra.Command)

func RegisterMetricsFlags

func RegisterMetricsFlags(cmd *cobra.Command)

func RegisterNameFilterFlags

func RegisterNameFilterFlags(cmd *cobra.Command)

func RegisterPprofFlags added in v0.1.1

func RegisterPprofFlags(cmd *cobra.Command)

func RunMetricsServer

func RunMetricsServer(logger zerolog.Logger)

func RunPprofServer added in v0.1.1

func RunPprofServer(logger zerolog.Logger)

func TableFilter

func TableFilter() utils.FilterConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL