flags

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package flags defines command line flags that are shared by several jaeger components. They are defined in this shared location so that if several components are wired into a single binary (e.g. a local container of complete Jaeger backend) they can all share the flags.

Index

Constants

View Source
const (
	// CassandraStorageType is the storage type flag denoting a Cassandra backing store
	CassandraStorageType = "cassandra"
	// MemoryStorageType is the storage type flag denoting an in-memory store
	MemoryStorageType = "memory"
	// ESStorageType is the storage type flag denoting an ElasticSearch backing store
	ESStorageType = "elasticsearch"
)

Variables

View Source
var ErrUnsupportedStorageType = errors.New("Storage Type is not supported")

ErrUnsupportedStorageType is the error when dealing with an unsupported storage type

Functions

func AddFlags added in v0.6.0

func AddFlags(flagSet *flag.FlagSet)

AddFlags adds flags for SharedFlags

Types

type SharedFlags added in v0.6.0

type SharedFlags struct {
	// SpanStorage defines common settings for Span Storage.
	SpanStorage spanStorage
	// DependencyStorage defines common settings for Dependency Storage.
	DependencyStorage dependencyStorage
}

SharedFlags holds flags configuration

func (*SharedFlags) InitFromViper added in v0.6.0

func (flags *SharedFlags) InitFromViper(v *viper.Viper) *SharedFlags

InitFromViper initializes SharedFlags with properties from viper

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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