metricdefs

package
v0.16.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int
View Source
var TMetricDef_Contexts_DEFAULT []string
View Source
var TMetricDef_Description_DEFAULT string
View Source
var TMetricDef_Key_DEFAULT string
View Source
var TMetricDef_Kind_DEFAULT metrics.TMetricKind
View Source
var TMetricDef_Label_DEFAULT string
View Source
var TMetricDef_Units_DEFAULT metrics.TUnit
View Source
var TMetricDefs map[string]*TMetricDef

Functions

This section is empty.

Types

type TMetricDef

type TMetricDef struct {
	Key         *string              `thrift:"key,1" db:"key" json:"key,omitempty"`
	Kind        *metrics.TMetricKind `thrift:"kind,2" db:"kind" json:"kind,omitempty"`
	Units       *metrics.TUnit       `thrift:"units,3" db:"units" json:"units,omitempty"`
	Contexts    []string             `thrift:"contexts,4" db:"contexts" json:"contexts,omitempty"`
	Label       *string              `thrift:"label,5" db:"label" json:"label,omitempty"`
	Description *string              `thrift:"description,6" db:"description" json:"description,omitempty"`
}

Attributes:

  • Key
  • Kind
  • Units
  • Contexts
  • Label
  • Description

func NewTMetricDef

func NewTMetricDef() *TMetricDef

func (*TMetricDef) Equals

func (p *TMetricDef) Equals(other *TMetricDef) bool

func (*TMetricDef) GetContexts

func (p *TMetricDef) GetContexts() []string

func (*TMetricDef) GetDescription

func (p *TMetricDef) GetDescription() string

func (*TMetricDef) GetKey

func (p *TMetricDef) GetKey() string

func (*TMetricDef) GetKind

func (p *TMetricDef) GetKind() metrics.TMetricKind

func (*TMetricDef) GetLabel

func (p *TMetricDef) GetLabel() string

func (*TMetricDef) GetUnits

func (p *TMetricDef) GetUnits() metrics.TUnit

func (*TMetricDef) IsSetContexts

func (p *TMetricDef) IsSetContexts() bool

func (*TMetricDef) IsSetDescription

func (p *TMetricDef) IsSetDescription() bool

func (*TMetricDef) IsSetKey

func (p *TMetricDef) IsSetKey() bool

func (*TMetricDef) IsSetKind

func (p *TMetricDef) IsSetKind() bool

func (*TMetricDef) IsSetLabel

func (p *TMetricDef) IsSetLabel() bool

func (*TMetricDef) IsSetUnits

func (p *TMetricDef) IsSetUnits() bool

func (*TMetricDef) Read

func (p *TMetricDef) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TMetricDef) ReadField1

func (p *TMetricDef) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TMetricDef) ReadField2

func (p *TMetricDef) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*TMetricDef) ReadField3

func (p *TMetricDef) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*TMetricDef) ReadField4

func (p *TMetricDef) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*TMetricDef) ReadField5

func (p *TMetricDef) ReadField5(ctx context.Context, iprot thrift.TProtocol) error

func (*TMetricDef) ReadField6

func (p *TMetricDef) ReadField6(ctx context.Context, iprot thrift.TProtocol) error

func (*TMetricDef) String

func (p *TMetricDef) String() string

func (*TMetricDef) Write

func (p *TMetricDef) Write(ctx context.Context, oprot thrift.TProtocol) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL