model

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PipelineReport

type PipelineReport struct {
	// ID is the unique identifier of the record in the database.
	ID uuid.UUID `json:",omitempty"`
	// Pipeline represent the Updatecli pipeline report.
	Pipeline reports.Report `json:",omitempty"`
	// PipelineID represent the ID of the pipeline executed by Updatecli.
	// different execution of the same pipeline will have the same PipelineID.
	// This value is coming from the pipeline report to improve the search of reports.
	PipelineID string `json:",omitempty"`
	// TargetScmIDs is a list of unique identifiers of the scm configuration associated with the database.
	TargetScmIDs []uuid.UUID `json:",omitempty"`
	// Create_at represent the creation date of the record.
	Created_at time.Time `json:",omitempty"`
	// Updated_at represent the last update date of the record.
	Updated_at time.Time `json:",omitempty"`
}

PipelineReport represents a specific pipeline report from the database.

type SCM

type SCM struct {
	// ID is a unique identifier for the SCM configuration
	ID uuid.UUID `json:",omitempty"`
	// Branch is the Git branch
	Branch string `json:",omitempty"`
	// URL is the Git repository URL
	URL string `json:",omitempty"`
	// Created_at is the time the SCM configuration was created
	Created_at time.Time `json:",omitempty"`
	// Updated_at is the time the SCM configuration was last updated
	Updated_at time.Time `json:",omitempty"`
}

SCM represents a specific scm configuration from the database.

Jump to

Keyboard shortcuts

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