- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 915 for Tc (0.03 sec)
-
istioctl/pkg/tag/tag_test.go
skipConfirmation: false, error: "", }, } for _, tc := range tcs { t.Run(tc.name, func(t *testing.T) { var out bytes.Buffer client := fake.NewSimpleClientset(tc.webhooksBefore.DeepCopyObject(), tc.namespaces.DeepCopyObject()) err := removeTag(context.Background(), client, tc.tag, tc.skipConfirmation, &out) if tc.error == "" && err != nil { t.Fatalf("expected no error, got %v", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Nov 17 22:41:06 UTC 2023 - 8.7K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
* environment. * * @param tc * context to use */ public Type3Message ( CIFSContext tc ) { setFlags(getDefaultFlags(tc)); setDomain(tc.getConfig().getDefaultDomain()); setUser(tc.getConfig().getDefaultUsername()); setWorkstation(tc.getNameServiceClient().getLocalHost().getHostName()); } /**
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 30.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/meta/multirestmapper_test.go
}, } for _, tc := range tcs { actualResult, actualErr := tc.mapper.RESTMappings(tc.groupKind, tc.versions...) if e, a := tc.result, actualResult; !reflect.DeepEqual(e, a) { t.Errorf("%s: expected %v, got %v", tc.name, e, a) } switch { case tc.err == nil && actualErr == nil: case tc.err == nil: t.Errorf("%s: unexpected error: %v", tc.name, actualErr) case actualErr == nil:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 05 01:49:02 UTC 2018 - 13.6K bytes - Viewed (0) -
pkg/webhooks/webhookpatch_test.go
watcher.SetAndNotify(nil, nil, tc.pemData) whPatcher, err := NewWebhookCertPatcher(client, tc.revision, tc.webhookName, watcher) if err != nil { t.Fatal(err) } stop := test.NewStop(t) client.RunAndWait(stop) retry.UntilOrFail(t, whPatcher.webhooks.HasSynced) err = whPatcher.patchMutatingWebhookConfig(tc.configName) if (err != nil) != (tc.err != "") {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 02 09:53:38 UTC 2023 - 8.6K bytes - Viewed (0) -
src/cmd/go/internal/modload/mvs_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 19:01:26 UTC 2023 - 818 bytes - Viewed (0) -
pkg/volume/util/atomic_writer_test.go
continue } checkVolumeContents(targetDir, tc.name, tc.first, t) if !tc.shouldWrite { continue } err = writer.Write(tc.next, nil) if err != nil { if tc.shouldWrite { t.Errorf("%v: unexpected error writing: %v", tc.name, err) continue } } else if !tc.shouldWrite { t.Errorf("%v: unexpected success", tc.name) continue }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 30.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/json/json_test.go
t.Fatalf("%s: error decoding: %v", tc.In, err) } if tc.Err { t.Fatalf("%s: expected error, got none", tc.In) } data, ok := m["data"] if !ok { t.Fatalf("%s: decoded object missing data key: %#v", tc.In, m) } if !reflect.DeepEqual(tc.Data, data) { t.Fatalf("%s: expected\n\t%#v (%v), got\n\t%#v (%v)", tc.In, tc.Data, reflect.TypeOf(tc.Data), data, reflect.TypeOf(data)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 28 08:02:09 UTC 2022 - 9.3K bytes - Viewed (0) -
pkg/volume/csi/csi_attacher_test.go
} _, ok := staged[tc.volID] if ok && tc.stageUnstageSet && tc.volID != "" { t.Errorf("found unexpected staged volume: %s", tc.volID) } else if !ok && !tc.stageUnstageSet { t.Errorf("could not find expected staged volume: %s", tc.volID) } if tc.jsonFile != "" && !tc.shouldFail { dataPath := filepath.Join(dir, volDataFileName)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 58.1K bytes - Viewed (0) -
pkg/volume/csi/csi_client_test.go
context.Background(), tc.volID, map[string]string{"device": "/dev/null"}, tc.stagingTargetPath, tc.fsType, api.ReadWriteOnce, tc.secrets, map[string]string{"attr0": "val0"}, tc.mountOptions, tc.fsGroup, ) checkErr(t, tc.mustFail, err) volumeMountGroup := nodeClient.GetNodeStagedVolumes()[tc.volID].VolumeMountGroup
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 33.9K bytes - Viewed (0) -
pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner.go
return } go wait.UntilWithContext(ctx, tc.evaluateSATokens, tc.syncInterval) <-ctx.Done() } func (tc *LegacySATokenCleaner) evaluateSATokens(ctx context.Context) { logger := klog.FromContext(ctx) now := tc.clock.Now().UTC() trackedSince, err := tc.latestPossibleTrackedSinceTime(ctx)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 03:52:06 UTC 2023 - 10K bytes - Viewed (0)