devpts

package
v0.0.0-...-ff2c174 Latest Latest
Warning

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

Go to latest
Published: May 9, 2021 License: Apache-2.0, MIT Imports: 24 Imported by: 0

Documentation

Overview

Package devpts provides a filesystem implementation that behaves like devpts.

Index

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(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.

+stateify savable

func (*Terminal) StateFields

func (tm *Terminal) StateFields() []string

func (*Terminal) StateLoad

func (tm *Terminal) StateLoad(stateSourceObject state.Source)

+checklocksignore

func (*Terminal) StateSave

func (tm *Terminal) StateSave(stateSinkObject state.Sink)

+checklocksignore

func (*Terminal) StateTypeName

func (tm *Terminal) StateTypeName() string

Jump to

Keyboard shortcuts

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