Documentation
¶
Index ¶
- Constants
- func BuildDocument(report runs.Report) []runs.ReportNode
- func GroupID(node runs.ReportNode) string
- func Markdown(report runs.Report) (string, error)
- func PDF(ctx context.Context, assets fs.FS, r runs.Report) ([]byte, error)
- func Plain(report runs.Report) string
- func StepLabel(status string) string
- func TableLines(node runs.ReportNode) []string
- func Value(v catalog.TypedValue) string
- type Cache
- type CaseExport
- type ClipboardResult
- type ClipboardWrite
- type File
- type PNGPart
- type Reference
- type RichContent
- type Service
- func (s *Service) Cached(ref Reference) (runs.Report, error)
- func (s *Service) Export(ctx context.Context, ref Reference, format string) ([]File, error)
- func (s *Service) Prepare(ctx context.Context, id string, expected bool) (runs.Report, error)
- func (s *Service) WithReport(ctx context.Context, ref Reference, ...) ([]File, error)
Constants ¶
View Source
const MaxRenderedBytes = 64 << 20
Variables ¶
This section is empty.
Functions ¶
func BuildDocument ¶
func BuildDocument(report runs.Report) []runs.ReportNode
BuildDocument is the sole semantic projection used by all export renderers. Every string remains text; protocol bodies are never decoded as JS numbers.
func GroupID ¶
func GroupID(node runs.ReportNode) string
func TableLines ¶
func TableLines(node runs.ReportNode) []string
func Value ¶
func Value(v catalog.TypedValue) string
Types ¶
type CaseExport ¶ added in v1.0.1
type ClipboardResult ¶
type ClipboardWrite ¶
type PNGPart ¶
type RichContent ¶
type RichContent struct{ Text, HTML, RTF string }
Click to show internal directories.
Click to hide internal directories.