/api

CodeReady Toolchain API

Primary LanguageGoApache License 2.0Apache-2.0

ToolChain API

Go Report Card Codecov.io

Building

Requires:

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

  • Operator SDK v1.23.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
Important
the codeready-toolchain repositories should be checked out under your GOPATH in order for the generation to generate files in the correct directories. eg. For this repository: $GOPATH/src/github.com/codeready-toolchain/api NOTE: the make generate will generate the CRD files in the local deploy/crds 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.