summary

package
v0.0.0-...-016edcc Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Summary

type Summary struct {
	observability.BaseHook
	Spans map[string]*TargetStats

	RootSpan *observability.BaseSpan
	// contains filtered or unexported fields
}

func (*Summary) OnCollectOutput

func (*Summary) OnLocalCacheStore

func (s *Summary) OnLocalCacheStore(ctx context.Context, span *observability.TargetSpan) (context.Context, observability.SpanHook)

func (*Summary) OnRoot

func (*Summary) OnRun

func (*Summary) OnRunExec

func (*Summary) OnRunPrepare

func (*Summary) Reset

func (s *Summary) Reset()

type TargetStats

type TargetStats struct {
	Addr              string
	Prepare           *TargetStatsSpan
	Exec              *TargetStatsSpan
	CollectOutput     *TargetStatsSpan
	CacheStore        *TargetStatsSpan
	ArtifactsLocalGet TargetStatsArtifacts
	ArtifactsDownload TargetStatsArtifacts
	ArtifactsUpload   TargetStatsArtifacts
	Gen               bool
	// contains filtered or unexported fields
}

func (*TargetStats) Duration

func (s *TargetStats) Duration() time.Duration

func (*TargetStats) HasError

func (s *TargetStats) HasError() bool

type TargetStatsArtifact

type TargetStatsArtifact struct {
	Name        string
	DisplayName string
	Start       time.Time
	End         time.Time
	CacheHit    bool
	Error       bool
}

func (TargetStatsArtifact) Duration

func (p TargetStatsArtifact) Duration() time.Duration

type TargetStatsArtifacts

type TargetStatsArtifacts []TargetStatsArtifact

func (TargetStatsArtifacts) Find

type TargetStatsSpan

type TargetStatsSpan struct {
	Start time.Time
	End   time.Time
	Error bool
}

Jump to

Keyboard shortcuts

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