config

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	Period:            60,
	ResourceManagers:  []string{"localhost:8088"},
	EnableMapReduce:   false,
	HistoryServer:     "localhost:9888",
	MapReduceCounters: []MapReduceCounterConfig{},
}

Functions

This section is empty.

Types

type Config

type Config struct {
	Period            int                      `config:"period"`
	ResourceManagers  []string                 `config:"resource_manager_urls"`
	EnableMapReduce   bool                     `config:"enable_mr"`
	HistoryServer     string                   `config:"history_server_url"`
	MapReduceCounters []MapReduceCounterConfig `config:"mr_counters"`
}

type MapReduceCounterConfig

type MapReduceCounterConfig struct {
	GroupName string            `config:"group_name"`
	Counters  map[string]string `config:"counters"`
}

Jump to

Keyboard shortcuts

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