Documentation ¶
Overview ¶
Code generated by argen. DO NOT EDIT. This code was generated from a template.
Manual changes to this file may cause unexpected behavior in your application. Manual changes to this file will be overwritten if the code is regenerated.
Generate info: argen@v1.11.0-b (Commit: 6934fae2)
Code generated by argen. DO NOT EDIT. This code was generated from a template.
Manual changes to this file may cause unexpected behavior in your application. Manual changes to this file will be overwritten if the code is regenerated.
Generate info: argen@v1.11.0-b (Commit: 6934fae2)
Code generated by argen. DO NOT EDIT. This code was generated from a template.
Manual changes to this file may cause unexpected behavior in your application. Manual changes to this file will be overwritten if the code is regenerated.
Generate info: argen@v1.11.0-b (Commit: 6934fae2)
Code generated by argen. DO NOT EDIT. This code was generated from a template.
Manual changes to this file may cause unexpected behavior in your application. Manual changes to this file will be overwritten if the code is regenerated.
Generate info: argen@v1.11.0-b (Commit: 6934fae2)
Code generated by argen. DO NOT EDIT. This code was generated from a template.
Manual changes to this file may cause unexpected behavior in your application. Manual changes to this file will be overwritten if the code is regenerated.
Generate info: argen@v1.11.0-b (Commit: 6934fae2)
Code generated by argen. DO NOT EDIT. This code was generated from a template.
Manual changes to this file may cause unexpected behavior in your application. Manual changes to this file will be overwritten if the code is regenerated.
Generate info: argen@v1.11.0-b (Commit: 6934fae2)
Index ¶
- func ArObjStoreIterator() func(it func(any) error) error
- func BoolindexedStoreIterator() func(it func(any) error) error
- func GetArObjByID(ID int32) *arobj.ArObj
- func GetBoolindexedByCode(Code string) *boolindexed.Boolindexed
- func GetCategoryByParams(params category.CategoryParams) *category.Category
- func GetDeleteArObjFixtureByPrimaryKey(ctx context.Context, pk int32, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetDeleteBoolindexedFixtureByPrimaryKey(ctx context.Context, pk string, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetDeletePromoperiodsFixtureByPrimaryKey(ctx context.Context, pk string, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetDeleteRewardFixtureByPrimaryKey(ctx context.Context, pk string, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetFooByParams(params foo.FooParams) *foo.Foo
- func GetInsertArObjFixtureByID(ctx context.Context, ID int32, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetInsertArObjFixtureByModel(ctx context.Context, obj *arobj.ArObj, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetInsertBoolindexedFixtureByCode(ctx context.Context, Code string, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetInsertBoolindexedFixtureByModel(ctx context.Context, obj *boolindexed.Boolindexed, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetInsertOrReplaceArObjFixtureByID(ctx context.Context, ID int32, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetInsertOrReplaceArObjFixtureByModel(ctx context.Context, obj *arobj.ArObj, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetInsertOrReplaceBoolindexedFixtureByCode(ctx context.Context, Code string, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetInsertOrReplaceBoolindexedFixtureByModel(ctx context.Context, obj *boolindexed.Boolindexed, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetInsertOrReplacePromoperiodsFixtureByID(ctx context.Context, ID string, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetInsertOrReplacePromoperiodsFixtureByModel(ctx context.Context, obj *promoperiods.Promoperiods, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetInsertOrReplaceRewardFixtureByCode(ctx context.Context, Code string, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetInsertOrReplaceRewardFixtureByModel(ctx context.Context, obj *reward.Reward, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetInsertPromoperiodsFixtureByID(ctx context.Context, ID string, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetInsertPromoperiodsFixtureByModel(ctx context.Context, obj *promoperiods.Promoperiods, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetInsertReplaceArObjByID(ID int32) *arobj.ArObj
- func GetInsertReplaceBoolindexedByCode(Code string) *boolindexed.Boolindexed
- func GetInsertReplacePromoperiodsByID(ID string) *promoperiods.Promoperiods
- func GetInsertReplaceRewardByCode(Code string) *reward.Reward
- func GetInsertRewardFixtureByCode(ctx context.Context, Code string, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetInsertRewardFixtureByModel(ctx context.Context, obj *reward.Reward, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetPromoperiodsByID(ID string) *promoperiods.Promoperiods
- func GetReplaceArObjFixtureByID(ctx context.Context, ID int32, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetReplaceArObjFixtureByModel(ctx context.Context, obj *arobj.ArObj, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetReplaceBoolindexedFixtureByCode(ctx context.Context, Code string, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetReplaceBoolindexedFixtureByModel(ctx context.Context, obj *boolindexed.Boolindexed, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetReplacePromoperiodsFixtureByID(ctx context.Context, ID string, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetReplacePromoperiodsFixtureByModel(ctx context.Context, obj *promoperiods.Promoperiods, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetReplaceRewardFixtureByCode(ctx context.Context, Code string, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetReplaceRewardFixtureByModel(ctx context.Context, obj *reward.Reward, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetRewardByCode(Code string) *reward.Reward
- func GetUpdateArObjByID(ID int32) *arobj.ArObj
- func GetUpdateArObjFixtureByID(ctx context.Context, ID int32, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetUpdateBoolindexedByCode(Code string) *boolindexed.Boolindexed
- func GetUpdateBoolindexedFixtureByCode(ctx context.Context, Code string, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetUpdateMutatorExtraPartFixtureByCode(ctx context.Context, Code string) (fxt octopus.FixtureType)
- func GetUpdateMutatorPartnerFixtureByCode(ctx context.Context, Code string) (fxt octopus.FixtureType)
- func GetUpdateMutatorUnlockedPartFixtureByCode(ctx context.Context, Code string) (fxt octopus.FixtureType)
- func GetUpdatePromoperiodsByID(ID string) *promoperiods.Promoperiods
- func GetUpdatePromoperiodsFixtureByID(ctx context.Context, ID string, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func GetUpdateRewardByCode(Code string) *reward.Reward
- func GetUpdateRewardFixtureByCode(ctx context.Context, Code string, ...) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func PromoperiodsStoreIterator() func(it func(any) error) error
- func RewardStoreIterator() func(it func(any) error) error
- type ArObjBuildableFixture
- func (bf ArObjBuildableFixture) Build(ctx context.Context) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func (bf ArObjBuildableFixture) OnUpdate(trigger func([]octopus.FixtureType) []octopus.FixtureType) ArObjBuildableFixture
- func (bf ArObjBuildableFixture) WithUpdatedAnotherID(val int32) ArObjBuildableFixture
- func (bf ArObjBuildableFixture) WithUpdatedFlags(val uint32) ArObjBuildableFixture
- func (bf ArObjBuildableFixture) WithUpdatedName(val string) ArObjBuildableFixture
- func (bf ArObjBuildableFixture) WithUpdatedType(val string) ArObjBuildableFixture
- type ArObjBySelectByIDMocker
- func (m ArObjBySelectByIDMocker) ByFixtureID(ctx context.Context, IDs ...int32) octopus.FixtureType
- func (m ArObjBySelectByIDMocker) ByFixturePKWithKeys(ctx context.Context, IDs []int32, keys []int32) octopus.FixtureType
- func (m ArObjBySelectByIDMocker) ByKeysMocks(ctx context.Context, keys []int32, mocks []octopus.MockEntities) octopus.FixtureType
- func (m ArObjBySelectByIDMocker) EmptyByKeys(ctx context.Context, keys ...int32) octopus.FixtureType
- type ArObjBySelectByTypeIDMocker
- func (m ArObjBySelectByTypeIDMocker) ByFixtureID(ctx context.Context, IDs ...int32) octopus.FixtureType
- func (m ArObjBySelectByTypeIDMocker) ByFixturePKWithKeys(ctx context.Context, IDs []int32, keys []arobj.TypeIDIndexType) octopus.FixtureType
- func (m ArObjBySelectByTypeIDMocker) ByKeysMocks(ctx context.Context, keys []arobj.TypeIDIndexType, ...) octopus.FixtureType
- func (m ArObjBySelectByTypeIDMocker) EmptyByKeys(ctx context.Context, keys ...arobj.TypeIDIndexType) octopus.FixtureType
- type ArObjBySelectByTypeMocker
- func (m ArObjBySelectByTypeMocker) ByFixtureID(ctx context.Context, IDs ...int32) octopus.FixtureType
- func (m ArObjBySelectByTypeMocker) ByFixturePKWithKeys(ctx context.Context, IDs []int32, keys []string) octopus.FixtureType
- func (m ArObjBySelectByTypeMocker) ByKeysMocks(ctx context.Context, keys []string, mocks []octopus.MockEntities) octopus.FixtureType
- func (m ArObjBySelectByTypeMocker) EmptyByKeys(ctx context.Context, keys ...string) octopus.FixtureType
- type ArObjBySelectByTypePartMocker
- func (m ArObjBySelectByTypePartMocker) ByFixtureID(ctx context.Context, IDs ...int32) octopus.FixtureType
- func (m ArObjBySelectByTypePartMocker) ByFixturePKWithKeys(ctx context.Context, IDs []int32, keys []string) octopus.FixtureType
- func (m ArObjBySelectByTypePartMocker) ByKeysMocks(ctx context.Context, keys []string, mocks []octopus.MockEntities) octopus.FixtureType
- func (m ArObjBySelectByTypePartMocker) EmptyByKeys(ctx context.Context, keys ...string) octopus.FixtureType
- type BoolindexedBuildableFixture
- func (bf BoolindexedBuildableFixture) Build(ctx context.Context) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func (bf BoolindexedBuildableFixture) OnUpdate(trigger func([]octopus.FixtureType) []octopus.FixtureType) BoolindexedBuildableFixture
- func (bf BoolindexedBuildableFixture) WithUpdatedInvisible(val bool) BoolindexedBuildableFixture
- type BoolindexedBySelectByCodeMocker
- func (m BoolindexedBySelectByCodeMocker) ByFixtureCode(ctx context.Context, Codes ...string) octopus.FixtureType
- func (m BoolindexedBySelectByCodeMocker) ByFixturePKWithKeys(ctx context.Context, Codes []string, keys []string) octopus.FixtureType
- func (m BoolindexedBySelectByCodeMocker) ByKeysMocks(ctx context.Context, keys []string, mocks []octopus.MockEntities) octopus.FixtureType
- func (m BoolindexedBySelectByCodeMocker) EmptyByKeys(ctx context.Context, keys ...string) octopus.FixtureType
- type BoolindexedBySelectByInvisibleMocker
- func (m BoolindexedBySelectByInvisibleMocker) ByFixtureCode(ctx context.Context, Codes ...string) octopus.FixtureType
- func (m BoolindexedBySelectByInvisibleMocker) ByFixturePKWithKeys(ctx context.Context, Codes []string, keys []bool) octopus.FixtureType
- func (m BoolindexedBySelectByInvisibleMocker) ByKeysMocks(ctx context.Context, keys []bool, mocks []octopus.MockEntities) octopus.FixtureType
- func (m BoolindexedBySelectByInvisibleMocker) EmptyByKeys(ctx context.Context, keys ...bool) octopus.FixtureType
- type CategoryProcedureMocker
- type FooProcedureMocker
- type PromoperiodsBuildableFixture
- func (bf PromoperiodsBuildableFixture) Build(ctx context.Context) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func (bf PromoperiodsBuildableFixture) OnUpdate(trigger func([]octopus.FixtureType) []octopus.FixtureType) PromoperiodsBuildableFixture
- func (bf PromoperiodsBuildableFixture) WithUpdatedAction(val string) PromoperiodsBuildableFixture
- func (bf PromoperiodsBuildableFixture) WithUpdatedCode(val string) PromoperiodsBuildableFixture
- func (bf PromoperiodsBuildableFixture) WithUpdatedEmail(val string) PromoperiodsBuildableFixture
- func (bf PromoperiodsBuildableFixture) WithUpdatedFinish(val *dictionary.Product) PromoperiodsBuildableFixture
- func (bf PromoperiodsBuildableFixture) WithUpdatedPlanID(val int32) PromoperiodsBuildableFixture
- func (bf PromoperiodsBuildableFixture) WithUpdatedPlanType(val string) PromoperiodsBuildableFixture
- func (bf PromoperiodsBuildableFixture) WithUpdatedPlatform(val map[string]interface{}) PromoperiodsBuildableFixture
- func (bf PromoperiodsBuildableFixture) WithUpdatedPlatforms(val uint32) PromoperiodsBuildableFixture
- func (bf PromoperiodsBuildableFixture) WithUpdatedPrice(val float64) PromoperiodsBuildableFixture
- func (bf PromoperiodsBuildableFixture) WithUpdatedPromobunch(val uint32) PromoperiodsBuildableFixture
- func (bf PromoperiodsBuildableFixture) WithUpdatedStart(val int32) PromoperiodsBuildableFixture
- type PromoperiodsBySelectByCodeMocker
- func (m PromoperiodsBySelectByCodeMocker) ByFixtureID(ctx context.Context, IDs ...string) octopus.FixtureType
- func (m PromoperiodsBySelectByCodeMocker) ByFixturePKWithKeys(ctx context.Context, IDs []string, keys []string) octopus.FixtureType
- func (m PromoperiodsBySelectByCodeMocker) ByKeysMocks(ctx context.Context, keys []string, mocks []octopus.MockEntities) octopus.FixtureType
- func (m PromoperiodsBySelectByCodeMocker) EmptyByKeys(ctx context.Context, keys ...string) octopus.FixtureType
- type PromoperiodsBySelectByEmailActionMocker
- func (m PromoperiodsBySelectByEmailActionMocker) ByFixtureID(ctx context.Context, IDs ...string) octopus.FixtureType
- func (m PromoperiodsBySelectByEmailActionMocker) ByFixturePKWithKeys(ctx context.Context, IDs []string, keys []promoperiods.EmailActionIndexType) octopus.FixtureType
- func (m PromoperiodsBySelectByEmailActionMocker) ByKeysMocks(ctx context.Context, keys []promoperiods.EmailActionIndexType, ...) octopus.FixtureType
- func (m PromoperiodsBySelectByEmailActionMocker) EmptyByKeys(ctx context.Context, keys ...promoperiods.EmailActionIndexType) octopus.FixtureType
- type PromoperiodsBySelectByEmailCodeMocker
- func (m PromoperiodsBySelectByEmailCodeMocker) ByFixtureID(ctx context.Context, IDs ...string) octopus.FixtureType
- func (m PromoperiodsBySelectByEmailCodeMocker) ByFixturePKWithKeys(ctx context.Context, IDs []string, keys []promoperiods.EmailCodeIndexType) octopus.FixtureType
- func (m PromoperiodsBySelectByEmailCodeMocker) ByKeysMocks(ctx context.Context, keys []promoperiods.EmailCodeIndexType, ...) octopus.FixtureType
- func (m PromoperiodsBySelectByEmailCodeMocker) EmptyByKeys(ctx context.Context, keys ...promoperiods.EmailCodeIndexType) octopus.FixtureType
- type PromoperiodsBySelectByEmailMocker
- func (m PromoperiodsBySelectByEmailMocker) ByFixtureID(ctx context.Context, IDs ...string) octopus.FixtureType
- func (m PromoperiodsBySelectByEmailMocker) ByFixturePKWithKeys(ctx context.Context, IDs []string, keys []string) octopus.FixtureType
- func (m PromoperiodsBySelectByEmailMocker) ByKeysMocks(ctx context.Context, keys []string, mocks []octopus.MockEntities) octopus.FixtureType
- func (m PromoperiodsBySelectByEmailMocker) EmptyByKeys(ctx context.Context, keys ...string) octopus.FixtureType
- type PromoperiodsBySelectByEmailPartMocker
- func (m PromoperiodsBySelectByEmailPartMocker) ByFixtureID(ctx context.Context, IDs ...string) octopus.FixtureType
- func (m PromoperiodsBySelectByEmailPartMocker) ByFixturePKWithKeys(ctx context.Context, IDs []string, keys []string) octopus.FixtureType
- func (m PromoperiodsBySelectByEmailPartMocker) ByKeysMocks(ctx context.Context, keys []string, mocks []octopus.MockEntities) octopus.FixtureType
- func (m PromoperiodsBySelectByEmailPartMocker) EmptyByKeys(ctx context.Context, keys ...string) octopus.FixtureType
- type PromoperiodsBySelectByIDMocker
- func (m PromoperiodsBySelectByIDMocker) ByFixtureID(ctx context.Context, IDs ...string) octopus.FixtureType
- func (m PromoperiodsBySelectByIDMocker) ByFixturePKWithKeys(ctx context.Context, IDs []string, keys []string) octopus.FixtureType
- func (m PromoperiodsBySelectByIDMocker) ByKeysMocks(ctx context.Context, keys []string, mocks []octopus.MockEntities) octopus.FixtureType
- func (m PromoperiodsBySelectByIDMocker) EmptyByKeys(ctx context.Context, keys ...string) octopus.FixtureType
- type PromoperiodsBySelectByPlanTypePriceMocker
- func (m PromoperiodsBySelectByPlanTypePriceMocker) ByFixtureID(ctx context.Context, IDs ...string) octopus.FixtureType
- func (m PromoperiodsBySelectByPlanTypePriceMocker) ByFixturePKWithKeys(ctx context.Context, IDs []string, keys []promoperiods.PlanTypePriceIndexType) octopus.FixtureType
- func (m PromoperiodsBySelectByPlanTypePriceMocker) ByKeysMocks(ctx context.Context, keys []promoperiods.PlanTypePriceIndexType, ...) octopus.FixtureType
- func (m PromoperiodsBySelectByPlanTypePriceMocker) EmptyByKeys(ctx context.Context, keys ...promoperiods.PlanTypePriceIndexType) octopus.FixtureType
- type RewardBuildableFixture
- func (bf RewardBuildableFixture) Build(ctx context.Context) (fx octopus.FixtureType, promiseIsUsed func() bool)
- func (bf RewardBuildableFixture) OnUpdate(trigger func([]octopus.FixtureType) []octopus.FixtureType) RewardBuildableFixture
- func (bf RewardBuildableFixture) WithUpdatedDescription(val *string) RewardBuildableFixture
- func (bf RewardBuildableFixture) WithUpdatedExtra(val *ds.Extra) RewardBuildableFixture
- func (bf RewardBuildableFixture) WithUpdatedFlags(val map[string]interface{}) RewardBuildableFixture
- func (bf RewardBuildableFixture) WithUpdatedPartner(val string) RewardBuildableFixture
- func (bf RewardBuildableFixture) WithUpdatedServices(val *ds.Services) RewardBuildableFixture
- func (bf RewardBuildableFixture) WithUpdatedUnlocked(val ds.ServiceUnlocked) RewardBuildableFixture
- type RewardBySelectByCodeMocker
- func (m RewardBySelectByCodeMocker) ByFixtureCode(ctx context.Context, Codes ...string) octopus.FixtureType
- func (m RewardBySelectByCodeMocker) ByFixturePKWithKeys(ctx context.Context, Codes []string, keys []string) octopus.FixtureType
- func (m RewardBySelectByCodeMocker) ByKeysMocks(ctx context.Context, keys []string, mocks []octopus.MockEntities) octopus.FixtureType
- func (m RewardBySelectByCodeMocker) EmptyByKeys(ctx context.Context, keys ...string) octopus.FixtureType
- type RewardBySelectByPartnerMocker
- func (m RewardBySelectByPartnerMocker) ByFixtureCode(ctx context.Context, Codes ...string) octopus.FixtureType
- func (m RewardBySelectByPartnerMocker) ByFixturePKWithKeys(ctx context.Context, Codes []string, keys []string) octopus.FixtureType
- func (m RewardBySelectByPartnerMocker) ByKeysMocks(ctx context.Context, keys []string, mocks []octopus.MockEntities) octopus.FixtureType
- func (m RewardBySelectByPartnerMocker) EmptyByKeys(ctx context.Context, keys ...string) octopus.FixtureType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArObjStoreIterator ¶
func GetArObjByID ¶
func GetBoolindexedByCode ¶
func GetBoolindexedByCode(Code string) *boolindexed.Boolindexed
func GetCategoryByParams ¶
func GetCategoryByParams(params category.CategoryParams) *category.Category
func GetDeleteArObjFixtureByPrimaryKey ¶
func GetDeleteArObjFixtureByPrimaryKey(ctx context.Context, pk int32, trigger func(types []octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetDeleteBoolindexedFixtureByPrimaryKey ¶
func GetDeleteBoolindexedFixtureByPrimaryKey(ctx context.Context, pk string, trigger func(types []octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetDeletePromoperiodsFixtureByPrimaryKey ¶
func GetDeletePromoperiodsFixtureByPrimaryKey(ctx context.Context, pk string, trigger func(types []octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetDeleteRewardFixtureByPrimaryKey ¶
func GetDeleteRewardFixtureByPrimaryKey(ctx context.Context, pk string, trigger func(types []octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetInsertArObjFixtureByID ¶
func GetInsertArObjFixtureByID(ctx context.Context, ID int32, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetInsertArObjFixtureByModel ¶
func GetInsertArObjFixtureByModel(ctx context.Context, obj *arobj.ArObj, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetInsertBoolindexedFixtureByCode ¶
func GetInsertBoolindexedFixtureByCode(ctx context.Context, Code string, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetInsertBoolindexedFixtureByModel ¶
func GetInsertBoolindexedFixtureByModel(ctx context.Context, obj *boolindexed.Boolindexed, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetInsertOrReplaceArObjFixtureByID ¶
func GetInsertOrReplaceArObjFixtureByID(ctx context.Context, ID int32, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetInsertOrReplaceArObjFixtureByModel ¶
func GetInsertOrReplaceArObjFixtureByModel(ctx context.Context, obj *arobj.ArObj, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetInsertOrReplaceBoolindexedFixtureByCode ¶
func GetInsertOrReplaceBoolindexedFixtureByCode(ctx context.Context, Code string, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetInsertOrReplaceBoolindexedFixtureByModel ¶
func GetInsertOrReplaceBoolindexedFixtureByModel(ctx context.Context, obj *boolindexed.Boolindexed, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetInsertOrReplacePromoperiodsFixtureByID ¶
func GetInsertOrReplacePromoperiodsFixtureByID(ctx context.Context, ID string, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetInsertOrReplacePromoperiodsFixtureByModel ¶
func GetInsertOrReplacePromoperiodsFixtureByModel(ctx context.Context, obj *promoperiods.Promoperiods, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetInsertOrReplaceRewardFixtureByCode ¶
func GetInsertOrReplaceRewardFixtureByCode(ctx context.Context, Code string, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetInsertOrReplaceRewardFixtureByModel ¶
func GetInsertOrReplaceRewardFixtureByModel(ctx context.Context, obj *reward.Reward, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetInsertPromoperiodsFixtureByID ¶
func GetInsertPromoperiodsFixtureByID(ctx context.Context, ID string, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetInsertPromoperiodsFixtureByModel ¶
func GetInsertPromoperiodsFixtureByModel(ctx context.Context, obj *promoperiods.Promoperiods, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetInsertReplaceBoolindexedByCode ¶
func GetInsertReplaceBoolindexedByCode(Code string) *boolindexed.Boolindexed
func GetInsertReplacePromoperiodsByID ¶
func GetInsertReplacePromoperiodsByID(ID string) *promoperiods.Promoperiods
func GetInsertRewardFixtureByCode ¶
func GetInsertRewardFixtureByCode(ctx context.Context, Code string, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetInsertRewardFixtureByModel ¶
func GetInsertRewardFixtureByModel(ctx context.Context, obj *reward.Reward, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetPromoperiodsByID ¶
func GetPromoperiodsByID(ID string) *promoperiods.Promoperiods
func GetReplaceArObjFixtureByID ¶
func GetReplaceArObjFixtureByID(ctx context.Context, ID int32, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetReplaceArObjFixtureByModel ¶
func GetReplaceArObjFixtureByModel(ctx context.Context, obj *arobj.ArObj, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetReplaceBoolindexedFixtureByCode ¶
func GetReplaceBoolindexedFixtureByCode(ctx context.Context, Code string, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetReplaceBoolindexedFixtureByModel ¶
func GetReplaceBoolindexedFixtureByModel(ctx context.Context, obj *boolindexed.Boolindexed, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetReplacePromoperiodsFixtureByID ¶
func GetReplacePromoperiodsFixtureByID(ctx context.Context, ID string, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetReplacePromoperiodsFixtureByModel ¶
func GetReplacePromoperiodsFixtureByModel(ctx context.Context, obj *promoperiods.Promoperiods, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetReplaceRewardFixtureByCode ¶
func GetReplaceRewardFixtureByCode(ctx context.Context, Code string, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetReplaceRewardFixtureByModel ¶
func GetReplaceRewardFixtureByModel(ctx context.Context, obj *reward.Reward, trigger func([]octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetRewardByCode ¶
func GetUpdateArObjByID ¶
func GetUpdateArObjFixtureByID ¶
func GetUpdateArObjFixtureByID(ctx context.Context, ID int32, trigger func(types []octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetUpdateBoolindexedByCode ¶
func GetUpdateBoolindexedByCode(Code string) *boolindexed.Boolindexed
func GetUpdateBoolindexedFixtureByCode ¶
func GetUpdateBoolindexedFixtureByCode(ctx context.Context, Code string, trigger func(types []octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetUpdateMutatorExtraPartFixtureByCode ¶
func GetUpdateMutatorExtraPartFixtureByCode(ctx context.Context, Code string) (fxt octopus.FixtureType)
Нужно доработать, т.к. пока из файла репозитория фикстур update.yaml нельзя выборочно устанавливать значения частично обновляемого поля Все неустановленные поля будут проинициализированы дефолтными значениями
func GetUpdateMutatorPartnerFixtureByCode ¶
func GetUpdateMutatorPartnerFixtureByCode(ctx context.Context, Code string) (fxt octopus.FixtureType)
Нужно доработать, т.к. пока из файла репозитория фикстур update.yaml нельзя выборочно устанавливать значения частично обновляемого поля Все неустановленные поля будут проинициализированы дефолтными значениями
func GetUpdateMutatorUnlockedPartFixtureByCode ¶
func GetUpdateMutatorUnlockedPartFixtureByCode(ctx context.Context, Code string) (fxt octopus.FixtureType)
Нужно доработать, т.к. пока из файла репозитория фикстур update.yaml нельзя выборочно устанавливать значения частично обновляемого поля Все неустановленные поля будут проинициализированы дефолтными значениями
func GetUpdatePromoperiodsByID ¶
func GetUpdatePromoperiodsByID(ID string) *promoperiods.Promoperiods
func GetUpdatePromoperiodsFixtureByID ¶
func GetUpdatePromoperiodsFixtureByID(ctx context.Context, ID string, trigger func(types []octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func GetUpdateRewardByCode ¶
func GetUpdateRewardFixtureByCode ¶
func GetUpdateRewardFixtureByCode(ctx context.Context, Code string, trigger func(types []octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)
func RewardStoreIterator ¶
Types ¶
type ArObjBuildableFixture ¶
type ArObjBuildableFixture struct { PrimaryKey int32 // ID // contains filtered or unexported fields }
func UpdateArObjFixture ¶
func UpdateArObjFixture(ID int32) ArObjBuildableFixture
func (ArObjBuildableFixture) Build ¶
func (bf ArObjBuildableFixture) Build(ctx context.Context) (fx octopus.FixtureType, promiseIsUsed func() bool)
func (ArObjBuildableFixture) OnUpdate ¶
func (bf ArObjBuildableFixture) OnUpdate(trigger func([]octopus.FixtureType) []octopus.FixtureType) ArObjBuildableFixture
func (ArObjBuildableFixture) WithUpdatedAnotherID ¶
func (bf ArObjBuildableFixture) WithUpdatedAnotherID(val int32) ArObjBuildableFixture
func (ArObjBuildableFixture) WithUpdatedFlags ¶
func (bf ArObjBuildableFixture) WithUpdatedFlags(val uint32) ArObjBuildableFixture
func (ArObjBuildableFixture) WithUpdatedName ¶
func (bf ArObjBuildableFixture) WithUpdatedName(val string) ArObjBuildableFixture
func (ArObjBuildableFixture) WithUpdatedType ¶
func (bf ArObjBuildableFixture) WithUpdatedType(val string) ArObjBuildableFixture
type ArObjBySelectByIDMocker ¶
type ArObjBySelectByIDMocker struct { }
func GetArObjByIDMocker ¶
func GetArObjByIDMocker() ArObjBySelectByIDMocker
func (ArObjBySelectByIDMocker) ByFixtureID ¶
func (m ArObjBySelectByIDMocker) ByFixtureID(ctx context.Context, IDs ...int32) octopus.FixtureType
func (ArObjBySelectByIDMocker) ByFixturePKWithKeys ¶
func (m ArObjBySelectByIDMocker) ByFixturePKWithKeys(ctx context.Context, IDs []int32, keys []int32) octopus.FixtureType
func (ArObjBySelectByIDMocker) ByKeysMocks ¶
func (m ArObjBySelectByIDMocker) ByKeysMocks(ctx context.Context, keys []int32, mocks []octopus.MockEntities) octopus.FixtureType
func (ArObjBySelectByIDMocker) EmptyByKeys ¶
func (m ArObjBySelectByIDMocker) EmptyByKeys(ctx context.Context, keys ...int32) octopus.FixtureType
type ArObjBySelectByTypeIDMocker ¶
type ArObjBySelectByTypeIDMocker struct { }
func GetArObjByTypeIDMocker ¶
func GetArObjByTypeIDMocker() ArObjBySelectByTypeIDMocker
func (ArObjBySelectByTypeIDMocker) ByFixtureID ¶
func (m ArObjBySelectByTypeIDMocker) ByFixtureID(ctx context.Context, IDs ...int32) octopus.FixtureType
func (ArObjBySelectByTypeIDMocker) ByFixturePKWithKeys ¶
func (m ArObjBySelectByTypeIDMocker) ByFixturePKWithKeys(ctx context.Context, IDs []int32, keys []arobj.TypeIDIndexType) octopus.FixtureType
func (ArObjBySelectByTypeIDMocker) ByKeysMocks ¶
func (m ArObjBySelectByTypeIDMocker) ByKeysMocks(ctx context.Context, keys []arobj.TypeIDIndexType, mocks []octopus.MockEntities) octopus.FixtureType
func (ArObjBySelectByTypeIDMocker) EmptyByKeys ¶
func (m ArObjBySelectByTypeIDMocker) EmptyByKeys(ctx context.Context, keys ...arobj.TypeIDIndexType) octopus.FixtureType
type ArObjBySelectByTypeMocker ¶
type ArObjBySelectByTypeMocker struct {
// contains filtered or unexported fields
}
func GetArObjByTypeMocker ¶
func GetArObjByTypeMocker(limiter activerecord.SelectorLimiter) ArObjBySelectByTypeMocker
func (ArObjBySelectByTypeMocker) ByFixtureID ¶
func (m ArObjBySelectByTypeMocker) ByFixtureID(ctx context.Context, IDs ...int32) octopus.FixtureType
func (ArObjBySelectByTypeMocker) ByFixturePKWithKeys ¶
func (m ArObjBySelectByTypeMocker) ByFixturePKWithKeys(ctx context.Context, IDs []int32, keys []string) octopus.FixtureType
func (ArObjBySelectByTypeMocker) ByKeysMocks ¶
func (m ArObjBySelectByTypeMocker) ByKeysMocks(ctx context.Context, keys []string, mocks []octopus.MockEntities) octopus.FixtureType
func (ArObjBySelectByTypeMocker) EmptyByKeys ¶
func (m ArObjBySelectByTypeMocker) EmptyByKeys(ctx context.Context, keys ...string) octopus.FixtureType
type ArObjBySelectByTypePartMocker ¶
type ArObjBySelectByTypePartMocker struct {
// contains filtered or unexported fields
}
func GetArObjByTypePartMocker ¶
func GetArObjByTypePartMocker(limiter activerecord.SelectorLimiter) ArObjBySelectByTypePartMocker
func (ArObjBySelectByTypePartMocker) ByFixtureID ¶
func (m ArObjBySelectByTypePartMocker) ByFixtureID(ctx context.Context, IDs ...int32) octopus.FixtureType
func (ArObjBySelectByTypePartMocker) ByFixturePKWithKeys ¶
func (m ArObjBySelectByTypePartMocker) ByFixturePKWithKeys(ctx context.Context, IDs []int32, keys []string) octopus.FixtureType
func (ArObjBySelectByTypePartMocker) ByKeysMocks ¶
func (m ArObjBySelectByTypePartMocker) ByKeysMocks(ctx context.Context, keys []string, mocks []octopus.MockEntities) octopus.FixtureType
func (ArObjBySelectByTypePartMocker) EmptyByKeys ¶
func (m ArObjBySelectByTypePartMocker) EmptyByKeys(ctx context.Context, keys ...string) octopus.FixtureType
type BoolindexedBuildableFixture ¶
type BoolindexedBuildableFixture struct { PrimaryKey string // Code // contains filtered or unexported fields }
func UpdateBoolindexedFixture ¶
func UpdateBoolindexedFixture(Code string) BoolindexedBuildableFixture
func (BoolindexedBuildableFixture) Build ¶
func (bf BoolindexedBuildableFixture) Build(ctx context.Context) (fx octopus.FixtureType, promiseIsUsed func() bool)
func (BoolindexedBuildableFixture) OnUpdate ¶
func (bf BoolindexedBuildableFixture) OnUpdate(trigger func([]octopus.FixtureType) []octopus.FixtureType) BoolindexedBuildableFixture
func (BoolindexedBuildableFixture) WithUpdatedInvisible ¶
func (bf BoolindexedBuildableFixture) WithUpdatedInvisible(val bool) BoolindexedBuildableFixture
type BoolindexedBySelectByCodeMocker ¶
type BoolindexedBySelectByCodeMocker struct { }
func GetBoolindexedByCodeMocker ¶
func GetBoolindexedByCodeMocker() BoolindexedBySelectByCodeMocker
func (BoolindexedBySelectByCodeMocker) ByFixtureCode ¶
func (m BoolindexedBySelectByCodeMocker) ByFixtureCode(ctx context.Context, Codes ...string) octopus.FixtureType
func (BoolindexedBySelectByCodeMocker) ByFixturePKWithKeys ¶
func (m BoolindexedBySelectByCodeMocker) ByFixturePKWithKeys(ctx context.Context, Codes []string, keys []string) octopus.FixtureType
func (BoolindexedBySelectByCodeMocker) ByKeysMocks ¶
func (m BoolindexedBySelectByCodeMocker) ByKeysMocks(ctx context.Context, keys []string, mocks []octopus.MockEntities) octopus.FixtureType
func (BoolindexedBySelectByCodeMocker) EmptyByKeys ¶
func (m BoolindexedBySelectByCodeMocker) EmptyByKeys(ctx context.Context, keys ...string) octopus.FixtureType
type BoolindexedBySelectByInvisibleMocker ¶
type BoolindexedBySelectByInvisibleMocker struct {
// contains filtered or unexported fields
}
func GetBoolindexedByInvisibleMocker ¶
func GetBoolindexedByInvisibleMocker(limiter activerecord.SelectorLimiter) BoolindexedBySelectByInvisibleMocker
func (BoolindexedBySelectByInvisibleMocker) ByFixtureCode ¶
func (m BoolindexedBySelectByInvisibleMocker) ByFixtureCode(ctx context.Context, Codes ...string) octopus.FixtureType
func (BoolindexedBySelectByInvisibleMocker) ByFixturePKWithKeys ¶
func (m BoolindexedBySelectByInvisibleMocker) ByFixturePKWithKeys(ctx context.Context, Codes []string, keys []bool) octopus.FixtureType
func (BoolindexedBySelectByInvisibleMocker) ByKeysMocks ¶
func (m BoolindexedBySelectByInvisibleMocker) ByKeysMocks(ctx context.Context, keys []bool, mocks []octopus.MockEntities) octopus.FixtureType
func (BoolindexedBySelectByInvisibleMocker) EmptyByKeys ¶
func (m BoolindexedBySelectByInvisibleMocker) EmptyByKeys(ctx context.Context, keys ...bool) octopus.FixtureType
type CategoryProcedureMocker ¶
type CategoryProcedureMocker struct{}
func GetCategoryProcedureMocker ¶
func GetCategoryProcedureMocker() CategoryProcedureMocker
func (CategoryProcedureMocker) ByFixture ¶
func (m CategoryProcedureMocker) ByFixture(ctx context.Context) octopus.FixtureType
func (CategoryProcedureMocker) ByMocks ¶
func (m CategoryProcedureMocker) ByMocks(ctx context.Context, mocks []octopus.MockEntities) octopus.FixtureType
type FooProcedureMocker ¶
type FooProcedureMocker struct{}
func GetFooProcedureMocker ¶
func GetFooProcedureMocker() FooProcedureMocker
func (FooProcedureMocker) ByFixtureParams ¶
func (m FooProcedureMocker) ByFixtureParams(ctx context.Context, params foo.FooParams) octopus.FixtureType
func (FooProcedureMocker) ByParamsMocks ¶
func (m FooProcedureMocker) ByParamsMocks(ctx context.Context, params foo.FooParams, mocks []octopus.MockEntities) octopus.FixtureType
type PromoperiodsBuildableFixture ¶
type PromoperiodsBuildableFixture struct { PrimaryKey string // ID // contains filtered or unexported fields }
func UpdatePromoperiodsFixture ¶
func UpdatePromoperiodsFixture(ID string) PromoperiodsBuildableFixture
func (PromoperiodsBuildableFixture) Build ¶
func (bf PromoperiodsBuildableFixture) Build(ctx context.Context) (fx octopus.FixtureType, promiseIsUsed func() bool)
func (PromoperiodsBuildableFixture) OnUpdate ¶
func (bf PromoperiodsBuildableFixture) OnUpdate(trigger func([]octopus.FixtureType) []octopus.FixtureType) PromoperiodsBuildableFixture
func (PromoperiodsBuildableFixture) WithUpdatedAction ¶
func (bf PromoperiodsBuildableFixture) WithUpdatedAction(val string) PromoperiodsBuildableFixture
func (PromoperiodsBuildableFixture) WithUpdatedCode ¶
func (bf PromoperiodsBuildableFixture) WithUpdatedCode(val string) PromoperiodsBuildableFixture
func (PromoperiodsBuildableFixture) WithUpdatedEmail ¶
func (bf PromoperiodsBuildableFixture) WithUpdatedEmail(val string) PromoperiodsBuildableFixture
func (PromoperiodsBuildableFixture) WithUpdatedFinish ¶
func (bf PromoperiodsBuildableFixture) WithUpdatedFinish(val *dictionary.Product) PromoperiodsBuildableFixture
func (PromoperiodsBuildableFixture) WithUpdatedPlanID ¶
func (bf PromoperiodsBuildableFixture) WithUpdatedPlanID(val int32) PromoperiodsBuildableFixture
func (PromoperiodsBuildableFixture) WithUpdatedPlanType ¶
func (bf PromoperiodsBuildableFixture) WithUpdatedPlanType(val string) PromoperiodsBuildableFixture
func (PromoperiodsBuildableFixture) WithUpdatedPlatform ¶
func (bf PromoperiodsBuildableFixture) WithUpdatedPlatform(val map[string]interface{}) PromoperiodsBuildableFixture
func (PromoperiodsBuildableFixture) WithUpdatedPlatforms ¶
func (bf PromoperiodsBuildableFixture) WithUpdatedPlatforms(val uint32) PromoperiodsBuildableFixture
func (PromoperiodsBuildableFixture) WithUpdatedPrice ¶
func (bf PromoperiodsBuildableFixture) WithUpdatedPrice(val float64) PromoperiodsBuildableFixture
func (PromoperiodsBuildableFixture) WithUpdatedPromobunch ¶
func (bf PromoperiodsBuildableFixture) WithUpdatedPromobunch(val uint32) PromoperiodsBuildableFixture
func (PromoperiodsBuildableFixture) WithUpdatedStart ¶
func (bf PromoperiodsBuildableFixture) WithUpdatedStart(val int32) PromoperiodsBuildableFixture
type PromoperiodsBySelectByCodeMocker ¶
type PromoperiodsBySelectByCodeMocker struct {
// contains filtered or unexported fields
}
func GetPromoperiodsByCodeMocker ¶
func GetPromoperiodsByCodeMocker(limiter activerecord.SelectorLimiter) PromoperiodsBySelectByCodeMocker
func (PromoperiodsBySelectByCodeMocker) ByFixtureID ¶
func (m PromoperiodsBySelectByCodeMocker) ByFixtureID(ctx context.Context, IDs ...string) octopus.FixtureType
func (PromoperiodsBySelectByCodeMocker) ByFixturePKWithKeys ¶
func (m PromoperiodsBySelectByCodeMocker) ByFixturePKWithKeys(ctx context.Context, IDs []string, keys []string) octopus.FixtureType
func (PromoperiodsBySelectByCodeMocker) ByKeysMocks ¶
func (m PromoperiodsBySelectByCodeMocker) ByKeysMocks(ctx context.Context, keys []string, mocks []octopus.MockEntities) octopus.FixtureType
func (PromoperiodsBySelectByCodeMocker) EmptyByKeys ¶
func (m PromoperiodsBySelectByCodeMocker) EmptyByKeys(ctx context.Context, keys ...string) octopus.FixtureType
type PromoperiodsBySelectByEmailActionMocker ¶
type PromoperiodsBySelectByEmailActionMocker struct { }
func GetPromoperiodsByEmailActionMocker ¶
func GetPromoperiodsByEmailActionMocker() PromoperiodsBySelectByEmailActionMocker
func (PromoperiodsBySelectByEmailActionMocker) ByFixtureID ¶
func (m PromoperiodsBySelectByEmailActionMocker) ByFixtureID(ctx context.Context, IDs ...string) octopus.FixtureType
func (PromoperiodsBySelectByEmailActionMocker) ByFixturePKWithKeys ¶
func (m PromoperiodsBySelectByEmailActionMocker) ByFixturePKWithKeys(ctx context.Context, IDs []string, keys []promoperiods.EmailActionIndexType) octopus.FixtureType
func (PromoperiodsBySelectByEmailActionMocker) ByKeysMocks ¶
func (m PromoperiodsBySelectByEmailActionMocker) ByKeysMocks(ctx context.Context, keys []promoperiods.EmailActionIndexType, mocks []octopus.MockEntities) octopus.FixtureType
func (PromoperiodsBySelectByEmailActionMocker) EmptyByKeys ¶
func (m PromoperiodsBySelectByEmailActionMocker) EmptyByKeys(ctx context.Context, keys ...promoperiods.EmailActionIndexType) octopus.FixtureType
type PromoperiodsBySelectByEmailCodeMocker ¶
type PromoperiodsBySelectByEmailCodeMocker struct { }
func GetPromoperiodsByEmailCodeMocker ¶
func GetPromoperiodsByEmailCodeMocker() PromoperiodsBySelectByEmailCodeMocker
func (PromoperiodsBySelectByEmailCodeMocker) ByFixtureID ¶
func (m PromoperiodsBySelectByEmailCodeMocker) ByFixtureID(ctx context.Context, IDs ...string) octopus.FixtureType
func (PromoperiodsBySelectByEmailCodeMocker) ByFixturePKWithKeys ¶
func (m PromoperiodsBySelectByEmailCodeMocker) ByFixturePKWithKeys(ctx context.Context, IDs []string, keys []promoperiods.EmailCodeIndexType) octopus.FixtureType
func (PromoperiodsBySelectByEmailCodeMocker) ByKeysMocks ¶
func (m PromoperiodsBySelectByEmailCodeMocker) ByKeysMocks(ctx context.Context, keys []promoperiods.EmailCodeIndexType, mocks []octopus.MockEntities) octopus.FixtureType
func (PromoperiodsBySelectByEmailCodeMocker) EmptyByKeys ¶
func (m PromoperiodsBySelectByEmailCodeMocker) EmptyByKeys(ctx context.Context, keys ...promoperiods.EmailCodeIndexType) octopus.FixtureType
type PromoperiodsBySelectByEmailMocker ¶
type PromoperiodsBySelectByEmailMocker struct {
// contains filtered or unexported fields
}
func GetPromoperiodsByEmailMocker ¶
func GetPromoperiodsByEmailMocker(limiter activerecord.SelectorLimiter) PromoperiodsBySelectByEmailMocker
func (PromoperiodsBySelectByEmailMocker) ByFixtureID ¶
func (m PromoperiodsBySelectByEmailMocker) ByFixtureID(ctx context.Context, IDs ...string) octopus.FixtureType
func (PromoperiodsBySelectByEmailMocker) ByFixturePKWithKeys ¶
func (m PromoperiodsBySelectByEmailMocker) ByFixturePKWithKeys(ctx context.Context, IDs []string, keys []string) octopus.FixtureType
func (PromoperiodsBySelectByEmailMocker) ByKeysMocks ¶
func (m PromoperiodsBySelectByEmailMocker) ByKeysMocks(ctx context.Context, keys []string, mocks []octopus.MockEntities) octopus.FixtureType
func (PromoperiodsBySelectByEmailMocker) EmptyByKeys ¶
func (m PromoperiodsBySelectByEmailMocker) EmptyByKeys(ctx context.Context, keys ...string) octopus.FixtureType
type PromoperiodsBySelectByEmailPartMocker ¶
type PromoperiodsBySelectByEmailPartMocker struct {
// contains filtered or unexported fields
}
func GetPromoperiodsByEmailPartMocker ¶
func GetPromoperiodsByEmailPartMocker(limiter activerecord.SelectorLimiter) PromoperiodsBySelectByEmailPartMocker
func (PromoperiodsBySelectByEmailPartMocker) ByFixtureID ¶
func (m PromoperiodsBySelectByEmailPartMocker) ByFixtureID(ctx context.Context, IDs ...string) octopus.FixtureType
func (PromoperiodsBySelectByEmailPartMocker) ByFixturePKWithKeys ¶
func (m PromoperiodsBySelectByEmailPartMocker) ByFixturePKWithKeys(ctx context.Context, IDs []string, keys []string) octopus.FixtureType
func (PromoperiodsBySelectByEmailPartMocker) ByKeysMocks ¶
func (m PromoperiodsBySelectByEmailPartMocker) ByKeysMocks(ctx context.Context, keys []string, mocks []octopus.MockEntities) octopus.FixtureType
func (PromoperiodsBySelectByEmailPartMocker) EmptyByKeys ¶
func (m PromoperiodsBySelectByEmailPartMocker) EmptyByKeys(ctx context.Context, keys ...string) octopus.FixtureType
type PromoperiodsBySelectByIDMocker ¶
type PromoperiodsBySelectByIDMocker struct { }
func GetPromoperiodsByIDMocker ¶
func GetPromoperiodsByIDMocker() PromoperiodsBySelectByIDMocker
func (PromoperiodsBySelectByIDMocker) ByFixtureID ¶
func (m PromoperiodsBySelectByIDMocker) ByFixtureID(ctx context.Context, IDs ...string) octopus.FixtureType
func (PromoperiodsBySelectByIDMocker) ByFixturePKWithKeys ¶
func (m PromoperiodsBySelectByIDMocker) ByFixturePKWithKeys(ctx context.Context, IDs []string, keys []string) octopus.FixtureType
func (PromoperiodsBySelectByIDMocker) ByKeysMocks ¶
func (m PromoperiodsBySelectByIDMocker) ByKeysMocks(ctx context.Context, keys []string, mocks []octopus.MockEntities) octopus.FixtureType
func (PromoperiodsBySelectByIDMocker) EmptyByKeys ¶
func (m PromoperiodsBySelectByIDMocker) EmptyByKeys(ctx context.Context, keys ...string) octopus.FixtureType
type PromoperiodsBySelectByPlanTypePriceMocker ¶
type PromoperiodsBySelectByPlanTypePriceMocker struct { }
func GetPromoperiodsByPlanTypePriceMocker ¶
func GetPromoperiodsByPlanTypePriceMocker() PromoperiodsBySelectByPlanTypePriceMocker
func (PromoperiodsBySelectByPlanTypePriceMocker) ByFixtureID ¶
func (m PromoperiodsBySelectByPlanTypePriceMocker) ByFixtureID(ctx context.Context, IDs ...string) octopus.FixtureType
func (PromoperiodsBySelectByPlanTypePriceMocker) ByFixturePKWithKeys ¶
func (m PromoperiodsBySelectByPlanTypePriceMocker) ByFixturePKWithKeys(ctx context.Context, IDs []string, keys []promoperiods.PlanTypePriceIndexType) octopus.FixtureType
func (PromoperiodsBySelectByPlanTypePriceMocker) ByKeysMocks ¶
func (m PromoperiodsBySelectByPlanTypePriceMocker) ByKeysMocks(ctx context.Context, keys []promoperiods.PlanTypePriceIndexType, mocks []octopus.MockEntities) octopus.FixtureType
func (PromoperiodsBySelectByPlanTypePriceMocker) EmptyByKeys ¶
func (m PromoperiodsBySelectByPlanTypePriceMocker) EmptyByKeys(ctx context.Context, keys ...promoperiods.PlanTypePriceIndexType) octopus.FixtureType
type RewardBuildableFixture ¶
type RewardBuildableFixture struct { PrimaryKey string // Code // contains filtered or unexported fields }
func UpdateRewardFixture ¶
func UpdateRewardFixture(Code string) RewardBuildableFixture
func (RewardBuildableFixture) Build ¶
func (bf RewardBuildableFixture) Build(ctx context.Context) (fx octopus.FixtureType, promiseIsUsed func() bool)
func (RewardBuildableFixture) OnUpdate ¶
func (bf RewardBuildableFixture) OnUpdate(trigger func([]octopus.FixtureType) []octopus.FixtureType) RewardBuildableFixture
func (RewardBuildableFixture) WithUpdatedDescription ¶
func (bf RewardBuildableFixture) WithUpdatedDescription(val *string) RewardBuildableFixture
func (RewardBuildableFixture) WithUpdatedExtra ¶
func (bf RewardBuildableFixture) WithUpdatedExtra(val *ds.Extra) RewardBuildableFixture
func (RewardBuildableFixture) WithUpdatedFlags ¶
func (bf RewardBuildableFixture) WithUpdatedFlags(val map[string]interface{}) RewardBuildableFixture
func (RewardBuildableFixture) WithUpdatedPartner ¶
func (bf RewardBuildableFixture) WithUpdatedPartner(val string) RewardBuildableFixture
func (RewardBuildableFixture) WithUpdatedServices ¶
func (bf RewardBuildableFixture) WithUpdatedServices(val *ds.Services) RewardBuildableFixture
func (RewardBuildableFixture) WithUpdatedUnlocked ¶
func (bf RewardBuildableFixture) WithUpdatedUnlocked(val ds.ServiceUnlocked) RewardBuildableFixture
type RewardBySelectByCodeMocker ¶
type RewardBySelectByCodeMocker struct { }
func GetRewardByCodeMocker ¶
func GetRewardByCodeMocker() RewardBySelectByCodeMocker
func (RewardBySelectByCodeMocker) ByFixtureCode ¶
func (m RewardBySelectByCodeMocker) ByFixtureCode(ctx context.Context, Codes ...string) octopus.FixtureType
func (RewardBySelectByCodeMocker) ByFixturePKWithKeys ¶
func (m RewardBySelectByCodeMocker) ByFixturePKWithKeys(ctx context.Context, Codes []string, keys []string) octopus.FixtureType
func (RewardBySelectByCodeMocker) ByKeysMocks ¶
func (m RewardBySelectByCodeMocker) ByKeysMocks(ctx context.Context, keys []string, mocks []octopus.MockEntities) octopus.FixtureType
func (RewardBySelectByCodeMocker) EmptyByKeys ¶
func (m RewardBySelectByCodeMocker) EmptyByKeys(ctx context.Context, keys ...string) octopus.FixtureType
type RewardBySelectByPartnerMocker ¶
type RewardBySelectByPartnerMocker struct {
// contains filtered or unexported fields
}
func GetRewardByPartnerMocker ¶
func GetRewardByPartnerMocker(limiter activerecord.SelectorLimiter) RewardBySelectByPartnerMocker
func (RewardBySelectByPartnerMocker) ByFixtureCode ¶
func (m RewardBySelectByPartnerMocker) ByFixtureCode(ctx context.Context, Codes ...string) octopus.FixtureType
func (RewardBySelectByPartnerMocker) ByFixturePKWithKeys ¶
func (m RewardBySelectByPartnerMocker) ByFixturePKWithKeys(ctx context.Context, Codes []string, keys []string) octopus.FixtureType
func (RewardBySelectByPartnerMocker) ByKeysMocks ¶
func (m RewardBySelectByPartnerMocker) ByKeysMocks(ctx context.Context, keys []string, mocks []octopus.MockEntities) octopus.FixtureType
func (RewardBySelectByPartnerMocker) EmptyByKeys ¶
func (m RewardBySelectByPartnerMocker) EmptyByKeys(ctx context.Context, keys ...string) octopus.FixtureType