Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 77 for expectActions (0.18 sec)

  1. pkg/registry/batch/job/strategy.go

    		// Job managedBy field let's the Job object be controlled by external
    		// controllers. We want to make sure the transitions done by the external
    		// controllers meet the expectations of the clients of the Job API.
    		// For example, we verify that a Job in terminal state (Failed or Complete)
    		// does not flip to a non-terminal state.
    		//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    		schemaGenerator func(maxLength *int64) *schema.Structural
    		setMaxElements  int64
    
    		// calc costs expectations are checked against the generated schema without any max element limits set
    		expectedCalcCost           uint64
    		expectCalcCostExceedsLimit uint64
    
    		// calc costs expectations are checked against the generated schema with max element limits set
    		expectedSetCost             uint64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  3. architecture/ambient/ztunnel.md

    ## HBONE
    
    Along with pass-through traffic, Ztunnel supports the "HBONE" (HTTP-Based Overlay Network) protocol.
    This is not really so much a new protocol, but rather a name we came up with to refer to the expectations of clients and servers communicating in the mesh.
    
    HBONE is just a standard HTTP `CONNECT` tunnel, over mutual TLS with mesh (SPIFFE) certificates, on a well known port (15008).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 22:35:16 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. pkg/controller/cronjob/cronjob_controllerv2_test.go

    	T1, err := time.Parse(time.RFC3339, "2016-05-26T10:00:00Z")
    	if err != nil {
    		panic("test setup error")
    	}
    	return T1
    }
    
    func TestControllerV2SyncCronJob(t *testing.T) {
    	// Check expectations on deadline parameters
    	if shortDead/60/60 >= 1 {
    		t.Errorf("shortDead should be less than one hour")
    	}
    
    	if mediumDead/60/60 < 1 || mediumDead/60/60 >= 24 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 70.8K bytes
    - Viewed (0)
  5. src/cmd/link/internal/wasm/asm.go

    	//   PC_F = funcValueOffset + WebAssembly function index (not including the imports)
    	//   s.Value = PC = PC_F<<16 + PC_B
    	//
    	// The funcValueOffset is necessary to avoid conflicts with expectations
    	// that the Go runtime has about function addresses.
    	// The field "s.Value" corresponds to the concept of PC at runtime.
    	// However, there is no PC register, only PC_F and PC_B. PC_F denotes the function,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/informers_test.go

    	waitForMockCalls()
    	// wait until pod add was called
    	mt.Assert(EventTotals.Name(), map[string]string{"type": "add"}, monitortest.AtLeast(1))
    
    	assertPodAnnotated(t, client, pod)
    
    	// check expectations on mocked calls
    	fs.AssertExpectations(t)
    }
    
    func assertPodAnnotated(t *testing.T, client kube.Client, pod *corev1.Pod) {
    	for i := 0; i < 5; i++ {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  7. src/syscall/fs_wasip1.go

    	readRights  = rights(RIGHT_FD_READ | RIGHT_FD_READDIR)
    	writeRights = rights(RIGHT_FD_DATASYNC | RIGHT_FD_WRITE | RIGHT_FD_ALLOCATE | RIGHT_PATH_FILESTAT_SET_SIZE)
    
    	// Some runtimes have very strict expectations when it comes to which
    	// rights can be enabled on files opened by path_open. The fileRights
    	// constant is used as a mask to retain only bits for operations that
    	// are supported on files.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  8. src/syscall/syscall_linux_test.go

    				t.Errorf("[%d,%d] prctl(PR_GET_KEEPCAPS) gave wrong value: got=%v, want=1", i, j, v)
    			}
    		}
    	}
    }
    
    // compareStatus is used to confirm the contents of the thread
    // specific status files match expectations.
    func compareStatus(filter, expect string) error {
    	expected := filter + expect
    	pid := syscall.Getpid()
    	fs, err := os.ReadDir(fmt.Sprintf("/proc/%d/task", pid))
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  9. src/cmd/go/internal/script/engine.go

    			return nil // Nothing to flush.
    		}
    		defer func() { rawArg = nil }()
    
    		if cmd.name == "" && len(rawArg) == 1 && !rawArg[0].quoted {
    			arg := rawArg[0].s
    
    			// Command prefix ! means negate the expectations about this command:
    			// go command should fail, match should not be found, etc.
    			// Prefix ? means allow either success or failure.
    			switch want := expectedStatus(arg); want {
    			case failure, successOrFailure:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  10. hack/update-codegen.sh

        IFS=" " read -r -a group_versions <<< "${KUBE_AVAILABLE_GROUP_VERSIONS}"
        local gv_dirs=()
        for gv in "${group_versions[@]}"; do
            # add items, but strip off any leading apis/ you find to match command expectations
            local api_dir
            api_dir=$(kube::util::group-version-to-pkg-path "${gv}")
            local nopkg_dir=${api_dir#pkg/}
            nopkg_dir=${nopkg_dir#staging/src/k8s.io/api/}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 29.2K bytes
    - Viewed (0)
Back to top