Documentation ¶
Index ¶
Constants ¶
View Source
const ( HADOOP_CONF_DIR = "HADOOP_CONF_DIR" CORE_DEFAULT = "core-default.xml" CORE_SITE = "core-site.xml" HDFS_DEFAULT = "hdfs-default.xml" HDFS_SITE = "hdfs-site.xml" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration interface { Get(key string, defaultValue string) (string, error) GetInt(key string, defaultValue int) (int, error) Set(key string, value string) error SetInt(key string, value int) error }
func NewConfiguration ¶
func NewConfiguration() (Configuration, error)
func NewConfigurationResources ¶
func NewConfigurationResources(resources []string) (Configuration, error)
Click to show internal directories.
Click to hide internal directories.