- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for UnmarshalStrict (0.18 sec)
-
operator/pkg/apis/istio/v1alpha1/deepcopy_test.go
func TestIstioOperatorSpec_DeepCopy(t *testing.T) { x := &v1alpha12.ResourceMetricSource{} err := yaml.UnmarshalStrict([]byte("targetAverageValue: 100m"), x) t.Log(x) if err != nil { t.Fatal(err) } y := &v1alpha12.MetricSpec{} err = yaml.UnmarshalStrict([]byte(` type: Resource resource: targetAverageValue: 100m`), y) t.Log(y) if err != nil { t.Fatal(err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 05 23:34:13 UTC 2022 - 3.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/coerce.go
// throwing away fields which lead to errors. // If opts.ReturnedUnknownFields is true, it will UnmarshalStrict instead, returning the paths of any unknown fields // it encounters (i.e. paths returned as strict errs from UnmarshalStrict) func GetObjectMetaWithOptions(obj map[string]interface{}, opts ObjectMetaOptions) (*metav1.ObjectMeta, bool, []string, error) { metadata, found := obj["metadata"]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 18 14:55:12 UTC 2022 - 5.4K bytes - Viewed (0) -
operator/pkg/apis/istio/common.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 23 17:19:38 UTC 2022 - 2K bytes - Viewed (0) -
cmd/batch-expire_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 3K bytes - Viewed (0) -
operator/pkg/helmreconciler/prune_test.go
// init two custom gateways with revision gateways := [][]byte{iopTestGwData1, iopTestGwData2} for i, data := range gateways { iop := &v1alpha1.IstioOperator{} err := yaml.UnmarshalStrict(data, iop) assert.NoError(t, err) h := &HelmReconciler{ client: cl, kubeClient: kube.NewFakeClientWithVersion("24"), opts: &Options{ ProgressLog: progress.NewLog(),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 15 12:13:37 UTC 2023 - 5.2K bytes - Viewed (0)