configs

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 6 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."`
	HeartbeatGracePeriodMultiplier int             `json:"heartbeat-grace-period-multiplier" pflag:",Number of heartbeats before a reservation expires without an extension."`
	MaxReservationHeartbeat        config.Duration `json:"max-reservation-heartbeat" pflag:",The maximum available reservation extension heartbeat interval."`
}

DataCatalogConfig is the base configuration to start datacatalog

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