migrationscripts

package
v0.12.0-k8s-deployment... Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2022 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

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 GithubAccount20220713

type GithubAccount20220713 struct {
	Name    string `json:"name" gorm:"type:varchar(255)"`
	Company string `json:"company" gorm:"type:varchar(255)"`
	Email   string `json:"Email" gorm:"type:varchar(255)"`
}

func (GithubAccount20220713) TableName

func (GithubAccount20220713) TableName() string

type GithubAccountOrg20220713

type GithubAccountOrg20220713 struct {
	ConnectionId uint64 `gorm:"primaryKey"`
	AccountId    int    `gorm:"primaryKey;autoIncrement:false"`
	OrgId        int    `gorm:"primaryKey;autoIncrement:false"`
	OrgLogin     string `json:"org_login" gorm:"type:varchar(255)"`
	archived.NoPKModel
}

func (GithubAccountOrg20220713) TableName

func (GithubAccountOrg20220713) TableName() string

type GithubConnection

type GithubConnection 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"`
	RateLimitPerHour int    `comment:"api request rate limit per hour"`
	Token            string `mapstructure:"token" env:"GITHUB_AUTH" validate:"required" encrypt:"yes"`
}

func (GithubConnection) TableName

func (GithubConnection) TableName() string

type GithubRepoAccount20220713

type GithubRepoAccount20220713 struct {
	ConnectionId uint64 `gorm:"primaryKey"`
	AccountId    int    `gorm:"primaryKey;autoIncrement:false"`
	RepoGithubId int    `gorm:"primaryKey;autoIncrement:false"`
	Login        string `json:"login" gorm:"type:varchar(255)"`
	archived.NoPKModel
}

func (GithubRepoAccount20220713) TableName

func (GithubRepoAccount20220713) TableName() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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