forked from LaconicNetwork/kompose
* 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
19 lines
415 B
Go
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
|
|
}
|