Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- func WithMockApiAndSdk(ctx context.Context, controller *gomock.Controller) (context.Context, *MockApi, *MockSdk)
- type MockApi
- func (m *MockApi) EXPECT() *MockApiMockRecorder
- func (m *MockApi) GetAllFlags(arg0 context.Context, arg1 string) ([]ldapi.FeatureFlag, error)
- func (m *MockApi) GetProjectEnvironments(arg0 context.Context, arg1, arg2 string, arg3 *int) ([]ldapi.Environment, error)
- func (m *MockApi) GetSdkKey(arg0 context.Context, arg1, arg2 string) (string, error)
- type MockApiMockRecorder
- type MockSdk
- type MockSdkMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithMockApiAndSdk ¶
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
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.
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.
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.
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.