models

package
v0.0.0-...-6cdb919 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pipeline

type Pipeline struct {
	ID            uint
	PipelinerunID uint
	Application   string
	Cluster       string
	Region        string
	Pipeline      string
	Result        string
	Duration      uint
	StartedAt     time.Time
	FinishedAt    time.Time
	CreatedAt     time.Time
	UpdatedAt     time.Time
}

type PipelineStats

type PipelineStats struct {
	PipelinerunID uint         `json:"pipelinerunID"`
	Application   string       `json:"application"`
	Cluster       string       `json:"cluster"`
	Pipeline      string       `json:"pipeline"`
	Result        string       `json:"result"`
	Duration      uint         `json:"duration"`
	Tasks         []*TaskStats `json:"tasks"`
	StartedAt     time.Time    `json:"startedAt"`
}

type Step

type Step struct {
	ID            uint
	PipelinerunID uint
	Application   string
	Cluster       string
	Region        string
	Pipeline      string
	Task          string
	Step          string
	Result        string
	Duration      uint
	StartedAt     time.Time
	FinishedAt    time.Time
	CreatedAt     time.Time
	UpdatedAt     time.Time
}

type StepStats

type StepStats struct {
	Step     string `json:"step"`
	Result   string `json:"result"`
	Duration uint   `json:"duration"`
}

type Task

type Task struct {
	ID            uint
	PipelinerunID uint
	Application   string
	Cluster       string
	Region        string
	Pipeline      string
	Task          string
	Result        string
	Duration      uint
	StartedAt     time.Time
	FinishedAt    time.Time
	CreatedAt     time.Time
	UpdatedAt     time.Time
}

type TaskStats

type TaskStats struct {
	Task     string       `json:"task"`
	Result   string       `json:"result"`
	Duration uint         `json:"duration"`
	Steps    []*StepStats `json:"steps"`
}

Jump to

Keyboard shortcuts

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