Versions in this module Expand all Collapse all v0 v0.7.0 Aug 5, 2022 v0.6.0 Oct 27, 2021 Changes in this version + type MockEvaluation struct + func NewMockEvaluation(ctrl *gomock.Controller) *MockEvaluation + func (m *MockEvaluation) DeleteAllByUserID(arg0 context.Context, arg1 string) error + func (m *MockEvaluation) DeleteByID(arg0 context.Context, arg1 string) error + func (m *MockEvaluation) EXPECT() *MockEvaluationMockRecorder + func (m *MockEvaluation) FindAllByReqHash(arg0 context.Context, arg1 string) (flaggio.EvaluationList, error) + func (m *MockEvaluation) FindAllByUserID(arg0 context.Context, arg1 string, arg2 *string, arg3, arg4 *int64) (*flaggio.EvaluationResults, error) + func (m *MockEvaluation) FindByID(arg0 context.Context, arg1 string) (*flaggio.Evaluation, error) + func (m *MockEvaluation) FindByReqHashAndFlagKey(arg0 context.Context, arg1, arg2 string) (*flaggio.Evaluation, error) + func (m *MockEvaluation) ReplaceAll(arg0 context.Context, arg1, arg2 string, arg3 flaggio.EvaluationList) error + func (m *MockEvaluation) ReplaceOne(arg0 context.Context, arg1 string, arg2 *flaggio.Evaluation) error + type MockEvaluationMockRecorder struct + func (mr *MockEvaluationMockRecorder) DeleteAllByUserID(arg0, arg1 interface{}) *gomock.Call + func (mr *MockEvaluationMockRecorder) DeleteByID(arg0, arg1 interface{}) *gomock.Call + func (mr *MockEvaluationMockRecorder) FindAllByReqHash(arg0, arg1 interface{}) *gomock.Call + func (mr *MockEvaluationMockRecorder) FindAllByUserID(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call + func (mr *MockEvaluationMockRecorder) FindByID(arg0, arg1 interface{}) *gomock.Call + func (mr *MockEvaluationMockRecorder) FindByReqHashAndFlagKey(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockEvaluationMockRecorder) ReplaceAll(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockEvaluationMockRecorder) ReplaceOne(arg0, arg1, arg2 interface{}) *gomock.Call + type MockFlag struct + func NewMockFlag(ctrl *gomock.Controller) *MockFlag + func (m *MockFlag) Create(arg0 context.Context, arg1 flaggio.NewFlag) (string, error) + func (m *MockFlag) Delete(arg0 context.Context, arg1 string) error + func (m *MockFlag) EXPECT() *MockFlagMockRecorder + func (m *MockFlag) FindAll(arg0 context.Context, arg1 *string, arg2, arg3 *int64) (*flaggio.FlagResults, error) + func (m *MockFlag) FindByID(arg0 context.Context, arg1 string) (*flaggio.Flag, error) + func (m *MockFlag) FindByKey(arg0 context.Context, arg1 string) (*flaggio.Flag, error) + func (m *MockFlag) Update(arg0 context.Context, arg1 string, arg2 flaggio.UpdateFlag) error + type MockFlagMockRecorder struct + func (mr *MockFlagMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call + func (mr *MockFlagMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call + func (mr *MockFlagMockRecorder) FindAll(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockFlagMockRecorder) FindByID(arg0, arg1 interface{}) *gomock.Call + func (mr *MockFlagMockRecorder) FindByKey(arg0, arg1 interface{}) *gomock.Call + func (mr *MockFlagMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call + type MockRule struct + func NewMockRule(ctrl *gomock.Controller) *MockRule + func (m *MockRule) CreateFlagRule(arg0 context.Context, arg1 string, arg2 flaggio.NewFlagRule) (string, error) + func (m *MockRule) CreateSegmentRule(arg0 context.Context, arg1 string, arg2 flaggio.NewSegmentRule) (string, error) + func (m *MockRule) DeleteFlagRule(arg0 context.Context, arg1, arg2 string) error + func (m *MockRule) DeleteSegmentRule(arg0 context.Context, arg1, arg2 string) error + func (m *MockRule) EXPECT() *MockRuleMockRecorder + func (m *MockRule) FindFlagRuleByID(arg0 context.Context, arg1, arg2 string) (*flaggio.FlagRule, error) + func (m *MockRule) FindSegmentRuleByID(arg0 context.Context, arg1, arg2 string) (*flaggio.SegmentRule, error) + func (m *MockRule) UpdateFlagRule(arg0 context.Context, arg1, arg2 string, arg3 flaggio.UpdateFlagRule) error + func (m *MockRule) UpdateSegmentRule(arg0 context.Context, arg1, arg2 string, arg3 flaggio.UpdateSegmentRule) error + type MockRuleMockRecorder struct + func (mr *MockRuleMockRecorder) CreateFlagRule(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockRuleMockRecorder) CreateSegmentRule(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockRuleMockRecorder) DeleteFlagRule(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockRuleMockRecorder) DeleteSegmentRule(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockRuleMockRecorder) FindFlagRuleByID(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockRuleMockRecorder) FindSegmentRuleByID(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockRuleMockRecorder) UpdateFlagRule(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockRuleMockRecorder) UpdateSegmentRule(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + type MockSegment struct + func NewMockSegment(ctrl *gomock.Controller) *MockSegment + func (m *MockSegment) Create(arg0 context.Context, arg1 flaggio.NewSegment) (string, error) + func (m *MockSegment) Delete(arg0 context.Context, arg1 string) error + func (m *MockSegment) EXPECT() *MockSegmentMockRecorder + func (m *MockSegment) FindAll(arg0 context.Context, arg1, arg2 *int64) ([]*flaggio.Segment, error) + func (m *MockSegment) FindByID(arg0 context.Context, arg1 string) (*flaggio.Segment, error) + func (m *MockSegment) Update(arg0 context.Context, arg1 string, arg2 flaggio.UpdateSegment) error + type MockSegmentMockRecorder struct + func (mr *MockSegmentMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call + func (mr *MockSegmentMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call + func (mr *MockSegmentMockRecorder) FindAll(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockSegmentMockRecorder) FindByID(arg0, arg1 interface{}) *gomock.Call + func (mr *MockSegmentMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call + type MockUser struct + func NewMockUser(ctrl *gomock.Controller) *MockUser + func (m *MockUser) Delete(arg0 context.Context, arg1 string) error + func (m *MockUser) EXPECT() *MockUserMockRecorder + func (m *MockUser) FindAll(arg0 context.Context, arg1 *string, arg2, arg3 *int64) (*flaggio.UserResults, error) + func (m *MockUser) FindByID(arg0 context.Context, arg1 string) (*flaggio.User, error) + func (m *MockUser) Replace(arg0 context.Context, arg1 string, arg2 flaggio.UserContext) error + type MockUserMockRecorder struct + func (mr *MockUserMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call + func (mr *MockUserMockRecorder) FindAll(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockUserMockRecorder) FindByID(arg0, arg1 interface{}) *gomock.Call + func (mr *MockUserMockRecorder) Replace(arg0, arg1, arg2 interface{}) *gomock.Call + type MockVariant struct + func NewMockVariant(ctrl *gomock.Controller) *MockVariant + func (m *MockVariant) Create(arg0 context.Context, arg1 string, arg2 flaggio.NewVariant) (string, error) + func (m *MockVariant) Delete(arg0 context.Context, arg1, arg2 string) error + func (m *MockVariant) EXPECT() *MockVariantMockRecorder + func (m *MockVariant) FindByID(arg0 context.Context, arg1, arg2 string) (*flaggio.Variant, error) + func (m *MockVariant) Update(arg0 context.Context, arg1, arg2 string, arg3 flaggio.UpdateVariant) error + type MockVariantMockRecorder struct + func (mr *MockVariantMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockVariantMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockVariantMockRecorder) FindByID(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockVariantMockRecorder) Update(arg0, arg1, arg2, arg3 interface{}) *gomock.Call