The canonical location of the Kruise Agents API definition.
This library is the canonical location of the Kruise Agents API definition and client.
We recommend using the go types in this repo. You may serialize them directly to JSON.
- The
clientpackage contains the clientset to access Kruise Agents API. - The
agentspackages contain api definition in go
For each v0.x.y Kruise Agents release, the corresponding agents-api will v0.x.z.
Bugfixes in agents-api will result in the patch version (third digit z) changing. PRs that are cherry-picked into an older Kruise Agents release branch will result in an update to the corresponding branch in client-go, with a corresponding new tag changing the patch version.
agents-api is synced from https://github.com/openkruise/agents/tree/master/api.
Code changes are made in that location, merged into openkruise/agents and later synced here.
To get the latest version, use go1.16+ and fetch using the go get command. For example:
go get github.com/openkruise/agents-api@latest
To get a specific version, use go1.11+ and fetch the desired version using the go get command. For example:
go get github.com/openkruise/[email protected]
https://github.com/openkruise/agents/tree/master/api is synced to here. All changes must be made in the former. The latter is read-only.