- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 205 for marshaled (0.98 sec)
-
staging/src/k8s.io/apiextensions-apiserver/test/integration/conversion/conversion_test.go
return runtime.RawExtension{}, fmt.Errorf("failed to deserialize object: %s with error: %v", string(obj.Raw), err) } u.Object["apiVersion"] = desiredAPIVersion raw, err := json.Marshal(u) if err != nil { return runtime.RawExtension{}, fmt.Errorf("failed to serialize object: %v with error: %v", u, err) } return runtime.RawExtension{Raw: raw}, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 06 05:32:34 UTC 2023 - 47.1K bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/cryptobyte/asn1.go
func (b *Builder) AddASN1NULL() { b.add(uint8(asn1.NULL), 0) } // MarshalASN1 calls encoding_asn1.Marshal on its input and appends the result if // successful or records an error if one occurred. func (b *Builder) MarshalASN1(v interface{}) { // NOTE(martinkr): This is somewhat of a hack to allow propagation of // encoding_asn1.Marshal errors into Builder.err. N.B. if you call MarshalASN1 with a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 21:28:33 UTC 2023 - 21.5K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
xlMeta.AddTestObjectPart(i+1, 67108864) } return xlMeta } // Compare the unmarshaled XLMetaV1 with the one obtained from jsoniter parsing. func compareXLMetaV1(t *testing.T, unMarshalXLMeta, jsoniterXLMeta xlMetaV1Object) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 17.6K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
RunE: func(cmd *cobra.Command, args []string) error { gw, err := makeGateway(false) if err != nil { return fmt.Errorf("failed to create gateway: %v", err) } b, err := yaml.Marshal(gw) if err != nil { return err } // strip junk res := strings.ReplaceAll(string(b), ` creationTimestamp: null `, "") res = strings.ReplaceAll(res, `status: {} `, "")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 15:59:33 UTC 2024 - 16.4K bytes - Viewed (0) -
pkg/serviceaccount/claims_test.go
// reflect.DeepEqual that we are also asserting that // claims structs are json serializable spew := func(obj interface{}) string { b, err := json.Marshal(obj) if err != nil { t.Fatalf("err, couldn't marshal claims: %v", err) } return string(b) } // set feature flags for the duration of the test case
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 17.9K bytes - Viewed (0) -
cmd/bucket-metadata_gen.go
return } err = en.WriteTime(z.LifecycleConfigUpdatedAt) if err != nil { err = msgp.WrapError(err, "LifecycleConfigUpdatedAt") return } return } // MarshalMsg implements msgp.Marshaler func (z *BucketMetadata) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 22 // string "Name" o = append(o, 0xde, 0x0, 0x16, 0xa4, 0x4e, 0x61, 0x6d, 0x65)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 25 05:52:39 UTC 2023 - 22.1K bytes - Viewed (0) -
pkg/controller/daemon/update.go
"labels": map[string]interface{}{ apps.DefaultDaemonSetUniqueLabelKey: keepCur.Labels[apps.DefaultDaemonSetUniqueLabelKey], }, }, } patchJSON, err := json.Marshal(patchRaw) if err != nil { return nil, err } _, err = dsc.kubeClient.CoreV1().Pods(ds.Namespace).Patch(ctx, pod.Name, types.MergePatchType, patchJSON, metav1.PatchOptions{}) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 13 16:53:53 UTC 2024 - 24.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/common.go
AllowExperimental bool // SkipCRIDetect indicates whether to skip the CRI socket detection when no CRI socket is provided. SkipCRIDetect bool } // MarshalKubeadmConfigObject marshals an Object registered in the kubeadm scheme. If the object is a InitConfiguration or ClusterConfiguration, some extra logic is run func MarshalKubeadmConfigObject(obj runtime.Object, gv schema.GroupVersion) ([]byte, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 18.1K bytes - Viewed (0) -
src/crypto/tls/handshake_server_tls13.go
type binaryMarshaler interface { MarshalBinary() (data []byte, err error) UnmarshalBinary(data []byte) error } marshaler, ok := in.(binaryMarshaler) if !ok { return nil } state, err := marshaler.MarshalBinary() if err != nil { return nil } out := h.New() unmarshaler, ok := out.(binaryMarshaler) if !ok { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 30.5K bytes - Viewed (0) -
tests/integration/operator/switch_cr_test.go
} return fmt.Errorf("status not found from the istioOperator resource") } usIOPStatus = usIOPStatus.(map[string]any) iopStatusString, err := json.Marshal(usIOPStatus) if err != nil { return fmt.Errorf("failed to marshal istioOperator status: %v", err) } status := &api.InstallStatus{} if err := protomarshal.UnmarshalAllowUnknown(iopStatusString, status); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 10 20:33:28 UTC 2024 - 17.5K bytes - Viewed (0)