Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for volerr (0.22 sec)

  1. pkg/registry/core/pod/storage/eviction_test.go

    					name += "bad-name"
    				}
    
    				_, err := evictionRest.Create(testContext, name, evictionCopy, nil, &metav1.CreateOptions{})
    				gotErr := errToString(err)
    				if gotErr != tc.expectError {
    					t.Errorf("error mismatch: expected %v, got %v; name %v", tc.expectError, gotErr, pod.Name)
    					return
    				}
    				if tc.badNameInURL {
    					if err == nil {
    						t.Error("expected error here, but got nil")
    						return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (0)
  2. pkg/apis/batch/validation/validation_test.go

    			gotTotal, gotErr := validateIndexesFormat(tc.indexesString, tc.completions)
    			if tc.wantError == nil && gotErr != nil {
    				t.Errorf("unexpected error: %s", gotErr)
    			} else if tc.wantError != nil && gotErr == nil {
    				t.Errorf("missing error: %s", tc.wantError)
    			} else if tc.wantError != nil && gotErr != nil {
    				if diff := cmp.Diff(tc.wantError.Error(), gotErr.Error()); diff != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/server_test.go

    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			args := &PilotArgs{JwtRule: tt.jwtRule}
    
    			_, err := initOIDC(args, nil)
    			gotErr := err != nil
    			if gotErr != tt.expectErr {
    				t.Errorf("expect error is %v while actual error is %v", tt.expectErr, gotErr)
    			}
    		})
    	}
    }
    
    func TestWatchDNSCertForK8sCA(t *testing.T) {
    	tests := []struct {
    		name        string
    		certToWatch []byte
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. pkg/apis/admissionregistration/validation/validation.go

    	if celErr, ok := err.(*cel.Error); ok {
    		switch celErr.Type {
    		case cel.ErrorTypeRequired:
    			return field.Required(fldPath, celErr.Detail)
    		case cel.ErrorTypeInvalid:
    			return field.Invalid(fldPath, expression.GetExpression(), celErr.Detail)
    		case cel.ErrorTypeInternal:
    			return field.InternalError(fldPath, celErr)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  5. src/os/file_unix.go

    	// epoll/kqueue; for example, disk files on
    	// Linux systems. We assume that any real error
    	// will show up in later I/O.
    	// We do restore the blocking behavior if it was set by us.
    	if pollErr := f.pfd.Init("file", pollable); pollErr != nil && clearNonBlock {
    		if err := syscall.SetNonblock(fd, false); err == nil {
    			f.nonblock = false
    		}
    	}
    
    	runtime.SetFinalizer(f.file, (*file).close)
    	return f
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    ## Exclusion d'OpenAPI
    
    Pour exclure un *chemin* du schéma OpenAPI généré (et donc des systèmes de documentation automatiques), utilisez le paramètre `include_in_schema` et assignez-lui la valeur `False` :
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial003.py!}
    ```
    
    ## Description avancée de docstring
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. pkg/scheduler/scheduler_test.go

    						continue
    					}
    					got, gotErr := fn.QueueingHintFn(logger, nil, nil, nil)
    					want, wantErr := wantfns[i].QueueingHintFn(logger, nil, nil, nil)
    					if got != want || gotErr != wantErr {
    						t.Errorf("got queueing hint function (%v) returning (%v, %v), expect it to return (%v, %v)", fn.PluginName, got, gotErr, want, wantErr)
    						continue
    					}
    				}
    			}
    		})
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
  8. cmd/kube-controller-manager/app/options/options_test.go

    				t.Errorf("expected errors, no errors found")
    			}
    
    			if len(errs) > 0 && tc.expectErrors {
    				gotErr := utilerrors.NewAggregate(errs).Error()
    				if !strings.Contains(gotErr, tc.expectedErrorSubString) {
    					t.Errorf("expected error: %s, got err: %v", tc.expectedErrorSubString, gotErr)
    				}
    			}
    		})
    	}
    }
    
    func TestValidateControllerManagerOptions(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. hack/tools/go.mod

    	github.com/gostaticanalysis/analysisutil v0.7.1 // indirect
    	github.com/gostaticanalysis/comment v1.4.2 // indirect
    	github.com/gostaticanalysis/forcetypeassert v0.1.0 // indirect
    	github.com/gostaticanalysis/nilerr v0.1.1 // indirect
    	github.com/hashicorp/go-version v1.6.0 // indirect
    	github.com/hashicorp/hcl v1.0.0 // indirect
    	github.com/hexops/gotextdiff v1.0.3 // indirect
    	github.com/inconshreveable/mousetrap v1.1.0 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. pkg/scheduler/schedule_one_test.go

    			var (
    				gotErr  error
    				gotBind *v1.Binding
    			)
    			select {
    			case gotErr = <-errChan:
    			case gotBind = <-bindingChan:
    			case <-time.After(chanTimeout):
    				t.Fatalf("did not receive pod binding or error after %v", chanTimeout)
    			}
    			if item.expectError != nil {
    				if gotErr == nil || item.expectError.Error() != gotErr.Error() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
Back to top