- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 358 for unmarshaling (0.21 sec)
-
src/encoding/xml/xml_test.go
} if len(c.C.XMLName.Space) != 0 { t.Errorf("overidding with empty namespace: after marshaling & unmarshaling, got %s, want empty\n", a.C.XMLName.Space) } } func TestIssue20396(t *testing.T) { var attrError = UnmarshalError("XML syntax error on line 1: expected attribute name in element")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 36.9K bytes - Viewed (0) -
pkg/api/testing/unstructured_test.go
if err != nil { t.Errorf("Error when marshaling object: %v", err) return } unstr := make(map[string]interface{}) err = json.Unmarshal(data, &unstr) if err != nil { t.Errorf("Error when unmarshaling to unstructured: %v", err) return } data, err = json.Marshal(unstr) if err != nil { t.Errorf("Error when marshaling unstructured: %v", err) return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 16.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_proto.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 21 05:31:33 UTC 2021 - 6K bytes - Viewed (0) -
operator/pkg/name/name.go
PilotComponentName: "🧠", CNIComponentName: "🪢", ZtunnelComponentName: "🔒", IngressComponentName: "🛬", EgressComponentName: "🛫", } // ComponentNamesConfig is used for unmarshaling legacy and addon naming data. type ComponentNamesConfig struct { DeprecatedComponentNames []string } var ( AllCoreComponentNames = []ComponentName{ IstioBaseComponentName, PilotComponentName,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 19:23:44 UTC 2024 - 7.9K bytes - Viewed (0) -
operator/pkg/util/yaml_test.go
{ desc: "no-diff", diff1: `foo: bar`, diff2: `foo: bar`, expect: ``, }, { desc: "invalid-yaml", diff1: `Ij#**#f#`, diff2: `fm*##)n`, expect: "error unmarshaling JSON: while decoding JSON: json: cannot unmarshal string into Go value of type map[string]interface {}", }, } for _, tt := range tests { t.Run(tt.desc, func(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 06 17:00:14 UTC 2024 - 6.7K bytes - Viewed (0) -
operator/pkg/patch/patch.go
2. Add new key:value to container name: n1 path: a.b.[name:n1] value: new_attr: v3 *NOTES* - Due to loss of string quoting during unmarshaling, keys and values should not be string quoted, even if they appear that way in the object being patched. - [key:value] treats ':' as a special separator character. Any ':' in the key or value string must be escaped as \:. */
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 10 15:35:03 UTC 2023 - 6.2K bytes - Viewed (0) -
pkg/apis/autoscaling/v2beta1/conversion.go
return err } if behaviorEnc, hasBehaviors := out.Annotations[autoscaling.BehaviorSpecsAnnotation]; hasBehaviors { // TODO: this is unmarshaling an internal type. Fix this without breaking backwards compatibility with n-1 API servers. var behavior autoscaling.HorizontalPodAutoscalerBehavior
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 03 16:28:10 UTC 2021 - 13.4K bytes - Viewed (0) -
pilot/pkg/xds/filters/filters.go
// EnvoyJwtFilterPayload is the struct field for the payload in dynamic metadata in Envoy JWT filter. EnvoyJwtFilterPayload = "payload" ) // Define static filters to be reused across the codebase. This avoids duplicate marshaling/unmarshaling // This should not be used for filters that will be mutated var ( RetryPreviousHosts = &route.RetryPolicy_RetryHostPredicate{ Name: "envoy.retry_host_predicates.previous_hosts",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 09 09:24:25 UTC 2024 - 15.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/intstr/generated.pb.go
} if depth == 0 { return iNdEx, nil } } return 0, io.ErrUnexpectedEOF } var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 9.5K bytes - Viewed (0) -
src/encoding/json/decode.go
// The JSON null value unmarshals into an interface, map, pointer, or slice // by setting that Go value to nil. Because null is often used in JSON to mean // “not present,” unmarshaling a JSON null into any other Go type has no effect // on the value and produces no error. // // When unmarshaling quoted strings, invalid UTF-8 or // invalid UTF-16 surrogate pairs are not treated as an error. // Instead, they are replaced by the Unicode replacement
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 35.3K bytes - Viewed (0)