database

package
v0.0.0-...-53bcd79 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Generated by protoc-ddl. protoc-gen-entity: v0.1

Index

Constants

View Source
const SchemaHash = "3013060b13689ee957439100932558aa43bf8d480de23c3ae6042c4d10d91150"

Variables

This section is empty.

Functions

This section is empty.

Types

type PermitPullRequest

type PermitPullRequest struct {
	Id         int32
	Repository string
	Number     int32
	CreatedAt  time.Time
	UpdatedAt  *time.Time
	// contains filtered or unexported fields
}

func (*PermitPullRequest) ChangedColumn

func (e *PermitPullRequest) ChangedColumn() []ddl.Column

func (*PermitPullRequest) Copy

func (*PermitPullRequest) IsChanged

func (e *PermitPullRequest) IsChanged() bool

func (*PermitPullRequest) ResetMark

func (e *PermitPullRequest) ResetMark()

type SourceRepository

type SourceRepository struct {
	Id        int32
	Url       string
	CloneUrl  string
	Name      string
	Private   bool
	CreatedAt time.Time
	UpdatedAt *time.Time
	// contains filtered or unexported fields
}

func (*SourceRepository) ChangedColumn

func (e *SourceRepository) ChangedColumn() []ddl.Column

func (*SourceRepository) Copy

func (*SourceRepository) IsChanged

func (e *SourceRepository) IsChanged() bool

func (*SourceRepository) ResetMark

func (e *SourceRepository) ResetMark()

type Task

type Task struct {
	Id           int32
	RepositoryId int32
	JobName      string
	// Deprecated.
	JobConfiguration       *string
	ParsedJobConfiguration []byte
	Revision               string
	IsTrunk                bool
	BazelVersion           string
	Success                bool
	LogFile                string
	Command                string
	// Deprecated.
	Target              string
	Targets             string
	Platform            string
	Via                 string
	ConfigName          string
	Node                string
	Manifest            string
	Container           string
	ExecutedTestsCount  int32
	SucceededTestsCount int32
	StartAt             *time.Time
	FinishedAt          *time.Time
	CreatedAt           time.Time
	UpdatedAt           *time.Time

	Repository *SourceRepository
	// contains filtered or unexported fields
}

func (*Task) ChangedColumn

func (e *Task) ChangedColumn() []ddl.Column

func (*Task) Copy

func (e *Task) Copy() *Task

func (*Task) IsChanged

func (e *Task) IsChanged() bool

func (*Task) ResetMark

func (e *Task) ResetMark()

type TestReport

type TestReport struct {
	Id           int32
	RepositoryId int32
	TaskId       int32
	Label        string
	Status       TestStatus
	Duration     int64
	StartAt      time.Time

	Repository *SourceRepository
	Task       *Task
	// contains filtered or unexported fields
}

func (*TestReport) ChangedColumn

func (e *TestReport) ChangedColumn() []ddl.Column

func (*TestReport) Copy

func (e *TestReport) Copy() *TestReport

func (*TestReport) IsChanged

func (e *TestReport) IsChanged() bool

func (*TestReport) ResetMark

func (e *TestReport) ResetMark()

type TestStatus

type TestStatus uint32
const (
	TestStatusPassed TestStatus = 0
	TestStatusFlaky  TestStatus = 1
	TestStatusFailed TestStatus = 2
)

type TrustedUser

type TrustedUser struct {
	Id        int32
	GithubId  int64
	Username  string
	CreatedAt time.Time
	UpdatedAt *time.Time
	// contains filtered or unexported fields
}

func (*TrustedUser) ChangedColumn

func (e *TrustedUser) ChangedColumn() []ddl.Column

func (*TrustedUser) Copy

func (e *TrustedUser) Copy() *TrustedUser

func (*TrustedUser) IsChanged

func (e *TrustedUser) IsChanged() bool

func (*TrustedUser) ResetMark

func (e *TrustedUser) ResetMark()

Directories

Path Synopsis
dao
Package dao contains the data access object.
Package dao contains the data access object.
daotest
Generated by protoc-ddl.
Generated by protoc-ddl.

Jump to

Keyboard shortcuts

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