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

Link to this function

get_target_uri(endpoint, opts \\ []) View Source

Construct result url based on the endpoint, bucket name and object name.

encode data into hex code

HMAC-SHA256 hash computation helper

Link to this function

is_valid_bucket_name(name) View Source

Checks if the bucketname provided is valid

Link to this function

is_valid_object_name(name) View Source

checks if the objectname provided is valid

Convert date to iso8601 string

Link to this function

iso8601_datetime(datetime) View Source

Convert datetime to iso8601 string

Link to this function

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 hash computation helper