fixture

package
v0.0.0-...-6b8f104 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 15 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArObjStoreIterator

func ArObjStoreIterator() func(it func(any) error) error

func BoolindexedStoreIterator

func BoolindexedStoreIterator() func(it func(any) error) error

func GetArObjByID

func GetArObjByID(ID int32) *arobj.ArObj

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 GetFooByParams

func GetFooByParams(params foo.FooParams) *foo.Foo

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 GetInsertReplaceArObjByID

func GetInsertReplaceArObjByID(ID int32) *arobj.ArObj

func GetInsertReplaceBoolindexedByCode

func GetInsertReplaceBoolindexedByCode(Code string) *boolindexed.Boolindexed

func GetInsertReplacePromoperiodsByID

func GetInsertReplacePromoperiodsByID(ID string) *promoperiods.Promoperiods

func GetInsertReplaceRewardByCode

func GetInsertReplaceRewardByCode(Code string) *reward.Reward

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 GetRewardByCode(Code string) *reward.Reward

func GetUpdateArObjByID

func GetUpdateArObjByID(ID int32) *arobj.ArObj

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 GetUpdateRewardByCode(Code string) *reward.Reward

func GetUpdateRewardFixtureByCode

func GetUpdateRewardFixtureByCode(ctx context.Context, Code string, trigger func(types []octopus.FixtureType) []octopus.FixtureType) (fx octopus.FixtureType, promiseIsUsed func() bool)

func PromoperiodsStoreIterator

func PromoperiodsStoreIterator() func(it func(any) error) error

func RewardStoreIterator

func RewardStoreIterator() func(it func(any) error) error

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 (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 (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 (ArObjBySelectByTypeIDMocker) ByFixturePKWithKeys

func (m ArObjBySelectByTypeIDMocker) ByFixturePKWithKeys(ctx context.Context, IDs []int32, keys []arobj.TypeIDIndexType) octopus.FixtureType

func (ArObjBySelectByTypeIDMocker) ByKeysMocks

func (ArObjBySelectByTypeIDMocker) EmptyByKeys

type ArObjBySelectByTypeMocker

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

func (ArObjBySelectByTypeMocker) ByFixtureID

func (ArObjBySelectByTypeMocker) ByFixturePKWithKeys

func (m ArObjBySelectByTypeMocker) ByFixturePKWithKeys(ctx context.Context, IDs []int32, keys []string) octopus.FixtureType

func (ArObjBySelectByTypeMocker) ByKeysMocks

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 (ArObjBySelectByTypePartMocker) ByFixtureID

func (ArObjBySelectByTypePartMocker) ByFixturePKWithKeys

func (m ArObjBySelectByTypePartMocker) ByFixturePKWithKeys(ctx context.Context, IDs []int32, keys []string) octopus.FixtureType

func (ArObjBySelectByTypePartMocker) ByKeysMocks

func (ArObjBySelectByTypePartMocker) EmptyByKeys

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 (BoolindexedBuildableFixture) WithUpdatedInvisible

func (bf BoolindexedBuildableFixture) WithUpdatedInvisible(val bool) BoolindexedBuildableFixture

type BoolindexedBySelectByCodeMocker

type BoolindexedBySelectByCodeMocker struct {
}

func GetBoolindexedByCodeMocker

func GetBoolindexedByCodeMocker() BoolindexedBySelectByCodeMocker

func (BoolindexedBySelectByCodeMocker) ByFixtureCode

func (BoolindexedBySelectByCodeMocker) ByFixturePKWithKeys

func (m BoolindexedBySelectByCodeMocker) ByFixturePKWithKeys(ctx context.Context, Codes []string, keys []string) octopus.FixtureType

func (BoolindexedBySelectByCodeMocker) ByKeysMocks

func (BoolindexedBySelectByCodeMocker) EmptyByKeys

type BoolindexedBySelectByInvisibleMocker

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

func (BoolindexedBySelectByInvisibleMocker) ByFixtureCode

func (BoolindexedBySelectByInvisibleMocker) ByFixturePKWithKeys

func (m BoolindexedBySelectByInvisibleMocker) ByFixturePKWithKeys(ctx context.Context, Codes []string, keys []bool) octopus.FixtureType

func (BoolindexedBySelectByInvisibleMocker) ByKeysMocks

func (BoolindexedBySelectByInvisibleMocker) EmptyByKeys

type CategoryProcedureMocker

type CategoryProcedureMocker struct{}

func GetCategoryProcedureMocker

func GetCategoryProcedureMocker() CategoryProcedureMocker

func (CategoryProcedureMocker) ByFixture

func (CategoryProcedureMocker) ByMocks

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 (PromoperiodsBuildableFixture) WithUpdatedAction

func (PromoperiodsBuildableFixture) WithUpdatedCode

func (PromoperiodsBuildableFixture) WithUpdatedEmail

func (PromoperiodsBuildableFixture) WithUpdatedFinish

func (PromoperiodsBuildableFixture) WithUpdatedPlanID

func (PromoperiodsBuildableFixture) WithUpdatedPlanType

func (PromoperiodsBuildableFixture) WithUpdatedPlatform

func (bf PromoperiodsBuildableFixture) WithUpdatedPlatform(val map[string]interface{}) PromoperiodsBuildableFixture

func (PromoperiodsBuildableFixture) WithUpdatedPlatforms

func (PromoperiodsBuildableFixture) WithUpdatedPrice

func (PromoperiodsBuildableFixture) WithUpdatedPromobunch

func (PromoperiodsBuildableFixture) WithUpdatedStart

type PromoperiodsBySelectByCodeMocker

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

func (PromoperiodsBySelectByCodeMocker) ByFixtureID

func (PromoperiodsBySelectByCodeMocker) ByFixturePKWithKeys

func (m PromoperiodsBySelectByCodeMocker) ByFixturePKWithKeys(ctx context.Context, IDs []string, keys []string) octopus.FixtureType

func (PromoperiodsBySelectByCodeMocker) ByKeysMocks

func (PromoperiodsBySelectByCodeMocker) EmptyByKeys

type PromoperiodsBySelectByEmailActionMocker

type PromoperiodsBySelectByEmailActionMocker struct {
}

func GetPromoperiodsByEmailActionMocker

func GetPromoperiodsByEmailActionMocker() PromoperiodsBySelectByEmailActionMocker

func (PromoperiodsBySelectByEmailActionMocker) ByFixtureID

func (PromoperiodsBySelectByEmailActionMocker) ByFixturePKWithKeys

func (PromoperiodsBySelectByEmailActionMocker) ByKeysMocks

func (PromoperiodsBySelectByEmailActionMocker) EmptyByKeys

type PromoperiodsBySelectByEmailCodeMocker

type PromoperiodsBySelectByEmailCodeMocker struct {
}

func GetPromoperiodsByEmailCodeMocker

func GetPromoperiodsByEmailCodeMocker() PromoperiodsBySelectByEmailCodeMocker

func (PromoperiodsBySelectByEmailCodeMocker) ByFixtureID

func (PromoperiodsBySelectByEmailCodeMocker) ByFixturePKWithKeys

func (PromoperiodsBySelectByEmailCodeMocker) ByKeysMocks

func (PromoperiodsBySelectByEmailCodeMocker) EmptyByKeys

type PromoperiodsBySelectByEmailMocker

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

func (PromoperiodsBySelectByEmailMocker) ByFixtureID

func (PromoperiodsBySelectByEmailMocker) ByFixturePKWithKeys

func (m PromoperiodsBySelectByEmailMocker) ByFixturePKWithKeys(ctx context.Context, IDs []string, keys []string) octopus.FixtureType

func (PromoperiodsBySelectByEmailMocker) ByKeysMocks

func (PromoperiodsBySelectByEmailMocker) EmptyByKeys

type PromoperiodsBySelectByEmailPartMocker

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

func (PromoperiodsBySelectByEmailPartMocker) ByFixtureID

func (PromoperiodsBySelectByEmailPartMocker) ByFixturePKWithKeys

func (m PromoperiodsBySelectByEmailPartMocker) ByFixturePKWithKeys(ctx context.Context, IDs []string, keys []string) octopus.FixtureType

func (PromoperiodsBySelectByEmailPartMocker) ByKeysMocks

func (PromoperiodsBySelectByEmailPartMocker) EmptyByKeys

type PromoperiodsBySelectByIDMocker

type PromoperiodsBySelectByIDMocker struct {
}

func GetPromoperiodsByIDMocker

func GetPromoperiodsByIDMocker() PromoperiodsBySelectByIDMocker

func (PromoperiodsBySelectByIDMocker) ByFixtureID

func (PromoperiodsBySelectByIDMocker) ByFixturePKWithKeys

func (m PromoperiodsBySelectByIDMocker) ByFixturePKWithKeys(ctx context.Context, IDs []string, keys []string) octopus.FixtureType

func (PromoperiodsBySelectByIDMocker) ByKeysMocks

func (PromoperiodsBySelectByIDMocker) EmptyByKeys

type PromoperiodsBySelectByPlanTypePriceMocker

type PromoperiodsBySelectByPlanTypePriceMocker struct {
}

func GetPromoperiodsByPlanTypePriceMocker

func GetPromoperiodsByPlanTypePriceMocker() PromoperiodsBySelectByPlanTypePriceMocker

func (PromoperiodsBySelectByPlanTypePriceMocker) ByFixtureID

func (PromoperiodsBySelectByPlanTypePriceMocker) ByFixturePKWithKeys

func (PromoperiodsBySelectByPlanTypePriceMocker) ByKeysMocks

func (PromoperiodsBySelectByPlanTypePriceMocker) EmptyByKeys

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 (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

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 (RewardBySelectByCodeMocker) EmptyByKeys

type RewardBySelectByPartnerMocker

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

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 (RewardBySelectByPartnerMocker) EmptyByKeys

Jump to

Keyboard shortcuts

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