mocks

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithMockApiAndSdk

func WithMockApiAndSdk(ctx context.Context, controller *gomock.Controller) (context.Context, *MockApi, *MockSdk)

Types

type MockApi

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

MockApi is a mock of Api interface.

func NewMockApi

func NewMockApi(ctrl *gomock.Controller) *MockApi

NewMockApi creates a new mock instance.

func (*MockApi) EXPECT

func (m *MockApi) EXPECT() *MockApiMockRecorder

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

func (*MockApi) GetSdkKey

func (m *MockApi) GetSdkKey(arg0 context.Context, arg1, arg2 string) (string, error)

GetSdkKey mocks base method.

type MockApiMockRecorder

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

MockApiMockRecorder is the mock recorder for MockApi.

func (*MockApiMockRecorder) GetSdkKey

func (mr *MockApiMockRecorder) GetSdkKey(arg0, arg1, arg2 any) *gomock.Call

GetSdkKey indicates an expected call of GetSdkKey.

type MockSdk

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

MockSdk is a mock of Sdk interface.

func NewMockSdk

func NewMockSdk(ctrl *gomock.Controller) *MockSdk

NewMockSdk creates a new mock instance.

func (*MockSdk) EXPECT

func (m *MockSdk) EXPECT() *MockSdkMockRecorder

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

func (*MockSdk) GetAllFlagsState

func (m *MockSdk) GetAllFlagsState(arg0 context.Context, arg1 ldcontext.Context, arg2 string) (flagstate.AllFlags, error)

GetAllFlagsState mocks base method.

type MockSdkMockRecorder

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

MockSdkMockRecorder is the mock recorder for MockSdk.

func (*MockSdkMockRecorder) GetAllFlagsState

func (mr *MockSdkMockRecorder) GetAllFlagsState(arg0, arg1, arg2 any) *gomock.Call

GetAllFlagsState indicates an expected call of GetAllFlagsState.

Jump to

Keyboard shortcuts

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