mirror of
https://github.com/harness/drone.git
synced 2025-05-04 08:30:56 +08:00
19 lines
967 B
Go
19 lines
967 B
Go
// Copyright 2022 Harness Inc. All rights reserved.
|
|
// Use of this source code is governed by the Polyform Free Trial License
|
|
// that can be found in the LICENSE.md file for this repository.
|
|
|
|
package types
|
|
|
|
type Pipeline struct {
|
|
ID int64 `db:"pipeline_id" json:"id"`
|
|
Description string `db:"pipeline_description" json:"description"`
|
|
UID string `db:"pipeline_uid" json:"uid"`
|
|
Seq int64 `db:"pipeline_seq" json:"seq"` // last execution number for this pipeline
|
|
RepoID int64 `db:"pipeline_repo_id" json:"repo_id"`
|
|
DefaultBranch string `db:"pipeline_default_branch" json:"default_branch"`
|
|
ConfigPath string `db:"pipeline_config_path" json:"config_path"`
|
|
Created int64 `db:"pipeline_created" json:"created"`
|
|
Updated int64 `db:"pipeline_updated" json:"updated"`
|
|
Version int64 `db:"pipeline_version" json:"version"`
|
|
}
|