mocks

package
v1.60.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 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 Store

type Store struct {
	mock.Mock
}

Store is an autogenerated mock type for the Store type

func NewStore added in v1.59.0

func NewStore(t interface {
	mock.TestingT
	Cleanup(func())
}) *Store

NewStore creates a new instance of Store. 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 (*Store) GetLatestProbabilities

func (_m *Store) GetLatestProbabilities() (model.ServiceOperationProbabilities, error)

GetLatestProbabilities provides a mock function with given fields:

func (*Store) GetThroughput

func (_m *Store) GetThroughput(start time.Time, end time.Time) ([]*model.Throughput, error)

GetThroughput provides a mock function with given fields: start, end

func (*Store) InsertProbabilitiesAndQPS

func (_m *Store) InsertProbabilitiesAndQPS(hostname string, probabilities model.ServiceOperationProbabilities, qps model.ServiceOperationQPS) error

InsertProbabilitiesAndQPS provides a mock function with given fields: hostname, probabilities, qps

func (*Store) InsertThroughput

func (_m *Store) InsertThroughput(throughput []*model.Throughput) error

InsertThroughput provides a mock function with given fields: throughput

Jump to

Keyboard shortcuts

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