release

package
v1.9.6-beta Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commit

type Commit struct {
	Id      int64  `gorm:"column:id;type:BIGINT(20);AUTO_INCREMENT;NOT NULL;comment:id;primary_key;comment:主键ID;"`
	Release string `gorm:"type:varchar(36);not null;column:release;comment:release id; index:release; uniqueIndex:type_release_type_key"`
	Type    string `gorm:"type:varchar(30);not null;column:type;comment:类型;index:type;uniqueIndex:type_release_type_key"`
	Target  string `gorm:"type:varchar(36);not null;column:target;comment:目标;index:target;uniqueIndex:type_release_type_key"`
	Key     string `gorm:"type:varchar(36);not null;column:api;comment:api id;uniqueIndex:type_release_type_key"`
	Commit  string `gorm:"type:varchar(36);not null;column:commit;comment:commit;"`
}

func (*Commit) IdValue

func (t *Commit) IdValue() int64

func (*Commit) TableName

func (t *Commit) TableName() string

type IReleaseCommitStore

type IReleaseCommitStore interface {
	store.IBaseStore[Commit]
}

type IReleaseRuntime

type IReleaseRuntime interface {
	store.IBaseStore[Runtime]
}

type IReleaseStore

type IReleaseStore interface {
	store.IBaseStore[Release]
}

type Release

type Release struct {
	Id       int64     `gorm:"column:id;type:BIGINT(20);AUTO_INCREMENT;NOT NULL;comment:id;primary_key;comment:主键ID;"`
	UUID     string    `gorm:"type:varchar(36);not null;column:uuid;uniqueIndex:uuid;comment:UUID;"`
	Name     string    `gorm:"type:varchar(100);not null;column:name;comment:name"`
	Service  string    `gorm:"type:varchar(50);not null;column:service;comment:服务ID;index:service"`
	Remark   string    `gorm:"size:255;not null;column:remark;comment:备注"`
	Creator  string    `gorm:"size:36;not null;column:creator;comment:创建人;index:creator"` // 创建人
	CreateAt time.Time `gorm:"type:timestamp;NOT NULL;DEFAULT:CURRENT_TIMESTAMP;column:create_at;comment:创建时间"`
}

func (*Release) IdValue

func (r *Release) IdValue() int64

func (*Release) TableName

func (r *Release) TableName() string

type Runtime

type Runtime struct {
	Id         int64     `gorm:"column:id;type:BIGINT(20);AUTO_INCREMENT;NOT NULL;comment:id;primary_key;comment:主键ID;"`
	Service    string    `gorm:"type:varchar(50);not null;column:service;comment:服务ID;index:service"`
	Release    string    `gorm:"type:varchar(36);not null;column:release;comment:release id;"`
	UpdateTime time.Time `gorm:"type:timestamp;NOT NULL;DEFAULT:CURRENT_TIMESTAMP;column:update_time;comment:更新时间"`
	Operator   string    `gorm:"size:36;not null;column:operator;comment:操作人;index:operator"`
}

func (*Runtime) IdValue

func (t *Runtime) IdValue() int64

func (*Runtime) TableName

func (t *Runtime) TableName() string

Jump to

Keyboard shortcuts

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