- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 406 for fakePC (3.81 sec)
-
pkg/util/iptables/testing/fake.go
Dan Winship <******@****.***> 1702948371 -0500
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 11.4K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go
func TestCreatePodSandbox(t *testing.T) { ctx := context.Background() fakeRuntime, _, m, err := createTestRuntimeManager() require.NoError(t, err) pod := newTestPod() fakeOS := m.osInterface.(*containertest.FakeOS) fakeOS.MkdirAllFn = func(path string, perm os.FileMode) error { // Check pod logs root directory is created. assert.Equal(t, filepath.Join(testPodLogsDirectory, pod.Namespace+"_"+pod.Name+"_12345678"), path)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/fake.go
Jefftree <******@****.***> 1705698827 -0500
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 4.4K bytes - Viewed (0) -
pilot/pkg/networking/core/fake.go
ServiceEntryRegistry: se, } if !opts.SkipRun { fake.Run() if err := env.InitNetworksManager(xdsUpdater); err != nil { t.Fatal(err) } if err := env.PushContext().InitContext(env, nil, nil); err != nil { t.Fatalf("Failed to initialize push context: %v", err) } } return fake } func (f *ConfigGenTest) Run() { go f.Registry.Run(f.stop)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 11.5K bytes - Viewed (0) -
pkg/proxy/ipvs/testing/fake.go
IsIPv6 bool } // NewFakeNetlinkHandle will create a new FakeNetlinkHandle func NewFakeNetlinkHandle(isIPv6 bool) *FakeNetlinkHandle { fake := &FakeNetlinkHandle{ localAddresses: make(map[string][]string), IsIPv6: isIPv6, } return fake } // EnsureAddressBind is a mock implementation func (h *FakeNetlinkHandle) EnsureAddressBind(address, devName string) (exist bool, err error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 5.5K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_gc_test.go
err = m.containerGC.evictPodLogsDirectories(ctx, true) assert.NoError(t, err) assert.Equal(t, removed, fakeOS.Removes) // allSourcesReady == false, pod log directories should not be removed. fakeOS.Removes = []string{} err = m.containerGC.evictPodLogsDirectories(ctx, false) assert.NoError(t, err) assert.Empty(t, fakeOS.Removes) } func TestUnknownStateContainerGC(t *testing.T) { ctx := context.Background()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 20.6K bytes - Viewed (0) -
pkg/kubelet/server/stats/volume_stat_calculator_test.go
vol3 = "vol3" pvcClaimName0 = "pvc-fake0" pvcClaimName1 = "pvc-fake1" ) var ( ErrorWatchTimeout = errors.New("watch event timeout") // Create pod spec to test against podVolumes = []k8sv1.Volume{ { Name: vol0, VolumeSource: k8sv1.VolumeSource{ GCEPersistentDisk: &k8sv1.GCEPersistentDiskVolumeSource{ PDName: "fake-device1", }, }, }, { Name: vol1,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 9.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typesinternal/toonew.go
// type T struct { F std.Real } // correct new API // // //go:build !go1.22 // type T struct { F fake } // shim // type fake struct { ... } // func (fake) M () {} // // These alternative declarations of T use either the std.Real // type, introduced in go1.22, or a fake type, for the field // F. (The fakery could be arbitrarily deep, involving more // nested fields and methods than are shown here.) Clients
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/FakeKeyStore.java
throw new RuntimeException(e); } } static class Provider extends java.security.Provider { public static String name = "FakeProvider"; public static String algorithm = "FAKEKS"; Provider() { super(name, 1.0, name); putService(new Service(this, "KeyStore", algorithm, FakeKeyStore.class.getCanonicalName(), null, null)); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 5K bytes - Viewed (0)