- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for fakePod (0.77 sec)
-
pkg/kubelet/server/stats/volume_stat_calculator_test.go
volumes := map[string]volume.Volume{vol0: &fakeVolume{}, vol1: &fakeVolume{}, vol3: &fakeVolume{}} mockStats.EXPECT().ListVolumesForPod(fakePod.UID).Return(volumes, true) blockVolumes := map[string]volume.BlockVolume{vol2: &fakeBlockVolume{}} mockStats.EXPECT().ListBlockVolumesForPod(fakePod.UID).Return(blockVolumes, true) eventStore := make(chan string, 1) fakeEventRecorder := record.FakeRecorder{ Events: eventStore, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 9.6K bytes - Viewed (0) -
pkg/probe/exec/exec_test.go
func (f *FakeCmd) SetStdout(out io.Writer) { f.writer = out } func (f *FakeCmd) SetStderr(out io.Writer) { f.writer = out } func (f *FakeCmd) SetEnv(env []string) {} func (f *FakeCmd) Stop() {} func (f *FakeCmd) Start() error { if f.writer != nil { f.writer.Write(f.out) return f.err } return f.err } func (f *FakeCmd) Wait() error { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates_test.go
pod: st.MakePod().Name("p").SchedulingGates([]string{"foo", "bar"}).Obj(), oldObj: st.MakePod().Name("p").SchedulingGates([]string{"foo", "bar"}).Obj(), newObj: st.MakePod().Name("p").SchedulingGates([]string{"foo"}).Obj(), expectedHint: framework.QueueSkip, }, "queue-on-gates-become-empty": { pod: st.MakePod().Name("p").SchedulingGates([]string{"foo"}).Obj(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 3.7K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/interpodaffinity/plugin_test.go
pod: st.MakePod().Name("p").PodAffinityIn("service", "region", []string{"securityscan", "value2"}, st.PodAffinityWithRequiredReq).Obj(), newPod: st.MakePod().Label("service", "securityscan").Obj(), oldPod: st.MakePod().Label("service", "securityscan").Obj(), expectedHint: framework.QueueSkip, }, { name: "update a pod from match to non-match the pod affinity",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 12 03:08:44 UTC 2024 - 9.7K bytes - Viewed (0) -
pkg/test/framework/components/environment/kube/fake.go
// FakeEnvironment for testing. type FakeEnvironment struct { Name string NumClusters int IDValue string } func (f FakeEnvironment) ID() resource.ID { return resource.FakeID(f.IDValue) } func (f FakeEnvironment) IsMultiCluster() bool { return false } func (f FakeEnvironment) IsMultiNetwork() bool { return false } func (f FakeEnvironment) EnvironmentName() string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 1.8K 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/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) -
src/net/ipsock_posix.go
// IPv6 support too. So probe the kernel to figure it out. func (p *ipStackCapabilities) probe() { switch runtime.GOOS { case "js", "wasip1": // Both ipv4 and ipv6 are faked; see net_fake.go. p.ipv4Enabled = true p.ipv6Enabled = true p.ipv4MappedIPv6Enabled = true return } s, err := sysSocket(syscall.AF_INET, syscall.SOCK_STREAM, syscall.IPPROTO_TCP) switch err {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 8.6K bytes - Viewed (0)