Documentation ¶
Overview ¶
Package devtmpfs provides a singleton fsimpl/dev filesystem instance, analogous to Linux's devtmpfs.
Index ¶
- Constants
- type FilesystemType
- func (fst *FilesystemType) GetFilesystem(ctx context.Context, vfsObj *vfs.VirtualFilesystem, creds *auth.Credentials, ...) (*vfs.Filesystem, *vfs.Dentry, error)
- func (*FilesystemType) Name() string
- func (fst *FilesystemType) Release(ctx context.Context)
- func (fst *FilesystemType) StateFields() []string
- func (fst *FilesystemType) StateLoad(ctx context.Context, stateSourceObject state.Source)
- func (fst *FilesystemType) StateSave(stateSinkObject state.Sink)
- func (fst *FilesystemType) StateTypeName() string
Constants ¶
View Source
const Name = "devtmpfs"
Name is the default filesystem name.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilesystemType ¶
type FilesystemType struct {
// contains filtered or unexported fields
}
FilesystemType implements vfs.FilesystemType.
+stateify savable
func (*FilesystemType) GetFilesystem ¶
func (fst *FilesystemType) GetFilesystem(ctx context.Context, vfsObj *vfs.VirtualFilesystem, creds *auth.Credentials, source string, opts vfs.GetFilesystemOptions) (*vfs.Filesystem, *vfs.Dentry, error)
GetFilesystem implements vfs.FilesystemType.GetFilesystem.
func (*FilesystemType) Name ¶
func (*FilesystemType) Name() string
Name implements vfs.FilesystemType.Name.
func (*FilesystemType) Release ¶
func (fst *FilesystemType) Release(ctx context.Context)
Release implements vfs.FilesystemType.Release.
func (*FilesystemType) StateFields ¶
func (fst *FilesystemType) StateFields() []string
func (*FilesystemType) StateLoad ¶
func (fst *FilesystemType) StateLoad(ctx context.Context, stateSourceObject state.Source)
+checklocksignore
func (*FilesystemType) StateSave ¶
func (fst *FilesystemType) StateSave(stateSinkObject state.Sink)
+checklocksignore
func (*FilesystemType) StateTypeName ¶
func (fst *FilesystemType) StateTypeName() string
Click to show internal directories.
Click to hide internal directories.