Openstex is a client in the elixir language for Openstack compliant APIS.
MIT License
An elixir client for making requests to Openstack compliant apis.
Openstack Service | Supported |
---|---|
Identity 2.0 (Keystone) | ✔️ |
Object Storage 1.0 (Swift) | ✔️ |
HTTPipe.Conn.t
structs which can subsequently be sentto the API using a request
function.
account = Client.Swift.get_account()
conn = Openstex.Swift.V1.create_container("new_container", account)
client.request(conn)
a. One liners for sending queries to the client API.
file_path = Path.join(Path.expand(__DIR__, "priv/test.json")
Client.Swift.upload_file(file_path, server_object, container,
b. Sending more complex queries such as multi-step queries to the client API.
[nested: :true]
willfile_path = Path.join(Path.expand(__DIR__, "priv/test.json")
Client.Swift.list_objects("nested_folder", "new_container", [nested: :true])
All of the above Adapters provide access to Swift Object Storage services which are (mostly) openstack compliant.
Adapter | Getting started |
---|---|
Ovh Adapter | openstex_adapters_ovh |
Rackspace Adapter | openstex_adapters_rackspace |
mix test
Tables | Version | Status |
---|---|---|
Identity (Keystone) , overview, api | v2 | ✔️ |
Identity (Keystone) , overview, api | v3 | ❌ |
Object Storage (Swift) , overview, api | v1 | ✔️ |
Openstex.Adapters.Bypass.Keystone
Openstex.Keystone.V2.HelpersTest
Openstex.Swift.V1
with the execution of the HTTPipe.Conn
structs with bypass.