Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for runChecks (0.46 sec)

  1. cmd/kubeadm/app/preflight/checks.go

    			imagePullPolicy: cfg.NodeRegistration.ImagePullPolicy,
    			imagePullSerial: serialPull,
    		},
    	}
    	return RunChecks(checks, os.Stderr, ignorePreflightErrors)
    }
    
    // RunChecks runs each check, displays its warnings/errors, and once all
    // are processed will exit if any errors occurred.
    func RunChecks(checks []Checker, ww io.Writer, ignorePreflightErrors sets.Set[string]) error {
    	var errsBuffer bytes.Buffer
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  2. src/go/printer/printer_test.go

    }
    
    // checkEqual compares a and b.
    func checkEqual(aname, bname string, a, b []byte) error {
    	if bytes.Equal(a, b) {
    		return nil
    	}
    	return errors.New(string(diff.Diff(aname, a, bname, b)))
    }
    
    func runcheck(t *testing.T, source, golden string, mode checkMode) {
    	src, err := os.ReadFile(source)
    	if err != nil {
    		t.Error(err)
    		return
    	}
    
    	res, err := format(src, mode)
    	if err != nil {
    		t.Error(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top