Documentation
¶
Index ¶
- Variables
- type TMetricDef
- func (p *TMetricDef) Equals(other *TMetricDef) bool
- func (p *TMetricDef) GetContexts() []string
- func (p *TMetricDef) GetDescription() string
- func (p *TMetricDef) GetKey() string
- func (p *TMetricDef) GetKind() metrics.TMetricKind
- func (p *TMetricDef) GetLabel() string
- func (p *TMetricDef) GetUnits() metrics.TUnit
- func (p *TMetricDef) IsSetContexts() bool
- func (p *TMetricDef) IsSetDescription() bool
- func (p *TMetricDef) IsSetKey() bool
- func (p *TMetricDef) IsSetKind() bool
- func (p *TMetricDef) IsSetLabel() bool
- func (p *TMetricDef) IsSetUnits() bool
- func (p *TMetricDef) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TMetricDef) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TMetricDef) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TMetricDef) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TMetricDef) ReadField4(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TMetricDef) ReadField5(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TMetricDef) ReadField6(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TMetricDef) String() string
- func (p *TMetricDef) Write(ctx context.Context, oprot thrift.TProtocol) error
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 ¶ added in v0.16.0
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) ReadField1 ¶
func (*TMetricDef) ReadField2 ¶
func (*TMetricDef) ReadField3 ¶
func (*TMetricDef) ReadField4 ¶
func (*TMetricDef) ReadField5 ¶
func (*TMetricDef) ReadField6 ¶
func (*TMetricDef) String ¶
func (p *TMetricDef) String() string
Click to show internal directories.
Click to hide internal directories.