Documentation
¶
Index ¶
- Variables
- type Resource
- func (x *Resource) GetLabels() map[string]string
- func (x *Resource) GetType() string
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) SetLabels(v map[string]string)
- func (x *Resource) SetType(v string)
- func (x *Resource) String() string
- type Resource_builder
Constants ¶
This section is empty.
Variables ¶
View Source
var File_opencensus_proto_resource_v1_resource_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct {
// Type identifier for the resource.
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// Set of labels that describe the resource.
Labels map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
Resource information.
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
Source Files
¶
- resource.pb.go
Click to show internal directories.
Click to hide internal directories.