Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for svar (0.17 sec)

  1. cmd/erasure-object.go

    	if !opts.NoAuditLog {
    		auditObjectErasureSet(ctx, object, &er)
    	}
    
    	var lc *lifecycle.Lifecycle
    	var rcfg lock.Retention
    	var replcfg *replication.Config
    	if opts.Expiration.Expire {
    		// Check if the current bucket has a configured lifecycle policy
    		lc, err = globalLifecycleSys.Get(bucket)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  2. cmd/iam-store.go

    		}
    	}
    	return ret, nil
    }
    
    // helper function - does not take locks.
    func filterPolicies(cache *iamCache, policyName string, bucketName string) (string, policy.Policy) {
    	var policies []string
    	mp := newMappedPolicy(policyName)
    	var toMerge []policy.Policy
    	for _, policy := range mp.toSlice() {
    		if policy == "" {
    			continue
    		}
    		p, found := cache.iamPolicyDocsMap[policy]
    		if !found {
    			continue
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. cmd/xl-storage.go

    		}
    	}
    
    	srcFilePath := pathutil.Join(srcVolumeDir, pathJoin(srcPath, xlStorageFormatFile))
    	dstFilePath := pathutil.Join(dstVolumeDir, pathJoin(dstPath, xlStorageFormatFile))
    
    	var srcDataPath string
    	var dstDataPath string
    	var dataDir string
    	if !fi.IsRemote() {
    		dataDir = retainSlash(fi.DataDir)
    	}
    	if dataDir != "" {
    		srcDataPath = retainSlash(pathJoin(srcVolumeDir, srcPath, dataDir))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    	// Updates must be closed before we return.
    	defer xioutil.SafeClose(updates)
    
    	ctx, cancel := context.WithCancel(ctx)
    	defer cancel()
    
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	var results []dataUsageCache
    	var firstErr error
    
    	allBuckets, err := z.ListBuckets(ctx, BucketOptions{})
    	if err != nil {
    		return err
    	}
    
    	if len(allBuckets) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users.go

    		Policy:      buf,
    	}
    
    	for _, bucket := range buckets {
    		rd, wr := isAllowedAccess(bucket.Name)
    		if rd || wr {
    			// Fetch the data usage of the current bucket
    			var size uint64
    			var objectsCount uint64
    			var objectsHist, versionsHist map[string]uint64
    			if !dataUsageInfo.LastUpdate.IsZero() {
    				size = dataUsageInfo.BucketsUsage[bucket.Name].Size
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    //	    modify the user-agent.
    //
    //	Authorization:
    //
    //	    Is skipped for obvious reasons
    var ignoredHeaders = map[string]bool{
    	"Authorization": true,
    	"User-Agent":    true,
    }
    
    // Headers to ignore in streaming v4
    var ignoredStreamingHeaders = map[string]bool{
    	"Authorization": true,
    	"Content-Type":  true,
    	"Content-Md5":   true,
    	"User-Agent":    true,
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/pkg/v2/console"
    	"github.com/minio/pkg/v2/env"
    	"github.com/minio/pkg/v2/policy"
    	"github.com/minio/pkg/v2/workers"
    	"gopkg.in/yaml.v3"
    )
    
    var globalBatchConfig batch.Config
    
    // BatchJobRequest this is an internal data structure not for external consumption.
    type BatchJobRequest struct {
    	ID        string               `yaml:"-" json:"name"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  8. cmd/object-api-listobjects_test.go

    	}
    
    	for i, testCase := range testCases {
    		testCase := testCase
    		t.Run(fmt.Sprintf("%s-Test%d", instanceType, i+1), func(t *testing.T) {
    			var err error
    			var resultL ListObjectsInfo
    			var resultV ListObjectVersionsInfo
    			if testCase.versioned {
    				t.Log("ListObjectVersions, bucket:", testCase.bucketName, "prefix:",
    					testCase.prefix, "marker:", testCase.marker, "delimiter:",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/lifecycle_test.go

    			},
    		},
    	}
    	b, err := xml.MarshalIndent(&lc, "", "\t")
    	if err != nil {
    		t.Fatal(err)
    	}
    	var lc1 Lifecycle
    	err = xml.Unmarshal(b, &lc1)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	ruleSet := make(map[string]struct{})
    	for _, rule := range lc.Rules {
    		ruleBytes, err := xml.Marshal(rule)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    func (e errorCodeMap) ToAPIErr(errCode APIErrorCode) APIError {
    	return e.ToAPIErrWithErr(errCode, nil)
    }
    
    // error code to APIError structure, these fields carry respective
    // descriptions for all the error responses.
    var errorCodes = errorCodeMap{
    	ErrInvalidCopyDest: {
    		Code:           "InvalidRequest",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
Back to top