proxyconfig

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	PromConfig config.Config `yaml:",inline"`

	PromxyConfig `yaml:"promxy"`
}

Common configuration for all storage nodes

func ConfigFromFile

func ConfigFromFile(path string) (*Config, error)

type PromReloadable

type PromReloadable interface {
	ApplyConfig(*config.Config) error
}

type PromReloadableWrap

type PromReloadableWrap struct {
	R PromReloadable
}

func (*PromReloadableWrap) ApplyConfig

func (p *PromReloadableWrap) ApplyConfig(c *Config) error

type PromxyConfig

type PromxyConfig struct {
	HTTPConfig config.HTTPClientConfig `yaml:"http_client"`
	// Our own configs
	ServerGroups []*servergroup.Config `yaml:"server_groups"`
}

type Reloadable

type Reloadable interface {
	ApplyConfig(*Config) error
}

func WrapPromReloadable

func WrapPromReloadable(p PromReloadable) Reloadable

Jump to

Keyboard shortcuts

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