Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for runConditionTrue (0.17 sec)

  1. cmd/kubeadm/app/cmd/phases/workflow/runner_test.go

    		return nil
    	}
    }
    
    func runConditionTrue(data RunData) (bool, error) {
    	return true, nil
    }
    
    func runConditionFalse(data RunData) (bool, error) {
    	return false, nil
    }
    
    func TestRunOrderAndConditions(t *testing.T) {
    	var w = Runner{
    		Phases: []Phase{
    			phaseBuilder1("foo", nil,
    				phaseBuilder1("bar", runConditionTrue),
    				phaseBuilder1("baz", runConditionFalse),
    			),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 20:03:45 UTC 2023
    - 15.2K bytes
    - Viewed (0)
Back to top