migrationscripts

package
v0.14.4-alpha1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const JiraConnectionV011 = "_tool_jira_connections"

Variables

This section is empty.

Functions

func All added in v0.12.0

func All() []migration.Script

All return all the migration scripts

Types

type InitSchemas

type InitSchemas struct{}

func (*InitSchemas) Name

func (*InitSchemas) Name() string

func (*InitSchemas) Up

func (*InitSchemas) Up(ctx context.Context, db *gorm.DB) errors.Error

func (*InitSchemas) Version

func (*InitSchemas) Version() uint64

type JiraConnectionNew added in v0.14.0

type JiraConnectionNew struct {
	archived.RestConnection `mapstructure:",squash"`
	archived.BasicAuth      `mapstructure:",squash"`
}

func (JiraConnectionNew) TableName added in v0.14.0

func (JiraConnectionNew) TableName() string

type JiraConnectionV010 added in v0.12.0

type JiraConnectionV010 struct {
	archived.Model
	Name                       string `gorm:"type:varchar(100);uniqueIndex" json:"name" validate:"required"`
	Endpoint                   string `json:"endpoint" validate:"required"`
	BasicAuthEncoded           string `json:"basicAuthEncoded" validate:"required"`
	EpicKeyField               string `gorm:"type:varchar(50);" json:"epicKeyField"`
	StoryPointField            string `gorm:"type:varchar(50);" json:"storyPointField"`
	RemotelinkCommitShaPattern string `` /* 179-byte string literal not displayed */
	Proxy                      string `json:"proxy"`
	RateLimit                  int    `comment:"api request rate limt per hour" json:"rateLimit"`
}

func (JiraConnectionV010) TableName added in v0.12.0

func (JiraConnectionV010) TableName() string

type JiraConnectionV011Old added in v0.14.0

type JiraConnectionV011Old struct {
	ID                         uint64    `gorm:"primaryKey" json:"id"`
	CreatedAt                  time.Time `json:"createdAt"`
	UpdatedAt                  time.Time `json:"updatedAt"`
	Name                       string    `gorm:"type:varchar(100);uniqueIndex" json:"name" validate:"required"`
	Endpoint                   string    `json:"endpoint" validate:"required"`
	BasicAuthEncoded           string    `json:"basicAuthEncoded" validate:"required"`
	EpicKeyField               string    `gorm:"type:varchar(50);" json:"epicKeyField"`
	StoryPointField            string    `gorm:"type:varchar(50);" json:"storyPointField"`
	RemotelinkCommitShaPattern string    `` /* 179-byte string literal not displayed */
	Proxy                      string    `json:"proxy"`
	RateLimit                  int       `comment:"api request rate limt per hour" json:"rateLimit"`
}

func (JiraConnectionV011Old) TableName added in v0.14.0

func (JiraConnectionV011Old) TableName() string

type JiraSource added in v0.14.0

type JiraSource struct {
	archived.Model
	Name                       string `gorm:"type:varchar(100);uniqueIndex" json:"name" validate:"required"`
	Endpoint                   string `json:"endpoint" validate:"required"`
	BasicAuthEncoded           string `json:"basicAuthEncoded" validate:"required"`
	EpicKeyField               string `gorm:"type:varchar(50);" json:"epicKeyField"`
	StoryPointField            string `gorm:"type:varchar(50);" json:"storyPointField"`
	RemotelinkCommitShaPattern string `` /* 179-byte string literal not displayed */
	Proxy                      string `json:"proxy"`
	RateLimit                  int    `comment:"api request rate limt per second"`
}

func (JiraSource) TableName added in v0.14.0

func (JiraSource) TableName() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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