From bc264c290f777cc51f53644a1996f5e8887dcba6 Mon Sep 17 00:00:00 2001 From: Matt Moore Date: Thu, 9 Aug 2018 16:32:03 -0700 Subject: [PATCH] Add deepcopy-gen for VolatileTime. (#42) --- apis/doc.go | 18 +++++++++++++++++ apis/zz_generated.deepcopy.go | 38 +++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 apis/doc.go create mode 100644 apis/zz_generated.deepcopy.go diff --git a/apis/doc.go b/apis/doc.go new file mode 100644 index 000000000..73ae0329f --- /dev/null +++ b/apis/doc.go @@ -0,0 +1,18 @@ +/* +Copyright 2018 The Knative Authors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// +k8s:deepcopy-gen=package +package apis diff --git a/apis/zz_generated.deepcopy.go b/apis/zz_generated.deepcopy.go new file mode 100644 index 000000000..bacb0b708 --- /dev/null +++ b/apis/zz_generated.deepcopy.go @@ -0,0 +1,38 @@ +// +build !ignore_autogenerated + +/* +Copyright 2018 The Knative Authors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by deepcopy-gen. DO NOT EDIT. + +package apis + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolatileTime) DeepCopyInto(out *VolatileTime) { + *out = *in + in.Inner.DeepCopyInto(&out.Inner) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolatileTime. +func (in *VolatileTime) DeepCopy() *VolatileTime { + if in == nil { + return nil + } + out := new(VolatileTime) + in.DeepCopyInto(out) + return out +}