mocks

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	mock.Mock
}

Provider is an autogenerated mock type for the Provider type

func NewProvider added in v1.3.0

func NewProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *Provider

NewProvider creates a new instance of Provider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Provider) GarbageCollect

func (_m *Provider) GarbageCollect(_a0 *v1alpha1.AnalysisRun, _a1 v1alpha1.Metric, _a2 int) error

GarbageCollect provides a mock function with given fields: _a0, _a1, _a2

func (*Provider) GetMetadata added in v1.2.0

func (_m *Provider) GetMetadata(_a0 v1alpha1.Metric) map[string]string

GetMetadata provides a mock function with given fields: _a0

func (*Provider) Resume

Resume provides a mock function with given fields: _a0, _a1, _a2

func (*Provider) Run

Run provides a mock function with given fields: _a0, _a1

func (*Provider) Terminate

Terminate provides a mock function with given fields: _a0, _a1, _a2

func (*Provider) Type

func (_m *Provider) Type() string

Type provides a mock function with given fields:

Jump to

Keyboard shortcuts

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