shuaiyy / apis

The API (CRD) of Volcano

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

volcano-sh/api aims to provide available CRD informers/listers/clientsets generated with different Kubernetes versions for users. All branches has been named as the Kubernetes version depended on with the format "release-{version}". You can get CRD informers/listers/clientset under volcano-sh/apis/pkg/client.

Getting Started

  1. Clone the repository to local.
git clone https://github.com/volcano-sh/apis.git
  1. Get the CRD informers/listers/clientset under volcano-sh/apis/pkg/client.

generate

bash ./hack/generate-groups.sh all volcano.sh/apis/pkg/client volcano.sh/apis/pkg/apis "batch:v1alpha1 bus:v1alpha1 nodeinfo:v1alpha1 scheduling:v1beta1" --go-header-file ./hack/boilerplate.go.txt
bash ./hack/generate-groups.sh conversion volcano.sh/apis/pkg/client volcano.sh/apis/pkg/apis "scheduling:v1beta1" --go-header-file ./hack/boilerplate.go.txt

About

The API (CRD) of Volcano

License:Apache License 2.0


Languages

Language:Go 87.8%Language:Shell 12.2%