fs

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2016 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EQFSHookContext

type EQFSHookContext struct {
	Path string
}

implements hookfs.HookContext

type FilesystemInspector

type FilesystemInspector struct {
	OrchestratorURL string
	EntityID        string
	// contains filtered or unexported fields
}

implements hookfs.Hook

func (*FilesystemInspector) Init

func (this *FilesystemInspector) Init() error

implements hookfs.HookWithInit

func (*FilesystemInspector) PostFsync added in v0.2.1

func (this *FilesystemInspector) PostFsync(realRetCode int32, ctx hookfs.HookContext) (error, bool)

implements hookfs.HookOnFsync

func (*FilesystemInspector) PostMkdir

func (this *FilesystemInspector) PostMkdir(realRetCode int32, ctx hookfs.HookContext) (error, bool)

implements hookfs.HookOnMkdir

func (*FilesystemInspector) PostOpenDir

func (this *FilesystemInspector) PostOpenDir(realRetCode int32, ctx hookfs.HookContext) (error, bool)

implements hookfs.HookOnOpenDir

func (*FilesystemInspector) PostRead

func (this *FilesystemInspector) PostRead(realRetCode int32, realBuf []byte, ctx hookfs.HookContext) ([]byte, error, bool)

implements hookfs.HookOnRead

func (*FilesystemInspector) PostRmdir

func (this *FilesystemInspector) PostRmdir(realRetCode int32, ctx hookfs.HookContext) (error, bool)

implements hookfs.HookOnRmdir

func (*FilesystemInspector) PreFsync added in v0.2.1

func (this *FilesystemInspector) PreFsync(path string, flags uint32) (error, bool, hookfs.HookContext)

implements hookfs.HookOnFsync

func (*FilesystemInspector) PreMkdir

func (this *FilesystemInspector) PreMkdir(path string, mode uint32) (error, bool, hookfs.HookContext)

implements hookfs.HookOnMkdir

func (*FilesystemInspector) PreOpenDir

func (this *FilesystemInspector) PreOpenDir(path string) (error, bool, hookfs.HookContext)

implements hookfs.HookOnOpenDir

func (*FilesystemInspector) PreRead

func (this *FilesystemInspector) PreRead(path string, length int64, offset int64) ([]byte, error, bool, hookfs.HookContext)

implements hookfs.HookOnRead

func (*FilesystemInspector) PreRmdir

func (this *FilesystemInspector) PreRmdir(path string) (error, bool, hookfs.HookContext)

implements hookfs.HookOnRmdir

func (*FilesystemInspector) String

func (this *FilesystemInspector) String() string

Jump to

Keyboard shortcuts

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