Documentation ¶
Overview ¶
Package sys implements sysfs.
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 (FilesystemType) Release(ctx context.Context)
- func (fsType *FilesystemType) StateFields() []string
- func (fsType *FilesystemType) StateLoad(stateSourceObject state.Source)
- func (fsType *FilesystemType) StateSave(stateSinkObject state.Sink)
- func (fsType *FilesystemType) StateTypeName() string
Constants ¶
View Source
const (
// Name is the default filesystem name.
Name = "sysfs"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilesystemType ¶
type FilesystemType struct{}
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 (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
Click to show internal directories.
Click to hide internal directories.