resolvers

package
v0.0.0-...-eb3d71d Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Package resolvers holds resolvers related files

Package resolvers holds resolvers related files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EBPFLessResolvers

type EBPFLessResolvers struct {
	ContainerResolver *container.Resolver
	TagsResolver      *tags.LinuxResolver
	ProcessResolver   *process.EBPFLessResolver
	HashResolver      *hash.Resolver
}

EBPFLessResolvers holds the list of the event attribute resolvers

func NewEBPFLessResolvers

func NewEBPFLessResolvers(config *config.Config, statsdClient statsd.ClientInterface, scrubber *procutil.DataScrubber, opts Opts) (*EBPFLessResolvers, error)

NewEBPFLessResolvers creates a new instance of EBPFLessResolvers

func (*EBPFLessResolvers) Close

func (r *EBPFLessResolvers) Close() error

Close cleans up any underlying resolver that requires a cleanup

func (*EBPFLessResolvers) Snapshot

func (r *EBPFLessResolvers) Snapshot() error

Snapshot collects data on the current state of the system to populate user space and kernel space caches.

func (*EBPFLessResolvers) Start

func (r *EBPFLessResolvers) Start(ctx context.Context) error

Start the resolvers

type EBPFResolvers

type EBPFResolvers struct {
	MountResolver        mount.ResolverInterface
	ContainerResolver    *container.Resolver
	TimeResolver         *ktime.Resolver
	UserGroupResolver    *usergroup.Resolver
	TagsResolver         *tags.LinuxResolver
	DentryResolver       *dentry.Resolver
	ProcessResolver      *process.EBPFResolver
	NamespaceResolver    *netns.Resolver
	CGroupResolver       *cgroup.Resolver
	TCResolver           *tc.Resolver
	PathResolver         path.ResolverInterface
	SBOMResolver         *sbom.Resolver
	HashResolver         *hash.Resolver
	UserSessionsResolver *usersessions.Resolver
	SyscallCtxResolver   *syscallctx.Resolver
	// contains filtered or unexported fields
}

EBPFResolvers holds the list of the event attribute resolvers

func NewEBPFResolvers

func NewEBPFResolvers(config *config.Config, manager *manager.Manager, statsdClient statsd.ClientInterface, scrubber *procutil.DataScrubber, eRPC *erpc.ERPC, opts Opts) (*EBPFResolvers, error)

NewEBPFResolvers creates a new instance of EBPFResolvers

func (*EBPFResolvers) Close

func (r *EBPFResolvers) Close() error

Close cleans up any underlying resolver that requires a cleanup

func (*EBPFResolvers) Snapshot

func (r *EBPFResolvers) Snapshot() error

Snapshot collects data on the current state of the system to populate user space and kernel space caches.

func (*EBPFResolvers) Start

func (r *EBPFResolvers) Start(ctx context.Context) error

Start the resolvers

type Opts

type Opts struct {
	PathResolutionEnabled    bool
	EnvVarsResolutionEnabled bool
	Tagger                   tags.Tagger
	UseRingBuffer            bool
	TTYFallbackEnabled       bool
}

Opts defines common options

Directories

Path Synopsis
Package cgroup holds cgroup related files
Package cgroup holds cgroup related files
model
Package model holds model related files
Package model holds model related files
Package container holds container related files
Package container holds container related files
Package dentry holds dentry related files
Package dentry holds dentry related files
Package envvars holds envvars related files
Package envvars holds envvars related files
Package hash holds hash related files
Package hash holds hash related files
Package mount holds mount related files
Package mount holds mount related files
Package netns holds netns related files
Package netns holds netns related files
Package path holds path related files
Package path holds path related files
Package process holds process related files
Package process holds process related files
Package sbom holds sbom related files
Package sbom holds sbom related files
Package securitydescriptors holds security descriptors related files
Package securitydescriptors holds security descriptors related files
Package selinux holds selinux related files
Package selinux holds selinux related files
Package syscallctx holds syscall context related files
Package syscallctx holds syscall context related files
Package tags holds tags related files
Package tags holds tags related files
Package tc holds tc related files
Package tc holds tc related files
Package usergroup holds usergroup related files
Package usergroup holds usergroup related files
Package usersessions holds model related to the user sessions resolver
Package usersessions holds model related to the user sessions resolver

Jump to

Keyboard shortcuts

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