Skip to content

Consider publishing the API to a separate go module

Would it be possible to split out the API to a separate go module? I'm trying to modify an existing go module so it can work with some of the gitlab_types defined in api/v1beta1. Unfortunately, requiring the entire gitlab-operator pulls in a lot of code that I don't need and it results in version conflicts with several of the indirect dependencies. It would be great if there was a simple module that allowed us to code against the API without pulling in the entire gitlab-operator.

For now, the only workaround I have is to clone the gitlab operator locally, strip out everything except the API, and replace the gitlab-operator module with my local copy.