Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,464 for perror (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go

    						Detail: "error1",
    					},
    				},
    				{
    					Error: &apiservercel.Error{
    						Detail: "error2",
    					},
    				},
    				{
    					Error: &apiservercel.Error{
    						Detail: "error3",
    					},
    				},
    			},
    			expected: []error{
    				errors.New("error1"),
    				errors.New("error2"),
    				errors.New("error3"),
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  2. src/syscall/zsyscall_openbsd_arm.go

    	_, _, e1 := syscall(abi.FuncPCABI0(libc_shutdown_trampoline), uintptr(s), uintptr(how), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_shutdown_trampoline()
    
    //go:cgo_import_dynamic libc_shutdown shutdown "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  3. pkg/volume/plugins.go

    	// Returns host IP or nil in the case of error.
    	GetHostIP() (net.IP, error)
    
    	// Returns node allocatable.
    	GetNodeAllocatable() (v1.ResourceList, error)
    
    	// Returns a function that returns a secret.
    	GetSecretFunc() func(namespace, name string) (*v1.Secret, error)
    
    	// Returns a function that returns a configmap.
    	GetConfigMapFunc() func(namespace, name string) (*v1.ConfigMap, error)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_pod_control_test.go

    	fakeClient.AddReactor("*", "*", func(action core.Action) (bool, runtime.Object, error) {
    		t.Error("no-op update should not make any client invocation")
    		return true, nil, apierrors.NewInternalError(errors.New("if we are here we have a problem"))
    	})
    	if err := control.UpdateStatefulPod(ctx, set, pod); err != nil {
    		t.Errorf("Error returned on no-op update error: %s", err)
    	}
    	events := collectEvents(recorder.Events)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/preflight/checks.go

    )
    
    // Error defines struct for communicating error messages generated by preflight checks
    type Error struct {
    	Msg string
    }
    
    // Error implements the standard error interface
    func (e *Error) Error() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  6. security/pkg/nodeagent/caclient/providers/citadel/client_test.go

    			if err != nil {
    				t.Errorf("failed to create ca client: %v", err)
    			}
    			t.Cleanup(cli.Close)
    
    			resp, err := cli.CSRSign([]byte{0o1}, 1)
    			if err != nil {
    				if !strings.Contains(err.Error(), tc.expectedErr) {
    					t.Errorf("error (%s) does not match expected error (%s)", err.Error(), tc.expectedErr)
    				}
    			} else {
    				if tc.expectedErr != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 21:03:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. pkg/config/validation/envoyfilter/envoyfilter_test.go

    const (
    	// Config name for testing
    	someName = "foo"
    	// Config namespace for testing.
    	someNamespace = "bar"
    )
    
    func stringOrEmpty(v error) string {
    	if v == nil {
    		return ""
    	}
    	return v.Error()
    }
    
    func checkValidationMessage(t *testing.T, gotWarning Warning, gotError error, wantWarning string, wantError string) {
    	t.Helper()
    	if (gotError == nil) != (wantError == "") {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  8. src/go/types/check_test.go

    // ERROR/ERRORx indicator, and the pattern must be a properly quoted Go
    // string.
    //
    // The harness will verify that each ERROR pattern is a substring of the
    // error reported at that source position, and that each ERRORx pattern
    // is a regular expression matching the respective error.
    // Consecutive comments may be used to indicate multiple errors reported
    // at the same position.
    //
    // For instance, the following test source indicates that an "undeclared"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/apiclient/idempotency.go

    	return func(_ context.Context) (bool, error) {
    		// First get the node object
    		ctx := context.Background()
    		n, err := client.CoreV1().Nodes().Get(ctx, nodeName, metav1.GetOptions{})
    		if err != nil {
    			*lastError = err
    			return false, nil // retry on any error
    		}
    
    		// The node may appear to have no labels at first,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. pkg/controller/volume/persistentvolume/config/v1alpha1/zz_generated.conversion.go

    // RegisterConversions adds conversion functions to the given scheme.
    // Public to allow building arbitrary schemes.
    func RegisterConversions(s *runtime.Scheme) error {
    	if err := s.AddGeneratedConversionFunc((*v1alpha1.GroupResource)(nil), (*v1.GroupResource)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1alpha1_GroupResource_To_v1_GroupResource(a.(*v1alpha1.GroupResource), b.(*v1.GroupResource), scope)
    	}); err != nil {
    		return err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top