Skip to content

Commit

Permalink
Merge pull request openshift#48 from deads2k/operator
Browse files Browse the repository at this point in the history
add alpha common operator types
  • Loading branch information
deads2k authored May 21, 2018
2 parents 54917e0 + 2d0649e commit 61b2768
Show file tree
Hide file tree
Showing 10 changed files with 2,254 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ build:
go build github.com/openshift/api/image/...
go build github.com/openshift/api/network/...
go build github.com/openshift/api/oauth/...
go build github.com/openshift/api/operator/...
go build github.com/openshift/api/project/...
go build github.com/openshift/api/quota/...
go build github.com/openshift/api/route/...
Expand Down
2 changes: 2 additions & 0 deletions hack/lib/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ config/v1 \
image/v1 \
network/v1 \
oauth/v1 \
operator/v1alpha1 \
project/v1 \
quota/v1 \
route/v1 \
Expand All @@ -33,6 +34,7 @@ github.com/openshift/api/config/v1,\
github.com/openshift/api/image/v1,\
github.com/openshift/api/network/v1,\
github.com/openshift/api/oauth/v1,\
github.com/openshift/api/operator/v1alpha1,\
github.com/openshift/api/project/v1,\
github.com/openshift/api/quota/v1,\
github.com/openshift/api/route/v1,\
Expand Down
2 changes: 1 addition & 1 deletion hack/update-deepcopy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ verify="${VERIFY:-}"
${CODEGEN_PKG}/generate-groups.sh "deepcopy" \
github.com/openshift/api/generated \
github.com/openshift/api \
"apps:v1 authorization:v1 build:v1 config:v1 image:v1,docker10,dockerpre012 network:v1 oauth:v1 project:v1 quota:v1 route:v1 security:v1 template:v1 user:v1 webconsole:v1" \
"apps:v1 authorization:v1 build:v1 config:v1 image:v1,docker10,dockerpre012 network:v1 oauth:v1 operator:v1alpha1 project:v1 quota:v1 route:v1 security:v1 template:v1 user:v1 webconsole:v1" \
--go-header-file ${SCRIPT_ROOT}/hack/empty.txt \
${verify}
6 changes: 6 additions & 0 deletions operator/v1alpha1/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// +k8s:deepcopy-gen=package,register
// +k8s:defaulter-gen=TypeMeta
// +k8s:openapi-gen=true

// +groupName=operator.openshift.io
package v1alpha1
Loading

0 comments on commit 61b2768

Please sign in to comment.