devtmpfs

package
v0.0.0-...-a3e5887 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0, MIT Imports: 6 Imported by: 11

Documentation

Overview

Package devtmpfs provides a singleton fsimpl/dev filesystem instance, analogous to Linux's devtmpfs.

Index

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.

Jump to

Keyboard shortcuts

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