- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 400 for marshaling (0.57 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler_test.go
t.Fatalf("obj is not an unstructured: %v", obj) } objBytes, err := unstructured.MarshalJSON() if err != nil { t.Fatalf("err marshaling json: %v", err) } expectedBytes, err := tc.expectedObj.MarshalJSON() if err != nil { t.Fatalf("err marshaling json: %v", err) } if bytes.Compare(objBytes, expectedBytes) != 0 { t.Fatalf("expected obj: \n%v\n got obj: \n%v\n", tc.expectedObj, obj)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 13 15:27:39 UTC 2023 - 34.6K bytes - Viewed (0) -
pilot/pkg/features/pilot.go
"If enabled, certificates received by the proxy will be verified against the OS CA certificate bundle.").Get() EnableVtprotobuf = env.Register("ENABLE_VTPROTOBUF", true, "If true, will use optimized vtprotobuf based marshaling. Requires a build with -tags=vtprotobuf.").Get() GatewayAPIDefaultGatewayClass = env.Register("PILOT_GATEWAY_API_DEFAULT_GATEWAYCLASS_NAME", "istio", "Name of the default GatewayClass").Get()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/test/framework/components/istio/kube.go
} if operatorCfg.Spec == nil { operatorCfg.Spec = &opAPI.IstioOperatorSpec{} } // marshaling entire operatorCfg causes panic because of *time.Time in ObjectMeta outb, err := yaml.Marshal(operatorCfg.Spec) if err != nil { return nil, fmt.Errorf("failed marshaling iop spec: %v", err) } out := fmt.Sprintf(` apiVersion: install.istio.io/v1alpha1 kind: IstioOperator spec:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 31.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json.go
"pretty": strconv.FormatBool(options.Pretty), "strict": strconv.FormatBool(options.Strict), } identifier, err := json.Marshal(result) if err != nil { klog.Fatalf("Failed marshaling identifier for json Serializer: %v", err) } return runtime.Identifier(identifier) } // SerializerOptions holds the options which are used to configure a JSON/YAML serializer. // example:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 25 16:08:07 UTC 2022 - 12K bytes - Viewed (0) -
pkg/apis/autoscaling/v1/conversion.go
out.Annotations = autoscaling.DeepCopyStringMap(out.Annotations) } out.Annotations[autoscaling.MetricStatusesAnnotation] = string(currentMetricsEnc) } if in.Spec.Behavior != nil { // TODO: this is marshaling an internal type. Fix this without breaking backwards compatibility. behaviorEnc, err := json.Marshal(in.Spec.Behavior) if err != nil { return err } // copy before mutating if !copiedAnnotations {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 16 03:29:22 UTC 2021 - 21.2K bytes - Viewed (0) -
internal/bucket/object/lock/lock_test.go
if actualStatus != tt.expectedStatus { t.Errorf("Expected legal hold status %s, got %s", tt.expectedStatus, actualStatus) } } } // TestUnmarshalDefaultRetention checks if default retention // marshaling and unmarshalling work as expected func TestUnmarshalDefaultRetention(t *testing.T) { days := uint64(4) years := uint64(1) zerodays := uint64(0) invalidDays := uint64(maximumRetentionDays + 1) tests := []struct {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 17.1K bytes - Viewed (0) -
src/html/template/js.go
// // We also put a space before the comment so that if it is flush against // a division operator it is not turned into a line comment: // x/{{y}} // turning into // x//* error marshaling y: // second line of error message */null errStr := err.Error() errStr = strings.ReplaceAll(errStr, "*/", "* /") errStr = strings.ReplaceAll(errStr, "</script", `\x3C/script`)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 14.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/interfaces.go
*p.ResourceVersion, objMeta.GetResourceVersion()) return NewInvalidObjError(key, err) } return nil } // Interface offers a common interface for object marshaling/unmarshaling operations and // hides all the storage-related operations behind it. type Interface interface { // Returns Versioner associated with this interface. Versioner() Versioner
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 07:53:48 UTC 2024 - 14.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go
limitations under the License. */ // The tests in this package focus on the correctness of its implementation of // runtime.Serializer. The specific behavior of marshaling Go values to CBOR bytes and back is // tested in the ./internal/modes package, which is used both by the Serializer implementation and // the package-scoped Marshal/Unmarshal functions in the ./direct package. package cbor
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 13 14:57:12 UTC 2024 - 20.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/helpers.go
result := map[string]string{ "name": "fallback", "base": string(encoder.Identifier()), } identifier, err := gojson.Marshal(result) if err != nil { klog.Fatalf("Failed marshaling identifier for jsonFallbackEncoder: %v", err) } return &jsonFallbackEncoder{ encoder: encoder, identifier: runtime.Identifier(identifier), } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 29 20:39:55 UTC 2023 - 16.3K bytes - Viewed (0)