apis

module
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2023 License: Apache-2.0

README

koordinator-api

Schema of the API types that are served by Koordinator.

Purpose

This library is the canonical location of the Koordinator API definition.

We recommend using the go types in this repo. You may serialize them directly to JSON.

Where does it come from?

koordinator-sh/api is synced from https://github.com/koordinator-sh/koordinator/apis. All modification Code changes are made in origin location(koordinator-sh/koordinator/apis), then merged into koordinator-sh/apis later.

For Koordinator developers

koordinator-sh/apis is a read-only repo. Please contribute to https://github.com/koordinator-sh/koordinator/tree/master/apis if you have new features to develop. API Changes will be synced to koordinator-sh/apis when there is new version released of Koordinator .

For Koordinator maintainers

To update Koordinator API repo.

  1. (optional) add more api directories to clone, append source and destination to API_PATHS_MAP in clone-api-files.sh
# vim hack/clone-api-files.sh
API_PATHS_MAP=(
    "apis/slo:slo"
)
  1. move API files from koordinator-sh/koordinator/apis with specified version tag
make clone KOORD_VERSION=v0.7.0
  1. generate deepcopy and clients for API files
make generate
  1. (optional)update go.mod
make mod
  1. create a pull request to merge new files
  2. create tag for new commit and push
git tag ${version-tag}
git push --tags

Directories

Path Synopsis
client
clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
clientset/versioned/typed/config/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
clientset/versioned/typed/config/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
clientset/versioned/typed/scheduling/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
clientset/versioned/typed/scheduling/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
clientset/versioned/typed/slo/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
clientset/versioned/typed/slo/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
config
v1alpha1
Package v1alpha1 contains API Schema definitions for the config v1alpha1 API group +kubebuilder:object:generate=true +groupName=config.koordinator.sh
Package v1alpha1 contains API Schema definitions for the config v1alpha1 API group +kubebuilder:object:generate=true +groupName=config.koordinator.sh
runtime
scheduling
v1alpha1
Package v1alpha1 contains API Schema definitions for the scheduling v1alpha1 API group +kubebuilder:object:generate=true +groupName=scheduling.koordinator.sh
Package v1alpha1 contains API Schema definitions for the scheduling v1alpha1 API group +kubebuilder:object:generate=true +groupName=scheduling.koordinator.sh
slo
v1alpha1
Package v1alpha1 contains API Schema definitions for the slo v1alpha1 API group +kubebuilder:object:generate=true +groupName=slo.koordinator.sh
Package v1alpha1 contains API Schema definitions for the slo v1alpha1 API group +kubebuilder:object:generate=true +groupName=slo.koordinator.sh

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL