Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for succeededCount (1.28 sec)

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

    // with apply.
    type SuccessPolicyRuleApplyConfiguration struct {
    	SucceededIndexes *string `json:"succeededIndexes,omitempty"`
    	SucceededCount   *int32  `json:"succeededCount,omitempty"`
    }
    
    // SuccessPolicyRuleApplyConfiguration constructs an declarative configuration of the SuccessPolicyRule type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. pkg/controller/job/success_policy.go

    			if len(requiredIndexes) == 0 {
    				continue
    			}
    			if matchSucceededIndexesRule(requiredIndexes, succeededIndexes, rule.SucceededCount) {
    				return fmt.Sprintf("%s %d", rulesMatchedMsg, index), true
    			}
    		} else if rule.SucceededCount != nil && succeededIndexes.total() >= int(*rule.SucceededCount) {
    			return fmt.Sprintf("%s %d", rulesMatchedMsg, index), true
    		}
    	}
    	return "", false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top