Debian Codegraph @

pdata/internal/generated_wrapper_instrumentationscope.go

raw
1 // Copyright The OpenTelemetry Authors
2 // SPDX-License-Identifier: Apache-2.0
3
4 // Code generated by "internal/cmd/pdatagen/main.go". DO NOT EDIT.
5 // To regenerate this file run "make genpdata".
6
7 package internal
8
9 type InstrumentationScopeWrapper struct {
10 orig *InstrumentationScope
11 state *State
12 }
13
14 func GetInstrumentationScopeOrig(ms InstrumentationScopeWrapper) *InstrumentationScope {
15 return ms.orig
16 }
17
18 func GetInstrumentationScopeState(ms InstrumentationScopeWrapper) *State {
19 return ms.state
20 }
21
22 func NewInstrumentationScopeWrapper(orig *InstrumentationScope, state *State) InstrumentationScopeWrapper {
23 return InstrumentationScopeWrapper{orig: orig, state: state}
24 }
25
26 func GenTestInstrumentationScopeWrapper() InstrumentationScopeWrapper {
27 return NewInstrumentationScopeWrapper(GenTestInstrumentationScope(), NewState())
28 }