Skip to content

codeready-toolchain/api

Repository files navigation

ToolChain API

Go Report Card GoDoc

For the API reference docs go here

Building

Requires:

  • Go version 1.20.x (1.20.11 or higher) - download for your development environment here.

  • Operator SDK v1.25.0 - download for your development environment here

CodeReady ToolChain API is built using Go modules.

To re-generate the zz_generated.deepcopy.go and zz_generated.openapi.go files as well as the CRD files, run the following command:

make generate
Note
the make generate will generate the CRD files in the local config/crd/bases directory and then dispatch the .yaml files in the host-operator and member-operator repositories, assuming they have been checked out and that they are in a clean state, meaning that they have no pending changes, besides previous versions of the CRD files.
Note
Then you are supposed to create PRs also in the repos where the change was propagated ( host | member-operator ). Please do not mix other changes to the code with those CRD changes. While it would work technically , it’s always preferred to promote the CRD changes separately for easier PR review.