未验证 提交 fe249513 编写于 作者: R runzexia

use deepcode gen

Signed-off-by: Nrunzexia <runzexia@yunify.com>
上级 e5d59b75
...@@ -58,16 +58,16 @@ controller-manager: test ...@@ -58,16 +58,16 @@ controller-manager: test
hack/gobuild.sh cmd/controller-manager hack/gobuild.sh cmd/controller-manager
# Run go fmt against code # Run go fmt against code
fmt: generate-apis fmt: deepcopy
go fmt ./pkg/... ./cmd/... go fmt ./pkg/... ./cmd/...
# Run go vet against code # Run go vet against code
vet: generate-apis vet: deepcopy
go vet ./pkg/... ./cmd/... go vet ./pkg/... ./cmd/...
# Generate manifests e.g. CRD, RBAC etc. # Generate manifests e.g. CRD, RBAC etc.
manifests: manifests:
go run vendor/sigs.k8s.io/controller-tools/cmd/controller-gen/main.go all go run ./vendor/sigs.k8s.io/controller-tools/cmd/controller-gen/main.go all
deploy: manifests deploy: manifests
kubectl apply -f config/crds kubectl apply -f config/crds
...@@ -76,8 +76,8 @@ deploy: manifests ...@@ -76,8 +76,8 @@ deploy: manifests
generate: generate:
go generate ./pkg/... ./cmd/... go generate ./pkg/... ./cmd/...
# Generate code # Generate code
generate-apis: controller-gen deepcopy: controller-gen
$(CONTROLLER_GEN) object:headerFile=./hack/boilerplate.go.txt paths=./pkg/apis/... go run ./vendor/k8s.io/code-generator/cmd/deepcopy-gen -i kubesphere.io/kubesphere/pkg/apis/... -h hack/boilerplate.go.txt -O zz_generated.deepcopy
# Build the docker image # Build the docker image
...@@ -95,13 +95,6 @@ clean: ...@@ -95,13 +95,6 @@ clean:
# find or download controller-gen # find or download controller-gen
# download controller-gen if necessary # download controller-gen if necessary
controller-gen:
ifeq (, $(shell which controller-gen))
cd .. && GO111MODULE=on go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.2.0-beta.4
CONTROLLER_GEN=$(GOBIN)/controller-gen
else
CONTROLLER_GEN=$(shell which controller-gen)
endif
clientset: clientset:
./hack/generate_client.sh ./hack/generate_client.sh
...@@ -15,8 +15,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ...@@ -15,8 +15,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
// Code generated by main. DO NOT EDIT.
// autogenerated by controller-gen object, do not modify manually
package v1alpha1 package v1alpha1
...@@ -31,6 +30,7 @@ func (in *S2iBinary) DeepCopyInto(out *S2iBinary) { ...@@ -31,6 +30,7 @@ func (in *S2iBinary) DeepCopyInto(out *S2iBinary) {
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec) in.Spec.DeepCopyInto(&out.Spec)
out.Status = in.Status out.Status = in.Status
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBinary. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBinary.
...@@ -63,6 +63,7 @@ func (in *S2iBinaryList) DeepCopyInto(out *S2iBinaryList) { ...@@ -63,6 +63,7 @@ func (in *S2iBinaryList) DeepCopyInto(out *S2iBinaryList) {
(*in)[i].DeepCopyInto(&(*out)[i]) (*in)[i].DeepCopyInto(&(*out)[i])
} }
} }
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBinaryList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBinaryList.
...@@ -86,7 +87,11 @@ func (in *S2iBinaryList) DeepCopyObject() runtime.Object { ...@@ -86,7 +87,11 @@ func (in *S2iBinaryList) DeepCopyObject() runtime.Object {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *S2iBinarySpec) DeepCopyInto(out *S2iBinarySpec) { func (in *S2iBinarySpec) DeepCopyInto(out *S2iBinarySpec) {
*out = *in *out = *in
in.UploadTimeStamp.DeepCopyInto(&out.UploadTimeStamp) if in.UploadTimeStamp != nil {
in, out := &in.UploadTimeStamp, &out.UploadTimeStamp
*out = (*in).DeepCopy()
}
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBinarySpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBinarySpec.
...@@ -102,6 +107,7 @@ func (in *S2iBinarySpec) DeepCopy() *S2iBinarySpec { ...@@ -102,6 +107,7 @@ func (in *S2iBinarySpec) DeepCopy() *S2iBinarySpec {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *S2iBinaryStatus) DeepCopyInto(out *S2iBinaryStatus) { func (in *S2iBinaryStatus) DeepCopyInto(out *S2iBinaryStatus) {
*out = *in *out = *in
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBinaryStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBinaryStatus.
......
...@@ -15,13 +15,12 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ...@@ -15,13 +15,12 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
// Code generated by main. DO NOT EDIT.
// autogenerated by controller-gen object, do not modify manually
package v1alpha1 package v1alpha1
import ( import (
"k8s.io/api/networking/v1" v1 "k8s.io/api/networking/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime" runtime "k8s.io/apimachinery/pkg/runtime"
) )
...@@ -33,6 +32,7 @@ func (in *WorkspaceNetworkPolicy) DeepCopyInto(out *WorkspaceNetworkPolicy) { ...@@ -33,6 +32,7 @@ func (in *WorkspaceNetworkPolicy) DeepCopyInto(out *WorkspaceNetworkPolicy) {
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec) in.Spec.DeepCopyInto(&out.Spec)
out.Status = in.Status out.Status = in.Status
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceNetworkPolicy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceNetworkPolicy.
...@@ -70,6 +70,7 @@ func (in *WorkspaceNetworkPolicyEgressRule) DeepCopyInto(out *WorkspaceNetworkPo ...@@ -70,6 +70,7 @@ func (in *WorkspaceNetworkPolicyEgressRule) DeepCopyInto(out *WorkspaceNetworkPo
(*in)[i].DeepCopyInto(&(*out)[i]) (*in)[i].DeepCopyInto(&(*out)[i])
} }
} }
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceNetworkPolicyEgressRule. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceNetworkPolicyEgressRule.
...@@ -99,6 +100,7 @@ func (in *WorkspaceNetworkPolicyIngressRule) DeepCopyInto(out *WorkspaceNetworkP ...@@ -99,6 +100,7 @@ func (in *WorkspaceNetworkPolicyIngressRule) DeepCopyInto(out *WorkspaceNetworkP
(*in)[i].DeepCopyInto(&(*out)[i]) (*in)[i].DeepCopyInto(&(*out)[i])
} }
} }
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceNetworkPolicyIngressRule. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceNetworkPolicyIngressRule.
...@@ -123,6 +125,7 @@ func (in *WorkspaceNetworkPolicyList) DeepCopyInto(out *WorkspaceNetworkPolicyLi ...@@ -123,6 +125,7 @@ func (in *WorkspaceNetworkPolicyList) DeepCopyInto(out *WorkspaceNetworkPolicyLi
(*in)[i].DeepCopyInto(&(*out)[i]) (*in)[i].DeepCopyInto(&(*out)[i])
} }
} }
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceNetworkPolicyList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceNetworkPolicyList.
...@@ -152,6 +155,7 @@ func (in *WorkspaceNetworkPolicyPeer) DeepCopyInto(out *WorkspaceNetworkPolicyPe ...@@ -152,6 +155,7 @@ func (in *WorkspaceNetworkPolicyPeer) DeepCopyInto(out *WorkspaceNetworkPolicyPe
*out = new(metav1.LabelSelector) *out = new(metav1.LabelSelector)
(*in).DeepCopyInto(*out) (*in).DeepCopyInto(*out)
} }
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceNetworkPolicyPeer. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceNetworkPolicyPeer.
...@@ -186,6 +190,7 @@ func (in *WorkspaceNetworkPolicySpec) DeepCopyInto(out *WorkspaceNetworkPolicySp ...@@ -186,6 +190,7 @@ func (in *WorkspaceNetworkPolicySpec) DeepCopyInto(out *WorkspaceNetworkPolicySp
(*in)[i].DeepCopyInto(&(*out)[i]) (*in)[i].DeepCopyInto(&(*out)[i])
} }
} }
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceNetworkPolicySpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceNetworkPolicySpec.
...@@ -201,6 +206,7 @@ func (in *WorkspaceNetworkPolicySpec) DeepCopy() *WorkspaceNetworkPolicySpec { ...@@ -201,6 +206,7 @@ func (in *WorkspaceNetworkPolicySpec) DeepCopy() *WorkspaceNetworkPolicySpec {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *WorkspaceNetworkPolicyStatus) DeepCopyInto(out *WorkspaceNetworkPolicyStatus) { func (in *WorkspaceNetworkPolicyStatus) DeepCopyInto(out *WorkspaceNetworkPolicyStatus) {
*out = *in *out = *in
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceNetworkPolicyStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceNetworkPolicyStatus.
......
...@@ -15,13 +15,12 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ...@@ -15,13 +15,12 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
// Code generated by main. DO NOT EDIT.
// autogenerated by controller-gen object, do not modify manually
package v1alpha2 package v1alpha2
import ( import (
"k8s.io/apimachinery/pkg/apis/meta/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime" runtime "k8s.io/apimachinery/pkg/runtime"
) )
...@@ -30,6 +29,7 @@ func (in *DestinationRuleSpecTemplate) DeepCopyInto(out *DestinationRuleSpecTemp ...@@ -30,6 +29,7 @@ func (in *DestinationRuleSpecTemplate) DeepCopyInto(out *DestinationRuleSpecTemp
*out = *in *out = *in
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec) in.Spec.DeepCopyInto(&out.Spec)
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationRuleSpecTemplate. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationRuleSpecTemplate.
...@@ -49,6 +49,7 @@ func (in *ServicePolicy) DeepCopyInto(out *ServicePolicy) { ...@@ -49,6 +49,7 @@ func (in *ServicePolicy) DeepCopyInto(out *ServicePolicy) {
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec) in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status) in.Status.DeepCopyInto(&out.Status)
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePolicy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePolicy.
...@@ -74,6 +75,7 @@ func (in *ServicePolicyCondition) DeepCopyInto(out *ServicePolicyCondition) { ...@@ -74,6 +75,7 @@ func (in *ServicePolicyCondition) DeepCopyInto(out *ServicePolicyCondition) {
*out = *in *out = *in
in.LastProbeTime.DeepCopyInto(&out.LastProbeTime) in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePolicyCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePolicyCondition.
...@@ -98,6 +100,7 @@ func (in *ServicePolicyList) DeepCopyInto(out *ServicePolicyList) { ...@@ -98,6 +100,7 @@ func (in *ServicePolicyList) DeepCopyInto(out *ServicePolicyList) {
(*in)[i].DeepCopyInto(&(*out)[i]) (*in)[i].DeepCopyInto(&(*out)[i])
} }
} }
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePolicyList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePolicyList.
...@@ -127,6 +130,7 @@ func (in *ServicePolicySpec) DeepCopyInto(out *ServicePolicySpec) { ...@@ -127,6 +130,7 @@ func (in *ServicePolicySpec) DeepCopyInto(out *ServicePolicySpec) {
(*in).DeepCopyInto(*out) (*in).DeepCopyInto(*out)
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePolicySpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePolicySpec.
...@@ -151,14 +155,13 @@ func (in *ServicePolicyStatus) DeepCopyInto(out *ServicePolicyStatus) { ...@@ -151,14 +155,13 @@ func (in *ServicePolicyStatus) DeepCopyInto(out *ServicePolicyStatus) {
} }
if in.StartTime != nil { if in.StartTime != nil {
in, out := &in.StartTime, &out.StartTime in, out := &in.StartTime, &out.StartTime
*out = new(v1.Time) *out = (*in).DeepCopy()
(*in).DeepCopyInto(*out)
} }
if in.CompletionTime != nil { if in.CompletionTime != nil {
in, out := &in.CompletionTime, &out.CompletionTime in, out := &in.CompletionTime, &out.CompletionTime
*out = new(v1.Time) *out = (*in).DeepCopy()
(*in).DeepCopyInto(*out)
} }
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePolicyStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePolicyStatus.
...@@ -178,6 +181,7 @@ func (in *Strategy) DeepCopyInto(out *Strategy) { ...@@ -178,6 +181,7 @@ func (in *Strategy) DeepCopyInto(out *Strategy) {
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec) in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status) in.Status.DeepCopyInto(&out.Status)
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Strategy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Strategy.
...@@ -203,6 +207,7 @@ func (in *StrategyCondition) DeepCopyInto(out *StrategyCondition) { ...@@ -203,6 +207,7 @@ func (in *StrategyCondition) DeepCopyInto(out *StrategyCondition) {
*out = *in *out = *in
in.LastProbeTime.DeepCopyInto(&out.LastProbeTime) in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyCondition.
...@@ -227,6 +232,7 @@ func (in *StrategyList) DeepCopyInto(out *StrategyList) { ...@@ -227,6 +232,7 @@ func (in *StrategyList) DeepCopyInto(out *StrategyList) {
(*in)[i].DeepCopyInto(&(*out)[i]) (*in)[i].DeepCopyInto(&(*out)[i])
} }
} }
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyList.
...@@ -256,6 +262,7 @@ func (in *StrategySpec) DeepCopyInto(out *StrategySpec) { ...@@ -256,6 +262,7 @@ func (in *StrategySpec) DeepCopyInto(out *StrategySpec) {
(*in).DeepCopyInto(*out) (*in).DeepCopyInto(*out)
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategySpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategySpec.
...@@ -280,14 +287,13 @@ func (in *StrategyStatus) DeepCopyInto(out *StrategyStatus) { ...@@ -280,14 +287,13 @@ func (in *StrategyStatus) DeepCopyInto(out *StrategyStatus) {
} }
if in.StartTime != nil { if in.StartTime != nil {
in, out := &in.StartTime, &out.StartTime in, out := &in.StartTime, &out.StartTime
*out = new(v1.Time) *out = (*in).DeepCopy()
(*in).DeepCopyInto(*out)
} }
if in.CompletionTime != nil { if in.CompletionTime != nil {
in, out := &in.CompletionTime, &out.CompletionTime in, out := &in.CompletionTime, &out.CompletionTime
*out = new(v1.Time) *out = (*in).DeepCopy()
(*in).DeepCopyInto(*out)
} }
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyStatus.
...@@ -305,6 +311,7 @@ func (in *VirtualServiceTemplateSpec) DeepCopyInto(out *VirtualServiceTemplateSp ...@@ -305,6 +311,7 @@ func (in *VirtualServiceTemplateSpec) DeepCopyInto(out *VirtualServiceTemplateSp
*out = *in *out = *in
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec) in.Spec.DeepCopyInto(&out.Spec)
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualServiceTemplateSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualServiceTemplateSpec.
......
...@@ -15,8 +15,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ...@@ -15,8 +15,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
// Code generated by main. DO NOT EDIT.
// autogenerated by controller-gen object, do not modify manually
package v1alpha1 package v1alpha1
...@@ -31,6 +30,7 @@ func (in *Workspace) DeepCopyInto(out *Workspace) { ...@@ -31,6 +30,7 @@ func (in *Workspace) DeepCopyInto(out *Workspace) {
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
out.Spec = in.Spec out.Spec = in.Spec
out.Status = in.Status out.Status = in.Status
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workspace. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workspace.
...@@ -63,6 +63,7 @@ func (in *WorkspaceList) DeepCopyInto(out *WorkspaceList) { ...@@ -63,6 +63,7 @@ func (in *WorkspaceList) DeepCopyInto(out *WorkspaceList) {
(*in)[i].DeepCopyInto(&(*out)[i]) (*in)[i].DeepCopyInto(&(*out)[i])
} }
} }
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceList.
...@@ -86,6 +87,7 @@ func (in *WorkspaceList) DeepCopyObject() runtime.Object { ...@@ -86,6 +87,7 @@ func (in *WorkspaceList) DeepCopyObject() runtime.Object {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *WorkspaceSpec) DeepCopyInto(out *WorkspaceSpec) { func (in *WorkspaceSpec) DeepCopyInto(out *WorkspaceSpec) {
*out = *in *out = *in
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSpec.
...@@ -101,6 +103,7 @@ func (in *WorkspaceSpec) DeepCopy() *WorkspaceSpec { ...@@ -101,6 +103,7 @@ func (in *WorkspaceSpec) DeepCopy() *WorkspaceSpec {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *WorkspaceStatus) DeepCopyInto(out *WorkspaceStatus) { func (in *WorkspaceStatus) DeepCopyInto(out *WorkspaceStatus) {
*out = *in *out = *in
return
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceStatus.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册