opencensus-proto: github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1 Index | Files

package v1

import "github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1"

Index

Package Files

resource.pb.go

type Resource Uses

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 `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

Resource information.

func (*Resource) Descriptor Uses

func (*Resource) Descriptor() ([]byte, []int)

func (*Resource) GetLabels Uses

func (m *Resource) GetLabels() map[string]string

func (*Resource) GetType Uses

func (m *Resource) GetType() string

func (*Resource) ProtoMessage Uses

func (*Resource) ProtoMessage()

func (*Resource) Reset Uses

func (m *Resource) Reset()

func (*Resource) String Uses

func (m *Resource) String() string

func (*Resource) XXX_DiscardUnknown Uses

func (m *Resource) XXX_DiscardUnknown()

func (*Resource) XXX_Marshal Uses

func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Resource) XXX_Merge Uses

func (m *Resource) XXX_Merge(src proto.Message)

func (*Resource) XXX_Size Uses

func (m *Resource) XXX_Size() int

func (*Resource) XXX_Unmarshal Uses

func (m *Resource) XXX_Unmarshal(b []byte) error

Package v1 imports 3 packages (graph) and is imported by 20 packages. Updated 2019-05-09. Refresh now. Tools for package owners.