Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for valueHash (0.08 sec)

  1. operator/pkg/translate/translate_common.go

    // valuePath points to component path in the values tree.
    func IsComponentEnabledFromValue(cn name.ComponentName, valueSpec map[string]any) (enabled bool, pathExist bool, err error) {
    	t := NewTranslator()
    	cnMap, ok := t.ComponentMaps[cn]
    	if !ok {
    		return false, false, nil
    	}
    	valuePath := cnMap.ToHelmValuesTreeRoot
    	enabledPath := valuePath + ".enabled"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. pkg/apis/batch/validation/validation.go

    	for j, exitCodeValue := range onExitCode.Values {
    		valuePath := valuesPath.Index(j)
    		if onExitCode.Operator == batch.PodFailurePolicyOnExitCodesOpIn && exitCodeValue == 0 {
    			allErrs = append(allErrs, field.Invalid(valuePath, exitCodeValue, "must not be 0 for the In operator"))
    		}
    		if uniqueValues.Has(exitCodeValue) {
    			allErrs = append(allErrs, field.Duplicate(valuePath, exitCodeValue))
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
Back to top