Documentation
¶
Index ¶
- Constants
- type Config
- func (c *Config) Err() error
- func (c *Config) GetFixSparkPlaceholder() bool
- func (c *Config) GetGlueDBLocationURI() string
- func (c *Config) GetHiveDBLocationURI() string
- func (c *Config) GetMetastoreAwsConfig() *aws.Config
- func (c *Config) GetMetastoreGlueCatalogID() string
- func (c *Config) GetMetastoreHiveURI() string
- func (c *Config) GetMetastoreType() string
Constants ¶
View Source
const ( // Default flag keys HiveDBLocationURIKey = "metastore.hive.db_location_uri" ConfigServerEndpointURLKey = "server.endpoint_url" ConfigAccessKeyIDKey = "credentials.access_key_id" ConfigSecretAccessKey = "credentials.secret_access_key" // Defaults DefaultHiveDBLocationURI = "file:/user/hive/warehouse/" DefaultServerEndpointURL = "http://127.0.0.1:8000" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Values configuration
// contains filtered or unexported fields
}
Config is the currently-loaded configuration. Its error state supports being able to run `lakectl config' without a valid configuration.
func ReadConfig ¶
func ReadConfig() (c *Config)
ReadConfig loads according to the current viper configuration into a Config, which will have non-nil Err() if loading fails.
func (*Config) GetFixSparkPlaceholder ¶ added in v0.45.1
func (*Config) GetGlueDBLocationURI ¶ added in v0.40.3
func (*Config) GetHiveDBLocationURI ¶ added in v0.40.3
func (*Config) GetMetastoreAwsConfig ¶
func (*Config) GetMetastoreGlueCatalogID ¶
func (*Config) GetMetastoreHiveURI ¶
func (*Config) GetMetastoreType ¶
Click to show internal directories.
Click to hide internal directories.