Documentation ¶
Index ¶
Constants ¶
View Source
const ( MetricsGroup = "metrics" MetricsVersion = "v1" DefaultNamespace = "default" DefaultInfluxDBServiceName = "influxdb" DefaultInfluxDBAPIPort = 8086 )
View Source
const ( EnvLogLevel = "MM_LOG_LEVEL" EnvKubeConfig = "MM_KUBE_CONFIG" EnvMetricsServicesNamespace = "MM_METRICS_SERVICES_NAMESPACE" EnvInfluxDBServiceNamespace = "MM_INFLUXDB_SERVICE_NAMESPACE" EnvInfluxDBServiceName = "MM_INFLUXDB_SERVICE_NAME" EnvInfluxDBDatabaseName = "MM_INFLUXDB_DATABASE_NAME" )
View Source
const ( FlagLogLevel = "log-level" FlagKubeConfig = "kubeconfig" FlagMetricsServicesNamespace = "metrics-services-namespace" FlagMetricsServicesLabelSelector = "metrics-services-label-selector" FlagInfluxDBServiceNamespace = "influxdb-service-namespace" FlagInfluxDBServiceName = "influxdb-service-name" FlagInfluxDBDatabaseName = "influxdb-database-name" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandLineFlags ¶
type CommandLineFlags struct { LogLevel string KubeConfig string MetricsServicesNamespace string MetricsServicesLabelSelector map[string]string InfluxDBServiceNamespace string InfluxDBServiceName string InfluxDBDatabaseName string }
func NewCommandLineFlags ¶
func NewCommandLineFlags() CommandLineFlags
Click to show internal directories.
Click to hide internal directories.