mocks

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 7 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) 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