Versions in this module Expand all Collapse all v0 v0.21.0 May 22, 2026 Changes in this version + func IsSpecialMountType(mntType string) bool + func ReadHostCustomCADir(path string) (certsToFileName map[string]string, symlinks map[string]string, rerr error) + type ContainerFS struct + func NewContainerFS(spec *specs.Spec, executeContainer ExecuteContainerFunc) (*ContainerFS, error) + func (ctrFS *ContainerFS) AnyPathExists(paths []string) (bool, error) + func (ctrFS *ContainerFS) DirIsEmpty(path string) (bool, error) + func (ctrFS *ContainerFS) EvaluateSymlinks(name string) (string, error) + func (ctrFS *ContainerFS) Exec(ctx context.Context, args ...string) error + func (ctrFS *ContainerFS) LookPath(cmd string) (string, error) + func (ctrFS *ContainerFS) Lstat(name string) (fs.FileInfo, error) + func (ctrFS *ContainerFS) MkdirAll(path string, perm fs.FileMode) (createdDir string, rerr error) + func (ctrFS *ContainerFS) MtimeOf(path string) (int64, error) + func (ctrFS *ContainerFS) OSReleaseFileContains(ids [][]byte, idLikes [][]byte) (bool, error) + func (ctrFS *ContainerFS) Open(name string) (fs.File, error) + func (ctrFS *ContainerFS) OpenFile(name string, flag int, perm fs.FileMode) (*os.File, error) + func (ctrFS *ContainerFS) PathExists(path string) (bool, error) + func (ctrFS *ContainerFS) ReadCABundleFile(path string) (map[string]struct{}, error) + func (ctrFS *ContainerFS) ReadCustomCADir(path string) (certsToFileName map[string]string, symlinks map[string]string, rerr error) + func (ctrFS *ContainerFS) ReadDir(name string) ([]fs.DirEntry, error) + func (ctrFS *ContainerFS) ReadFile(path string) ([]byte, error) + func (ctrFS *ContainerFS) Readlink(name string) (string, error) + func (ctrFS *ContainerFS) Remove(path string) error + func (ctrFS *ContainerFS) RemoveAll(path string) error + func (ctrFS *ContainerFS) RemoveCertsFromCABundle(path string, certs map[string]string) error + func (ctrFS *ContainerFS) SetMtime(path string, t int64) error + func (ctrFS *ContainerFS) Stat(name string) (fs.FileInfo, error) + func (ctrFS *ContainerFS) Symlink(oldname, newname string) error + func (ctrFS *ContainerFS) WriteFile(path string, data []byte, perm fs.FileMode) error + type ExecuteContainerFunc func(ctx context.Context, args ...string) error