mocks

package
v1.12.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 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 added in v1.5.0

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