Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultInterval = 60
)
Variables ¶
This section is empty.
Functions ¶
func NewStartCommand ¶
Types ¶
type StartExporterServiceCommand ¶
type StartExporterServiceCommand struct { ListenAddr string `long:"listen" env:"GCP_EXPORTER_LISTEN" description:"Metrics and debug server listen address"` Interval int `long:"interval" env:"GCP_EXPORTER_INTERVAL" description:"Number of seconds between requesting data from GCP"` ServiceAccountFile string `long:"service-account-file" env:"GCP_EXPORTER_SERVICE_ACCOUNT_FILE" description:"Path to GCP Service Account JSON file"` // contains filtered or unexported fields }
func (*StartExporterServiceCommand) Execute ¶
func (sc *StartExporterServiceCommand) Execute(cliCtx *cli.Context)
Click to show internal directories.
Click to hide internal directories.