mocks

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) GetAllFlags added in v1.5.0

func (m *MockApi) GetAllFlags(arg0 context.Context, arg1 string) ([]ldapi.FeatureFlag, error)

GetAllFlags mocks base method.

func (*MockApi) GetProjectEnvironments added in v1.6.0

func (m *MockApi) GetProjectEnvironments(arg0 context.Context, arg1, arg2 string, arg3 *int) ([]ldapi.Environment, error)

GetProjectEnvironments mocks base method.

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) GetAllFlags added in v1.5.0

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

GetAllFlags indicates an expected call of GetAllFlags.

func (*MockApiMockRecorder) GetProjectEnvironments added in v1.6.0

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

GetProjectEnvironments indicates an expected call of GetProjectEnvironments.

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