Skip to content

Commit

Permalink
Merge pull request #87 from tzzcfrank/group
Browse files Browse the repository at this point in the history
change crd‘s group to kubedl.io
  • Loading branch information
jian-he authored Apr 11, 2021
2 parents 53388df + 7bed200 commit ef7acce
Show file tree
Hide file tree
Showing 264 changed files with 30,323 additions and 15,018 deletions.
26 changes: 18 additions & 8 deletions PROJECT
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
version: "2"
domain: kubedl.io
multigroup: true
repo: github.com/alibaba/kubedl
resources:
- group: kubeflow.org
version: v1
- group: training
kind: MarsJob
version: v1alpha1
- group: training
kind: MPIJob
version: v1alpha1
- group: training
kind: PyTorchJob
version: v1alpha1
- group: training
kind: TFJob
- group: xdl.kubedl.io
version: v1alpha1
- group: training
kind: XDLJob
- group: kubeflow.org
version: v1
kind: PytorchJob
- group: xgboostjob.kubeflow.org
version: v1alpha1
- group: training
kind: XGBoostJob
version: v1alpha1
- group: training
kind: ElasticDLJob
version: v1alpha1
version: "2"
25 changes: 0 additions & 25 deletions apis/addtoscheme_tensorflow_v1.go

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
package apis

import (
"github.com/alibaba/kubedl/apis/xdl/v1alpha1"
"github.com/alibaba/kubedl/apis/training/v1alpha1"
)

func init() {
Expand Down
25 changes: 0 additions & 25 deletions apis/addtoscheme_xgboostjob_v1alpha1.go

This file was deleted.

30 changes: 0 additions & 30 deletions apis/apis.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,36 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// Generate deepcopy for xdl apis.
//go:generate go run $GOPATH/src/k8s.io/code-generator/cmd/deepcopy-gen/main.go -O zz_generated.deepcopy -i ./xdl/... -h ../hack/boilerplate.go.txt
// Generate default for xdl apis.
//go:generate go run $GOPATH/src/k8s.io/code-generator/cmd/defaulter-gen/main.go -O zz_generated.defaults -i ./xdl/... -h ../hack/boilerplate.go.txt

// Generate deepcopy for tensorflow apis.
//go:generate go run $GOPATH/src/k8s.io/code-generator/cmd/deepcopy-gen/main.go -O zz_generated.deepcopy -i ./tensorflow/... -h ../hack/boilerplate.go.txt
// Generate default for tensorflow apis.
//go:generate go run $GOPATH/src/k8s.io/code-generator/cmd/defaulter-gen/main.go -O zz_generated.defaults -i ./tensorflow/... -h ../hack/boilerplate.go.txt

// Generate deepcopy for pytorch apis.
//go:generate go run $GOPATH/src/k8s.io/code-generator/cmd/deepcopy-gen/main.go -O zz_generated.deepcopy -i ./pytorch/... -h ../hack/boilerplate.go.txt
// Generate default for pytorch apis.
//go:generate go run $GOPATH/src/k8s.io/code-generator/cmd/defaulter-gen/main.go -O zz_generated.defaults -i ./pytorch/... -h ../hack/boilerplate.go.txt

// Generate deepcopy for xgboost apis.
//go:generate go run $GOPATH/src/k8s.io/code-generator/cmd/deepcopy-gen/main.go -O zz_generated.deepcopy -i ./xgboost/... -h ../hack/boilerplate.go.txt
// Generate default for xgboost apis.
//go:generate go run $GOPATH/src/k8s.io/code-generator/cmd/defaulter-gen/main.go -O zz_generated.defaults -i ./xgboost/... -h ../hack/boilerplate.go.txt

// Generate deepcopy for marsjob apis.
//go:generate go run $GOPATH/src/k8s.io/code-generator/cmd/deepcopy-gen/main.go -O zz_generated.deepcopy -i ./marsjob/... -h ../hack/boilerplate.go.txt
// Generate default for elasticdljob apis.
//go:generate go run $GOPATH/src/k8s.io/code-generator/cmd/defaulter-gen/main.go -O zz_generated.defaults -i ./marsjob/... -h ../hack/boilerplate.go.txt

// Generate deepcopy for elasticdljob apis.
//go:generate go run $GOPATH/src/k8s.io/code-generator/cmd/deepcopy-gen/main.go -O zz_generated.deepcopy -i ./elasticdljob/... -h ../hack/boilerplate.go.txt
// Generate default for elasticdljob apis.
//go:generate go run $GOPATH/src/k8s.io/code-generator/cmd/defaulter-gen/main.go -O zz_generated.defaults -i ./elasticdljob/... -h ../hack/boilerplate.go.txt

package apis

import (
Expand Down
7 changes: 0 additions & 7 deletions apis/elasticdl/v1alpha1/constant.go

This file was deleted.

116 changes: 0 additions & 116 deletions apis/elasticdl/v1alpha1/zz_generated.deepcopy.go

This file was deleted.

56 changes: 0 additions & 56 deletions apis/mars/v1alpha1/groupversion_info.go

This file was deleted.

Loading

0 comments on commit ef7acce

Please sign in to comment.