Skip to content

rochacbruno-archive/pulp3-juicer

Repository files navigation

pulp3-juicer

Build Status

Why Smash the Pulp by hand when you can use a Juicer?

This Python package is automatically generated by the Swagger Codegen project:

  • API version: v3
  • Package version: 0.0.1
  • Build package: io.swagger.codegen.languages.PythonClientCodegen

Requirements.

Python 3.4+

Installation & Usage

pip install

pip install git+https://github.com/rochacbruno/pulp3-juicer.git

Then import the package:

import juicer 

From source

git clone https://github.com/rochacbruno/pulp3-juicer.git
cd pulp3-juicer
python setup.py install --user

Then import the package:

import juicer

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import juicer
from juicer.rest import ApiException
from pprint import pprint

# Configure HTTP basic authorization: Basic
juicer.configuration.username = 'admin'
juicer.configuration.password = 'admin'

# create an instance of the API class
api_instance = juicer.PulpApi()

try:
    api_response = api_instance.repositories_create(juicer.Repository(name='foo'))
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PulpApi->repositories_create: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://192.168.122.18

Class Method HTTP request Description
PulpApi artifacts_create POST /pulp/api/v3/artifacts/
PulpApi artifacts_delete DELETE {artifact_href}
PulpApi artifacts_list GET /pulp/api/v3/artifacts/
PulpApi artifacts_read GET {artifact_href}
PulpApi content_docker_blobs_create POST /pulp/api/v3/content/docker/blobs/
PulpApi content_docker_blobs_list GET /pulp/api/v3/content/docker/blobs/
PulpApi content_docker_blobs_read GET {manifest_blob_href}
PulpApi content_docker_manifest_list_tags_create POST /pulp/api/v3/content/docker/manifest-list-tags/
PulpApi content_docker_manifest_list_tags_list GET /pulp/api/v3/content/docker/manifest-list-tags/
PulpApi content_docker_manifest_list_tags_read GET {manifest_list_tag_href}
PulpApi content_docker_manifest_lists_create POST /pulp/api/v3/content/docker/manifest-lists/
PulpApi content_docker_manifest_lists_list GET /pulp/api/v3/content/docker/manifest-lists/
PulpApi content_docker_manifest_lists_read GET {manifest_list_href}
PulpApi content_docker_manifest_tags_create POST /pulp/api/v3/content/docker/manifest-tags/
PulpApi content_docker_manifest_tags_list GET /pulp/api/v3/content/docker/manifest-tags/
PulpApi content_docker_manifest_tags_read GET {manifest_tag_href}
PulpApi content_docker_manifests_create POST /pulp/api/v3/content/docker/manifests/
PulpApi content_docker_manifests_list GET /pulp/api/v3/content/docker/manifests/
PulpApi content_docker_manifests_read GET {image_manifest_href}
PulpApi content_file_files_create POST /pulp/api/v3/content/file/files/
PulpApi content_file_files_list GET /pulp/api/v3/content/file/files/
PulpApi content_file_files_read GET {file_content_href}
PulpApi content_rpm_errata_create POST /pulp/api/v3/content/rpm/errata/ A ViewSet for UpdateRecord.
PulpApi content_rpm_errata_list GET /pulp/api/v3/content/rpm/errata/ A ViewSet for UpdateRecord.
PulpApi content_rpm_errata_read GET {update_record_href} A ViewSet for UpdateRecord.
PulpApi content_rpm_packages_create POST /pulp/api/v3/content/rpm/packages/
PulpApi content_rpm_packages_list GET /pulp/api/v3/content/rpm/packages/ A ViewSet for Package.
PulpApi content_rpm_packages_read GET {package_href} A ViewSet for Package.
PulpApi contentguards_certguard_certguard_create POST /pulp/api/v3/contentguards/certguard/certguard/
PulpApi contentguards_certguard_certguard_delete DELETE {cert_guard_href}
PulpApi contentguards_certguard_certguard_list GET /pulp/api/v3/contentguards/certguard/certguard/
PulpApi contentguards_certguard_certguard_partial_update PATCH {cert_guard_href}
PulpApi contentguards_certguard_certguard_read GET {cert_guard_href}
PulpApi contentguards_certguard_certguard_update PUT {cert_guard_href}
PulpApi distributions_create POST /pulp/api/v3/distributions/
PulpApi distributions_delete DELETE {distribution_href}
PulpApi distributions_list GET /pulp/api/v3/distributions/
PulpApi distributions_partial_update PATCH {distribution_href}
PulpApi distributions_read GET {distribution_href}
PulpApi distributions_update PUT {distribution_href}
PulpApi docker_distributions_create POST /pulp/api/v3/docker-distributions/
PulpApi docker_distributions_delete DELETE {docker_distribution_href}
PulpApi docker_distributions_list GET /pulp/api/v3/docker-distributions/
PulpApi docker_distributions_partial_update PATCH {docker_distribution_href}
PulpApi docker_distributions_read GET {docker_distribution_href}
PulpApi docker_distributions_update PUT {docker_distribution_href}
PulpApi orphans_delete DELETE /pulp/api/v3/orphans/
PulpApi publications_delete DELETE {publication_href}
PulpApi publications_list GET /pulp/api/v3/publications/
PulpApi publications_read GET {publication_href}
PulpApi publishers_docker_docker_create POST /pulp/api/v3/publishers/docker/docker/
PulpApi publishers_docker_docker_delete DELETE {docker_publisher_href}
PulpApi publishers_docker_docker_list GET /pulp/api/v3/publishers/docker/docker/
PulpApi publishers_docker_docker_partial_update PATCH {docker_publisher_href}
PulpApi publishers_docker_docker_publish POST {docker_publisher_href}publish/
PulpApi publishers_docker_docker_read GET {docker_publisher_href}
PulpApi publishers_docker_docker_update PUT {docker_publisher_href}
PulpApi publishers_file_file_create POST /pulp/api/v3/publishers/file/file/
PulpApi publishers_file_file_delete DELETE {file_publisher_href}
PulpApi publishers_file_file_list GET /pulp/api/v3/publishers/file/file/
PulpApi publishers_file_file_partial_update PATCH {file_publisher_href}
PulpApi publishers_file_file_publish POST {file_publisher_href}publish/
PulpApi publishers_file_file_read GET {file_publisher_href}
PulpApi publishers_file_file_update PUT {file_publisher_href}
PulpApi publishers_rpm_rpm_create POST /pulp/api/v3/publishers/rpm/rpm/
PulpApi publishers_rpm_rpm_delete DELETE {rpm_publisher_href}
PulpApi publishers_rpm_rpm_list GET /pulp/api/v3/publishers/rpm/rpm/
PulpApi publishers_rpm_rpm_partial_update PATCH {rpm_publisher_href}
PulpApi publishers_rpm_rpm_publish POST {rpm_publisher_href}publish/
PulpApi publishers_rpm_rpm_read GET {rpm_publisher_href}
PulpApi publishers_rpm_rpm_update PUT {rpm_publisher_href}
PulpApi remotes_docker_docker_create POST /pulp/api/v3/remotes/docker/docker/
PulpApi remotes_docker_docker_delete DELETE {docker_remote_href}
PulpApi remotes_docker_docker_list GET /pulp/api/v3/remotes/docker/docker/
PulpApi remotes_docker_docker_partial_update PATCH {docker_remote_href}
PulpApi remotes_docker_docker_read GET {docker_remote_href}
PulpApi remotes_docker_docker_sync POST {docker_remote_href}sync/
PulpApi remotes_docker_docker_update PUT {docker_remote_href}
PulpApi remotes_file_file_create POST /pulp/api/v3/remotes/file/file/
PulpApi remotes_file_file_delete DELETE {file_remote_href}
PulpApi remotes_file_file_list GET /pulp/api/v3/remotes/file/file/
PulpApi remotes_file_file_partial_update PATCH {file_remote_href}
PulpApi remotes_file_file_read GET {file_remote_href}
PulpApi remotes_file_file_sync POST {file_remote_href}sync/
PulpApi remotes_file_file_update PUT {file_remote_href}
PulpApi remotes_rpm_rpm_create POST /pulp/api/v3/remotes/rpm/rpm/
PulpApi remotes_rpm_rpm_delete DELETE {rpm_remote_href}
PulpApi remotes_rpm_rpm_list GET /pulp/api/v3/remotes/rpm/rpm/
PulpApi remotes_rpm_rpm_partial_update PATCH {rpm_remote_href}
PulpApi remotes_rpm_rpm_read GET {rpm_remote_href}
PulpApi remotes_rpm_rpm_sync POST {rpm_remote_href}sync/
PulpApi remotes_rpm_rpm_update PUT {rpm_remote_href}
PulpApi repositories_create POST /pulp/api/v3/repositories/
PulpApi repositories_delete DELETE {repository_href}
PulpApi repositories_list GET /pulp/api/v3/repositories/
PulpApi repositories_partial_update PATCH {repository_href}
PulpApi repositories_read GET {repository_href}
PulpApi repositories_update PUT {repository_href}
PulpApi repositories_versions_create POST {repository_href}versions/
PulpApi repositories_versions_delete DELETE {repository_version_href}
PulpApi repositories_versions_list GET {repository_href}versions/
PulpApi repositories_versions_partial_update PATCH {repository_version_href}
PulpApi repositories_versions_read GET {repository_version_href}
PulpApi repositories_versions_update PUT {repository_version_href}
PulpApi status_list GET /pulp/api/v3/status/
PulpApi tasks_cancel POST {task_href}cancel/
PulpApi tasks_delete DELETE {task_href}
PulpApi tasks_list GET /pulp/api/v3/tasks/
PulpApi tasks_read GET {task_href}
PulpApi uploads_create POST /pulp/api/v3/uploads/
PulpApi uploads_create_0 POST {upload_href}
PulpApi uploads_read GET /pulp/api/v3/uploads/
PulpApi uploads_read_0 GET {upload_href}
PulpApi uploads_update PUT /pulp/api/v3/uploads/
PulpApi uploads_update_0 PUT {upload_href}
PulpApi workers_list GET /pulp/api/v3/workers/
PulpApi workers_read GET {worker_href}
RpmApi rpm_upload_create POST /rpm/upload/

Documentation For Models

Documentation For Authorization

Basic

  • Type: HTTP basic authentication

Author

Bruno Rocha - Pulp QE - @rochacbruno

About

Why smash the Pulp by hand when you can use a Juicer?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published