// 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"` Execution *Execution `db:"-" json:"execution,omitempty"` // information about the latest execution if available Updated int64 `db:"pipeline_updated" json:"updated"` Version int64 `db:"pipeline_version" json:"-"` }