Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for myPhase2 (0.14 sec)

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

    	}
    
    	// Adds the new phases to the workflow
    	// Phases will be executed the same order they are added to the workflow
    	myWorkflowRunner.AppendPhase(myPhase1)
    	myWorkflowRunner.AppendPhase(myPhase2)
    }
    
    func ExampleRunner_Run() {
    	// Create a phase
    	var myPhase = Phase{
    		Name:  "myPhase",
    		Short: "A phase of a kubeadm composable workflow...",
    		Run: func(data RunData) error {
    			// transform data into a typed data struct
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 07:27:25 UTC 2019
    - 2.7K bytes
    - Viewed (0)
Back to top