dockerfs

package
v0.0.0-...-b1bb66f Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2026 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Overview

Implements a 9p file system that talks to a docker daemon.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fs

type Fs struct {
	C *client.Client
}

func NewFs

func NewFs() (*Fs, error)

func (*Fs) Close

func (f *Fs) Close() error

func (*Fs) CreateFile

func (f *Fs) CreateFile(ctx context.Context, path string, flag ninep.OpenMode, mode ninep.Mode) (ninep.FileHandle, error)

func (*Fs) Delete

func (f *Fs) Delete(ctx context.Context, path string) error

func (*Fs) ListDir

func (f *Fs) ListDir(ctx context.Context, path string) iter.Seq2[fs.FileInfo, error]

func (*Fs) MakeDir

func (f *Fs) MakeDir(ctx context.Context, path string, mode ninep.Mode) error

func (*Fs) OpenFile

func (f *Fs) OpenFile(ctx context.Context, path string, flag ninep.OpenMode) (ninep.FileHandle, error)

func (*Fs) Stat

func (f *Fs) Stat(ctx context.Context, path string) (fs.FileInfo, error)

func (*Fs) WriteStat

func (f *Fs) WriteStat(ctx context.Context, path string, stat ninep.Stat) error

Jump to

Keyboard shortcuts

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