- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for fakehost (0.17 sec)
-
pkg/volume/csi/csi_plugin_test.go
"fakeNode", csiDriverLister, volumeAttachmentLister, ) default: t.Fatalf("Unsupported volume host type") } fakeHost, ok := host.(volumetest.FakeVolumeHost) if !ok { t.Fatalf("Unsupported volume host type") } pluginMgr := fakeHost.GetPluginMgr() plug, err := pluginMgr.FindPluginByName(CSIPluginName) if err != nil { t.Fatalf("can't find plugin %v", CSIPluginName) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller_test.go
Name: "fakeDestinationRule", Namespace: "default", Domain: "cluster.local", CreationTimestamp: GlobalTime, }, Spec: &networking.DestinationRule{ Host: "fakehost", }, } _, err := store.Create(cfg) if err != nil { t.Errorf("error occurred crearting ServiceEntry config: %v", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 92.9K 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) -
pkg/kubelet/kuberuntime/kuberuntime_container_test.go
} // Create fake sandbox and container _, fakeContainers := makeAndSetFakePod(t, m, fakeRuntime, pod) assert.Equal(t, len(fakeContainers), 1) containerID := fakeContainers[0].Id fakeOS := m.osInterface.(*containertest.FakeOS) fakeOS.GlobFn = func(pattern, path string) bool { pattern = strings.Replace(pattern, "*", ".*", -1) pattern = strings.Replace(pattern, "\\", "\\\\", -1) return regexp.MustCompile(pattern).MatchString(path)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 28K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider_test.go
} ctrl := gomock.NewController(t) defer ctrl.Finish() fakeOS := &kubecontainertest.FakeOS{} fakeOS.ReadDirFn = func(path string) ([]os.DirEntry, error) { var dirEntries []os.DirEntry mockDE := kubecontainertest.NewMockDirEntry(ctrl) switch path {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 54.5K bytes - Viewed (0) -
pkg/kubelet/runonce_test.go
mirrorPodClient: podtest.NewFakeMirrorClient(), podManager: podManager, podWorkers: &fakePodWorkers{}, os: &containertest.FakeOS{}, containerRuntime: fakeRuntime, reasonCache: NewReasonCache(), clock: clock.RealClock{}, kubeClient: &fake.Clientset{}, hostname: testKubeletHostname,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 06:59:54 UTC 2024 - 6.5K bytes - Viewed (0) -
pkg/kubelet/stats/cadvisor_stats_provider_test.go
} fakeStatsSlice := []*volume.Metrics{containerLogStats0, containerLogStats1} fakeOS := &containertest.FakeOS{} freeRootfsInodes := rootfsInodesFree totalRootfsInodes := rootfsInodes rootfs := cadvisorapiv2.FsInfo{ Capacity: rootfsCapacity, Available: rootfsAvailable,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 30.2K bytes - Viewed (0) -
pkg/kubemark/hollow_kubelet.go
RemoteRuntimeService: runtimeService, RemoteImageService: imageService, CAdvisorInterface: cadvisorInterface, Cloud: nil, OSInterface: &containertest.FakeOS{}, ContainerManager: containerManager, VolumePlugins: volumePlugins(), TLSOptions: nil, OOMAdjuster: oom.NewFakeOOMAdjuster(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:10:54 UTC 2024 - 7.8K bytes - Viewed (0) -
tests/integration/pilot/common/routing.go
model.BuildSubsetKey(model.TrafficDirectionOutbound, "", nakedHost, httpsPort), model.BuildDNSSrvSubsetKey(model.TrafficDirectionOutbound, "", nakedHost, httpsPort), model.BuildSubsetKey(model.TrafficDirectionOutbound, "", mtlsHost, httpsAutoPort), model.BuildDNSSrvSubsetKey(model.TrafficDirectionOutbound, "", mtlsHost, httpsAutoPort), model.BuildSubsetKey(model.TrafficDirectionOutbound, "", nakedHost, httpsAutoPort),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 21:52:51 UTC 2024 - 135.9K bytes - Viewed (0)