Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for runIf (0.11 sec)

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

    			}
    		})
    	}
    }
    
    func phaseBuilder1(name string, runIf func(data RunData) (bool, error), phases ...Phase) Phase {
    	return Phase{
    		Name:   name,
    		Short:  fmt.Sprintf("long description for %s ...", name),
    		Phases: phases,
    		Run:    runBuilder(name),
    		RunIf:  runIf,
    	}
    }
    
    var callstack []string
    
    func runBuilder(name string) func(data RunData) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 20:03:45 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/workflow/runner.go

    		if p.RunAllSiblings && (p.RunIf != nil || p.Run != nil) {
    			return errors.Errorf("phase marked as RunAllSiblings can not have Run functions %s", p.generatedName)
    		}
    
    		// If the phase defines a condition to be checked before executing the phase action.
    		if p.RunIf != nil {
    			// Check the condition and returns if the condition isn't satisfied (or fails)
    			ok, err := p.RunIf(data)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 21 05:35:15 UTC 2022
    - 16K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

    import org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedContainerSource
    import org.jetbrains.kotlin.utils.addIfNotNull
    import org.jetbrains.kotlin.utils.addToStdlib.runIf
    import java.util.*
    
    internal class KaFirCompilerFacility(
        override val analysisSession: KaFirSession
    ) : KaCompilerFacility(), KaFirSessionComponent {
        override fun compile(
            file: KtFile,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 08:42:45 UTC 2024
    - 29.4K bytes
    - Viewed (0)
Back to top