uidmonitor

package
v2.9.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2017 License: GPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UIDMetadataExtractor

func UIDMetadataExtractor(event *rpcmonitor.EventInfo) (*policy.PURuntime, error)

UIDMetadataExtractor -- metadata extractor for uid/gid

Types

type StoredContext added in v1.0.72

type StoredContext struct {
	MarkVal   string
	EventInfo *rpcmonitor.EventInfo
}

StoredContext -- struct is the structure of stored contextinfo for uidmonitor

type UIDProcessor added in v1.0.72

type UIDProcessor struct {
	sync.Mutex
	// contains filtered or unexported fields
}

UIDProcessor captures all the monitor processor information for a UIDLoginPU It implements the MonitorProcessor interface of the rpc monitor

func NewCustomUIDProcessor added in v1.0.72

func NewCustomUIDProcessor(storePath string,
	collector collector.EventCollector,
	puHandler monitor.ProcessingUnitsHandler,
	metadataExtractor rpcmonitor.RPCMetadataExtractor,
	releasePath string) *UIDProcessor

NewCustomUIDProcessor initializes a processor with a custom path

func NewUIDProcessor added in v1.0.72

func NewUIDProcessor(collector collector.EventCollector,
	puHandler monitor.ProcessingUnitsHandler,
	metadataExtractor rpcmonitor.RPCMetadataExtractor,
	releasePath string) *UIDProcessor

NewUIDProcessor creates a default Linux processor with the standard trireme path

func (*UIDProcessor) Create added in v1.0.72

func (s *UIDProcessor) Create(eventInfo *rpcmonitor.EventInfo) error

Create handles create events

func (*UIDProcessor) Destroy added in v1.0.72

func (s *UIDProcessor) Destroy(eventInfo *rpcmonitor.EventInfo) error

Destroy handles a destroy event

func (*UIDProcessor) Pause added in v1.0.72

func (s *UIDProcessor) Pause(eventInfo *rpcmonitor.EventInfo) error

Pause handles a pause event

func (*UIDProcessor) ReSync added in v1.0.72

func (s *UIDProcessor) ReSync(e *rpcmonitor.EventInfo) error

ReSync resyncs with all the existing services that were there before we start

func (*UIDProcessor) Start added in v1.0.72

func (s *UIDProcessor) Start(eventInfo *rpcmonitor.EventInfo) error

Start handles start events

func (*UIDProcessor) Stop added in v1.0.72

func (s *UIDProcessor) Stop(eventInfo *rpcmonitor.EventInfo) error

Stop handles a stop event and destroy as well. Destroy does nothing for the uid monitor

Jump to

Keyboard shortcuts

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