Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pulp_container_client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pulp_container_client

  • 2.22.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

pulp_container_client

PulpContainerClient - the Ruby gem for the Pulp 3 API

Fetch, Upload, Organize, and Distribute Software Packages

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: v3
  • Package version: 2.22.0
  • Build package: org.openapitools.codegen.languages.RubyClientCodegen For more information, please visit https://pulpproject.org

Installation

Build a gem

To build the Ruby code into a gem:

gem build pulp_container_client.gemspec

Then either install the gem locally:

gem install ./pulp_container_client-2.22.0.gem

(for development, run gem install --dev ./pulp_container_client-2.22.0.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'pulp_container_client', '~> 2.22.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:

gem 'pulp_container_client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'pulp_container_client'

# Setup authorization
PulpContainerClient.configure do |config|
  # Configure HTTP basic authorization: basicAuth
  config.username = 'YOUR_USERNAME'
  config.password = 'YOUR_PASSWORD'
end

api_instance = PulpContainerClient::ContentBlobsApi.new
opts = {
  digest: 'digest_example', # String | Filter results where digest matches value
  digest__in: ['digest__in_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
  limit: 56, # Integer | Number of results to return per page.
  offset: 56, # Integer | The initial index from which to return the results.
  ordering: ['ordering_example'], # Array<String> | Ordering  * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
  orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
  prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
}

begin
  #List blobs
  result = api_instance.list(opts)
  p result
rescue PulpContainerClient::ApiError => e
  puts "Exception when calling ContentBlobsApi->list: #{e}"
end

Documentation for API Endpoints

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

ClassMethodHTTP requestDescription
PulpContainerClient::ContentBlobsApilistGET /pulp/api/v3/content/container/blobs/List blobs
PulpContainerClient::ContentBlobsApireadGET {container_blob_href}Inspect a blob
PulpContainerClient::ContentManifestsApilistGET /pulp/api/v3/content/container/manifests/List manifests
PulpContainerClient::ContentManifestsApireadGET {container_manifest_href}Inspect a manifest
PulpContainerClient::ContentSignaturesApilistGET /pulp/api/v3/content/container/signatures/List manifest signatures
PulpContainerClient::ContentSignaturesApireadGET {container_manifest_signature_href}Inspect a manifest signature
PulpContainerClient::ContentTagsApilistGET /pulp/api/v3/content/container/tags/List tags
PulpContainerClient::ContentTagsApireadGET {container_tag_href}Inspect a tag
PulpContainerClient::DistributionsContainerApiadd_rolePOST {container_container_distribution_href}add_role/Add a role
PulpContainerClient::DistributionsContainerApicreatePOST /pulp/api/v3/distributions/container/container/Create a container distribution
PulpContainerClient::DistributionsContainerApideleteDELETE {container_container_distribution_href}Delete a container distribution
PulpContainerClient::DistributionsContainerApilistGET /pulp/api/v3/distributions/container/container/List container distributions
PulpContainerClient::DistributionsContainerApilist_rolesGET {container_container_distribution_href}list_roles/List roles
PulpContainerClient::DistributionsContainerApimy_permissionsGET {container_container_distribution_href}my_permissions/List user permissions
PulpContainerClient::DistributionsContainerApipartial_updatePATCH {container_container_distribution_href}Update a container distribution
PulpContainerClient::DistributionsContainerApireadGET {container_container_distribution_href}Inspect a container distribution
PulpContainerClient::DistributionsContainerApiremove_rolePOST {container_container_distribution_href}remove_role/Remove a role
PulpContainerClient::DistributionsContainerApiset_labelPOST {container_container_distribution_href}set_label/Set a label
PulpContainerClient::DistributionsContainerApiunset_labelPOST {container_container_distribution_href}unset_label/Unset a label
PulpContainerClient::DistributionsContainerApiupdatePUT {container_container_distribution_href}Update a container distribution
PulpContainerClient::DistributionsPullThroughApiadd_rolePOST {container_container_pull_through_distribution_href}add_role/Add a role
PulpContainerClient::DistributionsPullThroughApicreatePOST /pulp/api/v3/distributions/container/pull-through/Create a container pull through distribution
PulpContainerClient::DistributionsPullThroughApideleteDELETE {container_container_pull_through_distribution_href}Delete a container pull through distribution
PulpContainerClient::DistributionsPullThroughApilistGET /pulp/api/v3/distributions/container/pull-through/List container pull through distributions
PulpContainerClient::DistributionsPullThroughApilist_rolesGET {container_container_pull_through_distribution_href}list_roles/List roles
PulpContainerClient::DistributionsPullThroughApimy_permissionsGET {container_container_pull_through_distribution_href}my_permissions/List user permissions
PulpContainerClient::DistributionsPullThroughApipartial_updatePATCH {container_container_pull_through_distribution_href}Update a container pull through distribution
PulpContainerClient::DistributionsPullThroughApireadGET {container_container_pull_through_distribution_href}Inspect a container pull through distribution
PulpContainerClient::DistributionsPullThroughApiremove_rolePOST {container_container_pull_through_distribution_href}remove_role/Remove a role
PulpContainerClient::DistributionsPullThroughApiset_labelPOST {container_container_pull_through_distribution_href}set_label/Set a label
PulpContainerClient::DistributionsPullThroughApiunset_labelPOST {container_container_pull_through_distribution_href}unset_label/Unset a label
PulpContainerClient::DistributionsPullThroughApiupdatePUT {container_container_pull_through_distribution_href}Update a container pull through distribution
PulpContainerClient::PulpContainerNamespacesApiadd_rolePOST {container_container_namespace_href}add_role/Add a role
PulpContainerClient::PulpContainerNamespacesApicreatePOST /pulp/api/v3/pulp_container/namespaces/Create a container namespace
PulpContainerClient::PulpContainerNamespacesApideleteDELETE {container_container_namespace_href}Delete a container namespace
PulpContainerClient::PulpContainerNamespacesApilistGET /pulp/api/v3/pulp_container/namespaces/List container namespaces
PulpContainerClient::PulpContainerNamespacesApilist_rolesGET {container_container_namespace_href}list_roles/List roles
PulpContainerClient::PulpContainerNamespacesApimy_permissionsGET {container_container_namespace_href}my_permissions/List user permissions
PulpContainerClient::PulpContainerNamespacesApireadGET {container_container_namespace_href}Inspect a container namespace
PulpContainerClient::PulpContainerNamespacesApiremove_rolePOST {container_container_namespace_href}remove_role/Remove a role
PulpContainerClient::RemotesContainerApiadd_rolePOST {container_container_remote_href}add_role/Add a role
PulpContainerClient::RemotesContainerApicreatePOST /pulp/api/v3/remotes/container/container/Create a container remote
PulpContainerClient::RemotesContainerApideleteDELETE {container_container_remote_href}Delete a container remote
PulpContainerClient::RemotesContainerApilistGET /pulp/api/v3/remotes/container/container/List container remotes
PulpContainerClient::RemotesContainerApilist_rolesGET {container_container_remote_href}list_roles/List roles
PulpContainerClient::RemotesContainerApimy_permissionsGET {container_container_remote_href}my_permissions/List user permissions
PulpContainerClient::RemotesContainerApipartial_updatePATCH {container_container_remote_href}Update a container remote
PulpContainerClient::RemotesContainerApireadGET {container_container_remote_href}Inspect a container remote
PulpContainerClient::RemotesContainerApiremove_rolePOST {container_container_remote_href}remove_role/Remove a role
PulpContainerClient::RemotesContainerApiset_labelPOST {container_container_remote_href}set_label/Set a label
PulpContainerClient::RemotesContainerApiunset_labelPOST {container_container_remote_href}unset_label/Unset a label
PulpContainerClient::RemotesContainerApiupdatePUT {container_container_remote_href}Update a container remote
PulpContainerClient::RemotesPullThroughApiadd_rolePOST {container_container_pull_through_remote_href}add_role/Add a role
PulpContainerClient::RemotesPullThroughApicreatePOST /pulp/api/v3/remotes/container/pull-through/Create a container pull through remote
PulpContainerClient::RemotesPullThroughApideleteDELETE {container_container_pull_through_remote_href}Delete a container pull through remote
PulpContainerClient::RemotesPullThroughApilistGET /pulp/api/v3/remotes/container/pull-through/List container pull through remotes
PulpContainerClient::RemotesPullThroughApilist_rolesGET {container_container_pull_through_remote_href}list_roles/List roles
PulpContainerClient::RemotesPullThroughApimy_permissionsGET {container_container_pull_through_remote_href}my_permissions/List user permissions
PulpContainerClient::RemotesPullThroughApipartial_updatePATCH {container_container_pull_through_remote_href}Update a container pull through remote
PulpContainerClient::RemotesPullThroughApireadGET {container_container_pull_through_remote_href}Inspect a container pull through remote
PulpContainerClient::RemotesPullThroughApiremove_rolePOST {container_container_pull_through_remote_href}remove_role/Remove a role
PulpContainerClient::RemotesPullThroughApiset_labelPOST {container_container_pull_through_remote_href}set_label/Set a label
PulpContainerClient::RemotesPullThroughApiunset_labelPOST {container_container_pull_through_remote_href}unset_label/Unset a label
PulpContainerClient::RemotesPullThroughApiupdatePUT {container_container_pull_through_remote_href}Update a container pull through remote
PulpContainerClient::RepositoriesContainerApiaddPOST {container_container_repository_href}add/Add content
PulpContainerClient::RepositoriesContainerApiadd_rolePOST {container_container_repository_href}add_role/Add a role
PulpContainerClient::RepositoriesContainerApibuild_imagePOST {container_container_repository_href}build_image/Build an Image
PulpContainerClient::RepositoriesContainerApicopy_manifestsPOST {container_container_repository_href}copy_manifests/Copy manifests
PulpContainerClient::RepositoriesContainerApicopy_tagsPOST {container_container_repository_href}copy_tags/Copy tags
PulpContainerClient::RepositoriesContainerApicreatePOST /pulp/api/v3/repositories/container/container/Create a container repository
PulpContainerClient::RepositoriesContainerApideleteDELETE {container_container_repository_href}Delete a container repository
PulpContainerClient::RepositoriesContainerApilistGET /pulp/api/v3/repositories/container/container/List container repositorys
PulpContainerClient::RepositoriesContainerApilist_rolesGET {container_container_repository_href}list_roles/List roles
PulpContainerClient::RepositoriesContainerApimy_permissionsGET {container_container_repository_href}my_permissions/List user permissions
PulpContainerClient::RepositoriesContainerApipartial_updatePATCH {container_container_repository_href}Update a container repository
PulpContainerClient::RepositoriesContainerApireadGET {container_container_repository_href}Inspect a container repository
PulpContainerClient::RepositoriesContainerApiremovePOST {container_container_repository_href}remove/Remove content
PulpContainerClient::RepositoriesContainerApiremove_rolePOST {container_container_repository_href}remove_role/Remove a role
PulpContainerClient::RepositoriesContainerApiset_labelPOST {container_container_repository_href}set_label/Set a label
PulpContainerClient::RepositoriesContainerApisignPOST {container_container_repository_href}sign/Sign images in the repo
PulpContainerClient::RepositoriesContainerApisyncPOST {container_container_repository_href}sync/Sync from a remote
PulpContainerClient::RepositoriesContainerApitagPOST {container_container_repository_href}tag/Create a Tag
PulpContainerClient::RepositoriesContainerApiunset_labelPOST {container_container_repository_href}unset_label/Unset a label
PulpContainerClient::RepositoriesContainerApiuntagPOST {container_container_repository_href}untag/Delete a tag
PulpContainerClient::RepositoriesContainerApiupdatePUT {container_container_repository_href}Update a container repository
PulpContainerClient::RepositoriesContainerPushApiadd_rolePOST {container_container_push_repository_href}add_role/Add a role
PulpContainerClient::RepositoriesContainerPushApilistGET /pulp/api/v3/repositories/container/container-push/List container push repositorys
PulpContainerClient::RepositoriesContainerPushApilist_rolesGET {container_container_push_repository_href}list_roles/List roles
PulpContainerClient::RepositoriesContainerPushApimy_permissionsGET {container_container_push_repository_href}my_permissions/List user permissions
PulpContainerClient::RepositoriesContainerPushApipartial_updatePATCH {container_container_push_repository_href}Update a container push repository
PulpContainerClient::RepositoriesContainerPushApireadGET {container_container_push_repository_href}Inspect a container push repository
PulpContainerClient::RepositoriesContainerPushApiremove_imagePOST {container_container_push_repository_href}remove_image/Delete an image from a repository
PulpContainerClient::RepositoriesContainerPushApiremove_rolePOST {container_container_push_repository_href}remove_role/Remove a role
PulpContainerClient::RepositoriesContainerPushApiremove_signaturesPOST {container_container_push_repository_href}remove_signatures/
PulpContainerClient::RepositoriesContainerPushApisignPOST {container_container_push_repository_href}sign/Sign images in the repo
PulpContainerClient::RepositoriesContainerPushApitagPOST {container_container_push_repository_href}tag/Create a Tag
PulpContainerClient::RepositoriesContainerPushApiuntagPOST {container_container_push_repository_href}untag/Delete a tag
PulpContainerClient::RepositoriesContainerPushApiupdatePUT {container_container_push_repository_href}Update a container push repository
PulpContainerClient::RepositoriesContainerPushVersionsApideleteDELETE {container_container_push_repository_version_href}Delete a repository version
PulpContainerClient::RepositoriesContainerPushVersionsApilistGET {container_container_push_repository_href}versions/List repository versions
PulpContainerClient::RepositoriesContainerPushVersionsApireadGET {container_container_push_repository_version_href}Inspect a repository version
PulpContainerClient::RepositoriesContainerPushVersionsApirepairPOST {container_container_push_repository_version_href}repair/
PulpContainerClient::RepositoriesContainerVersionsApideleteDELETE {container_container_repository_version_href}Delete a repository version
PulpContainerClient::RepositoriesContainerVersionsApilistGET {container_container_repository_href}versions/List repository versions
PulpContainerClient::RepositoriesContainerVersionsApireadGET {container_container_repository_version_href}Inspect a repository version
PulpContainerClient::RepositoriesContainerVersionsApirepairPOST {container_container_repository_version_href}repair/
PulpContainerClient::TokenApigetGET /token/

Documentation for Models

Documentation for Authorization

basicAuth

  • Type: HTTP basic authentication

FAQs

Package last updated on 01 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc