conf

package
v0.0.0-...-58217a2 Latest Latest
Warning

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

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

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)

Jump to

Keyboard shortcuts

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