Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for CreatedAt (0.07 sec)

  1. cmd/object-api-interface_gen.go

    			z.ForceCreate, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "ForceCreate")
    				return
    			}
    		case "CreatedAt":
    			z.CreatedAt, bts, err = msgp.ReadTimeBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "CreatedAt")
    				return
    			}
    		case "NoLock":
    			z.NoLock, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "NoLock")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. cmd/bucket-metadata.go

    }
    
    // SetCreatedAt preserves the CreatedAt time for bucket across sites in site replication. It defaults to
    // creation time of bucket on this cluster in all other cases.
    func (b *BucketMetadata) SetCreatedAt(createdAt time.Time) {
    	if b.Created.IsZero() {
    		b.Created = UTCNow()
    	}
    	if !createdAt.IsZero() {
    		b.Created = createdAt.UTC()
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. cmd/bucket-metadata-sys.go

    	}
    	if meta.sseConfig == nil {
    		return nil, time.Time{}, BucketSSEConfigNotFound{Bucket: bucket}
    	}
    	return meta.sseConfig, meta.EncryptionConfigUpdatedAt, nil
    }
    
    // CreatedAt returns the time of creation of bucket
    func (sys *BucketMetadataSys) CreatedAt(bucket string) (time.Time, error) {
    	meta, _, err := sys.GetConfig(GlobalContext, bucket)
    	if err != nil {
    		return time.Time{}, err
    	}
    	return meta.Created.UTC(), nil
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. common/scripts/setup_env.sh

      prefix="$(<<<"$IMAGE_VERSION" cut -d- -f1)"
      query="${TOOLS_REGISTRY_PROVIDER}/${PROJECT_ID}/${IMAGE_NAME}:${prefix}-*"
      latest="$("${CONTAINER_CLI}" images --filter=reference="${query}" --format "{{.CreatedAt|json}}~{{.Repository}}:{{.Tag}}~{{.CreatedSince}}" | sort -n -r | head -n1)"
      IMG="$(<<<"$latest" cut -d~ -f2)"
      if [[ "${IMG}" == "" ]]; then
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 04:52:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    				if err != nil {
    					return nil, err
    				}
    				if !opts.NoMetadata {
    					for i := range buckets {
    						createdAt, err := globalBucketMetadataSys.CreatedAt(buckets[i].Name)
    						if err == nil {
    							buckets[i].Created = createdAt
    						}
    					}
    				}
    				return buckets, nil
    			},
    		)
    
    		return listBucketsCache.GetWithCtx(ctx)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  6. cmd/object-api-interface.go

    type MakeBucketOptions struct {
    	LockEnabled       bool
    	VersioningEnabled bool
    	ForceCreate       bool      // Create buckets even if they are already created.
    	CreatedAt         time.Time // only for site replication
    	NoLock            bool      // does not lock the make bucket call if set to 'true'
    }
    
    // DeleteBucketOptions provides options for DeleteBucket calls.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top