scripts

package
v1.2.78 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 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 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)

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)

func (*ORMAltersScript) Unique

func (script *ORMAltersScript) Unique() bool

type RemoveExpiredGeocodingsScript added in v1.2.67

type RemoveExpiredGeocodingsScript struct {
}

func (*RemoveExpiredGeocodingsScript) Description added in v1.2.67

func (script *RemoveExpiredGeocodingsScript) Description() string

func (*RemoveExpiredGeocodingsScript) Interval added in v1.2.67

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

func (*RemoveExpiredGeocodingsScript) Run added in v1.2.67

func (*RemoveExpiredGeocodingsScript) Unique added in v1.2.67

func (script *RemoveExpiredGeocodingsScript) 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)

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