envflagfactory

package
v2.0.212+incompatible Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: MIT Imports: 1 Imported by: 0

README

envflagfactory
==============

Developer Note
--------------

Do not allow this package to accumulate many dependencies. The intention is to
ensure consistency across multiple tools without adding unnecessary duplication
of code or dependencies of each program.

Documentation

Overview

Package envflagfactory contains common env flag definitions used across gazette tools. Use of them ensures the consistent naming of flags and environment variables, default values, and usage texts across multiple programs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCloudFSURL

func NewCloudFSURL() *string

NewCloudFSURL defines the cloudFS URL flag.

func NewEtcdServiceEndpoint

func NewEtcdServiceEndpoint() *string

NewEtcdServiceEndpoint defines the Etcd service endpoint flag.

func NewGazetteServiceEndpoint

func NewGazetteServiceEndpoint() *string

NewGazetteServiceEndpoint defines the gazette service endpoint flag.

func NewLogLevel

func NewLogLevel() *string

NewLogLevel defines the logrus log-level flag.

func NewMetricsPath

func NewMetricsPath() *string

NewMetricsPath defines the HTTP resource path on which to fetch metrics.

func NewMetricsPort

func NewMetricsPort() *string

NewMetricsPort defines the metrics port flag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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