- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for fakeexec (0.59 sec)
-
pkg/volume/git_repo/git_repo_test.go
return []byte{}, nil, nil }) } } fcmd = fakeexec.FakeCmd{ CombinedOutputScript: fakeOutputs, } // Construct fake exec outputs from fcmd var fakeAction []fakeexec.FakeCommandAction for i := 0; i < len(expecteds); i++ { fakeAction = append(fakeAction, func(cmd string, args ...string) exec.Cmd { return fakeexec.InitFakeCmd(&fcmd, cmd, args...) }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 08:26:26 UTC 2024 - 12K bytes - Viewed (0) -
pkg/volume/testing/volume_host.go
kubeClient clientset.Interface pluginMgr *VolumePluginMgr mounter mount.Interface hostUtil hostutil.HostUtils exec *testingexec.FakeExec nodeLabels map[string]string nodeName string subpather subpath.Interface node *v1.Node csiDriverLister storagelistersv1.CSIDriverLister
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 16.5K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks_test.go
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{ CommandScript: []fakeexec.FakeCommandAction{ func(cmd string, args ...string) exec.Cmd { return fakeexec.InitFakeCmd(&fcmd, cmd, args...) }, }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 33.5K bytes - Viewed (0)