models

package
v0.14.0-alpha3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSign added in v0.12.0

func GetSign(query url.Values, appId, secretKey, nonceStr, timestamp string) string

Types

type AECommit

type AECommit struct {
	HexSha      string `gorm:"primaryKey;type:varchar(255)"`
	AnalysisId  string `gorm:"type:varchar(255)"`
	AuthorEmail string `gorm:"type:varchar(255)"`
	DevEq       int
	AEProjectId int
	common.NoPKModel
}

func (AECommit) TableName

func (AECommit) TableName() string

type AEProject

type AEProject struct {
	ConnectionId uint64 `gorm:"primaryKey"`

	Id           string `gorm:"primaryKey;type:varchar(255)"`
	GitUrl       string `gorm:"type:varchar(255);comment:url of the repo in github"`
	Priority     int
	AECreateTime *time.Time
	AEUpdateTime *time.Time
	common.NoPKModel
}

func (AEProject) TableName

func (AEProject) TableName() string

type AeConnection

type AeConnection struct {
	helper.RestConnection `mapstructure:",squash"`
	helper.AppKey         `mapstructure:",squash"`
}

func (AeConnection) TableName added in v0.12.0

func (AeConnection) TableName() string

type AeResponse

type AeResponse struct {
	AeConnection
	Name string `json:"name"`
	ID   int    `json:"id"`
}

This object conforms to what the frontend currently expects.

type TestConnectionRequest added in v0.12.0

type TestConnectionRequest struct {
	Endpoint      string `json:"endpoint"`
	Proxy         string `json:"proxy"`
	helper.AppKey `mapstructure:",squash"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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