deckhand.client.buckets module¶
-
class
deckhand.client.buckets.
BucketManager
(api)[source]¶ Bases:
deckhand.client.base.Manager
Manage
Bucket
resources.-
update
(bucket_name, documents)[source]¶ Create, update or delete documents associated with a bucket.
Parameters: - bucket_name (str) – Gets or creates a bucket by this name.
- documents (str) – YAML-formatted string of Deckhand-compatible documents to create in the bucket.
Returns: The created documents along with their associated bucket and revision.
-