Documentation ¶
Overview ¶
Package devpts provides a filesystem implementation that behaves like devpts.
Index ¶
- Constants
- type FilesystemType
- func (fstype *FilesystemType) GetFilesystem(ctx context.Context, vfsObj *vfs.VirtualFilesystem, creds *auth.Credentials, ...) (*vfs.Filesystem, *vfs.Dentry, error)
- func (*FilesystemType) Name() string
- func (fstype *FilesystemType) Release(ctx context.Context)
- func (fstype *FilesystemType) StateFields() []string
- func (fstype *FilesystemType) StateLoad(ctx context.Context, stateSourceObject state.Source)
- func (fstype *FilesystemType) StateSave(stateSinkObject state.Sink)
- func (fstype *FilesystemType) StateTypeName() string
- type Terminal
- func (t *Terminal) Open(ctx context.Context, mnt *vfs.Mount, vfsd *vfs.Dentry, opts vfs.OpenOptions) (*vfs.FileDescription, error)
- func (t *Terminal) StateFields() []string
- func (t *Terminal) StateLoad(ctx context.Context, stateSourceObject state.Source)
- func (t *Terminal) StateSave(stateSinkObject state.Sink)
- func (t *Terminal) StateTypeName() string
Constants ¶
View Source
const Name = "devpts"
Name is the 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 (fstype *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 (fstype *FilesystemType) Release(ctx context.Context)
Release implements vfs.FilesystemType.Release.
func (*FilesystemType) StateFields ¶
func (fstype *FilesystemType) StateFields() []string
func (*FilesystemType) StateLoad ¶
func (fstype *FilesystemType) StateLoad(ctx context.Context, stateSourceObject state.Source)
+checklocksignore
func (*FilesystemType) StateSave ¶
func (fstype *FilesystemType) StateSave(stateSinkObject state.Sink)
+checklocksignore
func (*FilesystemType) StateTypeName ¶
func (fstype *FilesystemType) StateTypeName() string
type Terminal ¶
type Terminal struct {
// contains filtered or unexported fields
}
Terminal is a pseudoterminal.
Terminal implements kernel.TTYOperations.
+stateify savable
func (*Terminal) Open ¶
func (t *Terminal) Open(ctx context.Context, mnt *vfs.Mount, vfsd *vfs.Dentry, opts vfs.OpenOptions) (*vfs.FileDescription, error)
Open implements kernel.TTYOperations.Open.
func (*Terminal) StateFields ¶
func (*Terminal) StateTypeName ¶
Click to show internal directories.
Click to hide internal directories.