Documentation ¶
Index ¶
- func NewFs(client client.ContainerAPIClient, container string) context.Fs
- type File
- func (f *File) Close() error
- func (f *File) Name() string
- func (f *File) Read(p []byte) (n int, err error)
- func (f *File) ReadAt(p []byte, off int64) (n int, err error)
- func (f *File) Readdir(count int) ([]fs.FileInfo, error)
- func (f *File) Readdirnames(n int) ([]string, error)
- func (f *File) Seek(offset int64, whence int) (int64, error)
- func (f *File) Stat() (fs.FileInfo, error)
- func (f *File) Sync() error
- func (f *File) Truncate(size int64) error
- func (f *File) Write(p []byte) (n int, err error)
- func (f *File) WriteAt(p []byte, off int64) (n int, err error)
- func (f *File) WriteString(s string) (ret int, err error)
- type FileInfo
- type Fs
- func (f Fs) Chmod(ctx context.Context, name string, mode fs.FileMode) error
- func (f Fs) Chown(ctx context.Context, name string, uid int, gid int) error
- func (f Fs) Chtimes(ctx context.Context, name string, atime time.Time, mtime time.Time) error
- func (f Fs) Create(ctx context.Context, name string) (afero.File, error)
- func (f Fs) Mkdir(ctx context.Context, name string, perm fs.FileMode) error
- func (f Fs) MkdirAll(ctx context.Context, path string, perm fs.FileMode) error
- func (f Fs) Name() string
- func (f Fs) Open(ctx context.Context, name string) (afero.File, error)
- func (f Fs) OpenFile(ctx context.Context, name string, flag int, perm fs.FileMode) (afero.File, error)
- func (f Fs) Remove(ctx context.Context, name string) error
- func (f Fs) RemoveAll(ctx context.Context, path string) error
- func (f Fs) Rename(ctx context.Context, oldname string, newname string) error
- func (f Fs) Stat(ctx context.Context, name string) (fs.FileInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (*File) Readdirnames ¶
Readdirnames implements afero.File.
type Fs ¶
type Fs struct {
// contains filtered or unexported fields
}
func (Fs) OpenFile ¶
func (f Fs) OpenFile(ctx context.Context, name string, flag int, perm fs.FileMode) (afero.File, error)
OpenFile implements afero.Fs.
Click to show internal directories.
Click to hide internal directories.