- Sort Score
- Result 10 results
- Languages All
Results 51 - 55 of 55 for DeepCopyInto (0.24 sec)
-
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json_test.go
N int `json:"n"` O int `json:"o"` } func (d *testDecodable) DeepCopyObject() runtime.Object { if d == nil { return nil } out := new(testDecodable) d.DeepCopyInto(out) return out } func (d *testDecodable) DeepCopyInto(out *testDecodable) { *out = *d out.Other = d.Other out.Value = d.Value out.Spec = d.Spec out.Interface = d.Interface return } type testDecodeCoercion struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 04 15:55:02 UTC 2024 - 40K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/scheme.go
if existingGvk == gvk { return } } s.typeToGVK[t] = append(s.typeToGVK[t], gvk) // if the type implements DeepCopyInto(<obj>), register a self-conversion if m := reflect.ValueOf(obj).MethodByName("DeepCopyInto"); m.IsValid() && m.Type().NumIn() == 1 && m.Type().NumOut() == 0 && m.Type().In(0) == reflect.TypeOf(obj) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 25.2K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/configset.go
} func (cb *configBase) IsUserSupplied() bool { return cb.userSupplied } func (cb *configBase) SetUserSupplied(userSupplied bool) { cb.userSupplied = userSupplied } func (cb *configBase) DeepCopyInto(other *configBase) { *other = *cb } func cloneBytes(in []byte) []byte { out := make([]byte, len(in)) copy(out, in) return out }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 04 15:36:00 UTC 2024 - 10.8K bytes - Viewed (0) -
pkg/controller/cronjob/utils.go
Name: name, CreationTimestamp: metav1.Time{Time: scheduledTime}, OwnerReferences: []metav1.OwnerReference{*metav1.NewControllerRef(cj, controllerKind)}, }, } cj.Spec.JobTemplate.Spec.DeepCopyInto(&job.Spec) return job, nil } // getTimeHash returns Unix Epoch Time in minutes func getTimeHashInMinutes(scheduledTime time.Time) int64 { return scheduledTime.Unix() / 60 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 10.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/labels/selector.go
} type internalSelector []Requirement func (s internalSelector) DeepCopy() internalSelector { if s == nil { return nil } result := make([]Requirement, len(s)) for i := range s { s[i].DeepCopyInto(&result[i]) } return result } func (s internalSelector) DeepCopySelector() Selector { return s.DeepCopy() } // ByKey sorts requirements by key to obtain deterministic parser
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 31.8K bytes - Viewed (0)