Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/generator: only generate deepcopy #103

Merged
merged 1 commit into from
Mar 9, 2018
Merged

pkg/generator: only generate deepcopy #103

merged 1 commit into from
Mar 9, 2018

Conversation

fanminshi
Copy link
Contributor

change the auto-gen script to only generate the deepcopy files for a operator project.

@fanminshi
Copy link
Contributor Author

Manual Test:

$ operator-sdk generate k8s
Generating deepcopy funcs

$ tree pkg/
pkg/
├── apis
│   └── cache
│       └── v1alpha1
│           ├── doc.go
│           ├── register.go
│           ├── types.go
│           └── zz_generated.deepcopy.go
└── stub
    └── handler.go

@fanminshi
Copy link
Contributor Author

cc/ @hasbro17

@hasbro17
Copy link
Contributor

hasbro17 commented Mar 9, 2018

LGTM

@fanminshi fanminshi merged commit 7030f22 into operator-framework:master Mar 9, 2018
@hasbro17 hasbro17 deleted the only_gen_deepcopy branch March 9, 2018 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants