workgroup
infra
workgroup | infra | |
---|---|---|
7 | 20 | |
47 | 1,353 | |
- | 0.6% | |
0.0 | 6.3 | |
11 months ago | 4 days ago | |
Go | Go | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
workgroup
-
Gworker, the most easily configurable Generic worker pool implementation
I still think my worker pool is the best: https://github.com/carlmjohnson/workgroup
- A lot of boilerplate code when writing asynchronous code in go
- Workgroup: An easy to use concurrent task manager
-
Implementing Thread/Worker pool using Go generics
I have one that I’ve been using for a while and just updated to use Go 1.20 multierrors: https://github.com/carlmjohnson/workgroup
-
How idiomatic is this?
Read https://blog.carlmjohnson.net/post/share-memory-by-communicating/ and look at the code in https://github.com/carlmjohnson/workgroup for reference.
-
How are YOU using generics so far?
So far, just refactoring. I made a concurrency manager to simplify some stuff, and unified some pagination code. It’s like we said before generics: there are places you miss it, but not having it was never a total blocker. I think going working the x/slices x/maps packages will be the biggest time savers.
-
Go, Generics, and Concurrency
Yeah, I wrote my own generic concurrency thing, and it has two functions. There's a high level Process(nWorkers, task, manager, initial) and a lower level Start(nWorkers, task) (in chan<- Input, out <-chan Result[Input, Output]). The high level function is built off of the low level one and just queues jobs for the task workers by giving job results to the manager to see if it produces any more work. Context isn't involved in either because the idea is that the tasks should have their own internal contexts. You don't want to cancel the task runner, you want to cancel the tasks!
infra
-
Recommendations for a better way to grant access in K8s on a granular level?
Check out https://infrahq.com. I saw the founder give a talk at the Civo conference in Feb.
-
infra alternatives - paralus and pinniped
3 projects | 7 Apr 2023
-
Converting http.Request to gin.Context struct
using generics you can even include request and response structs in your handlers. i did that here https://github.com/infrahq/infra/blob/main/internal/server/routes.go
-
Why are there so many OIDC SSO options for Kubernetes?
infra
-
RBAC MANAGEMENT
You should try Infra. It works with any flavor of Kube and can hook up Okta, Google, and AD (and anything that supports OpenID Connect). It can pull in your cluster/roles, and set up the cluster/role bindings. It's open source, although there is also a SaaS version if you don't want to self host.
-
Have you used generics?
I use them frequently. see https://github.com/infrahq/infra/blob/main/internal/server/routes.go
-
Infra: open source access management for Kubernetes
Github repo: https://github.com/infrahq/infra
- Infra: self-hosted access management
-
Anyone needs a (long-term) contributor for their open source project written in Go?
if you like Go and backend/infrastructure you might like https://github.com/infrahq/infra. it’s simple identity and access management for kubernetes (and eventually others).
-
The funny thing about generics in Go
not sure what you’re talking about. we use generics extensively and love it. https://github.com/infrahq/infra
What are some alternatives?
warg - Declarative and Intuitive Command Line Apps with Go
pinniped - Pinniped is the easy, secure way to log in to your Kubernetes clusters.
next-pwa - Zero config PWA plugin for Next.js, with workbox 🧰 with appDir support
scan - Scan provides the ability to to scan sql rows directly to any defined structure.
watchman - AML/CTF/KYC/OFAC Search of global watchlist and sanctions
graph - A library for creating generic graph data structures and modifying, analyzing, and visualizing them.
golpo - Social network using react and express (old version of the current golpo.dedsec.life)
aws-iam-authenticator - A tool to use AWS IAM credentials to authenticate to a Kubernetes cluster
elegalio-template - Responsive and modern website template, made with React.
dex - OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors
BetterMeet - An open community platform
gosf-socketio - golang socket.io client and server