pulp_smash.tests.docker.cli.utils

Location: Pulp SmashAPI Documentationpulp_smash.tests.docker.cli.utils

Utility functions for docker CLI tests.

All of the functions in this module share a common structure. The first argument is a pulp_smash.config.PulpSmashConfig, and all other arguments correspond to command-line options. Most arguments are named after a flag. For example, an argument to_repo_id corresponds to the flag --to-repo-id.

For the meaning of each argument, see pulp-admin.

pulp_smash.tests.docker.cli.utils.repo_copy(server_config, unit_type, from_repo_id=None, to_repo_id=None)

Execute pulp-admin docker repo copy {unit_type}.

pulp_smash.tests.docker.cli.utils.repo_create(server_config, enable_v1=None, enable_v2=None, feed=None, repo_id=None, repo_registry_id=None, upstream_name=None)

Execute pulp-admin docker repo create.

pulp_smash.tests.docker.cli.utils.repo_delete(server_config, repo_id)

Execute pulp-admin docker repo delete.

pulp_smash.tests.docker.cli.utils.repo_list(server_config, repo_id=None, details=False)

Execute pulp-admin docker repo list.

pulp_smash.tests.docker.cli.utils.repo_publish(server_config, repo_id, bg=None, force_full=None)

Execute pulp-admin docker repo publish run.

Execute pulp-admin docker repo search {unit_type}.

pulp_smash.tests.docker.cli.utils.repo_sync(server_config, repo_id)

Execute pulp-admin docker repo sync run.

pulp_smash.tests.docker.cli.utils.repo_update(server_config, enable_v1=None, enable_v2=None, feed=None, repo_id=None, upstream_name=None, repo_registry_id=None)

Execute pulp-admin docker repo update.