{"modulePath":"code.cloudfoundry.org/cli","version":"v0.0.0-20251105160135-47fadd0d9b3c","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package shared\n\n## Constants\n\n```go\nconst (\n\tB3TraceIDHeader = \"X-B3-TraceId\"\n\tB3SpanIDHeader  = \"X-B3-SpanId\"\n)\n```\n\n## Functions\n\n```go\nfunc WrapForCFOnK8sAuth(config command.Config, k8sConfigGetter v7action.KubernetesConfigGetter, roundTripper http.RoundTripper) (http.RoundTripper, error)\n```\n\n## Types\n\n```go\ntype TraceHeaders struct {\n\t// contains filtered or unexported fields\n}\n```\nTraceHeaders sets b3 trace headers to requests.\n\n```go\nfunc NewTraceHeaders(trace string) *TraceHeaders\n```\nNewTraceHeaders returns a pointer to a TraceHeaderRequest.\n\n```go\nfunc (t *TraceHeaders) SetHeaders(request *http.Request)\n```\nAdd tracing headers if they are not already set.\n\n","path":"code.cloudfoundry.org/cli/api/shared","name":"shared","synopsis":"","isRedistributable":true}
