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.
Click to show internal directories.
Click to hide internal directories.