DeepCopy should only generate types in k8s.io/kubernetes

Also make generation more selective (require opt in) to prevent lots of
unnecessary generated deep copies.
This commit is contained in:
Clayton Coleman
2016-05-24 12:03:05 -04:00
parent 5c41b93d8b
commit 0181ac61da
6 changed files with 121 additions and 19 deletions

View File

@@ -87,6 +87,7 @@ import (
// writing some sort of special handling code in the hopes that that will
// cause implementors to also use a fixed point implementation.
//
// +gencopy=false
// +protobuf=true
// +protobuf.embed=string
// +protobuf.options.marshal=false