Module remote

Module remote 

Source

Modules§

query

Structs§

CacheCliArgs
CacheCliArgsBuilder
Builder for CacheCliArgs.
ConfigFilePath
ConfigFilePath is in charge of computing the default config file name and its parent directory based on global CLI arguments.
GetRemoteCliArgs
GetRemoteCliArgsBuilder
Builder for GetRemoteCliArgs.
ListBodyArgs
List body args is a common structure that can be used across multiple APIs that support pagination. list operations in traits that accept some sort of List related arguments can encapsulate this structure. Example of those is MergeRequestListBodyArgs. This can be consumed by Github and Gitlab clients when executing HTTP requests.
ListBodyArgsBuilder
Builder for ListBodyArgs.
ListRemoteCliArgs
List cli args can be used across multiple APIs that support pagination.
ListRemoteCliArgsBuilder
Builder for ListRemoteCliArgs.
RemoteURL
URLQueryParamBuilder

Enums§

CacheCliArgsBuilderError
Error type for CacheCliArgsBuilder
CacheType
CliDomainRequirements
Given a CLI command, the command can work as long as user is in a cd repository, user passes –domain flag (DomainArgs) or –repo flag (RepoArgs). Some CLI commands might work with one variant, with both, with all or might have no requirement at all.
GetRemoteCliArgsBuilderError
Error type for GetRemoteCliArgsBuilder
ListBodyArgsBuilderError
Error type for ListBodyArgsBuilder
ListRemoteCliArgsBuilderError
Error type for ListRemoteCliArgsBuilder
ListSortMode

Functions§

extract_domain_path
get_auth_user
get_cicd
get_cicd_job
get_cicd_runner
get_comment_mr
get_deploy
get_deploy_asset
get_gist
get_mr
get_project
get_project_member
get_registry
get_tag
get_trending
get_user
read_config
Reads configuration from TOML file. The config_file is the main default config file and it holds global configuration. Additionally, this function will attempt to gather configurations named after the domain and the project we are targeting. This is so the main config does not become unnecessarily large when providing merge request configuration for a specific project. The total configuration is as if we concatenated them all into one, so headers cannot be named the same across different configuration files. The configuration for a specific domain or project can go to either config file but cannot be mixed. Ex.
url
validate_from_to_page