MCPcopy
hub / github.com/opentofu/opentofu / String

Function String

internal/tracing/traceattrs/generic.go:15–17  ·  view source on GitHub ↗

String wraps [attribute.String] just so that we can keep most of our direct OpenTelemetry package imports centralized in this package where it's easier to keep our version selections consistent.

(name string, val string)

Source from the content-addressed store, hash-verified

13// OpenTelemetry package imports centralized in this package where it's
14// easier to keep our version selections consistent.
15func String(name string, val string) attribute.KeyValue {
16 return attribute.String(name, val)
17}
18
19// StringSlice wraps [attribute.StringSlice] just so that we can keep most of
20// our direct OpenTelemetry package imports centralized in this package where

Callers 15

RunMethod · 0.92
RunMethod · 0.92
GetMethod · 0.92
moduleInstallWalkerMethod · 0.92
ExecuteMethod · 0.92
ExecuteMethod · 0.92
ExecuteMethod · 0.92
PlanMethod · 0.92
ApplyMethod · 0.92
ExecuteMethod · 0.92
ExecuteMethod · 0.92
ExecuteMethod · 0.92

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected