- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for DefaultMeta (0.12 sec)
-
staging/src/k8s.io/apimachinery/pkg/conversion/converter.go
// fns merged on top. func (c *Converter) WithConversions(fns ConversionFuncs) *Converter { copied := *c copied.conversionFuncs = c.conversionFuncs.Merge(fns) return &copied } // DefaultMeta returns meta for a given type. func (c *Converter) DefaultMeta(t reflect.Type) *Meta { return &Meta{} } // Convert_Slice_byte_To_Slice_byte prevents recursing into every byte
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 25 16:23:43 UTC 2022 - 7.4K bytes - Viewed (0) -
cmd/object-handlers.go
} if sc != "" { defaultMeta[xhttp.AmzStorageClass] = sc } // if x-amz-metadata-directive says COPY then we // return the default metadata. if isDirectiveCopy(r.Header.Get(xhttp.AmzMetadataDirective)) { return defaultMeta, nil } // Copy is default behavior if not x-amz-metadata-directive is set. return defaultMeta, nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 14 13:28:35 UTC 2024 - 124.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/scheme.go
} return typed, nil } // generateConvertMeta constructs the meta value we pass to Convert. func (s *Scheme) generateConvertMeta(in interface{}) *conversion.Meta { return s.converter.DefaultMeta(reflect.TypeOf(in)) } // copyAndSetTargetKind performs a conditional copy before returning the object, or an error if copy was not successful.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 25.2K bytes - Viewed (0)