mocks

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: Apache-2.0 Imports: 3 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[K types.ResponseKey, V types.ResponseValue] struct {
	mock.Mock
}

Provider is an autogenerated mock type for the Provider type

func NewProvider

func NewProvider[K types.ResponseKey, V types.ResponseValue](t interface {
	mock.TestingT
	Cleanup(func())
}) *Provider[K, V]

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[K, V]) GetData

func (_m *Provider[K, V]) GetData() map[K]types.ResolvedResult[V]

GetData provides a mock function with no fields

func (*Provider[K, V]) IsRunning

func (_m *Provider[K, V]) IsRunning() bool

IsRunning provides a mock function with no fields

func (*Provider[K, V]) Name

func (_m *Provider[K, V]) Name() string

Name provides a mock function with no fields

func (*Provider[K, V]) Start

func (_m *Provider[K, V]) Start(_a0 context.Context) error

Start provides a mock function with given fields: _a0

func (*Provider[K, V]) Type

func (_m *Provider[K, V]) Type() types.ProviderType

Type provides a mock function with no fields

Jump to

Keyboard shortcuts

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