package fdcollector
import "gvisor.dev/gvisor/pkg/sentry/fdcollector"
Package fdcollector provides a goroutine that reads from a vfs.FileDescription (which may block) into a bytes.Buffer.
Index ¶
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
Agent represents a goroutine that reads from a vfs.FileDescription (which may block) into a bytes.Buffer.
func NewAgent ¶
NewAgent creates a new Fdcollector agent.
func (*Agent) Stop ¶
func (c *Agent) Stop()
Stop stops the goroutine that reads from the vfs.FileDescription.
func (*Agent) String ¶
String returns a string representation of the FdCollector.
Source Files ¶
fdcollector.go
- Version
- v0.0.0-20250605235530-a6711d1e1dc6 (latest)
- Published
- Jun 5, 2025
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 4 hours ago –
Tools for package owners.