package v1
Import Path
github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1 (on go.dev )
Dependency Relation
imports 5 packages , and imported by 2 packages
Package-Level Type Names (only one, which is exported)
/* sort exporteds by: alphabet | popularity */
type Resource (struct)
Resource information.
Fields (total 5, in which 2 are exported )
Labels map[string ]string
Set of labels that describe the resource.
Type string
Type identifier for the resource.
/* 3 unexporteds ... */ /* 3 unexporteds: */
sizeCache protoimpl .SizeCache
state protoimpl .MessageState
unknownFields protoimpl .UnknownFields
Methods (total 7, all are exported )
(*T) Descriptor () ([]byte , []int )
Deprecated: Use Resource.ProtoReflect.Descriptor instead.
(*T) GetLabels () map[string ]string
(*T) GetType () string
(*T) ProtoMessage ()
(*T) ProtoReflect () protoreflect .Message
(*T) Reset ()
(*T) String () string
Implements (at least 7, in which 4 are exported )
*T : expvar.Var
*T : fmt.Stringer
*T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*T : google.golang.org/protobuf/runtime/protoiface.MessageV1
/* 3+ unexporteds ... */ /* 3+ unexporteds: */
*T : context.stringer
*T : google.golang.org/protobuf/internal/impl.messageV1
*T : runtime.stringer
As Outputs Of (at least one exported )
func github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1.(*Metric ).GetResource () *Resource
As Inputs Of (at least 4, in which 3 are exported )
func contrib.go.opencensus.io/exporter/stackdriver.(*Exporter ).ExportMetricsProto (ctx context .Context , node *commonpb .Node , rsc *Resource , metrics []*metricspb .Metric ) error
func contrib.go.opencensus.io/exporter/stackdriver.(*Exporter ).PushMetricsProto (ctx context .Context , node *commonpb .Node , rsc *Resource , metrics []*metricspb .Metric ) (int , error )
func contrib.go.opencensus.io/exporter/stackdriver.(*Exporter ).PushTraceSpans (ctx context .Context , node *commonpb .Node , rsc *Resource , spans []*trace .SpanData ) (int , error )
/* at least one unexported ... */ /* at least one unexported: */
func contrib.go.opencensus.io/exporter/stackdriver.resourcepbToResource (rsc *Resource ) *resource .Resource
The pages are generated with Golds v0.3.2-preview . (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds .