- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for PodFailurePolicyOnExitCodesOpIn (0.5 sec)
-
pkg/controller/job/pod_failure_policy_test.go
OnExitCodes: &batch.PodFailurePolicyOnExitCodesRequirement{ Operator: batch.PodFailurePolicyOnExitCodesOpIn, Values: []int32{1, 2}, }, }, { Action: batch.PodFailurePolicyActionFailJob, OnExitCodes: &batch.PodFailurePolicyOnExitCodesRequirement{ Operator: batch.PodFailurePolicyOnExitCodesOpIn, Values: []int32{2, 3}, }, }, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 22.7K bytes - Viewed (0) -
pkg/registry/batch/job/strategy_test.go
Operator: batch.PodFailurePolicyOnExitCodesOpIn, Values: []int32{2}, }, }, { Action: batch.PodFailurePolicyActionFailIndex, OnExitCodes: &batch.PodFailurePolicyOnExitCodesRequirement{ Operator: batch.PodFailurePolicyOnExitCodesOpIn, Values: []int32{1}, }, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 101.5K bytes - Viewed (0) -
pkg/apis/batch/v1/defaults_test.go
}, }, }, { Action: batchv1.PodFailurePolicyActionFailJob, OnExitCodes: &batchv1.PodFailurePolicyOnExitCodesRequirement{ Operator: batchv1.PodFailurePolicyOnExitCodesOpIn, Values: []int32{1}, }, }, { Action: batchv1.PodFailurePolicyActionFailJob, OnPodConditions: []batchv1.PodFailurePolicyOnPodConditionsPattern{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 20.8K bytes - Viewed (0) -
pkg/apis/batch/validation/validation_test.go
Operator: batch.PodFailurePolicyOnExitCodesOpIn, Values: []int32{1, 2, 3}, }, }, { Action: batch.PodFailurePolicyActionIgnore, OnExitCodes: &batch.PodFailurePolicyOnExitCodesRequirement{ ContainerName: pointer.String("def"), Operator: batch.PodFailurePolicyOnExitCodesOpIn, Values: []int32{4}, }, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 20:49:09 UTC 2024 - 124.3K bytes - Viewed (0) -
pkg/controller/job/pod_failure_policy.go
} } } return nil } func isOnExitCodesOperatorMatching(exitCode int32, requirement *batch.PodFailurePolicyOnExitCodesRequirement) bool { switch requirement.Operator { case batch.PodFailurePolicyOnExitCodesOpIn: for _, value := range requirement.Values { if value == exitCode { return true } } return false case batch.PodFailurePolicyOnExitCodesOpNotIn:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 18 20:44:11 UTC 2023 - 5.5K bytes - Viewed (0) -
pkg/controller/job/indexed_job_utils_test.go
Rules: []batch.PodFailurePolicyRule{ { Action: batch.PodFailurePolicyActionFailIndex, OnExitCodes: &batch.PodFailurePolicyOnExitCodesRequirement{ Operator: batch.PodFailurePolicyOnExitCodesOpIn, Values: []int32{3}, }, }, }, }, }, }, pod: buildPod().indexFailureCount("0").status(v1.PodStatus{ Phase: v1.PodFailed,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.9K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
OnExitCodes: &batch.PodFailurePolicyOnExitCodesRequirement{ Operator: batch.PodFailurePolicyOnExitCodesOpIn, Values: []int32{1, 2, 3}, }, }, { Action: batch.PodFailurePolicyActionFailJob, OnExitCodes: &batch.PodFailurePolicyOnExitCodesRequirement{ Operator: batch.PodFailurePolicyOnExitCodesOpIn, Values: []int32{5, 6, 7}, }, }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0) -
pkg/apis/batch/validation/validation.go
batch.PodFailurePolicyActionFailIndex, batch.PodFailurePolicyActionFailJob, batch.PodFailurePolicyActionIgnore) supportedPodFailurePolicyOnExitCodesOperator = sets.New( batch.PodFailurePolicyOnExitCodesOpIn, batch.PodFailurePolicyOnExitCodesOpNotIn) supportedPodFailurePolicyOnPodConditionsStatus = sets.New( api.ConditionFalse, api.ConditionTrue, api.ConditionUnknown)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 16:43:24 UTC 2024 - 51.2K bytes - Viewed (0) -
pkg/apis/batch/types.go
PodFailurePolicyActionCount PodFailurePolicyAction = "Count" ) // +enum type PodFailurePolicyOnExitCodesOperator string const ( PodFailurePolicyOnExitCodesOpIn PodFailurePolicyOnExitCodesOperator = "In" PodFailurePolicyOnExitCodesOpNotIn PodFailurePolicyOnExitCodesOperator = "NotIn" ) // PodReplacementPolicy specifies the policy for creating pod replacements.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 12:01:28 UTC 2024 - 33K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1/types.go
PodFailurePolicyActionCount PodFailurePolicyAction = "Count" ) // +enum type PodFailurePolicyOnExitCodesOperator string const ( PodFailurePolicyOnExitCodesOpIn PodFailurePolicyOnExitCodesOperator = "In" PodFailurePolicyOnExitCodesOpNotIn PodFailurePolicyOnExitCodesOperator = "NotIn" ) // PodReplacementPolicy specifies the policy for creating pod replacements.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 40.6K bytes - Viewed (0)