Documentation ¶
Overview ¶
Package factory contains factories for creating test objects in the repository
Index ¶
- func TruncateTables(db *sql.DB)
- type CharacterSectionStatusParams
- type Factory
- func (f Factory) CreateCharacter(args ...storage.UpdateOrCreateCharacterParams) *app.Character
- func (f Factory) CreateCharacterAsset(args ...storage.CreateCharacterAssetParams) *app.CharacterAsset
- func (f Factory) CreateCharacterAttributes(args ...storage.UpdateOrCreateCharacterAttributesParams) *app.CharacterAttributes
- func (f Factory) CreateCharacterImplant(args ...storage.CreateCharacterImplantParams) *app.CharacterImplant
- func (f Factory) CreateCharacterJumpClone(args ...storage.CreateCharacterJumpCloneParams) *app.CharacterJumpClone
- func (f Factory) CreateCharacterMail(args ...storage.CreateCharacterMailParams) *app.CharacterMail
- func (f Factory) CreateCharacterMailLabel(args ...app.CharacterMailLabel) *app.CharacterMailLabel
- func (f Factory) CreateCharacterMailList(characterID int32, args ...app.EveEntity) *app.EveEntity
- func (f Factory) CreateCharacterNotification(args ...storage.CreateCharacterNotificationParams) *app.CharacterNotification
- func (f Factory) CreateCharacterSectionStatus(args ...CharacterSectionStatusParams) *app.CharacterSectionStatus
- func (f Factory) CreateCharacterSkill(args ...storage.UpdateOrCreateCharacterSkillParams) *app.CharacterSkill
- func (f Factory) CreateCharacterSkillqueueItem(args ...storage.SkillqueueItemParams) *app.CharacterSkillqueueItem
- func (f Factory) CreateCharacterToken(args ...app.CharacterToken) *app.CharacterToken
- func (f Factory) CreateCharacterWalletJournalEntry(args ...storage.CreateCharacterWalletJournalEntryParams) *app.CharacterWalletJournalEntry
- func (f Factory) CreateCharacterWalletTransaction(args ...storage.CreateCharacterWalletTransactionParams) *app.CharacterWalletTransaction
- func (f Factory) CreateEveCategory(args ...storage.CreateEveCategoryParams) *app.EveCategory
- func (f Factory) CreateEveCharacter(args ...storage.CreateEveCharacterParams) *app.EveCharacter
- func (f Factory) CreateEveConstellation(args ...storage.CreateEveConstellationParams) *app.EveConstellation
- func (f Factory) CreateEveDogmaAttribute(args ...storage.CreateEveDogmaAttributeParams) *app.EveDogmaAttribute
- func (f Factory) CreateEveEntity(args ...app.EveEntity) *app.EveEntity
- func (f Factory) CreateEveEntityAlliance(args ...app.EveEntity) *app.EveEntity
- func (f Factory) CreateEveEntityCharacter(args ...app.EveEntity) *app.EveEntity
- func (f Factory) CreateEveEntityCorporation(args ...app.EveEntity) *app.EveEntity
- func (f Factory) CreateEveEntityInventoryType(args ...app.EveEntity) *app.EveEntity
- func (f Factory) CreateEveEntitySolarSystem(args ...app.EveEntity) *app.EveEntity
- func (f Factory) CreateEveGroup(args ...storage.CreateEveGroupParams) *app.EveGroup
- func (f Factory) CreateEveMarketPrice(args ...storage.UpdateOrCreateEveMarketPriceParams) *app.EveMarketPrice
- func (f Factory) CreateEveMoon(args ...storage.CreateEveMoonParams) *app.EveMoon
- func (f Factory) CreateEvePlanet(args ...storage.CreateEvePlanetParams) *app.EvePlanet
- func (f Factory) CreateEveRace(args ...app.EveRace) *app.EveRace
- func (f Factory) CreateEveRegion(args ...storage.CreateEveRegionParams) *app.EveRegion
- func (f Factory) CreateEveSolarSystem(args ...storage.CreateEveSolarSystemParams) *app.EveSolarSystem
- func (f Factory) CreateEveType(args ...storage.CreateEveTypeParams) *app.EveType
- func (f Factory) CreateEveTypeDogmaAttribute(args ...storage.CreateEveTypeDogmaAttributeParams)
- func (f Factory) CreateGeneralSectionStatus(args ...GeneralSectionStatusParams) *app.GeneralSectionStatus
- func (f Factory) CreateLocationStructure(args ...storage.UpdateOrCreateLocationParams) *app.EveLocation
- type GeneralSectionStatusParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TruncateTables ¶
TruncateTables will purge data from all tables. This is meant for tests.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func (Factory) CreateCharacter ¶
func (f Factory) CreateCharacter(args ...storage.UpdateOrCreateCharacterParams) *app.Character
func (Factory) CreateCharacterAsset ¶
func (f Factory) CreateCharacterAsset(args ...storage.CreateCharacterAssetParams) *app.CharacterAsset
func (Factory) CreateCharacterAttributes ¶
func (f Factory) CreateCharacterAttributes(args ...storage.UpdateOrCreateCharacterAttributesParams) *app.CharacterAttributes
func (Factory) CreateCharacterImplant ¶
func (f Factory) CreateCharacterImplant(args ...storage.CreateCharacterImplantParams) *app.CharacterImplant
func (Factory) CreateCharacterJumpClone ¶
func (f Factory) CreateCharacterJumpClone(args ...storage.CreateCharacterJumpCloneParams) *app.CharacterJumpClone
func (Factory) CreateCharacterMail ¶
func (f Factory) CreateCharacterMail(args ...storage.CreateCharacterMailParams) *app.CharacterMail
func (Factory) CreateCharacterMailLabel ¶
func (f Factory) CreateCharacterMailLabel(args ...app.CharacterMailLabel) *app.CharacterMailLabel
func (Factory) CreateCharacterMailList ¶
func (Factory) CreateCharacterNotification ¶
func (f Factory) CreateCharacterNotification(args ...storage.CreateCharacterNotificationParams) *app.CharacterNotification
func (Factory) CreateCharacterSectionStatus ¶
func (f Factory) CreateCharacterSectionStatus(args ...CharacterSectionStatusParams) *app.CharacterSectionStatus
func (Factory) CreateCharacterSkill ¶
func (f Factory) CreateCharacterSkill(args ...storage.UpdateOrCreateCharacterSkillParams) *app.CharacterSkill
func (Factory) CreateCharacterSkillqueueItem ¶
func (f Factory) CreateCharacterSkillqueueItem(args ...storage.SkillqueueItemParams) *app.CharacterSkillqueueItem
func (Factory) CreateCharacterToken ¶
func (f Factory) CreateCharacterToken(args ...app.CharacterToken) *app.CharacterToken
func (Factory) CreateCharacterWalletJournalEntry ¶
func (f Factory) CreateCharacterWalletJournalEntry(args ...storage.CreateCharacterWalletJournalEntryParams) *app.CharacterWalletJournalEntry
func (Factory) CreateCharacterWalletTransaction ¶
func (f Factory) CreateCharacterWalletTransaction(args ...storage.CreateCharacterWalletTransactionParams) *app.CharacterWalletTransaction
func (Factory) CreateEveCategory ¶
func (f Factory) CreateEveCategory(args ...storage.CreateEveCategoryParams) *app.EveCategory
func (Factory) CreateEveCharacter ¶
func (f Factory) CreateEveCharacter(args ...storage.CreateEveCharacterParams) *app.EveCharacter
func (Factory) CreateEveConstellation ¶
func (f Factory) CreateEveConstellation(args ...storage.CreateEveConstellationParams) *app.EveConstellation
func (Factory) CreateEveDogmaAttribute ¶
func (f Factory) CreateEveDogmaAttribute(args ...storage.CreateEveDogmaAttributeParams) *app.EveDogmaAttribute
func (Factory) CreateEveEntity ¶
func (Factory) CreateEveEntityAlliance ¶
func (Factory) CreateEveEntityCharacter ¶
func (Factory) CreateEveEntityCorporation ¶
func (Factory) CreateEveEntityInventoryType ¶
func (Factory) CreateEveEntitySolarSystem ¶
func (Factory) CreateEveGroup ¶
func (f Factory) CreateEveGroup(args ...storage.CreateEveGroupParams) *app.EveGroup
func (Factory) CreateEveMarketPrice ¶
func (f Factory) CreateEveMarketPrice(args ...storage.UpdateOrCreateEveMarketPriceParams) *app.EveMarketPrice
func (Factory) CreateEveMoon ¶
func (f Factory) CreateEveMoon(args ...storage.CreateEveMoonParams) *app.EveMoon
func (Factory) CreateEvePlanet ¶
func (f Factory) CreateEvePlanet(args ...storage.CreateEvePlanetParams) *app.EvePlanet
func (Factory) CreateEveRegion ¶
func (f Factory) CreateEveRegion(args ...storage.CreateEveRegionParams) *app.EveRegion
func (Factory) CreateEveSolarSystem ¶
func (f Factory) CreateEveSolarSystem(args ...storage.CreateEveSolarSystemParams) *app.EveSolarSystem
func (Factory) CreateEveType ¶
func (f Factory) CreateEveType(args ...storage.CreateEveTypeParams) *app.EveType
func (Factory) CreateEveTypeDogmaAttribute ¶
func (f Factory) CreateEveTypeDogmaAttribute(args ...storage.CreateEveTypeDogmaAttributeParams)
func (Factory) CreateGeneralSectionStatus ¶
func (f Factory) CreateGeneralSectionStatus(args ...GeneralSectionStatusParams) *app.GeneralSectionStatus
func (Factory) CreateLocationStructure ¶
func (f Factory) CreateLocationStructure(args ...storage.UpdateOrCreateLocationParams) *app.EveLocation
Click to show internal directories.
Click to hide internal directories.