Documentation ¶
Index ¶
- Variables
- func RegisterInfoServer(s *grpc.Server, srv InfoServer)
- type ExemplarsInfo
- func (*ExemplarsInfo) Descriptor() ([]byte, []int)
- func (m *ExemplarsInfo) Marshal() (dAtA []byte, err error)
- func (m *ExemplarsInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ExemplarsInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExemplarsInfo) ProtoMessage()
- func (m *ExemplarsInfo) Reset()
- func (m *ExemplarsInfo) Size() (n int)
- func (m *ExemplarsInfo) String() string
- func (m *ExemplarsInfo) Unmarshal(dAtA []byte) error
- func (m *ExemplarsInfo) XXX_DiscardUnknown()
- func (m *ExemplarsInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExemplarsInfo) XXX_Merge(src proto.Message)
- func (m *ExemplarsInfo) XXX_Size() int
- func (m *ExemplarsInfo) XXX_Unmarshal(b []byte) error
- type InfoClient
- type InfoRequest
- func (*InfoRequest) Descriptor() ([]byte, []int)
- func (m *InfoRequest) Marshal() (dAtA []byte, err error)
- func (m *InfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *InfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InfoRequest) ProtoMessage()
- func (m *InfoRequest) Reset()
- func (m *InfoRequest) Size() (n int)
- func (m *InfoRequest) String() string
- func (m *InfoRequest) Unmarshal(dAtA []byte) error
- func (m *InfoRequest) XXX_DiscardUnknown()
- func (m *InfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InfoRequest) XXX_Merge(src proto.Message)
- func (m *InfoRequest) XXX_Size() int
- func (m *InfoRequest) XXX_Unmarshal(b []byte) error
- type InfoResponse
- func (*InfoResponse) Descriptor() ([]byte, []int)
- func (m *InfoResponse) Marshal() (dAtA []byte, err error)
- func (m *InfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *InfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InfoResponse) ProtoMessage()
- func (m *InfoResponse) Reset()
- func (m *InfoResponse) Size() (n int)
- func (m *InfoResponse) String() string
- func (m *InfoResponse) Unmarshal(dAtA []byte) error
- func (m *InfoResponse) XXX_DiscardUnknown()
- func (m *InfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InfoResponse) XXX_Merge(src proto.Message)
- func (m *InfoResponse) XXX_Size() int
- func (m *InfoResponse) XXX_Unmarshal(b []byte) error
- type InfoServer
- type MetricMetadataInfo
- func (*MetricMetadataInfo) Descriptor() ([]byte, []int)
- func (m *MetricMetadataInfo) Marshal() (dAtA []byte, err error)
- func (m *MetricMetadataInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *MetricMetadataInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MetricMetadataInfo) ProtoMessage()
- func (m *MetricMetadataInfo) Reset()
- func (m *MetricMetadataInfo) Size() (n int)
- func (m *MetricMetadataInfo) String() string
- func (m *MetricMetadataInfo) Unmarshal(dAtA []byte) error
- func (m *MetricMetadataInfo) XXX_DiscardUnknown()
- func (m *MetricMetadataInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetricMetadataInfo) XXX_Merge(src proto.Message)
- func (m *MetricMetadataInfo) XXX_Size() int
- func (m *MetricMetadataInfo) XXX_Unmarshal(b []byte) error
- type QueryAPIInfo
- func (*QueryAPIInfo) Descriptor() ([]byte, []int)
- func (m *QueryAPIInfo) Marshal() (dAtA []byte, err error)
- func (m *QueryAPIInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAPIInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAPIInfo) ProtoMessage()
- func (m *QueryAPIInfo) Reset()
- func (m *QueryAPIInfo) Size() (n int)
- func (m *QueryAPIInfo) String() string
- func (m *QueryAPIInfo) Unmarshal(dAtA []byte) error
- func (m *QueryAPIInfo) XXX_DiscardUnknown()
- func (m *QueryAPIInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAPIInfo) XXX_Merge(src proto.Message)
- func (m *QueryAPIInfo) XXX_Size() int
- func (m *QueryAPIInfo) XXX_Unmarshal(b []byte) error
- type RulesInfo
- func (*RulesInfo) Descriptor() ([]byte, []int)
- func (m *RulesInfo) Marshal() (dAtA []byte, err error)
- func (m *RulesInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *RulesInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RulesInfo) ProtoMessage()
- func (m *RulesInfo) Reset()
- func (m *RulesInfo) Size() (n int)
- func (m *RulesInfo) String() string
- func (m *RulesInfo) Unmarshal(dAtA []byte) error
- func (m *RulesInfo) XXX_DiscardUnknown()
- func (m *RulesInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RulesInfo) XXX_Merge(src proto.Message)
- func (m *RulesInfo) XXX_Size() int
- func (m *RulesInfo) XXX_Unmarshal(b []byte) error
- type StoreInfo
- func (*StoreInfo) Descriptor() ([]byte, []int)
- func (m *StoreInfo) Marshal() (dAtA []byte, err error)
- func (m *StoreInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *StoreInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StoreInfo) ProtoMessage()
- func (m *StoreInfo) Reset()
- func (m *StoreInfo) Size() (n int)
- func (m *StoreInfo) String() string
- func (m *StoreInfo) Unmarshal(dAtA []byte) error
- func (m *StoreInfo) XXX_DiscardUnknown()
- func (m *StoreInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StoreInfo) XXX_Merge(src proto.Message)
- func (m *StoreInfo) XXX_Size() int
- func (m *StoreInfo) XXX_Unmarshal(b []byte) error
- type TargetsInfo
- func (*TargetsInfo) Descriptor() ([]byte, []int)
- func (m *TargetsInfo) Marshal() (dAtA []byte, err error)
- func (m *TargetsInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *TargetsInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TargetsInfo) ProtoMessage()
- func (m *TargetsInfo) Reset()
- func (m *TargetsInfo) Size() (n int)
- func (m *TargetsInfo) String() string
- func (m *TargetsInfo) Unmarshal(dAtA []byte) error
- func (m *TargetsInfo) XXX_DiscardUnknown()
- func (m *TargetsInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TargetsInfo) XXX_Merge(src proto.Message)
- func (m *TargetsInfo) XXX_Size() int
- func (m *TargetsInfo) XXX_Unmarshal(b []byte) error
- type UnimplementedInfoServer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterInfoServer ¶
func RegisterInfoServer(s *grpc.Server, srv InfoServer)
Types ¶
type ExemplarsInfo ¶
type ExemplarsInfo struct { MinTime int64 `protobuf:"varint,1,opt,name=min_time,json=minTime,proto3" json:"min_time,omitempty"` MaxTime int64 `protobuf:"varint,2,opt,name=max_time,json=maxTime,proto3" json:"max_time,omitempty"` }
ExemplarsInfo holds the metadata related to Exemplars API exposed by the component.
func (*ExemplarsInfo) Descriptor ¶
func (*ExemplarsInfo) Descriptor() ([]byte, []int)
func (*ExemplarsInfo) Marshal ¶
func (m *ExemplarsInfo) Marshal() (dAtA []byte, err error)
func (*ExemplarsInfo) MarshalToSizedBuffer ¶
func (m *ExemplarsInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExemplarsInfo) ProtoMessage ¶
func (*ExemplarsInfo) ProtoMessage()
func (*ExemplarsInfo) Reset ¶
func (m *ExemplarsInfo) Reset()
func (*ExemplarsInfo) Size ¶
func (m *ExemplarsInfo) Size() (n int)
func (*ExemplarsInfo) String ¶
func (m *ExemplarsInfo) String() string
func (*ExemplarsInfo) Unmarshal ¶
func (m *ExemplarsInfo) Unmarshal(dAtA []byte) error
func (*ExemplarsInfo) XXX_DiscardUnknown ¶
func (m *ExemplarsInfo) XXX_DiscardUnknown()
func (*ExemplarsInfo) XXX_Marshal ¶
func (m *ExemplarsInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExemplarsInfo) XXX_Merge ¶
func (m *ExemplarsInfo) XXX_Merge(src proto.Message)
func (*ExemplarsInfo) XXX_Size ¶
func (m *ExemplarsInfo) XXX_Size() int
func (*ExemplarsInfo) XXX_Unmarshal ¶
func (m *ExemplarsInfo) XXX_Unmarshal(b []byte) error
type InfoClient ¶
type InfoClient interface { // Info returns the metadata (Eg. LabelSets, Min/Max time) about all the APIs the component supports. Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error) }
InfoClient is the client API for Info service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewInfoClient ¶
func NewInfoClient(cc *grpc.ClientConn) InfoClient
type InfoRequest ¶
type InfoRequest struct { }
func (*InfoRequest) Descriptor ¶
func (*InfoRequest) Descriptor() ([]byte, []int)
func (*InfoRequest) Marshal ¶
func (m *InfoRequest) Marshal() (dAtA []byte, err error)
func (*InfoRequest) MarshalToSizedBuffer ¶
func (m *InfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InfoRequest) ProtoMessage ¶
func (*InfoRequest) ProtoMessage()
func (*InfoRequest) Reset ¶
func (m *InfoRequest) Reset()
func (*InfoRequest) Size ¶
func (m *InfoRequest) Size() (n int)
func (*InfoRequest) String ¶
func (m *InfoRequest) String() string
func (*InfoRequest) Unmarshal ¶
func (m *InfoRequest) Unmarshal(dAtA []byte) error
func (*InfoRequest) XXX_DiscardUnknown ¶
func (m *InfoRequest) XXX_DiscardUnknown()
func (*InfoRequest) XXX_Marshal ¶
func (m *InfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InfoRequest) XXX_Merge ¶
func (m *InfoRequest) XXX_Merge(src proto.Message)
func (*InfoRequest) XXX_Size ¶
func (m *InfoRequest) XXX_Size() int
func (*InfoRequest) XXX_Unmarshal ¶
func (m *InfoRequest) XXX_Unmarshal(b []byte) error
type InfoResponse ¶
type InfoResponse struct { LabelSets []labelpb.ZLabelSet `protobuf:"bytes,1,rep,name=label_sets,json=labelSets,proto3" json:"label_sets"` ComponentType string `protobuf:"bytes,2,opt,name=ComponentType,proto3" json:"ComponentType,omitempty"` // StoreInfo holds the metadata related to Store API if exposed by the component otherwise it will be null. Store *StoreInfo `protobuf:"bytes,3,opt,name=store,proto3" json:"store,omitempty"` // RulesInfo holds the metadata related to Rules API if exposed by the component otherwise it will be null. Rules *RulesInfo `protobuf:"bytes,4,opt,name=rules,proto3" json:"rules,omitempty"` // MetricMetadataInfo holds the metadata related to Metadata API if exposed by the component otherwise it will be null. MetricMetadata *MetricMetadataInfo `protobuf:"bytes,5,opt,name=metric_metadata,json=metricMetadata,proto3" json:"metric_metadata,omitempty"` // TargetsInfo holds the metadata related to Targets API if exposed by the component otherwise it will be null. Targets *TargetsInfo `protobuf:"bytes,6,opt,name=targets,proto3" json:"targets,omitempty"` // ExemplarsInfo holds the metadata related to Exemplars API if exposed by the component otherwise it will be null. Exemplars *ExemplarsInfo `protobuf:"bytes,7,opt,name=exemplars,proto3" json:"exemplars,omitempty"` // QueryAPIInfo holds the metadata related to Query API if exposed by the component, otherwise it will be null. Query *QueryAPIInfo `protobuf:"bytes,8,opt,name=query,proto3" json:"query,omitempty"` }
func (*InfoResponse) Descriptor ¶
func (*InfoResponse) Descriptor() ([]byte, []int)
func (*InfoResponse) Marshal ¶
func (m *InfoResponse) Marshal() (dAtA []byte, err error)
func (*InfoResponse) MarshalToSizedBuffer ¶
func (m *InfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InfoResponse) ProtoMessage ¶
func (*InfoResponse) ProtoMessage()
func (*InfoResponse) Reset ¶
func (m *InfoResponse) Reset()
func (*InfoResponse) Size ¶
func (m *InfoResponse) Size() (n int)
func (*InfoResponse) String ¶
func (m *InfoResponse) String() string
func (*InfoResponse) Unmarshal ¶
func (m *InfoResponse) Unmarshal(dAtA []byte) error
func (*InfoResponse) XXX_DiscardUnknown ¶
func (m *InfoResponse) XXX_DiscardUnknown()
func (*InfoResponse) XXX_Marshal ¶
func (m *InfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InfoResponse) XXX_Merge ¶
func (m *InfoResponse) XXX_Merge(src proto.Message)
func (*InfoResponse) XXX_Size ¶
func (m *InfoResponse) XXX_Size() int
func (*InfoResponse) XXX_Unmarshal ¶
func (m *InfoResponse) XXX_Unmarshal(b []byte) error
type InfoServer ¶
type InfoServer interface { // Info returns the metadata (Eg. LabelSets, Min/Max time) about all the APIs the component supports. Info(context.Context, *InfoRequest) (*InfoResponse, error) }
InfoServer is the server API for Info service.
type MetricMetadataInfo ¶
type MetricMetadataInfo struct { }
MetricMetadataInfo holds the metadata related to Metadata API exposed by the component.
func (*MetricMetadataInfo) Descriptor ¶
func (*MetricMetadataInfo) Descriptor() ([]byte, []int)
func (*MetricMetadataInfo) Marshal ¶
func (m *MetricMetadataInfo) Marshal() (dAtA []byte, err error)
func (*MetricMetadataInfo) MarshalTo ¶
func (m *MetricMetadataInfo) MarshalTo(dAtA []byte) (int, error)
func (*MetricMetadataInfo) MarshalToSizedBuffer ¶
func (m *MetricMetadataInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MetricMetadataInfo) ProtoMessage ¶
func (*MetricMetadataInfo) ProtoMessage()
func (*MetricMetadataInfo) Reset ¶
func (m *MetricMetadataInfo) Reset()
func (*MetricMetadataInfo) Size ¶
func (m *MetricMetadataInfo) Size() (n int)
func (*MetricMetadataInfo) String ¶
func (m *MetricMetadataInfo) String() string
func (*MetricMetadataInfo) Unmarshal ¶
func (m *MetricMetadataInfo) Unmarshal(dAtA []byte) error
func (*MetricMetadataInfo) XXX_DiscardUnknown ¶
func (m *MetricMetadataInfo) XXX_DiscardUnknown()
func (*MetricMetadataInfo) XXX_Marshal ¶
func (m *MetricMetadataInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetricMetadataInfo) XXX_Merge ¶
func (m *MetricMetadataInfo) XXX_Merge(src proto.Message)
func (*MetricMetadataInfo) XXX_Size ¶
func (m *MetricMetadataInfo) XXX_Size() int
func (*MetricMetadataInfo) XXX_Unmarshal ¶
func (m *MetricMetadataInfo) XXX_Unmarshal(b []byte) error
type QueryAPIInfo ¶ added in v0.26.0
type QueryAPIInfo struct { }
QueryInfo holds the metadata related to Query API exposed by the component.
func (*QueryAPIInfo) Descriptor ¶ added in v0.26.0
func (*QueryAPIInfo) Descriptor() ([]byte, []int)
func (*QueryAPIInfo) Marshal ¶ added in v0.26.0
func (m *QueryAPIInfo) Marshal() (dAtA []byte, err error)
func (*QueryAPIInfo) MarshalTo ¶ added in v0.26.0
func (m *QueryAPIInfo) MarshalTo(dAtA []byte) (int, error)
func (*QueryAPIInfo) MarshalToSizedBuffer ¶ added in v0.26.0
func (m *QueryAPIInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAPIInfo) ProtoMessage ¶ added in v0.26.0
func (*QueryAPIInfo) ProtoMessage()
func (*QueryAPIInfo) Reset ¶ added in v0.26.0
func (m *QueryAPIInfo) Reset()
func (*QueryAPIInfo) Size ¶ added in v0.26.0
func (m *QueryAPIInfo) Size() (n int)
func (*QueryAPIInfo) String ¶ added in v0.26.0
func (m *QueryAPIInfo) String() string
func (*QueryAPIInfo) Unmarshal ¶ added in v0.26.0
func (m *QueryAPIInfo) Unmarshal(dAtA []byte) error
func (*QueryAPIInfo) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *QueryAPIInfo) XXX_DiscardUnknown()
func (*QueryAPIInfo) XXX_Marshal ¶ added in v0.26.0
func (m *QueryAPIInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAPIInfo) XXX_Merge ¶ added in v0.26.0
func (m *QueryAPIInfo) XXX_Merge(src proto.Message)
func (*QueryAPIInfo) XXX_Size ¶ added in v0.26.0
func (m *QueryAPIInfo) XXX_Size() int
func (*QueryAPIInfo) XXX_Unmarshal ¶ added in v0.26.0
func (m *QueryAPIInfo) XXX_Unmarshal(b []byte) error
type RulesInfo ¶
type RulesInfo struct { }
RulesInfo holds the metadata related to Rules API exposed by the component.
func (*RulesInfo) Descriptor ¶
func (*RulesInfo) MarshalToSizedBuffer ¶
func (*RulesInfo) ProtoMessage ¶
func (*RulesInfo) ProtoMessage()
func (*RulesInfo) XXX_DiscardUnknown ¶
func (m *RulesInfo) XXX_DiscardUnknown()
func (*RulesInfo) XXX_Marshal ¶
func (*RulesInfo) XXX_Unmarshal ¶
type StoreInfo ¶
type StoreInfo struct { MinTime int64 `protobuf:"varint,1,opt,name=min_time,json=minTime,proto3" json:"min_time,omitempty"` MaxTime int64 `protobuf:"varint,2,opt,name=max_time,json=maxTime,proto3" json:"max_time,omitempty"` }
StoreInfo holds the metadata related to Store API exposed by the component.
func (*StoreInfo) Descriptor ¶
func (*StoreInfo) MarshalToSizedBuffer ¶
func (*StoreInfo) ProtoMessage ¶
func (*StoreInfo) ProtoMessage()
func (*StoreInfo) XXX_DiscardUnknown ¶
func (m *StoreInfo) XXX_DiscardUnknown()
func (*StoreInfo) XXX_Marshal ¶
func (*StoreInfo) XXX_Unmarshal ¶
type TargetsInfo ¶
type TargetsInfo struct { }
TargetsInfo holds the metadata related to Targets API exposed by the component.
func (*TargetsInfo) Descriptor ¶
func (*TargetsInfo) Descriptor() ([]byte, []int)
func (*TargetsInfo) Marshal ¶
func (m *TargetsInfo) Marshal() (dAtA []byte, err error)
func (*TargetsInfo) MarshalToSizedBuffer ¶
func (m *TargetsInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TargetsInfo) ProtoMessage ¶
func (*TargetsInfo) ProtoMessage()
func (*TargetsInfo) Reset ¶
func (m *TargetsInfo) Reset()
func (*TargetsInfo) Size ¶
func (m *TargetsInfo) Size() (n int)
func (*TargetsInfo) String ¶
func (m *TargetsInfo) String() string
func (*TargetsInfo) Unmarshal ¶
func (m *TargetsInfo) Unmarshal(dAtA []byte) error
func (*TargetsInfo) XXX_DiscardUnknown ¶
func (m *TargetsInfo) XXX_DiscardUnknown()
func (*TargetsInfo) XXX_Marshal ¶
func (m *TargetsInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TargetsInfo) XXX_Merge ¶
func (m *TargetsInfo) XXX_Merge(src proto.Message)
func (*TargetsInfo) XXX_Size ¶
func (m *TargetsInfo) XXX_Size() int
func (*TargetsInfo) XXX_Unmarshal ¶
func (m *TargetsInfo) XXX_Unmarshal(b []byte) error
type UnimplementedInfoServer ¶
type UnimplementedInfoServer struct { }
UnimplementedInfoServer can be embedded to have forward compatible implementations.
func (*UnimplementedInfoServer) Info ¶
func (*UnimplementedInfoServer) Info(ctx context.Context, req *InfoRequest) (*InfoResponse, error)