Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for ternary (0.17 sec)

  1. helm/minio/templates/service.yaml

    {{ $scheme := .Values.tls.enabled | ternary "https" "http" }}
    apiVersion: v1
    kind: Service
    metadata:
      name: {{ template "minio.fullname" . }}
      labels:
        app: {{ template "minio.name" . }}
        chart: {{ template "minio.chart" . }}
        release: {{ .Release.Name }}
        heritage: {{ .Release.Service }}
        monitoring: "true"
      {{- if .Values.service.annotations }}
      annotations: {{- toYaml .Values.service.annotations | nindent 4 }}
      {{- end }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 28 10:05:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. helm/minio/templates/console-service.yaml

    {{ $scheme := .Values.tls.enabled | ternary "https" "http" }}
    apiVersion: v1
    kind: Service
    metadata:
      name: {{ template "minio.fullname" . }}-console
      labels:
        app: {{ template "minio.name" . }}
        chart: {{ template "minio.chart" . }}
        release: {{ .Release.Name }}
        heritage: {{ .Release.Service }}
      {{- if .Values.consoleService.annotations }}
      annotations: {{- toYaml .Values.consoleService.annotations | nindent 4 }}
      {{- end }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 28 10:05:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. helm/minio/templates/statefulset.yaml

    {{ $poolCount := .Values.pools | int }}
    {{ $nodeCount := .Values.replicas | int }}
    {{ $replicas := mul $poolCount $nodeCount }}
    {{ $drivesPerNode := .Values.drivesPerNode | int }}
    {{ $scheme := .Values.tls.enabled | ternary "https" "http" }}
    {{ $mountPath := .Values.mountPath }}
    {{ $bucketRoot := or ($.Values.bucketRoot) ($.Values.mountPath) }}
    {{ $subPath := .Values.persistence.subPath }}
    {{ $penabled := .Values.persistence.enabled }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 26 07:50:24 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. manifests/charts/istio-cni/templates/daemonset.yaml

    # as the Istio CNI plugin and config on
    # each master and worker node in a Kubernetes cluster.
    {{- $defaultBinDir :=
        (.Capabilities.KubeVersion.GitVersion | contains "-gke") | ternary
          "/home/kubernetes/bin"
          "/opt/cni/bin"
    }}
    kind: DaemonSet
    apiVersion: apps/v1
    metadata:
      name: {{ template "name" . }}-node
      namespace: {{ .Release.Namespace }}
      labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. helm-releases/minio-5.2.0.tgz

    public.crt - key: {{ .Values.tls.privateKey }} path: private.key {{- end }} {{- if or .Values.tls.enabled (ne .Values.trustedCertsSecret "") }} {{- $certSecret := eq .Values.trustedCertsSecret "" | ternary .Values.tls.certSecret .Values.trustedCertsSecret }} {{- $publicCrt := eq .Values.trustedCertsSecret "" | ternary .Values.tls.publicCrt "" }} - name: trusted-cert-secret-volume secret: secretName: {{ $certSecret }} {{- if ne $publicCrt "" }} items: - key: {{ $publicCrt }} path: public.crt {{- end }} {{-...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 28 10:14:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMap.java

         * use `get(key) ?: defaultValue` instead of this method, anyway.
         */
        V result = get(key);
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (result != null) {
          return result;
        } else {
          return defaultValue;
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMap.java

         * use `get(key) ?: defaultValue` instead of this method, anyway.
         */
        V result = get(key);
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (result != null) {
          return result;
        } else {
          return defaultValue;
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 30 14:39:16 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

            for (int i = count; i < size; i++) {
              array[i] = null; // for GWT
            }
    
            List<@Nullable T> list = Collections.unmodifiableList(Arrays.asList(array));
            // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
            if (pad || count == size) {
              return list;
            } else {
              return list.subList(0, count);
            }
          }
        };
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Iterators.java

            for (int i = count; i < size; i++) {
              array[i] = null; // for GWT
            }
    
            List<@Nullable T> list = Collections.unmodifiableList(Arrays.asList(array));
            // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
            if (pad || count == size) {
              return list;
            } else {
              return list.subList(0, count);
            }
          }
        };
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/ssa.go

    		case ir.OMIN:
    			// a < x ? a : x
    			return s.ternary(s.newValue2(lt, types.Types[types.TBOOL], a, x), a, x)
    		case ir.OMAX:
    			// x < a ? a : x
    			return s.ternary(s.newValue2(lt, types.Types[types.TBOOL], x, a), a, x)
    		}
    		panic("unreachable")
    	})
    }
    
    // ternary emits code to evaluate cond ? x : y.
    func (s *state) ternary(cond, x, y *ssa.Value) *ssa.Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top