data

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package data contains data transmission topics.

Index

Constants

This section is empty.

Variables

View Source
var MeasureQueryKindVersion = common.KindVersion{
	Version: "v1",
	Kind:    "measure-query",
}

MeasureQueryKindVersion is the version tag of measure query kind.

View Source
var MeasureWriteKindVersion = common.KindVersion{
	Version: "v1",
	Kind:    "measure-write",
}

MeasureWriteKindVersion is the version tag of measure write kind.

View Source
var StreamQueryKindVersion = common.KindVersion{
	Version: "v1",
	Kind:    "stream-query",
}

StreamQueryKindVersion is the version tag of stream query kind.

View Source
var StreamWriteKindVersion = common.KindVersion{
	Version: "v1",
	Kind:    "stream-write",
}

StreamWriteKindVersion is the version tag of stream write kind.

View Source
var TopNQueryKindVersion = common.KindVersion{
	Version: "v1",
	Kind:    "topN-query",
}

TopNQueryKindVersion is the version tag of top-n query kind.

TopicMap is the map of topic name to topic.

View Source
var TopicMeasureQuery = bus.BiTopic(MeasureQueryKindVersion.String())

TopicMeasureQuery is the measure query topic.

View Source
var TopicMeasureWrite = bus.UniTopic(MeasureWriteKindVersion.String())

TopicMeasureWrite is the measure write topic.

View Source
var TopicRequestMap = map[bus.Topic]func() proto.Message{
	TopicStreamWrite: func() proto.Message {
		return &streamv1.InternalWriteRequest{}
	},
	TopicStreamQuery: func() proto.Message {
		return &streamv1.QueryRequest{}
	},
	TopicMeasureWrite: func() proto.Message {
		return &measurev1.InternalWriteRequest{}
	},
	TopicMeasureQuery: func() proto.Message {
		return &measurev1.QueryRequest{}
	},
	TopicTopNQuery: func() proto.Message {
		return &measurev1.TopNRequest{}
	},
}

TopicRequestMap is the map of topic name to request message. nolint: exhaustruct

View Source
var TopicResponseMap = map[bus.Topic]func() proto.Message{
	TopicStreamQuery: func() proto.Message {
		return &streamv1.QueryResponse{}
	},
	TopicMeasureQuery: func() proto.Message {
		return &measurev1.QueryResponse{}
	},
	TopicTopNQuery: func() proto.Message {
		return &measurev1.TopNResponse{}
	},
}

TopicResponseMap is the map of topic name to response message. nolint: exhaustruct

View Source
var TopicStreamQuery = bus.BiTopic(StreamQueryKindVersion.String())

TopicStreamQuery is the stream query topic.

View Source
var TopicStreamWrite = bus.UniTopic(StreamWriteKindVersion.String())

TopicStreamWrite is the stream write topic.

View Source
var TopicTopNQuery = bus.BiTopic(TopNQueryKindVersion.String())

TopicTopNQuery is the top-n query topic.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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