Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for exports (0.15 sec)

  1. cmd/admin-bucket-handlers.go

    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Write success response.
    	writeSuccessNoContent(w)
    }
    
    // ExportBucketMetadataHandler - exports all bucket metadata as a zipped file
    func (a adminAPIHandlers) ExportBucketMetadataHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	bucket := pathClean(r.Form.Get("bucket"))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. cmd/common-main_test.go

    		expectedErr  bool
    		expectedEkvs []envKV
    	}{
    		{
    			`
    export MINIO_ROOT_USER=minio
    export MINIO_ROOT_PASSWORD=minio123`,
    			false,
    			[]envKV{
    				{
    					Key:   "MINIO_ROOT_USER",
    					Value: "minio",
    				},
    				{
    					Key:   "MINIO_ROOT_PASSWORD",
    					Value: "minio123",
    				},
    			},
    		},
    		// Value with double quotes
    		{
    			`export MINIO_ROOT_USER="minio"`,
    			false,
    			[]envKV{
    				{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  3. cmd/sts-handlers_test.go

    		})
    		if err != nil {
    			c.Fatalf("export %d: Unable to attach group policy: %v", caseNum, err)
    		}
    	}
    
    	contentReader, err := s.adm.ExportIAM(ctx)
    	if err != nil {
    		c.Fatalf("export %d: Unable to export IAM: %v", caseNum, err)
    	}
    	defer contentReader.Close()
    
    	expContent, err := io.ReadAll(contentReader)
    	if err != nil {
    		c.Fatalf("export %d: Unable to read exported content: %v", caseNum, err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  4. cmd/signature-v2_test.go

    		// (1) Should error on an invalid access key.
    		{
    			queryParams: map[string]string{
    				"Expires":        "60",
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": "Z7IXGOO6BZ0REAN1Q26I",
    			},
    			expected: ErrInvalidAccessKeyID,
    		},
    		// (2) Should error with malformed expires.
    		{
    			queryParams: map[string]string{
    				"Expires":        "60s",
    				"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)
  5. docs/debugging/xl-meta/main.go

    			Name:   "ndjson",
    			Hidden: true,
    		},
    		cli.BoolFlag{
    			Usage: "display inline data keys and sizes",
    			Name:  "data",
    		},
    		cli.BoolFlag{
    			Usage: "export inline data",
    			Name:  "export",
    		},
    		cli.BoolFlag{
    			Usage: "combine inline data",
    			Name:  "combine",
    		},
    	}
    
    	app.Action = func(c *cli.Context) error {
    		ndjson := c.Bool("ndjson")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  6. internal/mountinfo/mountinfo_linux.go

    			if mount.Path != path {
    				crossMounts = append(crossMounts, mount)
    			}
    		}
    	}
    	msg := `Cross-device mounts detected on path (%s) at following locations %s. Export path should not have any sub-mounts, refusing to start.`
    	if len(crossMounts) > 0 {
    		// if paths didn't match then we do have cross-device mount.
    		return fmt.Errorf(msg, path, crossMounts)
    	}
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  7. cmd/admin-handler-utils.go

    func toAdminAPIErrCode(ctx context.Context, err error) APIErrorCode {
    	if errors.Is(err, errErasureWriteQuorum) {
    		return ErrAdminConfigNoQuorum
    	}
    	return toAPIErrorCode(ctx, err)
    }
    
    // wraps export error for more context
    func exportError(ctx context.Context, err error, fname, entity string) APIError {
    	if entity == "" {
    		return toAPIError(ctx, fmt.Errorf("error exporting %s with: %w", fname, err))
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. docs/debugging/xattr/main.go

    	flag.StringVar(&path, "path", "", "path name where the attribute shall be applied")
    	flag.StringVar(&name, "name", "", "attribute name or it can be a wildcard if '.' is specified")
    	flag.Uint64Var(&value, "value", 0, "attribute value expects the value to be uint64")
    	flag.BoolVar(&set, "set", false, "this is a set attribute operation")
    
    	flag.Parse()
    
    	if set && value == 0 {
    		log.Fatalln("setting an attribute requires a non-zero value")
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  9. internal/grid/trace.go

    )
    
    // TraceParamsKey allows to pass trace parameters to the request via context.
    // This is only needed when un-typed requests are used.
    // MSS, map[string]string types are preferred, but any struct with exported fields will work.
    type TraceParamsKey struct{}
    
    // traceRequests adds request tracing to the connection.
    func (c *Connection) traceRequests(p *pubsub.PubSub[madmin.TraceInfo, madmin.TraceType]) {
    	c.trace = &tracer{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 22:54:54 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. internal/config/identity/openid/provider/keycloak.go

    	"fmt"
    	"net/http"
    	"net/url"
    	"path"
    	"strings"
    	"sync"
    )
    
    // Token - parses the output from IDP id_token.
    type Token struct {
    	AccessToken string `json:"access_token"`
    	Expiry      int    `json:"expires_in"`
    }
    
    // KeycloakProvider implements Provider interface for KeyCloak Identity Provider.
    type KeycloakProvider struct {
    	sync.Mutex
    
    	oeConfig DiscoveryDoc
    	client   http.Client
    	adminURL string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 29 01:27:09 GMT 2022
    - 4.6K bytes
    - Viewed (0)
Back to top