config

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentServerConfig

type AgentServerConfig struct {
	Http      iconfig.HttpServerConfig `yaml:"http"`
	Grpc      iconfig.GrpcServerConfig `yaml:"grpc"`
	Node      pb.NodeConfig            `yaml:"node"`
	Central   CentralClientConfig      `yaml:"central"`
	Heartbeat HeartbeatConfig          `yaml:"heartbeat"`
}

type CentralClientConfig

type CentralClientConfig struct {
	Addr string `yaml:"addr"`
}

type CentralServerConfig

type CentralServerConfig struct {
	Http iconfig.HttpServerConfig `yaml:"http"`
	Grpc iconfig.GrpcServerConfig `yaml:"grpc"`
	Node pb.NodeConfig            `yaml:"node"`
	Meta MetaStoreConfig          `yaml:"meta"`
	Job  JobConfig                `yaml:"job"`
}

type HeartbeatConfig

type HeartbeatConfig struct {
	Interval time.Duration `yaml:"interval"`
}

type JobConfig

type JobConfig struct {
	PollInterval time.Duration `yaml:"pollInterval"`
}

type MetaStoreConfig

type MetaStoreConfig struct {
	Provider string `yaml:"provider"`
}

type TimeSeriesStoreConfig

type TimeSeriesStoreConfig struct {
	Provider string `yaml:"provider"`
}

Jump to

Keyboard shortcuts

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