MCPcopy Create free account
hub / github.com/encoder-run/operator / DeepCopyInto

Method DeepCopyInto

api/cloud/v1alpha1/zz_generated.deepcopy.go:135–147  ·  view source on GitHub ↗

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

(out *ModelSpec)

Source from the content-addressed store, hash-verified

133
134// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
135func (in *ModelSpec) DeepCopyInto(out *ModelSpec) {
136 *out = *in
137 if in.HuggingFace != nil {
138 in, out := &in.HuggingFace, &out.HuggingFace
139 *out = new(HuggingFaceModelSpec)
140 **out = **in
141 }
142 if in.Deployment != nil {
143 in, out := &in.Deployment, &out.Deployment
144 *out = new(ModelDeploymentSpec)
145 (*in).DeepCopyInto(*out)
146 }
147}
148
149// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelSpec.
150func (in *ModelSpec) DeepCopy() *ModelSpec {

Callers 1

DeepCopyMethod · 0.95

Calls 1

DeepCopyIntoMethod · 0.45

Tested by

no test coverage detected