- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 113 for fakePod (0.35 sec)
-
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) -
cmd/kubeadm/app/util/apiclient/init_dryrun.go
func (idr *InitDryRunGetter) HandleListAction(action core.ListAction) (bool, runtime.Object, error) { return false, nil, nil } // handleKubernetesService returns a faked Kubernetes service in order to be able to continue running kubeadm init. // The CoreDNS addon code GETs the Kubernetes service in order to extract the service subnet
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:17:50 UTC 2023 - 5.3K bytes - Viewed (0) -
tensorflow/c/kernels_test.cc
std::unique_ptr<OpKernel> GetFakeKernelWithAttr(const char* op_name, AttrValue v, Status* status) { NodeDef def; def.set_op(op_name); def.set_name("FakeNode"); def.set_device("FakeDevice"); (*def.mutable_attr())["Attr"] = v; return CreateOpKernel(DeviceType("FakeDevice"), nullptr, nullptr, def, 1, status); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 50.4K bytes - Viewed (0) -
pkg/scheduler/internal/cache/cache_test.go
t.Errorf("update %d: %v", j, err) } } } func makePodWithEphemeralStorage(nodeName, ephemeralStorage string) *v1.Pod { return st.MakePod().Name("pod-with-ephemeral-storage").Namespace("default-namespace").UID("pod-with-ephemeral-storage").Req( map[v1.ResourceName]string{ v1.ResourceEphemeralStorage: ephemeralStorage, }, ).Node(nodeName).Obj() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 17 01:38:03 UTC 2023 - 63.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) -
src/net/http/transport_test.go
"|http|host-3.dns-is-faked.golang:" + port, } if got := tr.IdleConnKeysForTesting(); !reflect.DeepEqual(got, want) { t.Fatalf("idle conn keys mismatch.\n got: %q\nwant: %q\n", got, want) } // Now hitting the 5th host should kick out the first host: hitHost(4) want = []string{ "|http|host-1.dns-is-faked.golang:" + port, "|http|host-2.dns-is-faked.golang:" + port, "|http|host-3.dns-is-faked.golang:" + port,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
pkg/apis/core/validation/validation_test.go
}{{ expectError: false, pod: makePod("nil-ips", "ns", nil), }, { expectError: false, pod: makePod("empty-podips-list", "ns", []core.PodIP{}), }, { expectError: false, pod: makePod("single-ip-family-6", "ns", []core.PodIP{{IP: "::1"}}), }, { expectError: false, pod: makePod("single-ip-family-4", "ns", []core.PodIP{{IP: "1.1.1.1"}}), }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 857.7K bytes - Viewed (0) -
pkg/scheduler/testing/wrappers.go
} c.Container.Resources = v1.ResourceRequirements{ Limits: res, } return c } // PodWrapper wraps a Pod inside. type PodWrapper struct{ v1.Pod } // MakePod creates a Pod wrapper. func MakePod() *PodWrapper { return &PodWrapper{v1.Pod{}} } // Obj returns the inner Pod. func (p *PodWrapper) Obj() *v1.Pod { return &p.Pod }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 42.1K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager_test.go
memoryCapacityQuantity := resource.MustParse(fakeNodeAllocatableMemory) machineInfo := &cadvisorapi.MachineInfo{ MemoryCapacity: uint64(memoryCapacityQuantity.Value()), } osInterface := &containertest.FakeOS{} manager, err := newFakeKubeRuntimeManager(fakeRuntimeService, fakeImageService, machineInfo, osInterface, &containertest.FakeRuntimeHelper{}, keyring, noopoteltrace.NewTracerProvider().Tracer(""))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 96K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks_test.go
} for _, tc := range cases { t.Run(tc.kubeletVersion, func(t *testing.T) { fcmd := fakeexec.FakeCmd{ OutputScript: []fakeexec.FakeAction{ func() ([]byte, []byte, error) { return []byte("Kubernetes " + tc.kubeletVersion), nil, nil }, }, } fexec := &fakeexec.FakeExec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 33.5K bytes - Viewed (0)