powergrid

module
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2024 License: Apache-2.0

README

powergrid

GitHub License Build Docker images GitHub Tag

Like nginx, but for Discord bots. architecture diagram

setup

$ wget -O myvalues.yaml https://github.com/sportshead/powergrid/raw/master/powergrid/values.yaml
$ vim myvalues.yaml # set secrets, ingress
$ kubectl create namespace powergrid-development && kubectl config set-context --current --namespace=powergrid-development
$ helm repo add powergrid https://sportshead.github.io/powergrid
$ helm upgrade --install --wait -f myvalues.yaml powergrid powergrid/powergrid

run an example bot

$ kubectl apply -f https://github.com/sportshead/powergrid/raw/master/examples/bun/bun.yaml

todo

  • CI
  • more example bots
    • discord.js
    • discord.py
  • shouldSendDeferred option in PowergridCommand CRD
  • use typed kubernetes client in coordinator
  • watch for k8s PowergridCommand CRD changes
    • reconcile changes with Discord
    • support guild commands for development
  • interaction routing - prefix style (bun/*) in a CRD/annotation?

Directories

Path Synopsis
cmd
coordinator module
internal
pkg
apis/powergrid.sportshead.dev/v10
Package v10 represents the Discord API v10.
Package v10 represents the Discord API v10.
generated/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
generated/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
generated/clientset/versioned/typed/powergrid.sportshead.dev/v10
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
generated/clientset/versioned/typed/powergrid.sportshead.dev/v10/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL