Directories
¶
| Path | Synopsis |
|---|---|
|
Package main is the entry point of the semaphore command line tool.
|
Package main is the entry point of the semaphore command line tool. |
|
cliapp
Package cliapp wires and runs the semaphore-cli command line.
|
Package cliapp wires and runs the semaphore-cli command line. |
|
config
Package config implements "semaphore-cli config validate" and "semaphore-cli config print --effective": thin commands over the strict loader of the version 2 bootstrap file (cmd/relayproxy/bootstrap).
|
Package config implements "semaphore-cli config validate" and "semaphore-cli config print --effective": thin commands over the strict loader of the version 2 bootstrap file (cmd/relayproxy/bootstrap). |
|
evaluate
Package evaluate implements the command that evaluates a feature flag for a given context.
|
Package evaluate implements the command that evaluates a feature flag for a given context. |
|
evaluate/retrieverconf
Package retrieverconf defines the configuration of the retrievers and their serializable options.
|
Package retrieverconf defines the configuration of the retrievers and their serializable options. |
|
evaluate/retrieverconf/init
Package init creates the retrievers from their configuration.
|
Package init creates the retrievers from their configuration. |
|
generate
Package generate implements the command group that generates Semaphore related files.
|
Package generate implements the command group that generates Semaphore related files. |
|
generate/manifest
Package manifest implements the command that generates a flag manifest from a configuration file.
|
Package manifest implements the command that generates a flag manifest from a configuration file. |
|
generate/manifest/model
Package model defines the flag manifest document structure written by the manifest command.
|
Package model defines the flag manifest document structure written by the manifest command. |
|
helper
Package helper provides the flag type resolution and output helpers shared by the command line commands.
|
Package helper provides the flag type resolution and output helpers shared by the command line commands. |
|
linter
Package linter implements the command that lints a Semaphore flag configuration file.
|
Package linter implements the command that lints a Semaphore flag configuration file. |
|
publish
Package publish implements "semaphore-cli publish": it reads a directory of flag files and flag-set documents, builds the manifest and publishes both to S3 with controlplane/s3publish, and "semaphore-cli publish verify", which checks what the bucket holds.
|
Package publish implements "semaphore-cli publish": it reads a directory of flag files and flag-set documents, builds the manifest and publishes both to S3 with controlplane/s3publish, and "semaphore-cli publish verify", which checks what the bucket holds. |
|
segment
Package segment is the semaphore-cli segment command group: import, add, remove and stat for the members of a dynamic segment in a Valkey or Redis store.
|
Package segment is the semaphore-cli segment command group: import, add, remove and stat for the members of a dynamic segment in a Valkey or Redis store. |
|
Package main generates the JSON schema of the relay proxy configuration file.
|
Package main generates the JSON schema of the relay proxy configuration file. |
|
Package main is the entry point of the relay proxy server.
|
Package main is the entry point of the relay proxy server. |
|
api
Package api serves the relay proxy HTTP API, its OpenAPI document and its server lifecycle.
|
Package api serves the relay proxy HTTP API, its OpenAPI document and its server lifecycle. |
|
api/middleware
Package middleware holds the HTTP middleware of the relay proxy, as plain http.Handler wrappers.
|
Package middleware holds the HTTP middleware of the relay proxy, as plain http.Handler wrappers. |
|
api/opentelemetry
Package opentelemetry sets up the OpenTelemetry metrics and tracing of the relay proxy.
|
Package opentelemetry sets up the OpenTelemetry metrics and tracing of the relay proxy. |
|
bootstrap
Package bootstrap defines the version 2 bootstrap file of the relay proxy: its schema, a strict loader that reports path- and line-addressed errors, the secret references, the explicit environment overrides, the defaults table, the redacted effective print and the JSON Schema.
|
Package bootstrap defines the version 2 bootstrap file of the relay proxy: its schema, a strict loader that reports path- and line-addressed errors, the secret references, the explicit environment overrides, the defaults table, the redacted effective print and the JSON Schema. |
|
configsync
Package configsync lets the OFREP bulk evaluation answer a client that was notified of a newer configuration than the one the relay has loaded: the relay checks its control plane first, within a bound, and answers with what it then has.
|
Package configsync lets the OFREP bulk evaluation answer a client that was notified of a newer configuration than the one the relay has loaded: the relay checks its control plane first, within a bound, and answers with what it then has. |
|
controlsource
Package controlsource connects the manifest reader to the runtime: it turns every manifestreader.Snapshot into a flagruntime.Content and hands it to the engine.
|
Package controlsource connects the manifest reader to the runtime: it turns every manifestreader.Snapshot into a flagruntime.Content and hands it to the engine. |
|
corehttp
Package corehttp serves the HTTP API of the relay proxy (the evaluation endpoints, the flag configuration, the flag change, the collection of events and the streams of changes) from a relaycore.Core.
|
Package corehttp serves the HTTP API of the relay proxy (the evaluation endpoints, the flag configuration, the flag change, the collection of events and the streams of changes) from a relaycore.Core. |
|
events
Package events holds the runtime-level exporters, the event channel and the notifiers of the relay proxy.
|
Package events holds the runtime-level exporters, the event channel and the notifiers of the relay proxy. |
|
events/kafka
Package kafka implements the SCRAM client used to authenticate against Kafka.
|
Package kafka implements the SCRAM client used to authenticate against Kafka. |
|
flagruntime
Package flagruntime holds the immutable runtime of the relay proxy and the reconcile engine that replaces it.
|
Package flagruntime holds the immutable runtime of the relay proxy and the reconcile engine that replaces it. |
|
flagruntime/keyindex
Package keyindex is the lookup table of API keys: a lookup costs a bounded amount whatever the key a client presents.
|
Package keyindex is the lookup table of API keys: a lookup costs a bounded amount whatever the key a client presents. |
|
handler/manifest
Package manifest implements the HTTP handler that returns the flag manifest of a flagset.
|
Package manifest implements the HTTP handler that returns the flag manifest of a flagset. |
|
handler/ofrep
Package ofrep implements the OFREP evaluation handlers of the relay proxy.
|
Package ofrep implements the OFREP evaluation handlers of the relay proxy. |
|
handler/semaphore
Package semaphore implements the Semaphore HTTP handlers of the relay proxy.
|
Package semaphore implements the Semaphore HTTP handlers of the relay proxy. |
|
helper
Package helper provides the request, header and HTTP error helpers of the relay proxy.
|
Package helper provides the request, header and HTTP error helpers of the relay proxy. |
|
metric
Package metric defines the Prometheus metrics exposed by the relay proxy.
|
Package metric defines the Prometheus metrics exposed by the relay proxy. |
|
model
Package model defines the request and response models of the relay proxy HTTP API.
|
Package model defines the request and response models of the relay proxy HTTP API. |
|
modeldocs
Package modeldocs holds the documentation stubs of the relay proxy OpenAPI document.
|
Package modeldocs holds the documentation stubs of the relay proxy OpenAPI document. |
|
relayapp
Package relayapp wires and runs the relay proxy: the command line, the start, the reloads and the ordered stop.
|
Package relayapp wires and runs the relay proxy: the command line, the start, the reloads and the ordered stop. |
|
relaycore
Package relaycore assembles the config v2 relay core from a loaded bootstrap file: the connections, the object store of the control plane, the state directory, the manifest reader, the source that feeds the reconcile engine, the engine with its holder and evaluator, and the exporters and notifiers of the events package.
|
Package relaycore assembles the config v2 relay core from a loaded bootstrap file: the connections, the object store of the control plane, the state directory, the manifest reader, the source that feeds the reconcile engine, the engine with its holder and evaluator, and the exporters and notifiers of the events package. |
|
segmentobs
Package segmentobs observes the resolvers of the dynamic segments for Prometheus.
|
Package segmentobs observes the resolvers of the dynamic segments for Prometheus. |
|
segmentstore
Package segmentstore tells the relay which kinds of connection of the bootstrap file can serve segments, and in which modes.
|
Package segmentstore tells the relay which kinds of connection of the bootstrap file can serve segments, and in which modes. |
|
service
Package service manages the flagsets and the feature flag clients used by the relay proxy.
|
Package service manages the flagsets and the feature flag clients used by the relay proxy. |
|
service/stream
Package stream implements the SSE and WebSocket streams that push flag changes to clients.
|
Package stream implements the SSE and WebSocket streams that push flag changes to clients. |
|
tlscert
Package tlscert serves the certificate of a TLS listener and reloads it when its files change, without a restart and without touching the connections that are open.
|
Package tlscert serves the certificate of a TLS listener and reloads it when its files change, without a restart and without touching the connections that are open. |
Click to show internal directories.
Click to hide internal directories.