Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for return (0.19 sec)

  1. internal/grid/README.md

        stream, err := conn.NewStream(ctx, grid.HandlerDiskInfo, payload)
    	if err != nil {
            return err
        }
        // Read results from the stream
        err = stream.Results(func(result []byte) error {
            fmt.Println("Got result", string(result))
    
            // Return the response for reuse
            grid.PutByteBuffer(result)
            return nil
        })
    ```
    
    Context cancellation and timeouts are propagated to the handler. 
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. helm/minio/templates/_helper_create_svcacct.txt

        $MC_COMMAND ;
        STATUS=$? ;
      done ;
      set -e ; # reset `e` as active
      return 0
    }
    
    # checkSvcacctExists ()
    # Check if the svcacct exists, by using the exit code of `mc admin user svcacct info`
    checkSvcacctExists() {
      CMD=$(${MC} admin user svcacct info myminio $(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) > /dev/null 2>&1)
      return $?
    }
    
    # createSvcacct ($user)
    createSvcacct () {
      USER=$1
      FILENAME=$2
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 23:20:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. docs/bucket/retention/README.md

    PutObject API allows setting per object retention mode and retention duration using `x-amz-object-lock-mode` and `x-amz-object-lock-retain-until-date` headers. This takes precedence over any bucket object lock configuration w.r.t retention.
    
    ```sh
    aws s3api put-object --bucket testbucket --key lockme --object-lock-mode GOVERNANCE --object-lock-retain-until-date "2019-11-20"  --body /etc/issue
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  4. docs/config/README.md

    ```
    ~ mc admin config set myminio/
    ```
    
    #### Obtain help for each key
    
    ```
    ~ mc admin config set myminio/ <key>
    ```
    
    e.g: `mc admin config set myminio/ etcd` returns available `etcd` config args
    
    ```
    ~ mc admin config set play/ etcd
    KEY:
    etcd  federate multiple clusters for IAM and Bucket DNS
    
    ARGS:
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  5. docs/sts/web-identity.md

    | *Required*    | *No*                                               |
    
    ### Policy
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  6. docs/iam/identity-management-plugin.md

    If the token is not valid or access is not approved, the plugin must return a `403` (forbidden) HTTP status code. The body must have an `application/json` content-type with the following structure:
    
    ```json
    {
        "reason": <string>
    }
    ```
    
    The reason message is returned to the client.
    
    ## Example Plugin Implementation
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  7. helm/minio/templates/_helper_custom_command.txt

          exit 1 ;
        fi ;
        sleep 2 ; # 1 second intervals between attempts
        $MC_COMMAND ;
        STATUS=$? ;
      done ;
      set -e ; # reset `e` as active
      return 0
    }
    
    # runCommand ($@)
    # Run custom mc command
    runCommand() {
      ${MC} "$@"
      return $?
    }
    
    # Try connecting to MinIO instance
    {{- if .Values.tls.enabled }}
    scheme=https
    {{- else }}
    scheme=http
    {{- end }}
    connectToMinio $scheme
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 19 20:34:14 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  8. helm/minio/templates/_helper_create_bucket.txt

    		sleep 2 # 1 second intervals between attempts
    		$MC_COMMAND
    		STATUS=$?
    	done
    	set -e # reset `e` as active
    	return 0
    }
    
    # checkBucketExists ($bucket)
    # Check if the bucket exists, by using the exit code of `mc ls`
    checkBucketExists() {
    	BUCKET=$1
    	CMD=$(${MC} stat myminio/$BUCKET >/dev/null 2>&1)
    	return $?
    }
    
    # createBucket ($bucket, $policy, $purge)
    # Ensure bucket exists, purging if asked to
    createBucket() {
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jan 12 18:18:57 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  9. docs/sts/tls.md

    - MinIO verifies that the client certificate is valid.
    - MinIO tries to find a policy that matches the `CN` of the client certificate.
    - MinIO returns temp. S3 credentials associated to the found policy.
    
    The returned credentials expiry after a certain period of time that can be configured via `&DurationSeconds=3600`. By default, the STS credentials are valid for 1 hour. The minimum expiration allowed is 15 minutes.
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 6K bytes
    - Viewed (0)
  10. docs/metrics/healthcheck/README.md

      failureThreshold: 3
    ```
    
    ## Cluster probe
    
    ### Cluster-writeable probe
    
    The reply is '200 OK' if cluster has write quorum if not it returns '503 Service Unavailable'.
    
    ```
    curl http://minio1:9001/minio/health/cluster
    HTTP/1.1 503 Service Unavailable
    Accept-Ranges: bytes
    Content-Length: 0
    Server: MinIO
    Vary: Origin
    X-Amz-Bucket-Region: us-east-1
    X-Minio-Write-Quorum: 3
    X-Amz-Request-Id: 16239D6AB80EBECF
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jul 06 16:18:38 GMT 2023
    - 2.5K bytes
    - Viewed (0)
Back to top