Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for expiry (0.35 sec)

  1. internal/bucket/lifecycle/lifecycle_test.go

    			isDelMarker:     true,
    			hasManyVersions: true,
    			expectedAction:  NoneAction,
    		},
    		// Should delete all versions of this object since the latest version has past the expiry days criteria
    		{
    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)
  2. cmd/iam-store.go

    			// Just return the first error.
    			return err
    		}
    		d.Policy = doc.Policy
    		return nil
    	}
    	*d = doc
    	return nil
    }
    
    // key options
    type options struct {
    	ttl int64 // expiry in seconds
    }
    
    type iamWatchEvent struct {
    	isCreated bool // !isCreated implies a delete event.
    	keyPath   string
    }
    
    // iamCache contains in-memory cache of IAM data.
    type iamCache struct {
    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/erasure-object.go

    	if lc == nil && opts.Expiration.Expire {
    		if opts.VersionID != "" {
    			return objInfo, VersionNotFound{
    				Bucket:    bucket,
    				Object:    object,
    				VersionID: opts.VersionID,
    			}
    		}
    		return objInfo, ObjectNotFound{
    			Bucket: bucket,
    			Object: object,
    		}
    	}
    
    	if opts.DeletePrefix {
    		if opts.Expiration.Expire {
    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)
  4. cmd/iam.go

    				logger.GetReqInfo(ctx).SetTags("peerAddress", nerr.Host.String())
    				iamLogIf(ctx, nerr.Err)
    			}
    		}
    	}
    }
    
    // SetTempUser - set temporary user credentials, these credentials have an
    // expiry. The permissions for these STS credentials is determined in one of the
    // following ways:
    //
    // - RoleARN - if a role-arn is specified in the request, the STS credential's
    // policy is the role's policy.
    //
    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. 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)
  6. cmd/batch-handlers.go

    	Started   time.Time            `yaml:"-" json:"started"`
    	Replicate *BatchJobReplicateV1 `yaml:"replicate" json:"replicate"`
    	KeyRotate *BatchJobKeyRotateV1 `yaml:"keyrotate" json:"keyrotate"`
    	Expire    *BatchJobExpire      `yaml:"expire" json:"expire"`
    	ctx       context.Context      `msg:"-"`
    }
    
    func notifyEndpoint(ctx context.Context, ri *batchJobInfo, endpoint, token string) error {
    	if endpoint == "" {
    		return nil
    	}
    
    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)
  7. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern int TF_OperationNumOutputs(TF_Operation* oper);
    TF_CAPI_EXPORT extern TF_DataType TF_OperationOutputType(TF_Output oper_out);
    TF_CAPI_EXPORT extern int TF_OperationOutputListLength(TF_Operation* oper,
                                                           const char* arg_name,
                                                           TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  8. cmd/test-utils_test.go

    	d := UTCNow()
    	// Find epoch expires when the request will expire.
    	epochExpires := d.Unix() + expires
    
    	// Add expires header if not present.
    	expiresStr := req.Header.Get("Expires")
    	if expiresStr == "" {
    		expiresStr = strconv.FormatInt(epochExpires, 10)
    		req.Header.Set("Expires", expiresStr)
    	}
    
    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)
  9. guava/src/com/google/common/cache/CacheBuilder.java

       * useful in testing, or to disable caching temporarily without a code change.
       *
       * <p>Expired entries may be counted in {@link Cache#size}, but will never be visible to read or
       * write operations. Expired entries are cleaned up as part of the routine maintenance described
       * in the class javadoc.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    	},
    	ErrMalformedExpires: {
    		Code:           "AuthorizationQueryParametersError",
    		Description:    "X-Amz-Expires should be a number",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrNegativeExpires: {
    		Code:           "AuthorizationQueryParametersError",
    		Description:    "X-Amz-Expires must be non-negative",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrAuthHeaderEmpty: {
    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