Module rebar_hex_repos

Data Types

repo()

repo() = #{name => unicode:unicode_binary(), repo_name => unicode:unicode_binary(), parent => unicode:unicode_binary(), mirror_of => term(), api_key => binary() | undefined, api_otp => binary() | undefined, api_organization => binary() | undefined, api_repository => binary() | undefined, api_url => binary(), http_adapter => {module(), map()}, http_etag => binary() | undefined, http_headers => map(), http_user_agent_fragment => binary(), repo_key => binary() | undefined, repo_public_key => binary(), repo_url => binary(), repo_organization => binary() | undefined, repo_verify => boolean(), repo_verify_origin => boolean(), send_100_continue => boolean(), tarball_max_size => pos_integer() | infinity, tarball_max_uncompressed_size => pos_integer() | infinity, docs_tarball_max_size => pos_integer() | infinity, docs_tarball_max_uncompressed_size => pos_integer() | infinity, trusted => boolean(), oauth_exchange => boolean(), oauth_exchange_url => binary() | undefined, cli_auth_callbacks => r3_hex_cli_auth:callbacks() | undefined}

Function Index

anon_repo_config/1
apply_env_overrides/1
auth_config/1
format_error/1
format_repo/1
from_state/2
get_repo_auth_config/2
get_repo_config/2
remove_from_auth_config/2
update_auth_config/2
update_repo_auth_config/3

Function Details

anon_repo_config/1

anon_repo_config(Map::repo()) -> #{api_url := term(), name := term(), repo_name => term(), repo_organization => term(), repo_url := term(), repo_verify => term(), repo_verify_origin => term(), mirror_of => term()}

apply_env_overrides/1

apply_env_overrides(Config::repo()) -> repo()

auth_config/1

auth_config(State::rebar_state:t()) -> map()

format_error/1

format_error(X1) -> any()

format_repo/1

format_repo(RepoConfig::repo()) -> unicode:chardata()

from_state/2

from_state(BaseConfig, State) -> any()

get_repo_auth_config/2

get_repo_auth_config(RepoName::unicode:unicode_binary(), State::rebar_state:t()) -> map() | undefined

get_repo_config/2

get_repo_config(RepoName::unicode:unicode_binary(), Repos::rebar_state:t() | [repo()]) -> {ok, repo()}

remove_from_auth_config/2

remove_from_auth_config(Key::term(), State::rebar_state:t()) -> ok

update_auth_config/2

update_auth_config(Updates::map(), State::rebar_state:t()) -> ok

update_repo_auth_config/3

update_repo_auth_config(Updates::map(), RepoName::unicode:unicode_binary(), State::rebar_state:t()) -> ok


Generated by EDoc