Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: MIT Imports: 2 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

func NewDiskStatsProvider(t mockConstructorTestingTNewDiskStatsProvider) *DiskStatsProvider

NewDiskStatsProvider creates a new instance of DiskStatsProvider. It also registers a testing 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