Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 277 for live (0.14 sec)

  1. cmd/bucket-targets.go

    			return BucketRemoteTargetNotVersioned{Bucket: tgt.TargetBucket}
    		}
    	}
    
    	// Check if target is a MinIO server and alive
    	hcCtx, cancel := context.WithTimeout(ctx, 3*time.Second)
    	scheme := "http"
    	if tgt.Secure {
    		scheme = "https"
    	}
    	result := <-sys.hcClient.Alive(hcCtx, madmin.AliveOpts{}, madmin.ServerProperties{
    		Endpoint: tgt.Endpoint,
    		Scheme:   scheme,
    	})
    
    	cancel()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  2. docs/sts/custom-token-identity.go

    		Secure: stsEndpointURL.Scheme == "https",
    	}
    	minioClient, err := minio.New(stsEndpointURL.Host, copts)
    	if err != nil {
    		log.Fatalf("Error initializing client: ", err)
    	}
    
    	// Use minIO Client object normally like the regular client.
    	fmt.Printf("Calling list objects on bucket named `%s` with temp creds:\n===\n", bucketToList)
    	objCh := minioClient.ListObjects(context.Background(), bucketToList, minio.ListObjectsOptions{})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  3. docs/sts/assume-role.go

    	minioClient, err := minio.New(stsEndpointURL.Host, opts)
    	if err != nil {
    		log.Fatalf("Error initializing client: %v", err)
    	}
    
    	// Use minIO Client object normally like the regular client.
    	if bucketToList == "" {
    		bucketToList = minioUsername
    	}
    	fmt.Printf("Calling list objects on bucket named `%s` with temp creds:\n===\n", bucketToList)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 16:09:55 GMT 2024
    - 4K bytes
    - Viewed (1)
  4. helm/minio/templates/_helper_create_svcacct.txt

    echo {{ tpl .accessKey $global }} > $MINIO_ACCESSKEY_SECRETKEY_TMP
    {{- if .existingSecret }}
    cat /config/secrets-svc/{{ tpl .existingSecret $global }}/{{ tpl .existingSecretKey $global }} >> $MINIO_ACCESSKEY_SECRETKEY_TMP
    # Add a new line if it doesn't exist
    echo >> $MINIO_ACCESSKEY_SECRETKEY_TMP
    {{ else }}
    echo {{ .secretKey }} >> $MINIO_ACCESSKEY_SECRETKEY_TMP
    {{- end }}
    {{- if $svc.policy}}
    createSvcacct {{ .user }} svc_policy_{{ $idx }}
    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)
  5. internal/s3select/sql/stringfuncs.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package sql
    
    import (
    	"errors"
    	"strings"
    )
    
    var (
    	errMalformedEscapeSequence  = errors.New("Malformed escape sequence in LIKE clause")
    	errInvalidTrimArg           = errors.New("Trim argument is invalid - this should not happen")
    	errInvalidSubstringIndexLen = errors.New("Substring start index or length falls outside the string")
    )
    
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  6. docs/bucket/retention/README.md

    ## Get Started
    
    ### 1. Prerequisites
    
    - Install MinIO - [MinIO Quickstart Guide](https://min.io/docs/minio/linux/index.html#quickstart-for-linux)
    - Install `awscli` - [Installing AWS Command Line Interface](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html)
    
    ### 2. Set bucket WORM configuration
    
    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)
  7. cmd/bootstrap-peer-server.go

    	if ns1 != ns2 {
    		return fmt.Errorf("Expected number of endpoints %d, seen %d", ns1, ns2)
    	}
    
    	for i, cmdLine := range s1.CmdLines {
    		if cmdLine != s2.CmdLines[i] {
    			return fmt.Errorf("Expected command line argument %s, seen %s", cmdLine,
    				s2.CmdLines[i])
    		}
    	}
    
    	if reflect.DeepEqual(s1.MinioEnv, s2.MinioEnv) {
    		return nil
    	}
    
    	// Report differences in environment variables.
    	var missing []string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  8. cmd/signature-v2_test.go

    		{
    			queryParams: map[string]string{
    				"Expires":        "60s",
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": accessKey,
    			},
    			expected: ErrMalformedExpires,
    		},
    		// (3) Should give an expired request if it has expired.
    		{
    			queryParams: map[string]string{
    				"Expires":        "60",
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": accessKey,
    			},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 8K bytes
    - Viewed (0)
  9. internal/http/server.go

    	wrappedHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		// If server is in shutdown.
    		if atomic.LoadUint32(&srv.inShutdown) != 0 {
    			// To indicate disable keep-alive, server is shutting down.
    			w.Header().Set("Connection", "close")
    
    			// Add 1 minute retry header, incase-client wants to honor it
    			w.Header().Set(RetryAfter, "60")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. cmd/naughty-disk_test.go

    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    // naughtyDisk wraps a POSIX disk and returns programmed errors
    // specified by the developer. The purpose is to simulate errors
    // that are hard to simulate in practice like DiskNotFound.
    // Programmed errors are stored in errors field.
    type naughtyDisk struct {
    	// The real disk
    	disk StorageAPI
    	// Programmed errors: API call number => error to return
    	errors map[int]error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top