Schema of the API types that are served by Kruise.
This library is the canonical location of the Kruise API definition and client.
We recommend using the go types in this repo. You may serialize them directly to JSON.
client package contains the clientset to access Kruise API.apps and policy packages contain api definition in goschema directory contains corresponding openapi schema of kruise sourceFor each v1.x.y Kruise release, the corresponding kruise-api will v1.x.z.
Bugfixes in kruise-api will result in the patch version (third digit z) changing. PRs that are cherry-picked into an older Kruise release branch will result in an update to the corresponding branch in client-go, with a corresponding new tag changing the patch version.
kruise-api is synced from https://github.com/openkruise/kruise/tree/master/apis.
Code changes are made in that location, merged into openkruise/kruise and later synced here.
bash hack/sync_api.sh
To get the latest version, use go1.16+ and fetch using the go get command. For example:
go get github.com/openkruise/kruise-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/kruise-api@v1.8.0
please refer to the example
https://github.com/openkruise/kruise/tree/master/apis is synced to here. All changes must be made in the former. The latter is read-only.
Overall
Maintained
Code review
Go module
Latest release
Releases this year
Schema of the API types that are served by Kruise.
This library is the canonical location of the Kruise API definition and client.
We recommend using the go types in this repo. You may serialize them directly to JSON.
client package contains the clientset to access Kruise API.apps and policy packages contain api definition in goschema directory contains corresponding openapi schema of kruise sourceFor each v1.x.y Kruise release, the corresponding kruise-api will v1.x.z.
Bugfixes in kruise-api will result in the patch version (third digit z) changing. PRs that are cherry-picked into an older Kruise release branch will result in an update to the corresponding branch in client-go, with a corresponding new tag changing the patch version.
kruise-api is synced from https://github.com/openkruise/kruise/tree/master/apis.
Code changes are made in that location, merged into openkruise/kruise and later synced here.
bash hack/sync_api.sh
To get the latest version, use go1.16+ and fetch using the go get command. For example:
go get github.com/openkruise/kruise-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/kruise-api@v1.8.0
please refer to the example
https://github.com/openkruise/kruise/tree/master/apis is synced to here. All changes must be made in the former. The latter is read-only.
Overall
Maintained
Code review
Go module
Latest release
Releases this year