Versions in this module Expand all Collapse all v1 v1.0.1 Apr 30, 2024 Changes in this version + func Boot() (*kernel.Kernel, error) + func CreateTask(ctx context.Context, name string, tc *kernel.ThreadGroup, ...) (*kernel.Task, error) + type DirentCollector struct + func (d *DirentCollector) Contains(name string, typ uint8) error + func (d *DirentCollector) Count() int + func (d *DirentCollector) Dirents() map[string]*vfs.Dirent + func (d *DirentCollector) Handle(dirent vfs.Dirent) error + func (d *DirentCollector) OrderedDirents() []*vfs.Dirent + func (d *DirentCollector) SkipDotsChecks(value bool) + type DirentType = uint8 + type System struct + Creds *auth.Credentials + Ctx context.Context + MntNs *vfs.MountNamespace + Root vfs.VirtualDentry + VFS *vfs.VirtualFilesystem + func NewSystem(ctx context.Context, t *testing.T, v *vfs.VirtualFilesystem, ...) *System + func (s *System) AssertAllDirentTypes(collector *DirentCollector, expected map[string]DirentType) + func (s *System) AssertDirentOffsets(collector *DirentCollector, expected map[string]int64) + func (s *System) Destroy() + func (s *System) GetDentryOrDie(pop *vfs.PathOperation) vfs.VirtualDentry + func (s *System) ListDirents(pop *vfs.PathOperation) *DirentCollector + func (s *System) PathOpAtRoot(path string) *vfs.PathOperation + func (s *System) ReadToEnd(fd *vfs.FileDescription) (string, error) + func (s *System) WithSubtest(t *testing.T) *System + func (s *System) WithTemporaryContext(ctx context.Context) *System