adding deepcopy

This commit is contained in:
Xinyun Zhou 2019-06-25 11:28:26 +10:00
parent 727cae3171
commit 3a272d083f
7 changed files with 2642 additions and 1 deletions

2
Makefile Normal file
View File

@ -0,0 +1,2 @@
deepcopy:
deepcopy-gen -i ./aws/models/,./azure/models/ -h ./hack/boilerplate.go.txt -v 3

View File

@ -38,4 +38,8 @@ Everything except SCIM API are implemented. Please refer to the progress below:
| SCIM API (preview) | ✗ | ✗ | | SCIM API (preview) | ✗ | ✗ |
| Secrets API | ✔ | ✔ | | Secrets API | ✔ | ✔ |
| Token API | ✔ | ✔ | | Token API | ✔ | ✔ |
| Workspace API | ✔ | ✔ | | Workspace API | ✔ | ✔ |
## Notes
- [Deepcopy](https://godoc.org/k8s.io/gengo/examples/deepcopy-gen) is generated shall you need it.

File diff suppressed because it is too large Load Diff

2
aws/models/doc.go Normal file
View File

@ -0,0 +1,2 @@
// +k8s:deepcopy-gen=package
package models

File diff suppressed because it is too large Load Diff

2
azure/models/doc.go Normal file
View File

@ -0,0 +1,2 @@
// +k8s:deepcopy-gen=package
package models

0
hack/boilerplate.go.txt Normal file
View File