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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RsyslogAPI

type RsyslogAPI struct {
	*common.EnvironWatcher

	StateAddresser *common.StateAddresser
	// contains filtered or unexported fields
}

RsyslogAPI implements the API used by the rsyslog worker.

func NewRsyslogAPI

func NewRsyslogAPI(st *state.State, resources *common.Resources, authorizer common.Authorizer) (*RsyslogAPI, error)

NewRsyslogAPI creates a new instance of the Rsyslog API.

func (*RsyslogAPI) GetRsyslogConfig

func (api *RsyslogAPI) GetRsyslogConfig(args params.Entities) (params.RsyslogConfigResults, error)

GetRsyslogConfig returns a RsyslogConfigResult.

func (*RsyslogAPI) SetRsyslogCert

func (api *RsyslogAPI) SetRsyslogCert(args params.SetRsyslogCertParams) (params.ErrorResult, error)

SetRsyslogCert sets the rsyslog CACert.

func (*RsyslogAPI) WatchForRsyslogChanges

func (api *RsyslogAPI) WatchForRsyslogChanges(args params.Entities) (params.NotifyWatchResults, error)

WatchForRsyslogChanges starts a watcher to track if there are changes that require we update the rsyslog.d configurations for a machine and/or unit.

Jump to

Keyboard shortcuts

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