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

pulp_ostree_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_ostree_client

  • 2.4.4
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

pulp_ostree_client

PulpOstreeClient - 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.4.4
  • 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_ostree_client.gemspec

Then either install the gem locally:

gem install ./pulp_ostree_client-2.4.4.gem

(for development, run gem install --dev ./pulp_ostree_client-2.4.4.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_ostree_client', '~> 2.4.4'

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_ostree_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_ostree_client'

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

api_instance = PulpOstreeClient::ContentCommitsApi.new
opts = {
  checksum: 'checksum_example', # String | Filter results where checksum matches value
  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) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (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 ostree commits
  result = api_instance.list(opts)
  p result
rescue PulpOstreeClient::ApiError => e
  puts "Exception when calling ContentCommitsApi->list: #{e}"
end

Documentation for API Endpoints

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

ClassMethodHTTP requestDescription
PulpOstreeClient::ContentCommitsApilistGET /pulp/api/v3/content/ostree/commits/List ostree commits
PulpOstreeClient::ContentCommitsApireadGET {ostree_ostree_commit_href}Inspect an ostree commit
PulpOstreeClient::ContentConfigsApilistGET /pulp/api/v3/content/ostree/configs/List ostree configs
PulpOstreeClient::ContentConfigsApireadGET {ostree_ostree_config_href}Inspect an ostree config
PulpOstreeClient::ContentContentApicreatePOST /pulp/api/v3/content/ostree/content/Create an ostree content
PulpOstreeClient::ContentContentApilistGET /pulp/api/v3/content/ostree/content/List ostree contents
PulpOstreeClient::ContentContentApireadGET {ostree_ostree_content_href}Inspect an ostree content
PulpOstreeClient::ContentObjectsApilistGET /pulp/api/v3/content/ostree/objects/List ostree objects
PulpOstreeClient::ContentObjectsApireadGET {ostree_ostree_object_href}Inspect an ostree object
PulpOstreeClient::ContentRefsApilistGET /pulp/api/v3/content/ostree/refs/List ostree refs
PulpOstreeClient::ContentRefsApireadGET {ostree_ostree_ref_href}Inspect an ostree ref
PulpOstreeClient::ContentSummariesApilistGET /pulp/api/v3/content/ostree/summaries/List ostree summarys
PulpOstreeClient::ContentSummariesApireadGET {ostree_ostree_summary_href}Inspect an ostree summary
PulpOstreeClient::DistributionsOstreeApiadd_rolePOST {ostree_ostree_distribution_href}add_role/Add a role
PulpOstreeClient::DistributionsOstreeApicreatePOST /pulp/api/v3/distributions/ostree/ostree/Create an ostree distribution
PulpOstreeClient::DistributionsOstreeApideleteDELETE {ostree_ostree_distribution_href}Delete an ostree distribution
PulpOstreeClient::DistributionsOstreeApilistGET /pulp/api/v3/distributions/ostree/ostree/List ostree distributions
PulpOstreeClient::DistributionsOstreeApilist_rolesGET {ostree_ostree_distribution_href}list_roles/List roles
PulpOstreeClient::DistributionsOstreeApimy_permissionsGET {ostree_ostree_distribution_href}my_permissions/List user permissions
PulpOstreeClient::DistributionsOstreeApipartial_updatePATCH {ostree_ostree_distribution_href}Update an ostree distribution
PulpOstreeClient::DistributionsOstreeApireadGET {ostree_ostree_distribution_href}Inspect an ostree distribution
PulpOstreeClient::DistributionsOstreeApiremove_rolePOST {ostree_ostree_distribution_href}remove_role/Remove a role
PulpOstreeClient::DistributionsOstreeApiset_labelPOST {ostree_ostree_distribution_href}set_label/Set a label
PulpOstreeClient::DistributionsOstreeApiunset_labelPOST {ostree_ostree_distribution_href}unset_label/Unset a label
PulpOstreeClient::DistributionsOstreeApiupdatePUT {ostree_ostree_distribution_href}Update an ostree distribution
PulpOstreeClient::RemotesOstreeApiadd_rolePOST {ostree_ostree_remote_href}add_role/Add a role
PulpOstreeClient::RemotesOstreeApicreatePOST /pulp/api/v3/remotes/ostree/ostree/Create an ostree remote
PulpOstreeClient::RemotesOstreeApideleteDELETE {ostree_ostree_remote_href}Delete an ostree remote
PulpOstreeClient::RemotesOstreeApilistGET /pulp/api/v3/remotes/ostree/ostree/List ostree remotes
PulpOstreeClient::RemotesOstreeApilist_rolesGET {ostree_ostree_remote_href}list_roles/List roles
PulpOstreeClient::RemotesOstreeApimy_permissionsGET {ostree_ostree_remote_href}my_permissions/List user permissions
PulpOstreeClient::RemotesOstreeApipartial_updatePATCH {ostree_ostree_remote_href}Update an ostree remote
PulpOstreeClient::RemotesOstreeApireadGET {ostree_ostree_remote_href}Inspect an ostree remote
PulpOstreeClient::RemotesOstreeApiremove_rolePOST {ostree_ostree_remote_href}remove_role/Remove a role
PulpOstreeClient::RemotesOstreeApiset_labelPOST {ostree_ostree_remote_href}set_label/Set a label
PulpOstreeClient::RemotesOstreeApiunset_labelPOST {ostree_ostree_remote_href}unset_label/Unset a label
PulpOstreeClient::RemotesOstreeApiupdatePUT {ostree_ostree_remote_href}Update an ostree remote
PulpOstreeClient::RepositoriesOstreeApiadd_rolePOST {ostree_ostree_repository_href}add_role/Add a role
PulpOstreeClient::RepositoriesOstreeApicreatePOST /pulp/api/v3/repositories/ostree/ostree/Create an ostree repository
PulpOstreeClient::RepositoriesOstreeApideleteDELETE {ostree_ostree_repository_href}Delete an ostree repository
PulpOstreeClient::RepositoriesOstreeApiimport_allPOST {ostree_ostree_repository_href}import_all/Import refs and commits to a repository
PulpOstreeClient::RepositoriesOstreeApiimport_commitsPOST {ostree_ostree_repository_href}import_commits/Append child commits to a repository
PulpOstreeClient::RepositoriesOstreeApilistGET /pulp/api/v3/repositories/ostree/ostree/List ostree repositorys
PulpOstreeClient::RepositoriesOstreeApilist_rolesGET {ostree_ostree_repository_href}list_roles/List roles
PulpOstreeClient::RepositoriesOstreeApimodifyPOST {ostree_ostree_repository_href}modify/Modify repository
PulpOstreeClient::RepositoriesOstreeApimy_permissionsGET {ostree_ostree_repository_href}my_permissions/List user permissions
PulpOstreeClient::RepositoriesOstreeApipartial_updatePATCH {ostree_ostree_repository_href}Update an ostree repository
PulpOstreeClient::RepositoriesOstreeApireadGET {ostree_ostree_repository_href}Inspect an ostree repository
PulpOstreeClient::RepositoriesOstreeApiremove_rolePOST {ostree_ostree_repository_href}remove_role/Remove a role
PulpOstreeClient::RepositoriesOstreeApiset_labelPOST {ostree_ostree_repository_href}set_label/Set a label
PulpOstreeClient::RepositoriesOstreeApisyncPOST {ostree_ostree_repository_href}sync/Sync from remote
PulpOstreeClient::RepositoriesOstreeApiunset_labelPOST {ostree_ostree_repository_href}unset_label/Unset a label
PulpOstreeClient::RepositoriesOstreeApiupdatePUT {ostree_ostree_repository_href}Update an ostree repository
PulpOstreeClient::RepositoriesOstreeVersionsApideleteDELETE {ostree_ostree_repository_version_href}Delete a repository version
PulpOstreeClient::RepositoriesOstreeVersionsApilistGET {ostree_ostree_repository_href}versions/List repository versions
PulpOstreeClient::RepositoriesOstreeVersionsApireadGET {ostree_ostree_repository_version_href}Inspect a repository version
PulpOstreeClient::RepositoriesOstreeVersionsApirepairPOST {ostree_ostree_repository_version_href}repair/

Documentation for Models

Documentation for Authorization

basicAuth

  • Type: HTTP basic authentication

FAQs

Package last updated on 30 Oct 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