Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 60 for exports (0.36 sec)

  1. docs/debugging/inspect/main.go

    	privKeyPath = flag.String("private-key", "support_private.pem", "private key")
    	stdin       = flag.Bool("stdin", false, "expect 'mc support inspect' json output from stdin")
    	export      = flag.Bool("export", false, "export xl.meta")
    	djson       = flag.Bool("djson", false, "expect djson format for xl.meta")
    	genkey      = flag.Bool("genkey", false, "generate key pair")
    )
    
    func main() {
    	flag.Parse()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. cmd/format-erasure.go

    		if err != nil {
    			return nil, nil, fmt.Errorf("Drive %s: %w", export, err)
    		}
    		// Migrate successful v1 => v2, proceed to v2 => v3
    		version = formatErasureVersionV2
    		fallthrough
    	case formatErasureVersionV2:
    		formatData, err = formatErasureMigrateV2ToV3(formatData, export, version)
    		if err != nil {
    			return nil, nil, fmt.Errorf("Drive %s: %w", export, err)
    		}
    		// Migrate successful v2 => v3, v3 is latest
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  3. cmd/signature-v2.go

    		canonicalHeaders += "\n"
    	}
    
    	date := expires // Date is set to expires date for presign operations.
    	if date == "" {
    		// If expires date is empty then request header Date is used.
    		date = headers.Get(xhttp.Date)
    	}
    
    	// From the Amazon docs:
    	//
    	// StringToSign = HTTP-Verb + "\n" +
    	// 	 Content-Md5 + "\n" +
    	//	 Content-Type + "\n" +
    	//	 Date/Expires + "\n" +
    	//	 CanonicalizedProtocolHeaders +
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  4. cmd/signature-v4-parser.go

    	}
    
    	// Save expires in native time.Duration.
    	preSignV4Values.Expires, e = time.ParseDuration(query.Get(xhttp.AmzExpires) + "s")
    	if e != nil {
    		return psv, ErrMalformedExpires
    	}
    
    	if preSignV4Values.Expires < 0 {
    		return psv, ErrNegativeExpires
    	}
    
    	// Check if Expiry time is less than 7 days (value in seconds).
    	if preSignV4Values.Expires.Seconds() > 604800 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  5. cmd/handler-utils.go

    var supportedHeaders = []string{
    	"content-type",
    	"cache-control",
    	"content-language",
    	"content-encoding",
    	"content-disposition",
    	"x-amz-storage-class",
    	xhttp.AmzStorageClass,
    	xhttp.AmzObjectTagging,
    	"expires",
    	xhttp.AmzBucketReplicationStatus,
    	"X-Minio-Replication-Server-Side-Encryption-Sealed-Key",
    	"X-Minio-Replication-Server-Side-Encryption-Seal-Algorithm",
    	"X-Minio-Replication-Server-Side-Encryption-Iv",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  6. internal/mountinfo/mountinfo_linux_test.go

    		}
    
    		mp := []mountInfo{
    			{"/dev/2", "/path/to/1/2", "type2", []string{"flags"}, "2", "2"},
    		}
    		msg := fmt.Sprintf("Cross-device mounts detected on path (/path/to/1) at following locations %s. Export path should not have any sub-mounts, refusing to start.", mp)
    		if err.Error() != msg {
    			t.Fatalf("Expected msg %s, got %s", msg, err)
    		}
    	}
    	// Failure case when input path is not absolute.
    	{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  7. cmd/api-response.go

    			}
    			for k, v := range cleanReservedKeys(object.UserDefined) {
    				content.UserMetadata.Set(k, v)
    			}
    
    			content.UserMetadata.Set("expires", object.Expires.Format(http.TimeFormat))
    			content.Internal = &ObjectInternalInfo{
    				K: object.DataBlocks,
    				M: object.ParityBlocks,
    			}
    		}
    		content.Owner = owner
    		content.VersionID = object.VersionID
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  8. cmd/bucket-lifecycle.go

    	}
    }
    
    // expireTransitionedObject handles expiry of transitioned/restored objects
    // (versions) in one of the following situations:
    //
    // 1. when a restored (via PostRestoreObject API) object expires.
    // 2. when a transitioned object expires (based on an ILM rule).
    func expireTransitionedObject(ctx context.Context, objectAPI ObjectLayer, oi *ObjectInfo, lcEvent lifecycle.Event, src lcEventSrc) error {
    	traceFn := globalLifecycleSys.trace(*oi)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  9. cmd/common-main.go

    		}, nil
    	}
    	if strings.HasPrefix(envEntry, "#") {
    		// Skip commented lines
    		return envKV{
    			Skip: true,
    		}, nil
    	}
    	envTokens := strings.SplitN(strings.TrimSpace(strings.TrimPrefix(envEntry, "export")), config.EnvSeparator, 2)
    	if len(envTokens) != 2 {
    		return envKV{}, fmt.Errorf("envEntry malformed; %s, expected to be of form 'KEY=value'", envEntry)
    	}
    
    	key := envTokens[0]
    	val := envTokens[1]
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  10. internal/event/target/amqp.go

    	PublisherConfirms bool     `json:"publisherConfirms"`
    	QueueDir          string   `json:"queueDir"`
    	QueueLimit        uint64   `json:"queueLimit"`
    }
    
    //lint:file-ignore ST1003 We cannot change these exported names.
    
    // AMQP input constants.
    const (
    	AmqpQueueDir   = "queue_dir"
    	AmqpQueueLimit = "queue_limit"
    
    	AmqpURL               = "url"
    	AmqpExchange          = "exchange"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 10K bytes
    - Viewed (0)
Back to top