configs

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataCatalogConfig

type DataCatalogConfig struct {
	StoragePrefix string `` /* 204-byte string literal not displayed */
	MetricsScope  string `json:"metrics-scope" pflag:",Scope that the metrics will record under."`
	ProfilerPort  int    `json:"profiler-port" pflag:",Port that the profiling service is listening on."`
}

This configuration is the base configuration to start admin

func (DataCatalogConfig) GetPFlagSet

func (cfg DataCatalogConfig) GetPFlagSet(prefix string) *pflag.FlagSet

GetPFlagSet will return strongly types pflags for all fields in DataCatalogConfig and its nested types. The format of the flags is json-name.json-sub-name... etc.

Jump to

Keyboard shortcuts

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