rsyslog

package
v0.0.0-...-a002913 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2015 License: AGPL-3.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewRsyslogConfigWorker = newRsyslogConfigWorker

Functions

func Manifold

func Manifold(config ManifoldConfig) dependency.Manifold

Manifold returns a dependency manifold that runs an rsyslog worker, using the resource names defined in the supplied config.

Types

type ManifoldConfig

type ManifoldConfig util.AgentApiManifoldConfig

ManifoldConfig defines the names of the manifolds on which a Manifold will depend.

type RsyslogConfigHandler

type RsyslogConfigHandler struct {
	// contains filtered or unexported fields
}

RsyslogConfigHandler implements worker.NotifyWatchHandler, watching environment configuration changes and generating new rsyslog configuration.

func (*RsyslogConfigHandler) Handle

func (h *RsyslogConfigHandler) Handle(_ <-chan struct{}) error

func (*RsyslogConfigHandler) SetUp

func (*RsyslogConfigHandler) TearDown

func (h *RsyslogConfigHandler) TearDown() error

type RsyslogMode

type RsyslogMode int

RsyslogMode describes how to configure rsyslog.

const (
	RsyslogModeInvalid RsyslogMode = iota
	// RsyslogModeForwarding is the mode in which
	// rsyslog will be configured to forward logging
	// to state servers.
	RsyslogModeForwarding
	// RsyslogModeAccumulate is the mode in which
	// rsyslog will be configured to accumulate logging
	// from other machines into an "all-machines.log".
	RsyslogModeAccumulate
)

Jump to

Keyboard shortcuts

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