gcp

package module
v7.0.0-...-6b0192e Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() tfbridge.ProviderInfo

Provider returns additional overlaid schema and metadata associated with the gcp package.

Types

type CsvFileSpanIter

type CsvFileSpanIter struct {
	File string
}

Iterates over spans stored in CSV format

func (CsvFileSpanIter) WalkSpans

func (i CsvFileSpanIter) WalkSpans(onSpan func(s Span) error) error

type MultiSpanIter

type MultiSpanIter struct {
	Iters []SpanIter
}

Convenience type for iterating over multiple SpanIters in sequence

func (MultiSpanIter) WalkSpans

func (i MultiSpanIter) WalkSpans(onSpan func(s Span) error) error

type Span

type Span map[string]string

Convenience type for attaching helpers to string map that represents a span

func (Span) Duration

func (s Span) Duration() (time.Duration, error)

func (Span) End

func (s Span) End() (time.Time, error)

func (Span) Start

func (s Span) Start() (time.Time, error)

type SpanIter

type SpanIter interface {
	WalkSpans(onSpan func(x Span) error) error
}

Interface to generalize iterating over all spans from various trace formats

type TraceDirSpanIter

type TraceDirSpanIter struct {
	// contains filtered or unexported fields
}

Iterate over spans from all .trace files in a directory

func (TraceDirSpanIter) WalkSpans

func (i TraceDirSpanIter) WalkSpans(onSpan func(s Span) error) error

type TraceFileSpanIter

type TraceFileSpanIter struct {
	File string
}

Iterates over spans stored in appDash's trace file format

func (TraceFileSpanIter) WalkSpans

func (i TraceFileSpanIter) WalkSpans(onSpan func(s Span) error) error

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

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