Documentation
¶
Index ¶
- Variables
- type GroupBy
- func (*GroupBy) Descriptor() ([]byte, []int)
- func (this *GroupBy) Equal(that interface{}) bool
- func (m *GroupBy) GetKey() GroupByKey
- func (m *GroupBy) GetValue() string
- func (this *GroupBy) GoString() string
- func (m *GroupBy) Marshal() (dAtA []byte, err error)
- func (m *GroupBy) MarshalTo(dAtA []byte) (int, error)
- func (m *GroupBy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GroupBy) ProtoMessage()
- func (m *GroupBy) Reset()
- func (m *GroupBy) Size() (n int)
- func (this *GroupBy) String() string
- func (m *GroupBy) Unmarshal(dAtA []byte) error
- func (m *GroupBy) XXX_DiscardUnknown()
- func (m *GroupBy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupBy) XXX_Merge(src proto.Message)
- func (m *GroupBy) XXX_Size() int
- func (m *GroupBy) XXX_Unmarshal(b []byte) error
- type GroupByKey
- type Record
- func (*Record) Descriptor() ([]byte, []int)
- func (this *Record) Equal(that interface{}) bool
- func (m *Record) GetType() RecordType
- func (m *Record) GetUnit() RecordUnit
- func (m *Record) GetValue() float64
- func (this *Record) GoString() string
- func (m *Record) Marshal() (dAtA []byte, err error)
- func (m *Record) MarshalTo(dAtA []byte) (int, error)
- func (m *Record) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Record) ProtoMessage()
- func (m *Record) Reset()
- func (m *Record) Size() (n int)
- func (this *Record) String() string
- func (m *Record) Unmarshal(dAtA []byte) error
- func (m *Record) XXX_DiscardUnknown()
- func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Record) XXX_Merge(src proto.Message)
- func (m *Record) XXX_Size() int
- func (m *Record) XXX_Unmarshal(b []byte) error
- type RecordGroup
- func (*RecordGroup) Descriptor() ([]byte, []int)
- func (this *RecordGroup) Equal(that interface{}) bool
- func (m *RecordGroup) GetGroupBys() []*GroupBy
- func (m *RecordGroup) GetRecords() []*Record
- func (this *RecordGroup) GoString() string
- func (m *RecordGroup) Marshal() (dAtA []byte, err error)
- func (m *RecordGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *RecordGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RecordGroup) ProtoMessage()
- func (m *RecordGroup) Reset()
- func (m *RecordGroup) Size() (n int)
- func (this *RecordGroup) String() string
- func (m *RecordGroup) Unmarshal(dAtA []byte) error
- func (m *RecordGroup) XXX_DiscardUnknown()
- func (m *RecordGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RecordGroup) XXX_Merge(src proto.Message)
- func (m *RecordGroup) XXX_Size() int
- func (m *RecordGroup) XXX_Unmarshal(b []byte) error
- type RecordType
- type RecordUnit
- type Summary
- func (*Summary) Descriptor() ([]byte, []int)
- func (this *Summary) Equal(that interface{}) bool
- func (m *Summary) GetEndTime() *types.Timestamp
- func (m *Summary) GetIncomplete() bool
- func (m *Summary) GetRecordGroups() []*RecordGroup
- func (m *Summary) GetStartTime() *types.Timestamp
- func (this *Summary) GoString() string
- func (m *Summary) Marshal() (dAtA []byte, err error)
- func (m *Summary) MarshalTo(dAtA []byte) (int, error)
- func (m *Summary) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Summary) ProtoMessage()
- func (m *Summary) Reset()
- func (m *Summary) Size() (n int)
- func (this *Summary) String() string
- func (m *Summary) Unmarshal(dAtA []byte) error
- func (m *Summary) XXX_DiscardUnknown()
- func (m *Summary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Summary) XXX_Merge(src proto.Message)
- func (m *Summary) XXX_Size() int
- func (m *Summary) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") )
View Source
var GroupByKey_name = map[int32]string{
0: "Unspecified",
1: "Namespace",
}
View Source
var GroupByKey_value = map[string]int32{
"Unspecified": 0,
"Namespace": 1,
}
View Source
var RecordType_name = map[int32]string{
0: "Unspecified",
1: "Actions",
2: "ActiveStorage",
3: "RetainedStorage",
}
View Source
var RecordType_value = map[string]int32{
"Unspecified": 0,
"Actions": 1,
"ActiveStorage": 2,
"RetainedStorage": 3,
}
View Source
var RecordUnit_name = map[int32]string{
0: "Unspecified",
1: "Number",
2: "ByteSeconds",
}
View Source
var RecordUnit_value = map[string]int32{
"Unspecified": 0,
"Number": 1,
"ByteSeconds": 2,
}
Functions ¶
This section is empty.
Types ¶
type GroupBy ¶
type GroupBy struct {
Key GroupByKey `protobuf:"varint,1,opt,name=key,proto3,enum=temporal.api.cloud.usage.v1.GroupByKey" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}
func (*GroupBy) Descriptor ¶
func (*GroupBy) GetKey ¶
func (m *GroupBy) GetKey() GroupByKey
func (*GroupBy) MarshalToSizedBuffer ¶
func (*GroupBy) ProtoMessage ¶
func (*GroupBy) ProtoMessage()
func (*GroupBy) XXX_DiscardUnknown ¶
func (m *GroupBy) XXX_DiscardUnknown()
func (*GroupBy) XXX_Marshal ¶
func (*GroupBy) XXX_Unmarshal ¶
type GroupByKey ¶
type GroupByKey int32
const ( GROUP_BY_KEY_UNSPECIFIED GroupByKey = 0 GROUP_BY_KEY_NAMESPACE GroupByKey = 1 )
func (GroupByKey) EnumDescriptor ¶
func (GroupByKey) EnumDescriptor() ([]byte, []int)
func (GroupByKey) String ¶
func (x GroupByKey) String() string
type Record ¶
type Record struct {
Type RecordType `protobuf:"varint,1,opt,name=type,proto3,enum=temporal.api.cloud.usage.v1.RecordType" json:"type,omitempty"`
Unit RecordUnit `protobuf:"varint,2,opt,name=unit,proto3,enum=temporal.api.cloud.usage.v1.RecordUnit" json:"unit,omitempty"`
Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"`
}
func (*Record) Descriptor ¶
func (*Record) GetType ¶
func (m *Record) GetType() RecordType
func (*Record) GetUnit ¶
func (m *Record) GetUnit() RecordUnit
func (*Record) MarshalToSizedBuffer ¶
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) XXX_DiscardUnknown ¶
func (m *Record) XXX_DiscardUnknown()
func (*Record) XXX_Marshal ¶
func (*Record) XXX_Unmarshal ¶
type RecordGroup ¶
type RecordGroup struct {
// GroupBy keys and their values for this record group. Multiple fields are combined with logical AND.
GroupBys []*GroupBy `protobuf:"bytes,1,rep,name=group_bys,json=groupBys,proto3" json:"group_bys,omitempty"`
Records []*Record `protobuf:"bytes,2,rep,name=records,proto3" json:"records,omitempty"`
}
func (*RecordGroup) Descriptor ¶
func (*RecordGroup) Descriptor() ([]byte, []int)
func (*RecordGroup) Equal ¶
func (this *RecordGroup) Equal(that interface{}) bool
func (*RecordGroup) GetGroupBys ¶
func (m *RecordGroup) GetGroupBys() []*GroupBy
func (*RecordGroup) GetRecords ¶
func (m *RecordGroup) GetRecords() []*Record
func (*RecordGroup) GoString ¶
func (this *RecordGroup) GoString() string
func (*RecordGroup) Marshal ¶
func (m *RecordGroup) Marshal() (dAtA []byte, err error)
func (*RecordGroup) MarshalToSizedBuffer ¶
func (m *RecordGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RecordGroup) ProtoMessage ¶
func (*RecordGroup) ProtoMessage()
func (*RecordGroup) Reset ¶
func (m *RecordGroup) Reset()
func (*RecordGroup) Size ¶
func (m *RecordGroup) Size() (n int)
func (*RecordGroup) String ¶
func (this *RecordGroup) String() string
func (*RecordGroup) Unmarshal ¶
func (m *RecordGroup) Unmarshal(dAtA []byte) error
func (*RecordGroup) XXX_DiscardUnknown ¶
func (m *RecordGroup) XXX_DiscardUnknown()
func (*RecordGroup) XXX_Marshal ¶
func (m *RecordGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RecordGroup) XXX_Merge ¶
func (m *RecordGroup) XXX_Merge(src proto.Message)
func (*RecordGroup) XXX_Size ¶
func (m *RecordGroup) XXX_Size() int
func (*RecordGroup) XXX_Unmarshal ¶
func (m *RecordGroup) XXX_Unmarshal(b []byte) error
type RecordType ¶
type RecordType int32
const ( RECORD_TYPE_UNSPECIFIED RecordType = 0 RECORD_TYPE_ACTIONS RecordType = 1 RECORD_TYPE_ACTIVE_STORAGE RecordType = 2 RECORD_TYPE_RETAINED_STORAGE RecordType = 3 )
func (RecordType) EnumDescriptor ¶
func (RecordType) EnumDescriptor() ([]byte, []int)
func (RecordType) String ¶
func (x RecordType) String() string
type RecordUnit ¶
type RecordUnit int32
const ( RECORD_UNIT_UNSPECIFIED RecordUnit = 0 RECORD_UNIT_NUMBER RecordUnit = 1 RECORD_UNIT_BYTE_SECONDS RecordUnit = 2 )
func (RecordUnit) EnumDescriptor ¶
func (RecordUnit) EnumDescriptor() ([]byte, []int)
func (RecordUnit) String ¶
func (x RecordUnit) String() string
type Summary ¶
type Summary struct {
// Start of UTC day for now (inclusive)
StartTime *types.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// End of UTC day for now (exclusive)
EndTime *types.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Records grouped by namespace
RecordGroups []*RecordGroup `protobuf:"bytes,3,rep,name=record_groups,json=recordGroups,proto3" json:"record_groups,omitempty"`
// True if data for given time window is not fully available yet (e.g. delays)
// When true, records could be added in the future (until false)
Incomplete bool `protobuf:"varint,4,opt,name=incomplete,proto3" json:"incomplete,omitempty"`
}
func (*Summary) Descriptor ¶
func (*Summary) GetEndTime ¶
func (*Summary) GetIncomplete ¶
func (*Summary) GetRecordGroups ¶
func (m *Summary) GetRecordGroups() []*RecordGroup
func (*Summary) GetStartTime ¶
func (*Summary) MarshalToSizedBuffer ¶
func (*Summary) ProtoMessage ¶
func (*Summary) ProtoMessage()
func (*Summary) XXX_DiscardUnknown ¶
func (m *Summary) XXX_DiscardUnknown()
func (*Summary) XXX_Marshal ¶
func (*Summary) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.