Skip to main content

Pulp 3 API

Project description

pulp_certguard-client

Fetch, Upload, Organize, and Distribute Software Packages

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: v3
  • Package version: 3.112.0
  • Generator version: 7.14.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://pulpproject.org

Requirements.

Python 3.9+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import pulpcore.client.pulp_certguard

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import pulpcore.client.pulp_certguard

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import pulpcore.client.pulp_certguard
from pulpcore.client.pulp_certguard.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost:24817
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_certguard.Configuration(
    host = "http://localhost:24817"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_certguard.Configuration(
    username = os.environ["USERNAME"],
    password = os.environ["PASSWORD"]
)

# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'


# Enter a context with an instance of the API client
with pulpcore.client.pulp_certguard.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_certguard.ContentguardsRhsmApi(api_client)
    certguard_rhsm_cert_guard = pulpcore.client.pulp_certguard.CertguardRHSMCertGuard() # CertguardRHSMCertGuard | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Create a rhsm cert guard
        api_response = api_instance.create(certguard_rhsm_cert_guard, x_task_diagnostics=x_task_diagnostics)
        print("The response of ContentguardsRhsmApi->create:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling ContentguardsRhsmApi->create: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost:24817

Class Method HTTP request Description
ContentguardsRhsmApi create POST /pulp/api/v3/contentguards/certguard/rhsm/ Create a rhsm cert guard
ContentguardsRhsmApi delete DELETE {certguard_r_h_s_m_cert_guard_href} Delete a rhsm cert guard
ContentguardsRhsmApi list GET /pulp/api/v3/contentguards/certguard/rhsm/ List rhsm cert guards
ContentguardsRhsmApi partial_update PATCH {certguard_r_h_s_m_cert_guard_href} Update a rhsm cert guard
ContentguardsRhsmApi read GET {certguard_r_h_s_m_cert_guard_href} Inspect a rhsm cert guard
ContentguardsRhsmApi update PUT {certguard_r_h_s_m_cert_guard_href} Update a rhsm cert guard
ContentguardsX509Api create POST /pulp/api/v3/contentguards/certguard/x509/ Create a x509 cert guard
ContentguardsX509Api delete DELETE {certguard_x509_cert_guard_href} Delete a x509 cert guard
ContentguardsX509Api list GET /pulp/api/v3/contentguards/certguard/x509/ List x509 cert guards
ContentguardsX509Api partial_update PATCH {certguard_x509_cert_guard_href} Update a x509 cert guard
ContentguardsX509Api read GET {certguard_x509_cert_guard_href} Inspect a x509 cert guard
ContentguardsX509Api update PUT {certguard_x509_cert_guard_href} Update a x509 cert guard

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

basicAuth

  • Type: HTTP basic authentication

cookieAuth

  • Type: API key
  • API key parameter name: sessionid
  • Location:

Author

pulp-list@redhat.com

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulp_certguard_client-3.112.0.tar.gz (31.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pulp_certguard_client-3.112.0-py3-none-any.whl (44.9 kB view details)

Uploaded Python 3

File details

Details for the file pulp_certguard_client-3.112.0.tar.gz.

File metadata

  • Download URL: pulp_certguard_client-3.112.0.tar.gz
  • Upload date:
  • Size: 31.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pulp_certguard_client-3.112.0.tar.gz
Algorithm Hash digest
SHA256 effc785724ecc46a59423ef29cc43c7ccca3f1d84e8a152cb66579d4b6b0d77e
MD5 4feb39c4708c447562b9fa7c7631401e
BLAKE2b-256 839a58ca033db5b2daa3a2c690c08848fda4ad48f93998ed8261455bb37af994

See more details on using hashes here.

Provenance

The following attestation bundles were made for pulp_certguard_client-3.112.0.tar.gz:

Publisher: publish.yml on pulp/pulpcore

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pulp_certguard_client-3.112.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pulp_certguard_client-3.112.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28b2fd7e60f1e7d07ee114e906bd6755f875efe0953d73ab190e0a6e2a13f417
MD5 4f8733c040f589d8631ee7a22aad6c25
BLAKE2b-256 1e1b935fde706b923ba324f9b58fe4e7d69385223a67b2c83ed27ebfd0aae7b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pulp_certguard_client-3.112.0-py3-none-any.whl:

Publisher: publish.yml on pulp/pulpcore

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page