migrationscripts

package
v0.11.0-testdockerpush Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GithubConnection20220609

type GithubConnection20220609 struct {
	commonArchived.Model
	Name      string `gorm:"type:varchar(100);uniqueIndex" json:"name" validate:"required"`
	Endpoint  string `mapstructure:"endpoint" env:"GITHUB_ENDPOINT" validate:"required"`
	Proxy     string `mapstructure:"proxy" env:"GITHUB_PROXY"`
	RateLimit int    `comment:"api request rate limit per hour"`
	Token     string `mapstructure:"token" env:"GITHUB_AUTH" validate:"required" encrypt:"yes"`
}

func (GithubConnection20220609) TableName

func (GithubConnection20220609) TableName() string

type InitSchemas

type InitSchemas struct {
	// contains filtered or unexported fields
}

func (*InitSchemas) Name

func (*InitSchemas) Name() string

func (*InitSchemas) SetConfigGetter

func (u *InitSchemas) SetConfigGetter(config core.ConfigGetter)

func (*InitSchemas) Up

func (u *InitSchemas) Up(ctx context.Context, db *gorm.DB) error

func (*InitSchemas) Version

func (*InitSchemas) Version() uint64

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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