kubernetes/vendor/go.opentelemetry.io/otel/sdk/trace/tracetest/span.go

type SpanStubs

// SpanStubsFromReadOnlySpans returns SpanStubs populated from ro.
func SpanStubsFromReadOnlySpans(ro []tracesdk.ReadOnlySpan) SpanStubs {}

// Snapshots returns s as a slice of ReadOnlySpans.
func (s SpanStubs) Snapshots() []tracesdk.ReadOnlySpan {}

type SpanStub

// SpanStubFromReadOnlySpan returns a SpanStub populated from ro.
func SpanStubFromReadOnlySpan(ro tracesdk.ReadOnlySpan) SpanStub {}

// Snapshot returns a read-only copy of the SpanStub.
func (s SpanStub) Snapshot() tracesdk.ReadOnlySpan {}

type spanSnapshot

func (s spanSnapshot) Name() string                     {}

func (s spanSnapshot) SpanContext() trace.SpanContext   {}

func (s spanSnapshot) Parent() trace.SpanContext        {}

func (s spanSnapshot) SpanKind() trace.SpanKind         {}

func (s spanSnapshot) StartTime() time.Time             {}

func (s spanSnapshot) EndTime() time.Time               {}

func (s spanSnapshot) Attributes() []attribute.KeyValue {}

func (s spanSnapshot) Links() []tracesdk.Link           {}

func (s spanSnapshot) Events() []tracesdk.Event         {}

func (s spanSnapshot) Status() tracesdk.Status          {}

func (s spanSnapshot) DroppedAttributes() int           {}

func (s spanSnapshot) DroppedLinks() int                {}

func (s spanSnapshot) DroppedEvents() int               {}

func (s spanSnapshot) ChildSpanCount() int              {}

func (s spanSnapshot) Resource() *resource.Resource     {}

func (s spanSnapshot) InstrumentationScope() instrumentation.Scope {}

func (s spanSnapshot) InstrumentationLibrary() instrumentation.Library {}