mock_ratecache

package
v0.0.68 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_ratecache is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRestClientCache

type MockRestClientCache struct {
	// contains filtered or unexported fields
}

MockRestClientCache is a mock of RestClientCache interface.

func NewMockRestClientCache

func NewMockRestClientCache(ctrl *gomock.Controller) *MockRestClientCache

NewMockRestClientCache creates a new mock instance.

func (*MockRestClientCache) Close

func (m *MockRestClientCache) Close()

Close mocks base method.

func (*MockRestClientCache) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRestClientCache) Get

func (m *MockRestClientCache) Get(owner, token string, provider db.ProviderType) (v1.REST, bool)

Get mocks base method.

func (*MockRestClientCache) Set

func (m *MockRestClientCache) Set(owner, token string, provider db.ProviderType, rest v1.REST)

Set mocks base method.

type MockRestClientCacheMockRecorder

type MockRestClientCacheMockRecorder struct {
	// contains filtered or unexported fields
}

MockRestClientCacheMockRecorder is the mock recorder for MockRestClientCache.

func (*MockRestClientCacheMockRecorder) Close

Close indicates an expected call of Close.

func (*MockRestClientCacheMockRecorder) Get

func (mr *MockRestClientCacheMockRecorder) Get(owner, token, provider any) *gomock.Call

Get indicates an expected call of Get.

func (*MockRestClientCacheMockRecorder) Set

func (mr *MockRestClientCacheMockRecorder) Set(owner, token, provider, rest any) *gomock.Call

Set indicates an expected call of Set.

Jump to

Keyboard shortcuts

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