Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 318 for if (0.27 sec)

  1. cmd/os-reliable.go

    // this is to ensure that if there is a racy parent directory
    // delete in between we can simply retry the operation.
    func mkdirAll(dirPath string, mode os.FileMode, baseDir string) (err error) {
    	if dirPath == "" {
    		return errInvalidArgument
    	}
    
    	if err = checkPathLength(dirPath); err != nil {
    		return err
    	}
    
    	if err = reliableMkdirAll(dirPath, mode, baseDir); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. internal/logger/logrotate.go

    	if w.f != nil {
    		if err := w.closeCurrentFile(); err != nil {
    			return err
    		}
    
    		// This function is a no-op if opts.Compress is false
    		// writes an error in JSON form to stderr, if we cannot
    		// compress.
    		if err := w.compress(); err != nil {
    			msg := fmt.Sprintf("unable to compress log file %v: %v, ignoring and moving on", w.f.Name(), err)
    			stdErrEnc.Encode(&log.Entry{
    				Level:   ErrorKind,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/ztunnel/configdump/workload.go

    	Namespace string
    }
    
    // Verify returns true if the passed workload matches the filter fields
    func (wf *WorkloadFilter) Verify(workload *ZtunnelWorkload) bool {
    	if wf.Address == "" && wf.Node == "" && wf.Namespace == "" {
    		return true
    	}
    
    	if wf.Namespace != "" {
    		if !strings.EqualFold(workload.Namespace, wf.Namespace) {
    			return false
    		}
    	}
    
    	if wf.Address != "" {
    		var find bool
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 4K bytes
    - Viewed (0)
  4. manifests/charts/istio-control/istio-discovery/templates/configmap.yaml

      {{ $sdLogs := include "default-sd-logs" . | eq "true" }}
      {{- if or $prom $sdMetrics $sdLogs }}
        defaultProviders:
        {{- if or $prom $sdMetrics }}
          metrics:
          {{ if $prom }}- prometheus{{ end }}
          {{ if and $sdMetrics $sdLogs }}- stackdriver{{ end }}
        {{- end }}
        {{- if and $sdMetrics $sdLogs }}
          accessLogging:
          - stackdriver
        {{- end }}
      {{- end }}
    
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  5. manifests/charts/istiod-remote/templates/configmap.yaml

      {{ $sdLogs := include "default-sd-logs" . | eq "true" }}
      {{- if or $prom $sdMetrics $sdLogs }}
        defaultProviders:
        {{- if or $prom $sdMetrics }}
          metrics:
          {{ if $prom }}- prometheus{{ end }}
          {{ if and $sdMetrics $sdLogs }}- stackdriver{{ end }}
        {{- end }}
        {{- if and $sdMetrics $sdLogs }}
          accessLogging:
          - stackdriver
        {{- end }}
      {{- end }}
    
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  6. internal/logger/target/console/console.go

    	}
    
    	tagString := ""
    	for key, value := range entry.Trace.Variables {
    		if value != "" {
    			if tagString != "" {
    				tagString += ", "
    			}
    			tagString += fmt.Sprintf("%s=%#v", key, value)
    		}
    	}
    
    	var apiString string
    	if entry.API != nil {
    		apiString = "API: " + entry.API.Name
    		if entry.API.Args != nil {
    			args := ""
    			if entry.API.Args.Bucket != "" {
    				args = args + "bucket=" + entry.API.Args.Bucket
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MoreCollectors.java

       *
       * @throws IllegalArgumentException if the stream consists of two or more elements.
       * @throws NullPointerException if any element in the stream is {@code null}.
       * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be
       *     {@code null}) and returns {@code Optional.empty()} if it has none.
       */
      @SuppressWarnings("unchecked")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  8. manifests/charts/gateways/istio-ingress/templates/injected-deployment.yaml

    {{ end }}
        spec:
    {{- if not $gateway.runAsRoot }}
          securityContext:
    {{- if not (eq .Values.global.platform "openshift") }}
            runAsUser: 1337
            runAsGroup: 1337
    {{- end }}
            runAsNonRoot: true
    {{- end }}
          serviceAccountName: {{ $gateway.name | default "istio-ingressgateway" }}-service-account
    {{- if .Values.global.priorityClassName }}
          priorityClassName: "{{ .Values.global.priorityClassName }}"
    {{- end }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 5K bytes
    - Viewed (0)
  9. manifests/charts/gateways/istio-egress/templates/injected-deployment.yaml

    {{ end }}
        spec:
    {{- if not $gateway.runAsRoot }}
          securityContext:
    {{- if not (eq .Values.global.platform "openshift") }}
            runAsUser: 1337
            runAsGroup: 1337
    {{- end }}
            runAsNonRoot: true
    {{- end }}
          serviceAccountName: {{ $gateway.name | default "istio-egressgateway" }}-service-account
    {{- if .Values.global.priorityClassName }}
          priorityClassName: "{{ .Values.global.priorityClassName }}"
    {{- end }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 5K bytes
    - Viewed (0)
  10. internal/config/identity/ldap/config.go

    		if err != nil {
    			return l, err
    		}
    	}
    
    	l.stsExpiryDuration = defaultLDAPExpiry
    
    	// LDAP connection configuration
    	if v := getCfgVal(ServerInsecure); v != "" {
    		l.LDAP.ServerInsecure, err = config.ParseBool(v)
    		if err != nil {
    			return l, err
    		}
    	}
    	if v := getCfgVal(ServerStartTLS); v != "" {
    		l.LDAP.ServerStartTLS, err = config.ParseBool(v)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
Back to top