repository_mock

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package repository_mock is a generated GoMock package.

Package repository_mock is a generated GoMock package.

Package repository_mock is a generated GoMock package.

Package repository_mock is a generated GoMock package.

Package repository_mock is a generated GoMock package.

Package repository_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEvaluation

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

MockEvaluation is a mock of Evaluation interface

func NewMockEvaluation

func NewMockEvaluation(ctrl *gomock.Controller) *MockEvaluation

NewMockEvaluation creates a new mock instance

func (*MockEvaluation) DeleteAllByUserID

func (m *MockEvaluation) DeleteAllByUserID(arg0 context.Context, arg1 string) error

DeleteAllByUserID mocks base method

func (*MockEvaluation) DeleteByID

func (m *MockEvaluation) DeleteByID(arg0 context.Context, arg1 string) error

DeleteByID mocks base method

func (*MockEvaluation) EXPECT

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

func (*MockEvaluation) FindAllByReqHash

func (m *MockEvaluation) FindAllByReqHash(arg0 context.Context, arg1 string) (flaggio.EvaluationList, error)

FindAllByReqHash mocks base method

func (*MockEvaluation) FindAllByUserID

func (m *MockEvaluation) FindAllByUserID(arg0 context.Context, arg1 string, arg2 *string, arg3, arg4 *int64) (*flaggio.EvaluationResults, error)

FindAllByUserID mocks base method

func (*MockEvaluation) FindByID

func (m *MockEvaluation) FindByID(arg0 context.Context, arg1 string) (*flaggio.Evaluation, error)

FindByID mocks base method

func (*MockEvaluation) FindByReqHashAndFlagKey

func (m *MockEvaluation) FindByReqHashAndFlagKey(arg0 context.Context, arg1, arg2 string) (*flaggio.Evaluation, error)

FindByReqHashAndFlagKey mocks base method

func (*MockEvaluation) ReplaceAll

func (m *MockEvaluation) ReplaceAll(arg0 context.Context, arg1, arg2 string, arg3 flaggio.EvaluationList) error

ReplaceAll mocks base method

func (*MockEvaluation) ReplaceOne

func (m *MockEvaluation) ReplaceOne(arg0 context.Context, arg1 string, arg2 *flaggio.Evaluation) error

ReplaceOne mocks base method

type MockEvaluationMockRecorder

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

MockEvaluationMockRecorder is the mock recorder for MockEvaluation

func (*MockEvaluationMockRecorder) DeleteAllByUserID

func (mr *MockEvaluationMockRecorder) DeleteAllByUserID(arg0, arg1 interface{}) *gomock.Call

DeleteAllByUserID indicates an expected call of DeleteAllByUserID

func (*MockEvaluationMockRecorder) DeleteByID

func (mr *MockEvaluationMockRecorder) DeleteByID(arg0, arg1 interface{}) *gomock.Call

DeleteByID indicates an expected call of DeleteByID

func (*MockEvaluationMockRecorder) FindAllByReqHash

func (mr *MockEvaluationMockRecorder) FindAllByReqHash(arg0, arg1 interface{}) *gomock.Call

FindAllByReqHash indicates an expected call of FindAllByReqHash

func (*MockEvaluationMockRecorder) FindAllByUserID

func (mr *MockEvaluationMockRecorder) FindAllByUserID(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

FindAllByUserID indicates an expected call of FindAllByUserID

func (*MockEvaluationMockRecorder) FindByID

func (mr *MockEvaluationMockRecorder) FindByID(arg0, arg1 interface{}) *gomock.Call

FindByID indicates an expected call of FindByID

func (*MockEvaluationMockRecorder) FindByReqHashAndFlagKey

func (mr *MockEvaluationMockRecorder) FindByReqHashAndFlagKey(arg0, arg1, arg2 interface{}) *gomock.Call

FindByReqHashAndFlagKey indicates an expected call of FindByReqHashAndFlagKey

func (*MockEvaluationMockRecorder) ReplaceAll

func (mr *MockEvaluationMockRecorder) ReplaceAll(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ReplaceAll indicates an expected call of ReplaceAll

func (*MockEvaluationMockRecorder) ReplaceOne

func (mr *MockEvaluationMockRecorder) ReplaceOne(arg0, arg1, arg2 interface{}) *gomock.Call

ReplaceOne indicates an expected call of ReplaceOne

type MockFlag

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

MockFlag is a mock of Flag interface

func NewMockFlag

func NewMockFlag(ctrl *gomock.Controller) *MockFlag

NewMockFlag creates a new mock instance

func (*MockFlag) Create

func (m *MockFlag) Create(arg0 context.Context, arg1 flaggio.NewFlag) (string, error)

Create mocks base method

func (*MockFlag) Delete

func (m *MockFlag) Delete(arg0 context.Context, arg1 string) error

Delete mocks base method

func (*MockFlag) EXPECT

func (m *MockFlag) EXPECT() *MockFlagMockRecorder

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

func (*MockFlag) FindAll

func (m *MockFlag) FindAll(arg0 context.Context, arg1 *string, arg2, arg3 *int64) (*flaggio.FlagResults, error)

FindAll mocks base method

func (*MockFlag) FindByID

func (m *MockFlag) FindByID(arg0 context.Context, arg1 string) (*flaggio.Flag, error)

FindByID mocks base method

func (*MockFlag) FindByKey

func (m *MockFlag) FindByKey(arg0 context.Context, arg1 string) (*flaggio.Flag, error)

FindByKey mocks base method

func (*MockFlag) Update

func (m *MockFlag) Update(arg0 context.Context, arg1 string, arg2 flaggio.UpdateFlag) error

Update mocks base method

type MockFlagMockRecorder

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

MockFlagMockRecorder is the mock recorder for MockFlag

func (*MockFlagMockRecorder) Create

func (mr *MockFlagMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockFlagMockRecorder) Delete

func (mr *MockFlagMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockFlagMockRecorder) FindAll

func (mr *MockFlagMockRecorder) FindAll(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

FindAll indicates an expected call of FindAll

func (*MockFlagMockRecorder) FindByID

func (mr *MockFlagMockRecorder) FindByID(arg0, arg1 interface{}) *gomock.Call

FindByID indicates an expected call of FindByID

func (*MockFlagMockRecorder) FindByKey

func (mr *MockFlagMockRecorder) FindByKey(arg0, arg1 interface{}) *gomock.Call

FindByKey indicates an expected call of FindByKey

func (*MockFlagMockRecorder) Update

func (mr *MockFlagMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockRule

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

MockRule is a mock of Rule interface

func NewMockRule

func NewMockRule(ctrl *gomock.Controller) *MockRule

NewMockRule creates a new mock instance

func (*MockRule) CreateFlagRule

func (m *MockRule) CreateFlagRule(arg0 context.Context, arg1 string, arg2 flaggio.NewFlagRule) (string, error)

CreateFlagRule mocks base method

func (*MockRule) CreateSegmentRule

func (m *MockRule) CreateSegmentRule(arg0 context.Context, arg1 string, arg2 flaggio.NewSegmentRule) (string, error)

CreateSegmentRule mocks base method

func (*MockRule) DeleteFlagRule

func (m *MockRule) DeleteFlagRule(arg0 context.Context, arg1, arg2 string) error

DeleteFlagRule mocks base method

func (*MockRule) DeleteSegmentRule

func (m *MockRule) DeleteSegmentRule(arg0 context.Context, arg1, arg2 string) error

DeleteSegmentRule mocks base method

func (*MockRule) EXPECT

func (m *MockRule) EXPECT() *MockRuleMockRecorder

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

func (*MockRule) FindFlagRuleByID

func (m *MockRule) FindFlagRuleByID(arg0 context.Context, arg1, arg2 string) (*flaggio.FlagRule, error)

FindFlagRuleByID mocks base method

func (*MockRule) FindSegmentRuleByID

func (m *MockRule) FindSegmentRuleByID(arg0 context.Context, arg1, arg2 string) (*flaggio.SegmentRule, error)

FindSegmentRuleByID mocks base method

func (*MockRule) UpdateFlagRule

func (m *MockRule) UpdateFlagRule(arg0 context.Context, arg1, arg2 string, arg3 flaggio.UpdateFlagRule) error

UpdateFlagRule mocks base method

func (*MockRule) UpdateSegmentRule

func (m *MockRule) UpdateSegmentRule(arg0 context.Context, arg1, arg2 string, arg3 flaggio.UpdateSegmentRule) error

UpdateSegmentRule mocks base method

type MockRuleMockRecorder

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

MockRuleMockRecorder is the mock recorder for MockRule

func (*MockRuleMockRecorder) CreateFlagRule

func (mr *MockRuleMockRecorder) CreateFlagRule(arg0, arg1, arg2 interface{}) *gomock.Call

CreateFlagRule indicates an expected call of CreateFlagRule

func (*MockRuleMockRecorder) CreateSegmentRule

func (mr *MockRuleMockRecorder) CreateSegmentRule(arg0, arg1, arg2 interface{}) *gomock.Call

CreateSegmentRule indicates an expected call of CreateSegmentRule

func (*MockRuleMockRecorder) DeleteFlagRule

func (mr *MockRuleMockRecorder) DeleteFlagRule(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteFlagRule indicates an expected call of DeleteFlagRule

func (*MockRuleMockRecorder) DeleteSegmentRule

func (mr *MockRuleMockRecorder) DeleteSegmentRule(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteSegmentRule indicates an expected call of DeleteSegmentRule

func (*MockRuleMockRecorder) FindFlagRuleByID

func (mr *MockRuleMockRecorder) FindFlagRuleByID(arg0, arg1, arg2 interface{}) *gomock.Call

FindFlagRuleByID indicates an expected call of FindFlagRuleByID

func (*MockRuleMockRecorder) FindSegmentRuleByID

func (mr *MockRuleMockRecorder) FindSegmentRuleByID(arg0, arg1, arg2 interface{}) *gomock.Call

FindSegmentRuleByID indicates an expected call of FindSegmentRuleByID

func (*MockRuleMockRecorder) UpdateFlagRule

func (mr *MockRuleMockRecorder) UpdateFlagRule(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateFlagRule indicates an expected call of UpdateFlagRule

func (*MockRuleMockRecorder) UpdateSegmentRule

func (mr *MockRuleMockRecorder) UpdateSegmentRule(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateSegmentRule indicates an expected call of UpdateSegmentRule

type MockSegment

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

MockSegment is a mock of Segment interface

func NewMockSegment

func NewMockSegment(ctrl *gomock.Controller) *MockSegment

NewMockSegment creates a new mock instance

func (*MockSegment) Create

func (m *MockSegment) Create(arg0 context.Context, arg1 flaggio.NewSegment) (string, error)

Create mocks base method

func (*MockSegment) Delete

func (m *MockSegment) Delete(arg0 context.Context, arg1 string) error

Delete mocks base method

func (*MockSegment) EXPECT

func (m *MockSegment) EXPECT() *MockSegmentMockRecorder

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

func (*MockSegment) FindAll

func (m *MockSegment) FindAll(arg0 context.Context, arg1, arg2 *int64) ([]*flaggio.Segment, error)

FindAll mocks base method

func (*MockSegment) FindByID

func (m *MockSegment) FindByID(arg0 context.Context, arg1 string) (*flaggio.Segment, error)

FindByID mocks base method

func (*MockSegment) Update

func (m *MockSegment) Update(arg0 context.Context, arg1 string, arg2 flaggio.UpdateSegment) error

Update mocks base method

type MockSegmentMockRecorder

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

MockSegmentMockRecorder is the mock recorder for MockSegment

func (*MockSegmentMockRecorder) Create

func (mr *MockSegmentMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockSegmentMockRecorder) Delete

func (mr *MockSegmentMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockSegmentMockRecorder) FindAll

func (mr *MockSegmentMockRecorder) FindAll(arg0, arg1, arg2 interface{}) *gomock.Call

FindAll indicates an expected call of FindAll

func (*MockSegmentMockRecorder) FindByID

func (mr *MockSegmentMockRecorder) FindByID(arg0, arg1 interface{}) *gomock.Call

FindByID indicates an expected call of FindByID

func (*MockSegmentMockRecorder) Update

func (mr *MockSegmentMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockUser

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

MockUser is a mock of User interface

func NewMockUser

func NewMockUser(ctrl *gomock.Controller) *MockUser

NewMockUser creates a new mock instance

func (*MockUser) Delete

func (m *MockUser) Delete(arg0 context.Context, arg1 string) error

Delete mocks base method

func (*MockUser) EXPECT

func (m *MockUser) EXPECT() *MockUserMockRecorder

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

func (*MockUser) FindAll

func (m *MockUser) FindAll(arg0 context.Context, arg1 *string, arg2, arg3 *int64) (*flaggio.UserResults, error)

FindAll mocks base method

func (*MockUser) FindByID

func (m *MockUser) FindByID(arg0 context.Context, arg1 string) (*flaggio.User, error)

FindByID mocks base method

func (*MockUser) Replace

func (m *MockUser) Replace(arg0 context.Context, arg1 string, arg2 flaggio.UserContext) error

Replace mocks base method

type MockUserMockRecorder

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

MockUserMockRecorder is the mock recorder for MockUser

func (*MockUserMockRecorder) Delete

func (mr *MockUserMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockUserMockRecorder) FindAll

func (mr *MockUserMockRecorder) FindAll(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

FindAll indicates an expected call of FindAll

func (*MockUserMockRecorder) FindByID

func (mr *MockUserMockRecorder) FindByID(arg0, arg1 interface{}) *gomock.Call

FindByID indicates an expected call of FindByID

func (*MockUserMockRecorder) Replace

func (mr *MockUserMockRecorder) Replace(arg0, arg1, arg2 interface{}) *gomock.Call

Replace indicates an expected call of Replace

type MockVariant

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

MockVariant is a mock of Variant interface

func NewMockVariant

func NewMockVariant(ctrl *gomock.Controller) *MockVariant

NewMockVariant creates a new mock instance

func (*MockVariant) Create

func (m *MockVariant) Create(arg0 context.Context, arg1 string, arg2 flaggio.NewVariant) (string, error)

Create mocks base method

func (*MockVariant) Delete

func (m *MockVariant) Delete(arg0 context.Context, arg1, arg2 string) error

Delete mocks base method

func (*MockVariant) EXPECT

func (m *MockVariant) EXPECT() *MockVariantMockRecorder

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

func (*MockVariant) FindByID

func (m *MockVariant) FindByID(arg0 context.Context, arg1, arg2 string) (*flaggio.Variant, error)

FindByID mocks base method

func (*MockVariant) Update

func (m *MockVariant) Update(arg0 context.Context, arg1, arg2 string, arg3 flaggio.UpdateVariant) error

Update mocks base method

type MockVariantMockRecorder

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

MockVariantMockRecorder is the mock recorder for MockVariant

func (*MockVariantMockRecorder) Create

func (mr *MockVariantMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockVariantMockRecorder) Delete

func (mr *MockVariantMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockVariantMockRecorder) FindByID

func (mr *MockVariantMockRecorder) FindByID(arg0, arg1, arg2 interface{}) *gomock.Call

FindByID indicates an expected call of FindByID

func (*MockVariantMockRecorder) Update

func (mr *MockVariantMockRecorder) Update(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Update indicates an expected call of Update

Jump to

Keyboard shortcuts

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