Golang SDK
Spacelift's GraphQL API, used by spacectl and the Terraform provider, can be cumbersome for tool development. Providing an SDK would simplify this process. Buildkite has a similar library, making development much easier.
- Workaround
- Problem
Log in to comment and vote
Comments2
Purple Exoplanet
Dec 13, 2024
We are building tools for internal teams to interact with Spacelift in a controlled manner, and intend to ship this tooling as a Go binary. The GraphQL API is very thorough but quite low-level, and a Go-based SDK abstraction on top of it would be a boon for our productivity.
Green Plasma
Jun 24
Hello, I’m quite surprise to read this. As you said, you are building internal tools using go, and the GraphQL API. So you have already an SDK around it, it would not slow down your team work. You “just” have to make the package public.