Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 169 for PASSED (0.14 sec)

  1. cmd/data-usage.go

    			scannerLogOnceIf(ctx, err, dataUsageObjNamePath)
    		}
    		attempts++
    	}
    }
    
    var prefixUsageCache = cachevalue.New[map[string]uint64]()
    
    // loadPrefixUsageFromBackend returns prefix usages found in passed buckets
    //
    //	e.g.:  /testbucket/prefix => 355601334
    func loadPrefixUsageFromBackend(ctx context.Context, objAPI ObjectLayer, bucket string) (map[string]uint64, error) {
    	z, ok := objAPI.(*erasureServerPools)
    	if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. internal/jwt/parser_test.go

    			}
    
    			if data.valid && err != nil {
    				t.Errorf("Error while verifying token: %T:%v", err, err)
    			}
    
    			if !data.valid && err == nil {
    				t.Errorf("Invalid token passed validation")
    			}
    
    			if data.errors != 0 {
    				_, ok := err.(*jwt.ValidationError)
    				if !ok {
    					t.Errorf("Expected *jwt.ValidationError, but got %#v instead", err)
    				}
    			}
    		})
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 6K bytes
    - Viewed (0)
  3. internal/config/constants.go

    	EnvRootPasswordFile = "MINIO_ROOT_PASSWORD_FILE"
    
    	// Set all config environment variables from 'config.env'
    	// if necessary. Overrides all previous settings and also
    	// overrides all environment values passed from
    	// 'podman run -e ENV=value'
    	EnvConfigEnvFile = "MINIO_CONFIG_ENV_FILE"
    
    	EnvBrowser    = "MINIO_BROWSER"
    	EnvDomain     = "MINIO_DOMAIN"
    	EnvPublicIPs  = "MINIO_PUBLIC_IPS"
    	EnvFSOSync    = "MINIO_FS_OSYNC"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 01 16:36:33 GMT 2024
    - 3.4K bytes
    - Viewed (3)
  4. cmd/iam.go

    	_, policy := sys.store.FilterPolicies(strings.Join(policies, ","), "")
    	return policy
    }
    
    // doesPolicyAllow - checks if the given policy allows the passed action with given args. This is rarely needed.
    // Notice there is no account name involved, so this is a dangerous function.
    func (sys *IAMSys) doesPolicyAllow(policy string, args policy.Args) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  5. internal/cachevalue/cache.go

    	// and not continuously try to update.
    	// Should not be combined with ReturnLastGood.
    	CacheError bool
    
    	// If NoWait is set, Get() will return the last good value,
    	// if TTL has expired but 2x TTL has not yet passed,
    	// but will fetch a new value in the background.
    	NoWait bool
    }
    
    // Cache contains a synchronized value that is considered valid
    // for a specific amount of time.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  6. cmd/storage-datatypes.go

    	// Erasure info for all objects.
    	Erasure ErasureInfo `msg:"ei"`
    
    	MarkDeleted      bool             `msg:"md"` // mark this version as deleted
    	ReplicationState ReplicationState `msg:"rs"` // Internal replication state to be passed back in ObjectInfo
    
    	Data []byte `msg:"d,allownil"` // optionally carries object data
    
    	NumVersions      int       `msg:"nv"`
    	SuccessorModTime time.Time `msg:"smt"`
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    	wg.Add(2)
    	go publish(ReportMetrics(GlobalContext, c.metricsGroups))
    	go publish(globalNotificationSys.GetClusterMetrics(GlobalContext))
    	wg.Wait()
    }
    
    // ReportMetrics reports serialized metrics to the channel passed for the metrics generated.
    func ReportMetrics(ctx context.Context, metricsGroups []*MetricsGroupV2) <-chan MetricV2 {
    	ch := make(chan MetricV2)
    	go func() {
    		defer xioutil.SafeClose(ch)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  8. cmd/handler-utils_test.go

    		if err != nil && !testCase.shouldFail {
    			t.Fatalf("Test %d failed to extract metadata: %v", i+1, err)
    		}
    		if err == nil && testCase.shouldFail {
    			t.Fatalf("Test %d should fail, but it passed", i+1)
    		}
    		if err == nil && !reflect.DeepEqual(metadata, testCase.metadata) {
    			t.Fatalf("Test %d failed: Expected \"%#v\", got \"%#v\"", i+1, testCase.metadata, metadata)
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	objTags := srcInfo.UserTags
    	// If x-amz-tagging-directive header is REPLACE, get passed tags.
    	if isDirectiveReplace(r.Header.Get(xhttp.AmzTagDirective)) {
    		objTags = r.Header.Get(xhttp.AmzObjectTagging)
    		if _, err := tags.ParseObjectTags(objTags); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  10. internal/crypto/sse-kms.go

    	}
    
    	// There are two possibilities:
    	// - We use a KMS -> There must be non-empty key ID and a KMS data key.
    	// - We use a K/V -> There must be no key ID and no KMS data key.
    	// Otherwise, the caller has passed an invalid argument combination.
    	if keyID == "" && len(kmsKey) != 0 {
    		logger.CriticalIf(context.Background(), errors.New("The key ID must not be empty if a KMS data key is present"))
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top