View Source Jetstream.API.Object (jetstream v0.0.8-alpha1)

API for interacting with the JetStream Object Store

Learn more about Object Store: https://docs.nats.io/nats-concepts/jetstream/obj_store

Link to this section Summary

Link to this section Functions

Link to this function

create_bucket(conn, bucket_name, params \\ [])

View Source
Link to this function

delete_bucket(conn, bucket_name)

View Source
Link to this function

delete_object(conn, bucket_name, object_name)

View Source
Link to this function

get_object(conn, bucket_name, object_name, chunk_fun)

View Source
Link to this function

info(conn, bucket_name, object_name)

View Source
Link to this function

list_objects(conn, bucket_name, options \\ [])

View Source
Link to this function

put_object(conn, bucket_name, object_name, io)

View Source

Specs

put_object(Gnat.t(), String.t(), String.t(), File.io_device()) ::
  {:ok, map()} | {:error, any()}