- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 192 for raerror (0.07 sec)
-
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/helpers_test.go
assert.False(t, exists) assert.Error(t, err) assert.Nil(t, res) // case 4: field does not exist res, exists, err = NestedFieldNoCopy(obj, "a", "g") assert.False(t, exists) assert.NoError(t, err) assert.Nil(t, res) // case 5: intermediate field does not exist res, exists, err = NestedFieldNoCopy(obj, "a", "g", "f") assert.False(t, exists) assert.NoError(t, err) assert.Nil(t, res)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 24 07:53:28 UTC 2021 - 5.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apidiscovery/v2/fuzzer_test.go
) func TestConversionRoundTrip(t *testing.T) { scheme := runtime.NewScheme() err := v2beta1scheme.AddToScheme(scheme) require.NoError(t, err) err = v2scheme.AddToScheme(scheme) require.NoError(t, err) err = v2scheme.RegisterConversions(scheme) require.NoError(t, err) fuzzer := fuzz.NewWithSeed(2374375) // v2 -> v2beta1 -> v2 for i := 0; i < 100; i++ { expected := &v2.APIGroupDiscoveryList{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 00:29:39 UTC 2024 - 2.5K bytes - Viewed (0) -
security/pkg/server/ca/server.go
return nil, status.Errorf(signErr.(*caerror.Error).HTTPErrorCode(), "CSR signing error (%v)", signErr.(*caerror.Error)) } if certSigner == "" { respCertChain = []string{string(cert)} if len(certChainBytes) != 0 { respCertChain = append(respCertChain, string(certChainBytes)) serverCaLog.Debugf("Append cert chain to response, %s", string(certChainBytes)) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 28 17:35:26 UTC 2024 - 8K bytes - Viewed (0) -
src/net/http/readrequest_test.go
Close: true, }, noBodyStr, noTrailer, noError, }, } func TestReadRequest(t *testing.T) { for i := range reqTests { tt := &reqTests[i] req, err := ReadRequest(bufio.NewReader(strings.NewReader(tt.Raw))) if err != nil { if err.Error() != tt.Error { t.Errorf("#%d: error %q, want error %q", i, err.Error(), tt.Error) } continue } rbody := req.Body
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 14 22:23:32 UTC 2024 - 10K bytes - Viewed (0) -
pkg/kubelet/images/image_gc_manager_test.go
_, err := manager.detectImages(ctx, zero) require.NoError(t, err) fakeRuntime.ImageList = []container.Image{ makeImage(0, 1024), makeImage(1, 2048), } _, err = manager.detectImages(ctx, time.Now()) require.NoError(t, err) fakeRuntime.AllPodList = []*containertest.FakePod{} _, err = manager.detectImages(ctx, time.Now()) require.NoError(t, err) require.Equal(t, manager.imageRecordsLen(), 2)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 15:38:20 UTC 2024 - 29.2K bytes - Viewed (0) -
pkg/kubelet/winstats/winstats_test.go
expectedErrMsg := "The system cannot find the path specified." if err == nil || err.Error() != expectedErrMsg { t.Fatalf("expected error message `%s` but got `%v`", expectedErrMsg, err) } dir, err := os.MkdirTemp("", "fsinfo") assert.NoError(t, err) defer os.RemoveAll(dir) fsInfo, err := c.GetDirFsInfo(dir) assert.NoError(t, err) assert.NotZero(t, fsInfo.Capacity) assert.NotZero(t, fsInfo.Available) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 13 12:08:15 UTC 2023 - 4.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/audit_test.go
{Cluster: v1.Cluster{Server: "localhost", InsecureSkipTLSVerify: true}}, }, } f, err := ioutil.TempFile("", "k8s_audit_webhook_test_") require.NoError(t, err, "creating temp file") require.NoError(t, stdjson.NewEncoder(f).Encode(config), "writing webhook kubeconfig") require.NoError(t, f.Close()) return f.Name() } func makeTmpPolicy(t *testing.T) string { pol := auditv1.Policy{ TypeMeta: metav1.TypeMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 27 14:57:26 UTC 2022 - 7.8K bytes - Viewed (0) -
pkg/config/analysis/analyzers/schema/validation.go
} } else { ctx.Report(gv, morePreciseMessage(r, warnings, false)) } } return true }) } func morePreciseMessage(r *resource.Instance, err error, isError bool) diag.Message { if aae, ok := err.(*validation.AnalysisAwareError); ok { switch aae.Type { case "VirtualServiceUnreachableRule":
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jan 08 07:38:28 UTC 2024 - 3.6K bytes - Viewed (0) -
cni/pkg/nodeagent/server_test.go
if f.testWG != nil { defer f.testWG.Done() } args := f.Called(ctx, pod, podIPs, netNs) return args.Error(0) } func (f *fakeServer) RemovePodFromMesh(ctx context.Context, pod *corev1.Pod) error { if f.testWG != nil { defer f.testWG.Done() } args := f.Called(ctx, pod) return args.Error(0) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 7.8K bytes - Viewed (0) -
docs/bucket/replication/sio-error.sh
Poorna <******@****.***> 1716056341 -0700
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat May 18 18:19:01 UTC 2024 - 1.7K bytes - Viewed (0)