mock_api

package
v0.0.0-...-fb963d0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2024 License: Apache-2.0, BSD-3-Clause, MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_api is a generated GoMock package.

Package mock_api is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLimitAPI

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

MockLimitAPI is a mock of LimitAPI interface.

func NewMockLimitAPI

func NewMockLimitAPI(ctrl *gomock.Controller) *MockLimitAPI

NewMockLimitAPI creates a new mock instance.

func (*MockLimitAPI) Destroy

func (m *MockLimitAPI) Destroy()

Destroy mocks base method.

func (*MockLimitAPI) EXPECT

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

func (*MockLimitAPI) GetQuota

func (m *MockLimitAPI) GetQuota(arg0 api.QuotaRequest) (api.QuotaFuture, error)

GetQuota mocks base method.

func (*MockLimitAPI) SDKContext

func (m *MockLimitAPI) SDKContext() api.SDKContext

SDKContext mocks base method.

type MockLimitAPIMockRecorder

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

MockLimitAPIMockRecorder is the mock recorder for MockLimitAPI.

func (*MockLimitAPIMockRecorder) Destroy

func (mr *MockLimitAPIMockRecorder) Destroy() *gomock.Call

Destroy indicates an expected call of Destroy.

func (*MockLimitAPIMockRecorder) GetQuota

func (mr *MockLimitAPIMockRecorder) GetQuota(arg0 interface{}) *gomock.Call

GetQuota indicates an expected call of GetQuota.

func (*MockLimitAPIMockRecorder) SDKContext

func (mr *MockLimitAPIMockRecorder) SDKContext() *gomock.Call

SDKContext indicates an expected call of SDKContext.

type MockQuotaFuture

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

MockQuotaFuture is a mock of QuotaFuture interface.

func NewMockQuotaFuture

func NewMockQuotaFuture(ctrl *gomock.Controller) *MockQuotaFuture

NewMockQuotaFuture creates a new mock instance.

func (*MockQuotaFuture) Done

func (m *MockQuotaFuture) Done() <-chan struct{}

Done mocks base method.

func (*MockQuotaFuture) EXPECT

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

func (*MockQuotaFuture) Get

Get mocks base method.

func (*MockQuotaFuture) GetImmediately

func (m *MockQuotaFuture) GetImmediately() *model.QuotaResponse

GetImmediately mocks base method.

func (*MockQuotaFuture) Release

func (m *MockQuotaFuture) Release()

Release mocks base method.

type MockQuotaFutureMockRecorder

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

MockQuotaFutureMockRecorder is the mock recorder for MockQuotaFuture.

func (*MockQuotaFutureMockRecorder) Done

Done indicates an expected call of Done.

func (*MockQuotaFutureMockRecorder) Get

Get indicates an expected call of Get.

func (*MockQuotaFutureMockRecorder) GetImmediately

func (mr *MockQuotaFutureMockRecorder) GetImmediately() *gomock.Call

GetImmediately indicates an expected call of GetImmediately.

func (*MockQuotaFutureMockRecorder) Release

func (mr *MockQuotaFutureMockRecorder) Release() *gomock.Call

Release indicates an expected call of Release.

Jump to

Keyboard shortcuts

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