- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for testNodeName (0.14 sec)
-
pkg/kubelet/pod/mirror_client_test.go
expectSuccess: false, }, { desc: "node missing UID", node: &v1.Node{ ObjectMeta: metav1.ObjectMeta{ Name: testNodeName, }, }, expectSuccess: false, }, { desc: "successfully fetched node", node: &v1.Node{ ObjectMeta: metav1.ObjectMeta{ Name: testNodeName, UID: testNodeUID, }, }, expectSuccess: true, }} for _, test := range testcases {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 08 12:44:09 UTC 2023 - 4.2K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/util/util_test.go
socketPath = "/var/run/kmsplugin" migratedVolume = "migrated-volume-name" nonMigratedVolume = "non-migrated-volume-name" testNodeName = "test-node-name" ) var ( dirOrCreate = v1.HostPathType(v1.HostPathDirectoryOrCreate) nodeName = kubetypes.NodeName(testNodeName) hostPath = &v1.HostPathVolumeSource{ Path: socketPath, Type: &dirOrCreate, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 12 05:42:38 UTC 2023 - 10.4K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodename/node_name_test.go
import ( "reflect" "testing" v1 "k8s.io/api/core/v1" "k8s.io/kubernetes/pkg/scheduler/framework" st "k8s.io/kubernetes/pkg/scheduler/testing" "k8s.io/kubernetes/test/utils/ktesting" ) func TestNodeName(t *testing.T) { tests := []struct { pod *v1.Pod node *v1.Node name string wantStatus *framework.Status }{ { pod: &v1.Pod{}, node: &v1.Node{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 20 09:49:54 UTC 2023 - 1.8K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
"cni_event_address": "%s", "ambient_enabled": %t, "kubernetes": { "k8s_api_root": "APIRoot", "kubeconfig": "testK8sConfig", "intercept_type": "%s", "node_name": "testNodeName", "exclude_namespaces": ["testExcludeNS"], "cni_bin_dir": "/testDirectory" } }` type mockInterceptRuleMgr struct { lastRedirect []*Redirect }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 17.5K bytes - Viewed (0)