Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for scriptCommands (0.2 sec)

  1. pkg/volume/iscsi/iscsi_util_test.go

    		},
    		{
    			Cmd:  "iscsiadm",
    			Args: []string{"-m", "iface", "-I", TestIface, "-o", "update", "-n", "iface.transport_name", "-v", "tcp"},
    		},
    	}
    	volumetest.ScriptCommands(fakeExec, scripts)
    	fakeExec.ExactOrder = true
    	plugins := []volume.VolumePlugin{
    		&iscsiPlugin{
    			host: nil,
    		},
    	}
    	plugin := plugins[0]
    	fakeMounter := iscsiDiskMounter{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 18 09:43:07 UTC 2022
    - 14.5K bytes
    - Viewed (0)
  2. pkg/volume/testing/volume_host.go

    	return types.NodeName(f.nodeName)
    }
    
    func (f *fakeVolumeHost) GetEventRecorder() record.EventRecorder {
    	return nil
    }
    
    func (f *fakeVolumeHost) ScriptCommands(scripts []CommandScript) {
    	ScriptCommands(f.exec, scripts)
    }
    
    func (f *fakeVolumeHost) WaitForKubeletErrNil() error {
    	return wait.PollImmediate(10*time.Millisecond, 10*time.Second, func() (bool, error) {
    		f.mux.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. src/cmd/go/script_test.go

    		t.Cleanup(cancel)
    	}
    
    	env, err := scriptEnv(srv, certFile)
    	if err != nil {
    		t.Fatal(err)
    	}
    	engine := &script.Engine{
    		Conds: scriptConditions(),
    		Cmds:  scriptCommands(quitSignal(), gracePeriod),
    		Quiet: !testing.Verbose(),
    	}
    
    	t.Run("README", func(t *testing.T) {
    		checkScriptReadme(t, engine, env)
    	})
    
    	files, err := filepath.Glob("testdata/script/*.txt")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top