minio v0.1.0 Minio.Helper View Source
Link to this section Summary
Functions
Construct result url based on the endpoint, bucket name and object name
encode data into hex code
HMAC-SHA256 hash computation helper
Checks if the bucketname provided is valid
checks if the objectname provided is valid
Convert date to iso8601 string
Convert datetime to iso8601 string
Return host form parsed URI with port only visible if port is not one of the default ports
SHA256 hash computation helper
Link to this section Functions
get_target_uri(endpoint, opts \\ []) View Source
Construct result url based on the endpoint, bucket name and object name.
hex_digest(data) View Source
encode data into hex code
hmac(key, data) View Source
HMAC-SHA256 hash computation helper
is_valid_bucket_name(name) View Source
Checks if the bucketname provided is valid
is_valid_object_name(name) View Source
checks if the objectname provided is valid
iso8601_date(datetime) View Source
Convert date to iso8601 string
iso8601_datetime(datetime) View Source
Convert datetime to iso8601 string
remove_default_port(uri) View Source
Return host form parsed URI with port only visible if port is not one of the default ports.
sha256(data) View Source
SHA256 hash computation helper