utils

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTimeoutWaitProcess = errors.New("timeout waiting for process to end")

Functions

This section is empty.

Types

type FakeMounterUtilsFuncStruct

type FakeMounterUtilsFuncStruct struct {
	FuseMountFn   func(path string, comm string, args []string) error
	FuseUnmountFn func(path string) error
}

type FakeMounterUtilsFuncStructImpl

type FakeMounterUtilsFuncStructImpl struct {
	MounterOptsUtils

	FuncStruct FakeMounterUtilsFuncStruct
}

func (*FakeMounterUtilsFuncStructImpl) FuseMount

func (m *FakeMounterUtilsFuncStructImpl) FuseMount(path string, comm string, args []string) error

func (*FakeMounterUtilsFuncStructImpl) FuseUnmount

func (m *FakeMounterUtilsFuncStructImpl) FuseUnmount(path string) error

type MounterOptsUtils

type MounterOptsUtils struct {
}

func (*MounterOptsUtils) FuseMount

func (su *MounterOptsUtils) FuseMount(path string, comm string, args []string) error

func (*MounterOptsUtils) FuseUnmount

func (su *MounterOptsUtils) FuseUnmount(path string) error

type MounterUtils

type MounterUtils interface {
	FuseUnmount(path string) error
	FuseMount(path string, comm string, args []string) error
}

Jump to

Keyboard shortcuts

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