Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for Indent (0.03 seconds)

  1. internal/s3select/sql/parser_test.go

    		// Object wildcard
    		".*",
    
    		// array wildcard
    		"[*]",
    	}
    	for i, tc := range cases {
    		err := p.ParseString(tc, &j)
    		if err != nil {
    			t.Fatalf("%d: %v", i, err)
    		}
    		// repr.Println(j, repr.Indent("  "), repr.OmitEmpty(true))
    	}
    }
    
    func TestJSONPath(t *testing.T) {
    	p := participle.MustBuild(
    		&JSONPath{},
    		participle.Lexer(sqlLexer),
    		participle.CaseInsensitive("Keyword"),
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Click Count (0)
  2. helm/minio/templates/deployment.yaml

                {{- tpl . $ | nindent 8 }}
              {{- else }}
                {{- toYaml . | nindent 8 }}
              {{- end }}
            {{- end }}
          {{- with .Values.nodeSelector }}
          nodeSelector: {{- toYaml . | nindent 8 }}
          {{- end }}
          {{- include "minio.imagePullSecrets" . | indent 6 }}
          {{- with .Values.affinity }}
          affinity: {{- toYaml . | nindent 8 }}
          {{- end }}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Oct 10 15:48:31 GMT 2024
    - 8.6K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/XIncludeAwareXmlProvider.groovy

        }
    
        void write(File destFile, boolean indent = false) {
            destFile.withOutputStream { OutputStream stream ->
                TransformerFactory factory = TransformerFactory.newInstance()
                Transformer transformer = factory.newTransformer()
                if (indent) {
                    transformer.setOutputProperty(OutputKeys.INDENT, "yes")
                }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Click Count (0)
  4. docs/iam/access-manager-plugin.go

    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    	body, err := io.ReadAll(r.Body)
    	if err != nil {
    		writeErrorResponse(w, err)
    		return
    	}
    
    	var out bytes.Buffer
    	json.Indent(&out, body, "", "  ")
    	fmt.Printf("Received JSON payload:\n%s\n", out.String())
    
    	reqMap := make(map[string]interface{})
    	err = json.Unmarshal(body, &reqMap)
    	if err != nil {
    		writeErrorResponse(w, err)
    		return
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Feb 08 17:15:20 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  5. docs/auditlog/auditlog-echo.go

    	if err != nil {
    		log.Printf("Error reading request body: %v", err)
    		w.WriteHeader(http.StatusBadRequest)
    		return
    	}
    
    	log.Printf(">>> %s %s\n", r.Method, r.URL.Path)
    	var out bytes.Buffer
    	json.Indent(&out, body, "", "    ")
    	log.Printf("%s\n", out.String())
    
    	w.WriteHeader(http.StatusOK)
    }
    
    func main() {
    	flag.Parse()
    	http.HandleFunc("/", mainHandler)
    
    	log.Printf("Listening on :%d\n", port)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  6. helm/minio/templates/configmap.yaml

    data:
      initialize: |-
        {{- include (print $.Template.BasePath "/_helper_create_bucket.txt") . | nindent 4 }}
      add-user: |-
        {{- include (print $.Template.BasePath "/_helper_create_user.txt") . | nindent 4 }}
      add-policy: |-
        {{- include (print $.Template.BasePath "/_helper_create_policy.txt") . | nindent 4 }}
      {{- range $idx, $policy := .Values.policies }}
      # Policy: {{ $policy.name }}
      policy_{{ $idx }}.json: |-
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Apr 17 06:04:15 GMT 2023
    - 1.2K bytes
    - Click Count (0)
  7. cmd/os-reliable.go

    			return errFileAccessDenied
    		}
    		return osErrToFileErr(err)
    	}
    
    	return nil
    }
    
    // Reliably retries os.MkdirAll if for some reason os.MkdirAll returns
    // syscall.ENOENT (parent does not exist).
    func reliableMkdirAll(dirPath string, mode os.FileMode, baseDir string) (err error) {
    	i := 0
    	for {
    		// Creates all the parent directories, with mode 0777 mkdir honors system umask.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  8. helm/minio/templates/networkpolicy.yaml

      {{- if .Values.networkPolicy.egress.enabled }}
      egress:
        - ports:
            {{ .Values.networkPolicy.egress.ports | toJson }}
          {{- with .Values.networkPolicy.egress.to }}
          to:
            {{- toYaml . | nindent 12 }}
          {{- end }}
      {{- end }}
    ---
    kind: NetworkPolicy
    apiVersion: {{ template "minio.networkPolicy.apiVersion" . }}
    metadata:
      name: {{ template "minio.fullname" . }}-post-job
      labels:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jun 08 16:14:18 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. helm/minio/templates/service.yaml

        release: {{ .Release.Name }}
        heritage: {{ .Release.Service }}
        monitoring: "true"
      {{- if .Values.service.annotations }}
      annotations: {{- toYaml .Values.service.annotations | nindent 4 }}
      {{- end }}
    spec:
      type: {{ .Values.service.type }}
      {{- if and (eq .Values.service.type "ClusterIP") .Values.service.clusterIP }}
      clusterIP: {{ .Values.service.clusterIP }}
      {{- end }}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Apr 28 10:05:53 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  10. helm/minio/templates/servicemonitor.yaml

        {{- if .Values.metrics.serviceMonitor.additionalLabels }}
          {{- toYaml .Values.metrics.serviceMonitor.additionalLabels | nindent 4 }}
        {{- end }}
      {{- if .Values.metrics.serviceMonitor.annotations }}
      annotations: {{- toYaml .Values.metrics.serviceMonitor.annotations | nindent 4 }}
      {{- end }}
    spec:
      endpoints:
        {{- if .Values.tls.enabled }}
        - port: https
          scheme: https
          tlsConfig:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Apr 17 06:04:15 GMT 2023
    - 3.8K bytes
    - Click Count (0)
Back to Top