scripts

package
v1.3.168 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ORMAlters

func ORMAlters() *service.DefinitionGlobal

func Seeder added in v0.8.55

func Seeder(seedsPerProject map[string][]Seed, ormService *beeorm.Engine, appService *app.App)

Types

type ClearExpiredGeocodingCache added in v1.3.28

type ClearExpiredGeocodingCache struct {
}

func (*ClearExpiredGeocodingCache) Description added in v1.3.28

func (script *ClearExpiredGeocodingCache) Description() string

func (*ClearExpiredGeocodingCache) Interval added in v1.3.28

func (script *ClearExpiredGeocodingCache) Interval() time.Duration

func (*ClearExpiredGeocodingCache) Run added in v1.3.28

func (script *ClearExpiredGeocodingCache) Run(_ context.Context, _ app.IExit, ormService *beeorm.Engine)

func (*ClearExpiredGeocodingCache) Unique added in v1.3.28

func (script *ClearExpiredGeocodingCache) Unique() bool

type DBSeedScript added in v0.8.55

type DBSeedScript struct {
	SeedsPerProject map[string][]Seed
}

func (*DBSeedScript) Description added in v0.8.55

func (script *DBSeedScript) Description() string

func (*DBSeedScript) Infinity added in v1.1.17

func (script *DBSeedScript) Infinity() bool

func (*DBSeedScript) Run added in v0.8.55

func (script *DBSeedScript) Run(_ context.Context, _ app.IExit, ormService *beeorm.Engine)

func (*DBSeedScript) Unique added in v0.8.55

func (script *DBSeedScript) Unique() bool

type ORMAltersScript

type ORMAltersScript struct {
}

func (*ORMAltersScript) Active

func (script *ORMAltersScript) Active() bool

func (*ORMAltersScript) Description

func (script *ORMAltersScript) Description() string

func (*ORMAltersScript) Run

func (script *ORMAltersScript) Run(_ context.Context, exit app.IExit, ormService *beeorm.Engine)

func (*ORMAltersScript) Unique

func (script *ORMAltersScript) Unique() bool

type RetryOTPConsumer added in v1.1.33

type RetryOTPConsumer struct {
}

func (*RetryOTPConsumer) Description added in v1.1.33

func (script *RetryOTPConsumer) Description() string

func (*RetryOTPConsumer) Infinity added in v1.1.33

func (script *RetryOTPConsumer) Infinity() bool

func (*RetryOTPConsumer) Run added in v1.1.33

func (script *RetryOTPConsumer) Run(ctx context.Context, _ app.IExit, ormService *beeorm.Engine)

func (*RetryOTPConsumer) Unique added in v1.1.33

func (script *RetryOTPConsumer) Unique() bool

type Seed added in v0.8.55

type Seed interface {
	Execute(*beeorm.Engine)
	Environments() []string
	Name() string
}

Jump to

Keyboard shortcuts

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