kompose/vendor/github.com/openshift/api/image/dockerpre012/deepcopy.go
Hang Yan 525b68f027
Go mod (#1305)
* Use go mod instead of glide
* Add `--with-kompose-annotation` flag to allow us to switch it off for tests
* Remove hostpid support (since the newest sdk does not support it)
* Create new test script and fixtures
* Remove replicationcontroller support
2020-08-07 17:25:52 +08:00

19 lines
415 B
Go

package dockerpre012
// DeepCopyInto is manually built to copy the (probably bugged) time.Time
func (in *ImagePre012) DeepCopyInto(out *ImagePre012) {
*out = *in
out.Created = in.Created
in.ContainerConfig.DeepCopyInto(&out.ContainerConfig)
if in.Config != nil {
in, out := &in.Config, &out.Config
if *in == nil {
*out = nil
} else {
*out = new(Config)
(*in).DeepCopyInto(*out)
}
}
return
}