Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
natsie
command
|
|
|
internal
|
|
|
audit
Package audit appends one JSON object per line to a long-lived file.
|
Package audit appends one JSON object per line to a long-lived file. |
|
chatops
Package chatops is the chat-frontend-agnostic command dispatcher.
|
Package chatops is the chat-frontend-agnostic command dispatcher. |
|
cleanup
Package cleanup applies a manifest against live NATS clusters.
|
Package cleanup applies a manifest against live NATS clusters. |
|
cmd/bot
Package bot wires the natsie CLI to the long-lived bot daemon (scheduled scans, chat notifications, manifest store, HTTP listener).
|
Package bot wires the natsie CLI to the long-lived bot daemon (scheduled scans, chat notifications, manifest store, HTTP listener). |
|
infra/config
Package config loads natsie's configuration from a YAML file and environment variables, layered in that order.
|
Package config loads natsie's configuration from a YAML file and environment variables, layered in that order. |
|
infra/httpsrv
Package httpsrv hosts the bot's HTTP listener: a read-only manifest viewer, a health endpoint, and (in follow-up commits) the slash-command handler plus signed approval URLs.
|
Package httpsrv hosts the bot's HTTP listener: a read-only manifest viewer, a health endpoint, and (in follow-up commits) the slash-command handler plus signed approval URLs. |
|
infra/mattermost
Package mattermost implements pull-mode bot transport for Mattermost instances that don't support outbound slash commands.
|
Package mattermost implements pull-mode bot transport for Mattermost instances that don't support outbound slash commands. |
|
infra/metrics
Package metrics holds the bot's Prometheus instrumentation.
|
Package metrics holds the bot's Prometheus instrumentation. |
|
infra/natsctx
Package natsctx reads ~/.config/nats/context/*.json files (the same store the official `nats` CLI uses) and dials a connection from them.
|
Package natsctx reads ~/.config/nats/context/*.json files (the same store the official `nats` CLI uses) and dials a connection from them. |
|
infra/notify
Package notify abstracts over chat / webhook destinations the bot can post messages to.
|
Package notify abstracts over chat / webhook destinations the bot can post messages to. |
|
infra/scheduler
Package scheduler wraps robfig/cron/v3 with the natsie job shape.
|
Package scheduler wraps robfig/cron/v3 with the natsie job shape. |
|
infra/store
Package store persists manifests so the HTTP listener and slash-command handler can refer back to them by ID.
|
Package store persists manifests so the HTTP listener and slash-command handler can refer back to them by ID. |
|
manifest
Package manifest defines the hand-editable YAML document that mediates between `natsie consumer scan` and `natsie consumer apply`.
|
Package manifest defines the hand-editable YAML document that mediates between `natsie consumer scan` and `natsie consumer apply`. |
|
owners
Package owners routes manifest entries to a service team's notify list.
|
Package owners routes manifest entries to a service team's notify list. |
|
scanner
Package scanner walks JetStream streams and consumers and classifies them.
|
Package scanner walks JetStream streams and consumers and classifies them. |
|
version
Package version exposes the release tag stamped into the binary at build time via -ldflags "-X github.com/1995parham/natsie/internal/version.Version=vX.Y.Z".
|
Package version exposes the release tag stamped into the binary at build time via -ldflags "-X github.com/1995parham/natsie/internal/version.Version=vX.Y.Z". |
Click to show internal directories.
Click to hide internal directories.