gitpod/components/ws-manager-api
Manuel Alejandro de Brito Fontes 5992b0f614
Update go dependencies (#19577)
* Update go dependencies

* Update S3

* Caddy plugins cannot use 1.22

* Update controller runtime signatures

* Update webhook suite test

* Update IPFS signatures

* Update go modules

* Update ipfs-cluster to v1.0.8

* Fix node-labeler build

* Fix IPFS CID parsing

* Update ipfs-cluster version

* Update controller-runtime signature

* Update statefulset signature

* Disable controller-runtime metrics

* Add comments
2024-03-26 20:55:35 +01:00
..
2024-03-26 20:55:35 +01:00
2021-06-04 16:26:37 -04:00
2024-03-26 20:55:35 +01:00

Overview

The ws-manager-api component hosts the api component of ws-manager-mk2.

Making changes to the api

There are two types of changes, changes to:

  1. proto files, like core.proto
  2. API clients (we have Go and TypeScript clients)

Changing the proto file

Say you change core.proto. Please run generate.sh from ws-manager-api to re-generate the Go and TypeScript clients.

Changing API clients

Say you plan to remove a field from a struct in our Go client. After doing, then run:

  1. make manifests from components/ws-manager-mk2, and preserve the copyright headers, to update YAML specifications
  2. make generate from components/ws-manager-mk2, and preserve the copyright headers, to generate code