mocks

package
Version: v0.0.0-...-45f56e5 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clock

type Clock struct {
	mock.Mock
}

func (*Clock) After

func (_m *Clock) After(d time.Duration) <-chan time.Time

type ConfigReader

type ConfigReader struct {
	mock.Mock
}

func (*ConfigReader) BoolVal

func (_m *ConfigReader) BoolVal(key string, dflt bool) bool

func (*ConfigReader) GetConfigValues

func (_m *ConfigReader) GetConfigValues() map[string]utils.ConfigValue

func (*ConfigReader) IntVal

func (_m *ConfigReader) IntVal(key string, dflt int) int

func (*ConfigReader) StringNumberedList

func (_m *ConfigReader) StringNumberedList(key string, dflt []string) []string

func (*ConfigReader) StringSlice

func (_m *ConfigReader) StringSlice(key string, dflt []string) []string

func (*ConfigReader) StringVal

func (_m *ConfigReader) StringVal(key string, dflt string) string

type MountProc

type MountProc struct {
	mock.Mock
}

func (*MountProc) IsMounted

func (_m *MountProc) IsMounted(_a0 string) (bool, error)

func (*MountProc) ListAll

func (_m *MountProc) ListAll() ([]utils.MountInfo, error)

func (*MountProc) Unmount

func (_m *MountProc) Unmount(_a0 string) error

type TTL

type TTL struct {
	mock.Mock
}

func (*TTL) Purge

func (_m *TTL) Purge(_a0 time.Duration) (time.Duration, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL