Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for PodFailurePolicyRule (0.49 sec)

  1. pkg/controller/job/pod_failure_policy_test.go

    		wantAction                    *batch.PodFailurePolicyAction
    	}{
    		"unknown action for rule matching by exit codes - skip rule with unknown action": {
    			podFailurePolicy: &batch.PodFailurePolicy{
    				Rules: []batch.PodFailurePolicyRule{
    					{
    						Action: "UnknownAction",
    						OnExitCodes: &batch.PodFailurePolicyOnExitCodesRequirement{
    							Operator: batch.PodFailurePolicyOnExitCodesOpIn,
    							Values:   []int32{1, 2},
    						},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. pkg/apis/batch/v1/zz_generated.conversion.go

    	}
    	if err := s.AddGeneratedConversionFunc((*v1.PodFailurePolicyRule)(nil), (*batch.PodFailurePolicyRule)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_PodFailurePolicyRule_To_batch_PodFailurePolicyRule(a.(*v1.PodFailurePolicyRule), b.(*batch.PodFailurePolicyRule), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  3. pkg/apis/batch/zz_generated.deepcopy.go

    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodFailurePolicyRule.
    func (in *PodFailurePolicyRule) DeepCopy() *PodFailurePolicyRule {
    	if in == nil {
    		return nil
    	}
    	out := new(PodFailurePolicyRule)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/batch/v1/zz_generated.deepcopy.go

    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodFailurePolicyRule.
    func (in *PodFailurePolicyRule) DeepCopy() *PodFailurePolicyRule {
    	if in == nil {
    		return nil
    	}
    	out := new(PodFailurePolicyRule)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. pkg/apis/batch/v1/defaults_test.go

    				Spec: batchv1.JobSpec{
    					Template: v1.PodTemplateSpec{
    						ObjectMeta: metav1.ObjectMeta{Labels: defaultLabels},
    					},
    					PodFailurePolicy: &batchv1.PodFailurePolicy{
    						Rules: []batchv1.PodFailurePolicyRule{
    							{
    								Action: batchv1.PodFailurePolicyActionFailJob,
    								OnPodConditions: []batchv1.PodFailurePolicyOnPodConditionsPattern{
    									{
    										Type:   v1.DisruptionTarget,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  6. pkg/controller/job/indexed_job_utils_test.go

    			job: batch.Job{
    				Spec: batch.JobSpec{
    					Completions:          ptr.To[int32](2),
    					BackoffLimitPerIndex: ptr.To[int32](1),
    					PodFailurePolicy: &batch.PodFailurePolicy{
    						Rules: []batch.PodFailurePolicyRule{
    							{
    								Action: batch.PodFailurePolicyActionFailIndex,
    								OnExitCodes: &batch.PodFailurePolicyOnExitCodesRequirement{
    									Operator: batch.PodFailurePolicyOnExitCodesOpIn,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/batch/v1/generated.proto

      // Defaults to True.
      optional string status = 2;
    }
    
    // PodFailurePolicyRule describes how a pod failure is handled when the requirements are met.
    // One of onExitCodes and onPodConditions, but not both, can be used in each rule.
    message PodFailurePolicyRule {
      // Specifies the action taken on a pod failure when the requirements are satisfied.
      // Possible values are:
      //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/batch/v1/generated.proto

      // Defaults to True.
      optional string status = 2;
    }
    
    // PodFailurePolicyRule describes how a pod failure is handled when the requirements are met.
    // One of onExitCodes and onPodConditions, but not both, can be used in each rule.
    message PodFailurePolicyRule {
      // Specifies the action taken on a pod failure when the requirements are satisfied.
      // Possible values are:
      //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  9. pkg/apis/batch/types.go

    	// Defaults to True.
    	Status api.ConditionStatus
    }
    
    // PodFailurePolicyRule describes how a pod failure is handled when the requirements are met.
    // One of OnExitCodes and onPodConditions, but not both, can be used in each rule.
    type PodFailurePolicyRule struct {
    	// Specifies the action taken on a pod failure when the requirements are satisfied.
    	// Possible values are:
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/batch/v1/types.go

    	// Defaults to True.
    	Status corev1.ConditionStatus `json:"status" protobuf:"bytes,2,req,name=status"`
    }
    
    // PodFailurePolicyRule describes how a pod failure is handled when the requirements are met.
    // One of onExitCodes and onPodConditions, but not both, can be used in each rule.
    type PodFailurePolicyRule struct {
    	// Specifies the action taken on a pod failure when the requirements are satisfied.
    	// Possible values are:
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
Back to top