mocks

package
v1.12.0-base-rc0 Latest Latest
Warning

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

Go to latest
Published: Feb 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 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