MinioServer (Minio Server v0.4.0) View Source
Documentation for MinioServer
.
Usage
# Config can be used directly with :ex_aws/:ex_aws_s3
s3_config = [
access_key_id: "minio_key",
secret_access_key: "minio_secret",
scheme: "http://",
region: "local",
host: "127.0.0.1",
port: 9000,
# Minio specific
minio_path: "data" # Defaults to minio in your mix project
]
# In a supervisor
children = [
{MinioServer, s3_config}
]
# or manually
{:ok, _} = MinioServer.start_link(s3_config)
Link to this section Summary
Functions
A list of all the available architectures downloadable.
Returns a specification to start this module under a supervisor.
Download the binary for a selected architecture
Link to this section Types
Link to this section Functions
Specs
available_architectures() :: [architecture()]
A list of all the available architectures downloadable.
Returns a specification to start this module under a supervisor.
See Supervisor
.
Specs
download_client( architecture(), keyword() ) :: :exists | :ok | :timeout
Specs
download_server( architecture(), keyword() ) :: :exists | :ok | :timeout
Download the binary for a selected architecture
Opts
:force
- Replace already existing binaries. Defaults tofalse
.:timeout
- Time the download is allowed to take. Defaults to:infinity
.