Home | History | Annotate | Download | only in telemetry

Lines Matching full:bucket

20 BUCKETS = {bucket: easy_bucket_name for easy_bucket_name, bucket
39 for bucket in BUCKETS:
41 bucket_contents[bucket] = cloud_storage.List(bucket)
45 # Check if each file is in the bucket contents.
59 for bucket in BUCKETS:
60 if bucket in bucket_contents and file_hash in bucket_contents[bucket]:
61 file_buckets[file_path].append(bucket)
67 """List which bucket each file is in."""
105 buckets = [BUCKETS[bucket] for bucket in buckets]
112 """Move files to the given bucket."""
117 parser.add_argument('bucket', choices=cloud_storage.BUCKET_ALIASES)
121 args.bucket = cloud_storage.BUCKET_ALIASES[args.bucket]
131 if args.bucket in buckets:
132 buckets.remove(args.bucket)
137 # Move to the target bucket.
139 cloud_storage.Move(buckets.pop(), args.bucket, file_hash)
142 for bucket in buckets:
143 cloud_storage.Delete(bucket, file_hash)
157 for bucket in buckets:
158 cloud_storage.Delete(bucket, file_hash)
167 parser.add_argument('bucket', choices=cloud_storage.BUCKET_ALIASES)
171 args.bucket = cloud_storage.BUCKET_ALIASES[args.bucket]
188 cloud_storage.Insert(args.bucket, file_hash, file_path)