Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { serverww.Config `yaml:",inline"` ExternalURL string `yaml:"external_url"` HealthCheckTarget *bool `yaml:"health_check_target"` Disable bool `yaml:"disable"` ProfilingEnabled bool `yaml:"profiling_enabled"` Reload bool `yaml:"enable_runtime_reload"` }
Config extends weaveworks server config
func (*Config) RegisterFlags ¶
RegisterFlags adds the flags required to config this to the given FlagSet
type NoopServer ¶
type NoopServer struct {
// contains filtered or unexported fields
}
func (*NoopServer) Run ¶
func (s *NoopServer) Run() error
func (*NoopServer) Shutdown ¶
func (s *NoopServer) Shutdown()
type PromtailServer ¶
Server embed weaveworks server with static file and templating capability
func (*PromtailServer) PromtailConfig ¶
func (s *PromtailServer) PromtailConfig() string
Reload returns the receive-only channel that signals configuration reload requests.
func (*PromtailServer) Reload ¶
func (s *PromtailServer) Reload() <-chan chan error
Reload returns the receive-only channel that signals configuration reload requests.
func (*PromtailServer) ReloadServer ¶
func (s *PromtailServer) ReloadServer(tms *targets.TargetManagers, promtailCfg string)
Click to show internal directories.
Click to hide internal directories.