MCPcopy
hub / github.com/brigadecore/brigade

github.com/brigadecore/brigade @v2.6.0 sqlite

repository ↗ · DeepWiki ↗ · release v2.6.0 ↗
1,984 symbols 5,859 edges 309 files 775 documented · 39%
README

Brigade: Event-Driven Scripting for Kubernetes

build slack Netlify Status

Brigade is a full-featured, event-driven scripting platform built on top of Kubernetes. It integrates with many different event sources, more are always being added, and it's easy to create your own if you need something specific. And the best part -- Kubernetes is well-abstracted so even team members without extensive Kubernetes experience or without direct access to a cluster can be productive.

⚠️ You are viewing docs and code for Brigade 2. If you are looking for legacy Brigade 1.x documentation and code, visit the v1 branch

Getting Started

Ready to get started? Check out our QuickStart for comprehensive instructions.

The Brigade Ecosystem

Brigade's API makes it easy to create all manner of peripherals-- tooling, event gateways, and more.

Gateways

Our event gateways receive events from upstream systems (the "outside world") and convert them to Brigade events that are emitted into Brigade's event bus.

Other Event Sources

Monitoring

Brigade Metrics is a great way to obtain operational insights into a Brigade installation.

SDKs

Use any of these to develop your own integrations!

Contributing

The Brigade project accepts contributions via GitHub pull requests. The Contributing document outlines the process to help get your contribution accepted.

Support & Feedback

We have a slack channel! Kubernetes/#brigade Feel free to join for any support questions or feedback, we are happy to help. To report an issue or to request a feature open an issue here

Code of Conduct

Participation in the Brigade project is governed by the CNCF Code of Conduct.

Extension points exported contracts — how you extend this code

Endpoints (Interface)
Endpoints is an interface to be implemented by all REST API endpoints. [16 implementers]
v2/apiserver/internal/lib/restmachinery/endpoints.go
RoleAssignmentsClient (Interface)
RoleAssignmentsClient is the specialized client for managing RoleAssignments with the Brigade API. [10 implementers]
sdk/v3/role_assignments.go
Runnable (Interface)
(no doc) [10 implementers]
v2/brigadier/src/runnables.ts
Session (Interface)
Session is an interface for the subset of go-amqp *Session functions that we actually use, adapted slightly to also inte [3 …
v2/internal/amqp/session.go
ReaderFactory (Interface)
ReaderFactory is an interface for any component that can furnish an implementation of the Reader interface capable of re [2 …
v2/scheduler/internal/lib/queue/reader.go
RoleAssignmentsService (Interface)
RoleAssignmentsService is the specialized interface for managing RoleAssignments. It's decoupled from underlying technol [10 …
v2/apiserver/internal/api/role_assignments.go
UsersClient (Interface)
UsersClient is the specialized client for managing Users with the Brigade API. [10 implementers]
sdk/v3/users.go
Worker (Interface)
(no doc)
v2/brigadier/src/workers.ts

Core symbols most depended-on inside this repo

Error
called by 1052
v2/apiserver/internal/meta/errors.go
Get
called by 143
v2/apiserver/internal/api/users.go
Close
called by 90
v2/internal/amqp/sender.go
ExecuteRequest
called by 57
sdk/v3/internal/restmachinery/client.go
Decorate
called by 55
v2/apiserver/internal/lib/restmachinery/filter.go
Create
called by 55
v2/apiserver/internal/api/jobs.go
Len
called by 50
v2/apiserver/internal/meta/list.go
Core
called by 47
sdk/v3/api_client.go

Shape

Method 913
Function 616
Struct 320
Interface 68
TypeAlias 40
Class 24
FuncType 2
Enum 1

Languages

Go96%
TypeScript4%

Modules by API surface

sdk/v3/events.go53 symbols
v2/apiserver/internal/api/events.go51 symbols
sdk/v3/workers.go39 symbols
sdk/v3/jobs.go36 symbols
v2/apiserver/internal/api/jobs.go34 symbols
sdk/v3/projects.go34 symbols
v2/apiserver/internal/api/workers.go32 symbols
v2/apiserver/internal/api/sessions.go30 symbols
v2/apiserver/internal/api/events_test.go29 symbols
v2/apiserver/internal/api/service_accounts.go28 symbols
v2/apiserver/internal/api/projects.go27 symbols
sdk/v3/service_accounts.go26 symbols

Dependencies from manifests, versioned

github.com/AlecAivazis/survey/v2v2.0.7 · 1×
github.com/Azure/go-amqpv0.13.1 · 1×
github.com/Masterminds/goutilsv1.1.1 · 1×
github.com/Masterminds/semverv1.5.0 · 1×
github.com/Masterminds/sprigv2.22.0+incompatible · 1×
github.com/armon/circbufv0.0.0-2019021419053 · 1×
github.com/bacongobbler/browserv1.1.0 · 1×
github.com/brigadecore/brigade-foundationsv0.3.0 · 1×
github.com/coreos/go-oidcv2.2.1+incompatible · 1×
github.com/cpuguy83/go-md2man/v2v2.0.0-2019031423301 · 1×

Datastores touched

eventsCollection · 1 repos
logsCollection · 1 repos
project-role-assignmentsCollection · 1 repos
projectsCollection · 1 repos
role-assignmentsCollection · 1 repos
service-accountsCollection · 1 repos
sessionsCollection · 1 repos
usersCollection · 1 repos

For agents

$ claude mcp add brigade \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact