Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for fakeexec (0.22 sec)

  1. pkg/volume/flexvolume/common_test.go

    			Argv:                 args,
    			CombinedOutputScript: []exectesting.FakeAction{output},
    		}
    	}
    }
    
    func fakeRunner(fakeCommands ...exectesting.FakeCommandAction) exec.Interface {
    	return &exectesting.FakeExec{
    		CommandScript: fakeCommands,
    	}
    }
    
    func fakeResultOutput(result interface{}) exectesting.FakeAction {
    	return func() ([]byte, []byte, error) {
    		bytes, err := json.Marshal(result)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  2. pkg/util/iptables/monitor_test.go

    	"fmt"
    	"io"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    	utilwait "k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/utils/exec"
    )
    
    // We can't use the normal FakeExec because we don't know precisely how many times the
    // Monitor thread will do its checks, and we don't know precisely how its iptables calls
    // will interleave with the main thread's. So we use our own fake Exec implementation that
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:21:59 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  3. pkg/volume/testing/testing.go

    	Output string
    	// ReturnCode is the exit code for the command. Setting this to non-zero will
    	// cause the command to return an error with this exit code set.
    	ReturnCode int
    }
    
    // ScriptCommands configures fe, the FakeExec, to have a pre-configured list of
    // commands to expect. Calling more commands using fe than those scripted will
    // result in a panic. By default, the fe does not enforce command argument checking
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. src/main/webapp/js/clipboard.min.js

    ainer.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.con...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat May 28 04:16:16 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  5. pkg/ctrlz/assets/static/js/clipboard-1.7.1.min.js

    ainer.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[n?"right":"left"]="-9999px";var o=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=o+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.con...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 10.7K bytes
    - Viewed (0)
Back to top