config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterConfiguration

type ClusterConfiguration struct {
	// timeout < 0 means no timeout. If timeout == 0, DefaultJobExecutionTimeout will be used.
	JobExecutionTimeout time.Duration
	// Store all scheduler information in memory. If set to false, DataDir param is required.
	InMemory bool
	// BootstrapCluster must be true only on one node in cluster.
	BootstrapCluster bool
	// Dir used to store all raft data.
	DataDir string
	// Peer OuterAddress in format address:port
	OuterAddress string
	// Addresses of peers in cluster including OuterAddress in format address:port
	Peers []string
}

Jump to

Keyboard shortcuts

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