fanotify

package
v0.0.0-...-205da4a Latest Latest
Warning

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

Go to latest
Published: May 26, 2025 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Enforcer

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

func New

func New(msgr messenger.Publisher) (*Enforcer, error)

func (*Enforcer) Add

func (enforcer *Enforcer) Add(container *fanContainerMetadata)

func (*Enforcer) Close

func (enforcer *Enforcer) Close() error

func (*Enforcer) ContainerDelete

func (enforcer *Enforcer) ContainerDelete(container *fanContainerMetadata) error

func (*Enforcer) Delete

func (enforcer *Enforcer) Delete(container *fanContainerMetadata) error

func (*Enforcer) Enforce

func (enforcer *Enforcer) Enforce(ctx context.Context, events chan<- *apis.EnforceEvent) error

func (*Enforcer) Name

func (enforcer *Enforcer) Name() string

type FanResponse

type FanResponse struct {
	Fd       int32
	Response uint32
}

FanResponse represents the structure for fanotify response

Jump to

Keyboard shortcuts

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