Help us shape the future of Go! Take the 2026 Go Developer Survey

view

package
v1.124.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdView

func NewCmdView(f cmdutils.Factory) *cobra.Command

Types

type ViewJob

type ViewJob struct {
	ID           int64      `json:"id"`
	Name         string     `json:"name"`
	StartedAt    *time.Time `json:"started_at"`
	FinishedAt   *time.Time `json:"finished_at"`
	ErasedAt     *time.Time `json:"erased_at"`
	Duration     float64    `json:"duration"`
	Stage        string     `json:"stage"`
	Status       string     `json:"status"`
	AllowFailure bool       `json:"allow_failure"`

	Kind ViewJobKind

	OriginalJob    *gitlab.Job
	OriginalBridge *gitlab.Bridge
}

func ViewJobFromBridge

func ViewJobFromBridge(bridge *gitlab.Bridge) *ViewJob

func ViewJobFromJob

func ViewJobFromJob(job *gitlab.Job) *ViewJob

type ViewJobKind

type ViewJobKind int64
const (
	Job ViewJobKind = iota
	Bridge
)

Jump to

Keyboard shortcuts

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