reliableChanges

package
v0.0.0-...-c5940aa Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(s []*CronExpression, e string) int

Types

type ChangeCron

type ChangeCron struct {
	CronID    uint `gorm:"primaryKey"`
	RChangeID uint `gorm:"primaryKey"`
	Notified  bool
	CreatedAt time.Time
	UpdatedAt time.Time
	DeletedAt *time.Time `sql:"index"`
}

type CronExpression

type CronExpression struct {
	gorm.Model
	Exrpression     string
	ReliableChanges []*ReliableChange `gorm:"many2many:change_crons;"`
}

type ReliableChange

type ReliableChange struct {
	gorm.Model
	TypoDomain string
	Field      string
	Before     string
	After      string
	Crons      []*CronExpression `gorm:"many2many:change_crons;"`
}

type ReliableChangeList

type ReliableChangeList []ReliableChange

func (ReliableChangeList) ToTables

func (tdcs ReliableChangeList) ToTables() (headersAvailability []string, datasStatus [][]string, headersWhois []string, datasWhois [][]string)

Jump to

Keyboard shortcuts

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