Documentation ¶
Overview ¶
Package buildlog provides a build log viewer for Spyglass
Index ¶
- type BuildLogsView
- type Lens
- func (lens Lens) Body(artifacts []lenses.Artifact, resourceDir string, data string) string
- func (lens Lens) Callback(artifacts []lenses.Artifact, resourceDir string, data string) string
- func (lens Lens) Header(artifacts []lenses.Artifact, resourceDir string) string
- func (lens Lens) Name() string
- func (lens Lens) Priority() int
- func (lens Lens) Title() string
- type LineGroup
- type LineRequest
- type LogArtifactView
- type LogLine
- type SubLine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildLogsView ¶
type BuildLogsView struct { LogViews []LogArtifactView RawGetAllRequests map[string]string RawGetMoreRequests map[string]string }
BuildLogsView holds each log file view
type Lens ¶
type Lens struct{}
Lens implements the build lens.
type LineGroup ¶
type LineGroup struct { Skip bool Start, End int // closed, open ByteOffset, ByteLength int LogLines []LogLine }
LineGroup holds multiple lines that can be collapsed/expanded as a block
func (LineGroup) LinesSkipped ¶
LinesSkipped returns the number of lines skipped in a line group.
type LineRequest ¶
type LogArtifactView ¶
type LogArtifactView struct { ArtifactName string ArtifactLink string LineGroups []LineGroup ViewAll bool }
LogArtifactView holds a single log file's view
Click to show internal directories.
Click to hide internal directories.