Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PodFailurePolicyRule (0.51 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyrule.go

    }
    
    // PodFailurePolicyRuleApplyConfiguration constructs an declarative configuration of the PodFailurePolicyRule type for use with
    // apply.
    func PodFailurePolicyRule() *PodFailurePolicyRuleApplyConfiguration {
    	return &PodFailurePolicyRuleApplyConfiguration{}
    }
    
    // WithAction sets the Action field in the declarative configuration to the given value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 16:39:08 UTC 2022
    - 3K bytes
    - Viewed (0)
  2. pkg/controller/job/pod_failure_policy.go

    	failIndex := batch.PodFailurePolicyActionFailIndex
    	count := batch.PodFailurePolicyActionCount
    	for index, podFailurePolicyRule := range podFailurePolicy.Rules {
    		if podFailurePolicyRule.OnExitCodes != nil {
    			if containerStatus := matchOnExitCodes(&failedPod.Status, podFailurePolicyRule.OnExitCodes); containerStatus != nil {
    				switch podFailurePolicyRule.Action {
    				case batch.PodFailurePolicyActionIgnore:
    					return nil, false, &ignore
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 20:44:11 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top