forked from openshift/installer
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/ipnet: Add DeepCopy and DeepCopyInto for IPNet
Devan needs DeepCopyInto on IPNet as part of embed our types into Hive's ClusterDeployment CRD [1]. You could generate these with deepcopy-gen [2], but setting up automatic code generation is a bit heavy for just these methods [3], so we're hand-coding for now. [1]: openshift#256 (comment) [2]: https://godoc.org/k8s.io/gengo/examples/deepcopy-gen [3]: openshift#276 (comment)
- Loading branch information
Showing
2 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters