mocks

package
v1.5.1-debug-polygon-t... Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiskStatsProvider

type DiskStatsProvider struct {
	mock.Mock
}

DiskStatsProvider is an autogenerated mock type for the DiskStatsProvider type

func NewDiskStatsProvider added in v1.5.0

func NewDiskStatsProvider(t testing.TB) *DiskStatsProvider

NewDiskStatsProvider creates a new instance of DiskStatsProvider. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*DiskStatsProvider) AvailableSpace

func (_m *DiskStatsProvider) AvailableSpace(path string) (utils.FileSize, error)

AvailableSpace provides a mock function with given fields: path

Jump to

Keyboard shortcuts

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