package fanotify

import "github.com/containerd/nydus-snapshotter/pkg/fanotify"

Index

Types

type Server

type Server struct {
	BinaryPath   string
	ContainerPid uint32
	ImageName    string
	PersistFile  string
	Readable     bool
	Overwrite    bool
	Timeout      time.Duration
	Client       *conn.Client
	Cmd          *exec.Cmd
	LogWriter    *syslog.Writer
}

func NewServer

func NewServer(binaryPath string, containerPid uint32, imageName string, persistFile string, readable bool, overwrite bool, timeout time.Duration, logWriter *syslog.Writer) *Server

func (*Server) RunReceiver

func (fserver *Server) RunReceiver() error

func (*Server) RunServer

func (fserver *Server) RunServer() error

func (*Server) StopServer

func (fserver *Server) StopServer()

Source Files

fanotify.go

Directories

PathSynopsis
pkg/fanotify/conn
Version
v0.15.2 (latest)
Published
May 26, 2025
Platform
linux/amd64
Imports
13 packages
Last checked
2 weeks ago

Tools for package owners.