mocks

package
v0.0.0-...-2d420a4 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExpiryDataManager

type ExpiryDataManager struct {
	mock.Mock
}

ExpiryDataManager is an autogenerated mock type for the ExpiryDataManager type

func NewExpiryDataManager

func NewExpiryDataManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *ExpiryDataManager

NewExpiryDataManager creates a new instance of ExpiryDataManager. 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 (*ExpiryDataManager) GetExpiringExpectations

func (_m *ExpiryDataManager) GetExpiringExpectations(ctx context.Context) ([]data_manager.ExpectationKey, error)

GetExpiringExpectations provides a mock function with given fields: ctx

func (*ExpiryDataManager) UpdateExpectationsExpiry

func (_m *ExpiryDataManager) UpdateExpectationsExpiry(ctx context.Context, expectations []data_manager.ExpectationKey, expirationTime time.Time) error

UpdateExpectationsExpiry provides a mock function with given fields: ctx, expectations, expirationTime

Jump to

Keyboard shortcuts

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