- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 140 for fakePC (4.06 sec)
-
pkg/bootstrap/option/instances_test.go
{ testName: "cluster", key: "cluster", option: option.Cluster("fake"), expected: "fake", }, { testName: "nodeID", key: "nodeID", option: option.NodeID("fake"), expected: "fake", }, { testName: "region", key: "region", option: option.Region("fake"), expected: "fake", }, { testName: "zone", key: "zone",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 20:38:02 UTC 2024 - 22.4K bytes - Viewed (0) -
pkg/volume/csi/csi_client_test.go
return fake.NewNodeClientWithVolumeStats(volumeStatsCapable) }) } func TestClientNodeSupportsVolumeMountGroup(t *testing.T) { testClientNodeSupportsCapabilities(t, func(client *csiDriverClient) (bool, error) { return client.NodeSupportsVolumeMountGroup(context.Background()) }, func(volumeMountGroupCapable bool) *fake.NodeClient {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 33.9K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/plugin_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 17 06:30:53 UTC 2023 - 13K bytes - Viewed (0) -
pkg/kubelet/volumemanager/volume_manager_test.go
ObjectMeta: metav1.ObjectMeta{Name: testHostname}, Status: v1.NodeStatus{ VolumesAttached: []v1.AttachedVolume{ { Name: "fake/fake-device", DevicePath: "fake/path", }, }}, } pod := &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "abc", Namespace: "nsA", UID: "1234", }, Spec: v1.PodSpec{ Containers: []v1.Container{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.1K bytes - Viewed (0) -
pkg/controller/deployment/rolling_test.go
if !test.scaleExpected { if scaled || len(fake.Actions()) > 0 { t.Errorf("unexpected scaling: %v", fake.Actions()) } continue } if test.scaleExpected && !scaled { t.Errorf("expected scaling to occur") continue } if len(fake.Actions()) != 1 { t.Errorf("expected 1 action during scale, got: %v", fake.Actions()) continue }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 11K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 39.4K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/range_allocator_test.go
*/ package ipam import ( "net" "testing" "time" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/wait" "k8s.io/client-go/kubernetes/fake" "k8s.io/kubernetes/pkg/controller/nodeipam/ipam/test" "k8s.io/kubernetes/pkg/controller/testutil" "k8s.io/kubernetes/test/utils/ktesting" netutils "k8s.io/utils/net" ) type testCase struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 10:06:15 UTC 2024 - 25.2K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider_windows_test.go
fakeStats := map[string]*volume.Metrics{ kuberuntime.BuildContainerLogsDirectory(testPodLogDirectory, "sb0-ns", "sb0-name", types.UID("sb0-uid"), "c0"): c0LogStats, } fakeOS := &kubecontainertest.FakeOS{} fakeHostStatsProvider := NewFakeHostStatsProviderWithData(fakeStats, fakeOS) p := &criStatsProvider{ clock: fakeClock, hostStatsProvider: fakeHostStatsProvider, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 17 00:02:10 UTC 2024 - 13.8K bytes - Viewed (0) -
pilot/pkg/leaderelection/leaderelection_test.go
} return nil }) close(stop) } func TestLeaderElectionNoPermission(t *testing.T) { client := fake.NewSimpleClientset() watcher := &fakeDefaultWatcher{} allowRbac := atomic.NewBool(true) client.Fake.PrependReactor("update", "*", func(action k8stesting.Action) (bool, runtime.Object, error) { if allowRbac.Load() { return false, nil, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 11.4K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconstruct_test.go
{ name: "when two pods are using same volume and both are deleted", volumePaths: []string{ filepath.Join("pod1", "volumes", "fake-plugin", "pvc-abcdef"), filepath.Join("pod2", "volumes", "fake-plugin", "pvc-abcdef"), }, expectedVolumesNeedDevicePath: []string{"fake-plugin/pvc-abcdef", "fake-plugin/pvc-abcdef"}, expectedVolumesFailedReconstruction: []string{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.8K bytes - Viewed (0)