- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 414 for fakePC (0.1 sec)
-
pkg/kubelet/stats/host_stats_provider_fake.go
osInterface kubecontainer.OSInterface } // NewFakeHostStatsProvider provides a way to test with fake host statistics func NewFakeHostStatsProvider() HostStatsProvider { return &fakeHostStatsProvider{ osInterface: &kubecontainertest.FakeOS{}, } } // NewFakeHostStatsProviderWithData provides a way to test with fake host statistics
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 17:57:17 UTC 2024 - 3.9K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/dryrunclient.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 21 09:49:59 UTC 2022 - 10.3K bytes - Viewed (0) -
android/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/test/framework/components/cluster/kube/factory.go
istioKube "istio.io/istio/pkg/kube" "istio.io/istio/pkg/test/framework/components/cluster" "istio.io/istio/pkg/test/util/file" ) const ( kubeconfigMetaKey = "kubeconfig" vmSupportMetaKey = "fakeVM" ) func BuildKube(origCfg cluster.Config, topology cluster.Topology) (cluster.Cluster, error) { cfg, err := validConfig(origCfg) if err != nil { return nil, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 2.7K 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/kuberuntime/kuberuntime_container_test.go
ImagePullPolicy: v1.PullIfNotPresent, }, }, }, } // 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)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 28K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns_test.go
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" "istio.io/istio/pkg/test/util/assert" ) func TestWithProcFs(t *testing.T) { n := NewPodNetnsProcFinder(fakeFs()) pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{ Name: "foo", Namespace: "bar", UID: types.UID("863b91d4-4b68-4efa-917f-4b560e3e86aa"), }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 4.6K bytes - Viewed (0) -
src/net/http/fs_test.go
{`<combo>?foo`, `<a href="%3Ccombo%3E%3Ffoo"><combo>?foo</a>`}, {`foo:bar`, `<a href="./foo:bar">foo:bar</a>`}, } // We put each test file in its own directory in the fakeFS so we can look at it in isolation. fs := make(fakeFS) for i, test := range tests { testFile := &fakeFileInfo{basename: test.name} fs[fmt.Sprintf("/%d", i)] = &fakeFileInfo{ dir: true, modtime: time.Unix(1000000000, 0).UTC(),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 23:39:44 UTC 2024 - 49.9K bytes - Viewed (0) -
tests/testdata/certs/dns/fake-cert-chain.pem
Jacek Ewertowski <******@****.***> 1666619920 +0200
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Oct 24 13:58:40 UTC 2022 - 1.1K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 17.5K bytes - Viewed (0)