pulp_smash.tests.pulp2.docker.cli.utils

Location: Pulp SmashAPI Documentationpulp_smash.tests.pulp2.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.pulp2.docker.cli.utils.repo_copy(cfg, unit_type, from_repo_id=None, to_repo_id=None)

Execute pulp-admin docker repo copy {unit_type}.

pulp_smash.tests.pulp2.docker.cli.utils.repo_create(cfg, 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.pulp2.docker.cli.utils.repo_delete(cfg, repo_id)

Execute pulp-admin docker repo delete.

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

Execute pulp-admin docker repo list.

pulp_smash.tests.pulp2.docker.cli.utils.repo_publish(cfg, 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.pulp2.docker.cli.utils.repo_sync(cfg, repo_id)

Execute pulp-admin docker repo sync run.

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

Execute pulp-admin docker repo update.