Documentation ¶
Overview ¶
Package runtime contains interfaces and implementations that are used by compiled Blueprint applications at runtime
During compilation, Blueprint's compiler will take code from this module and include it into the compiled output. This is primarily implemented by the golang/goparser and workflowspec plugins
runtime/core/backend defines the backend interfaces used by workflow specs. A workflow spec implementation might want to import that package and use the interfaces defined there.
plugins defines implementations that are used by plugins and automatically compiled into the application. These should not need to be directly reference by workflow specs.
Directories ¶
Path | Synopsis |
---|---|
core
|
|
backend
Package backend provides the interfaces for common backends like caches, queues, databases, etc.
|
Package backend provides the interfaces for common backends like caches, queues, databases, etc. |
registry
Package registry provides a struct for registering different service constructors for use at runtime.
|
Package registry provides a struct for registering different service constructors for use at runtime. |
plugins
|
|
clientpool
Package clientpool implements the runtime components of Blueprint's ClientPool plugin.
|
Package clientpool implements the runtime components of Blueprint's ClientPool plugin. |
golang
Package golang implements the golang namespace used by Blueprint applications at runtime to instantiate golang nodes.
|
Package golang implements the golang namespace used by Blueprint applications at runtime to instantiate golang nodes. |
govector
package govector provides runtime GoVector components to be used by the govector plugin.
|
package govector provides runtime GoVector components to be used by the govector plugin. |
jaeger
Package jaeger implements a tracer [backend.Tracer] client interface for the jaeger tracer.
|
Package jaeger implements a tracer [backend.Tracer] client interface for the jaeger tracer. |
memcached
Package memcached implements a key-value backend.Cache client interface to a vanilla memcached implementation.
|
Package memcached implements a key-value backend.Cache client interface to a vanilla memcached implementation. |
mongodb
Package mongodb implements a cleint interface to a mongodb server that supports MongoDB's query and update API.
|
Package mongodb implements a cleint interface to a mongodb server that supports MongoDB's query and update API. |
mysql
Package mysql provides a client-wrapper implementation of the [backend.RelationalDB] interface for a mysql server.
|
Package mysql provides a client-wrapper implementation of the [backend.RelationalDB] interface for a mysql server. |
rabbitmq
Package rabbitmq provides a client-wrapper implementation of the backend.Queue interface for a rabbitmq server.
|
Package rabbitmq provides a client-wrapper implementation of the backend.Queue interface for a rabbitmq server. |
redis
Package redis implements a key-value [backend.Cache] client interface to a vanilla redis implementation.
|
Package redis implements a key-value [backend.Cache] client interface to a vanilla redis implementation. |
simplecache
Package simplecache implements a key-value backend.Cache using a golang map.
|
Package simplecache implements a key-value backend.Cache using a golang map. |
simplenosqldb
Package simplenosqldb implements an in-memory NoSQLDB that supports a subset of MongoDB's query and update API.
|
Package simplenosqldb implements an in-memory NoSQLDB that supports a subset of MongoDB's query and update API. |
simplequeue
Package simplequeue implements an simple in-memory backend.Queue that internally uses a golang channel of capacity 10 for passing items from producer to consumer.
|
Package simplequeue implements an simple in-memory backend.Queue that internally uses a golang channel of capacity 10 for passing items from producer to consumer. |
sqlitereldb
Package sqlitereldb implements a [backend.RelationalDB] using the in-memory Golang SQLite package github.com/mattn/go-sqlite3.
|
Package sqlitereldb implements a [backend.RelationalDB] using the in-memory Golang SQLite package github.com/mattn/go-sqlite3. |
xtrace
Package xtrace provides xtrace-based runtime components to be used by blueprint application workflows and blueprint generated code.
|
Package xtrace provides xtrace-based runtime components to be used by blueprint application workflows and blueprint generated code. |
zipkin
Package zipkin implements a tracer [backend.Tracer] client interface for the zipkin tracer.
|
Package zipkin implements a tracer [backend.Tracer] client interface for the zipkin tracer. |
Click to show internal directories.
Click to hide internal directories.