view

package
v3.66.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildSummary added in v3.17.0

func BuildSummary(b *buildkite.Build, organization, pipeline string) string

func BuildSummaryWithJobs added in v3.17.0

func BuildSummaryWithJobs(b *buildkite.Build, organization, pipeline string) string

func RenderJobSummary added in v3.17.0

func RenderJobSummary(j buildkite.Job) string

RenderJobSummary renders a single job's summary

Types

type BuildView

type BuildView struct {
	Build        *buildkite.Build
	Artifacts    []buildkite.Artifact
	Annotations  []buildkite.Annotation
	Organization string
	Pipeline     string
}

BuildView encapsulates the build view functionality

func NewBuildView

func NewBuildView(build *buildkite.Build, artifacts []buildkite.Artifact, annotations []buildkite.Annotation, organization, pipeline string) *BuildView

NewBuildView creates a new BuildView instance

func (*BuildView) Render

func (v *BuildView) Render() string

Render returns the complete build view

type ViewOptions

type ViewOptions struct {
	Organization string
	Pipeline     string
	BuildNumber  int
	Web          bool
}

ViewOptions represents options for viewing a build

func (*ViewOptions) Validate

func (o *ViewOptions) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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