model

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigCondition added in v0.9.0

type ConfigCondition struct {
	// ID is the unique identifier of the record in the database.
	ID uuid.UUID `json:",omitempty"`
	// Kind represent the kind of the resource configuration.
	Kind string `json:",omitempty"`

	// Created_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"`

	Config condition.Config `json:",omitempty"`
}

ConditionConfig represents a specific resource configuration from the database.

type ConfigSource added in v0.9.0

type ConfigSource struct {
	// ID is the unique identifier of the record in the database.
	ID uuid.UUID `json:",omitempty"`
	// Kind represent the kind of the resource configuration.
	Kind string `json:",omitempty"`

	// Created_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"`
	// Config is the configuration of the source resource.
	Config source.Config `json:",omitempty"`
}

ConfigSource represents a specific resource configuration from the database.

type ConfigTarget added in v0.9.0

type ConfigTarget struct {
	// ID is the unique identifier of the record in the database.
	ID uuid.UUID `json:",omitempty"`
	// Kind represent the kind of the resource configuration.
	Kind string `json:",omitempty"`

	// Created_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"`

	Config target.Config `json:",omitempty"`
}

ConfigTarget represents a specific resource configuration from the database.

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"`

	// TargetConfigIDs is a list of unique identifiers of the target configuration associated with the database.
	TargetConfigIDs map[uuid.UUID]string `json:",omitempty"`
	// ConditionConfigIDs is a list of unique identifiers of the condition configuration associated with the database.
	ConditionConfigIDs map[uuid.UUID]string `json:",omitempty"`
	// SourceConfigIDs is a list of unique identifiers of the source configuration associated with the database.
	SourceConfigIDs map[uuid.UUID]string `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