Directories
¶
Path | Synopsis |
---|---|
Package api contains ProtoBuf-generated types for the external gRPC API to Akutan.
|
Package api contains ProtoBuf-generated types for the external gRPC API to Akutan. |
akutan-api
Command akutan-api runs an Akutan API server daemon.
|
Command akutan-api runs an Akutan API server daemon. |
impl
Package impl implements the external gRPC and HTTP API servers for Akutan.
|
Package impl implements the external gRPC and HTTP API servers for Akutan. |
impl/kgstats
Package kgstats fetches and caches runtime statistics about the cluster and dataset.
|
Package kgstats fetches and caches runtime statistics about the cluster and dataset. |
Package blog contains interfaces to Akutan's data log.
|
Package blog contains interfaces to Akutan's data log. |
kafka
Package kafka implements a Kafka client as a blog.AkutanLog.
|
Package kafka implements a Kafka client as a blog.AkutanLog. |
logspecclient
Package logspecclient implements a client for the akutan/logspec API.
|
Package logspecclient implements a client for the akutan/logspec API. |
mockblog
Package mockblog contains an in-process, in-memory implementation of a Akutan log client and server.
|
Package mockblog contains an in-process, in-memory implementation of a Akutan log client and server. |
Package config contains the configuration for a Akutan server.
|
Package config contains the configuration for a Akutan server. |
Package discovery defines basic concepts around service discovery and locating endpoints.
|
Package discovery defines basic concepts around service discovery and locating endpoints. |
discoveryfactory
Package discoveryfactory constructs service discovery implementations.
|
Package discoveryfactory constructs service discovery implementations. |
kubediscovery
Package kubediscovery provides an implementation of the Locator interface backed by Kubernetes service discovery.
|
Package kubediscovery provides an implementation of the Locator interface backed by Kubernetes service discovery. |
Package diskview implements a view service that serves facts from an ordered key-value store.
|
Package diskview implements a view service that serves facts from an ordered key-value store. |
akutan-diskview
Command akutan-diskview runs a DiskView daemon.
|
Command akutan-diskview runs a DiskView daemon. |
database
Package database defines an abstract ordered Key/Value store that can be used as a backing store by the Disk View.
|
Package database defines an abstract ordered Key/Value store that can be used as a backing store by the Disk View. |
keys
Package keys provides support for building and parsing the DiskView's binary key format that facts are encoded into.
|
Package keys provides support for building and parsing the DiskView's binary key format that facts are encoded into. |
rocksdb
Package rocksdb provides an implementation of the Database interface that is backed by a local RocksDB Key/Value store
|
Package rocksdb provides an implementation of the Database interface that is backed by a local RocksDB Key/Value store |
facts
|
|
cache
Package cache provides for caching facts that were infered during a query and pottentially reusing them for subsequent operations with the same query.
|
Package cache provides for caching facts that were infered during a query and pottentially reusing them for subsequent operations with the same query. |
Package infer implements fact inference by traversing transitive predicates.
|
Package infer implements fact inference by traversing transitive predicates. |
Package logentry contains all the types generated from the protobuf files.
|
Package logentry contains all the types generated from the protobuf files. |
logencoder
Package logencoder handles serialization and deserialization of logentry.*Command in to/from bytes.
|
Package logencoder handles serialization and deserialization of logentry.*Command in to/from bytes. |
logread
Package logread deals with mapping from logentry types into rpc types.
|
Package logread deals with mapping from logentry types into rpc types. |
logwrite
Package logwrite contains helper functions to create instances of types in the logentry package.
|
Package logwrite contains helper functions to create instances of types in the logentry package. |
Package logspec contains ProtoBuf-generated types for Akutan's log.
|
Package logspec contains ProtoBuf-generated types for Akutan's log. |
msg
|
|
facts
Package facts defines the well known base set of facts that are needed to bootstrap the graph
|
Package facts defines the well known base set of facts that are needed to bootstrap the graph |
kgobject
Package kgobject contains helper methods to construct common api KGObject instances
|
Package kgobject contains helper methods to construct common api KGObject instances |
Package partitioning provides ways to describe how the set of facts have been partitioned.
|
Package partitioning provides ways to describe how the set of facts have been partitioned. |
Package query provides a high level entry point for executing AkutanQL queries.
|
Package query provides a high level entry point for executing AkutanQL queries. |
exec
Package exec is used to execute a KG query that was built by the query planner.
|
Package exec is used to execute a KG query that was built by the query planner. |
internal/debug
Package debug contains functions to help track details about query processing and report them.
|
Package debug contains functions to help track details about query processing and report them. |
parser
Package parser implements a parser combinator for the akutan query language.
|
Package parser implements a parser combinator for the akutan query language. |
planner
Package planner is the KG/Akutan-specific query optimizer.
|
Package planner is the KG/Akutan-specific query optimizer. |
planner/plandef
Package plandef defines the output of the query planner.
|
Package plandef defines the output of the query planner. |
planner/search
Package search implements a generic query optimizer algorithm.
|
Package search implements a generic query optimizer algorithm. |
Package rpc contains ProtoBuf-generated types for the messages communicated between Akutan servers.
|
Package rpc contains ProtoBuf-generated types for the messages communicated between Akutan servers. |
Package space defines abstract notions of points and ranges.
|
Package space defines abstract notions of points and ranges. |
tools
|
|
akutan-client
Command bc provides command line access to the akutan GRPC API
|
Command bc provides command line access to the akutan GRPC API |
carousel-client
Command carousel-client is a low level carousel client tool for helping investigate performance etc.
|
Command carousel-client is a low level carousel client tool for helping investigate performance etc. |
db-scan
Command db-scan reads all keys from a Rocks database.
|
Command db-scan reads all keys from a Rocks database. |
dep
Command dep checks / fetches / update dependencies
|
Command dep checks / fetches / update dependencies |
gen-kube
Command generate writes out Kubernetes configuration for portions of the Akutan cluster.
|
Command generate writes out Kubernetes configuration for portions of the Akutan cluster. |
gen-local
Command gen-local writes out files used to run a Akutan cluster locally.
|
Command gen-local writes out files used to run a Akutan cluster locally. |
gen-local/gen
Package gen is used in generating configurations for an entire Akutan cluster.
|
Package gen is used in generating configurations for an entire Akutan cluster. |
grpcbench
Command grpcbench is a small benchmark tool for gRPC.
|
Command grpcbench is a small benchmark tool for gRPC. |
log-client
Command log-client is a tool for low-level access to Akutan log servers.
|
Command log-client is a tool for low-level access to Akutan log servers. |
plank
Command plank implements a logspec server by storing entries in local memory only.
|
Command plank implements a logspec server by storing entries in local memory only. |
view-client
Command view-client is command line tool for calling Akutan views.
|
Command view-client is command line tool for calling Akutan views. |
Package txtimeoutview implements a view service that times out slow transactions and measures the log's latency.
|
Package txtimeoutview implements a view service that times out slow transactions and measures the log's latency. |
akutan-txview
Command akutan-txview runs a TxTimeoutView daemon.
|
Command akutan-txview runs a TxTimeoutView daemon. |
logping
Package logping measures the latency of Akutan's log by appending to it and reading from it.
|
Package logping measures the latency of Akutan's log by appending to it and reading from it. |
txtimer
Package txtimer watches for slow transactions and aborts them.
|
Package txtimer watches for slow transactions and aborts them. |
Package update handles requests to modify the graph.
|
Package update handles requests to modify the graph. |
conv
Package conv helps convert between related types as an update request is processed.
|
Package conv helps convert between related types as an update request is processed. |
util
|
|
bytes
Package bytes aids in manipulating byte slices and writing bytes and strings.
|
Package bytes aids in manipulating byte slices and writing bytes and strings. |
clocks
Package clocks provides a mockable way to measure time and set timers.
|
Package clocks provides a mockable way to measure time and set timers. |
cmp
Package cmp provides common operators on a number of scalar types
|
Package cmp provides common operators on a number of scalar types |
debuglog
Package debuglog configures Logrus.
|
Package debuglog configures Logrus. |
errors
Package errors aids in handling errors.
|
Package errors aids in handling errors. |
graphviz
Package graphviz generates diagrams from dot input.
|
Package graphviz generates diagrams from dot input. |
grpc/client
Package grpcclientutil has helpers for configuring gRPC clients.
|
Package grpcclientutil has helpers for configuring gRPC clients. |
grpc/server
Package grpcserverutil has helpers for configuring gRPC servers
|
Package grpcserverutil has helpers for configuring gRPC servers |
metrics
Package metrics aids in defining Prometheus metrics.
|
Package metrics aids in defining Prometheus metrics. |
parallel
Package parallel is a utility package for running parallel/concurrent tasks.
|
Package parallel is a utility package for running parallel/concurrent tasks. |
perfbenchmarks
Package perfbenchmarks contains benchmarks for Go language and standard library features.
|
Package perfbenchmarks contains benchmarks for Go language and standard library features. |
profiling
Package profiling assists in gathering CPU profiles.
|
Package profiling assists in gathering CPU profiles. |
random
Package random helps seed the math/rand pseudo-random number generator.
|
Package random helps seed the math/rand pseudo-random number generator. |
signals
Package signals aids in POSIX signal handling.
|
Package signals aids in POSIX signal handling. |
stats
Package stats contains a pretty-printer for statistics about the facts stored on DiskViews.
|
Package stats contains a pretty-printer for statistics about the facts stored on DiskViews. |
table
Package table formats data into a text-based table for human consumption.
|
Package table formats data into a text-based table for human consumption. |
tracing
Package tracing assists with reporting OpenTracing traces.
|
Package tracing assists with reporting OpenTracing traces. |
unicode
Package unicode contains Unicode text functionality for Akutan store.
|
Package unicode contains Unicode text functionality for Akutan store. |
web
Package web aids in writing HTTP servers.
|
Package web aids in writing HTTP servers. |
Package viewclient provides functionality for querying view servers.
|
Package viewclient provides functionality for querying view servers. |
fanout
Package fanout is useful for invoking RPCs across a bunch of servers.
|
Package fanout is useful for invoking RPCs across a bunch of servers. |
lookups
Package lookups defines go interfaces that the various LookupXX rpc wrappers expose, this can be useful in decoupling the actual Loopup implementation from its usage, allowing for easier testing
|
Package lookups defines go interfaces that the various LookupXX rpc wrappers expose, this can be useful in decoupling the actual Loopup implementation from its usage, allowing for easier testing |
lookups/mocklookups
Package mocklookups provides a mock implementation of the various Fact lookup RPCs.
|
Package mocklookups provides a mock implementation of the various Fact lookup RPCs. |
mockstore
Package mockstore provides various mocks that store facts and can execute lookups against them.
|
Package mockstore provides various mocks that store facts and can execute lookups against them. |
viewreg
Package viewreg tracks all the known view servers in the cluster.
|
Package viewreg tracks all the known view servers in the cluster. |