forked from sylabs/wlm-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
generate.go
29 lines (23 loc) · 2.26 KB
/
generate.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (c) 2019 Sylabs, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//+build tools
package wlm_operator
//go:generate go run vendor/sigs.k8s.io/controller-tools/cmd/controller-gen/main.go crd --output-dir deploy/crds --apis-path pkg/operator/apis
//go:generate go run vendor/k8s.io/kube-openapi/cmd/openapi-gen/openapi-gen.go -i ./pkg/operator/apis/wlm/v1alpha1 -o pkg/operator/apis/wlm -O zz_generated.openapi -p v1alpha1 -h COPYRIGHT
//go:generate go run vendor/k8s.io/code-generator/cmd/deepcopy-gen/main.go -i github.com/sylabs/wlm-operator/pkg/operator/apis/wlm/v1alpha1 -O zz_generated.deepcopy --bounding-dirs github.com/sylabs/wlm-operator/pkg/operator/apis -h COPYRIGHT
//go:generate go run vendor/k8s.io/code-generator/cmd/defaulter-gen/main.go -i github.com/sylabs/wlm-operator/pkg/operator/apis/wlm/v1alpha1 -h COPYRIGHT
//go:generate go run vendor/k8s.io/code-generator/cmd/client-gen/main.go --input github.com/sylabs/wlm-operator/pkg/operator/apis/wlm/v1alpha1 -p github.com/sylabs/wlm-operator/pkg/operator/client/clientset -n versioned --input-base "" -h COPYRIGHT
//go:generate go run vendor/k8s.io/code-generator/cmd/lister-gen/main.go -i github.com/sylabs/wlm-operator/pkg/operator/apis/wlm/v1alpha1 -p github.com/sylabs/wlm-operator/pkg/operator/client/listers -h COPYRIGHT
//go:generate go run vendor/k8s.io/code-generator/cmd/informer-gen/main.go -i github.com/sylabs/wlm-operator/pkg/operator/apis/wlm/v1alpha1 --versioned-clientset-package github.com/sylabs/wlm-operator/pkg/operator/client/clientset/versioned --listers-package github.com/sylabs/wlm-operator/pkg/operator/client/listers -p github.com/sylabs/wlm-operator/pkg/operator/client/informers -h COPYRIGHT
//go:generate protoc --go_out=plugins=grpc:. pkg/workload/api/workload.proto