# pulp_ansible-client
Fetch, Upload, Organize, and Distribute Software Packages
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: v3
- Package version: 0.3.0.dev01598820866
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
## Requirements.
Python 2.7 and 3.4+
## Installation & Usage
### pip install
If the python package is hosted on a repository, you can install directly using:
```sh
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:
```python
import pulpcore.client.pulp_ansible
```
### Setuptools
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
```sh
python setup.py install --user
```
(or `sudo python setup.py install` to install the package for all users)
Then import the package:
```python
import pulpcore.client.pulp_ansible
```
## Getting Started
Please follow the [installation procedure](#installation--usage) and then run the following:
```python
from __future__ import print_function
import time
import pulpcore.client.pulp_ansible
from pulpcore.client.pulp_ansible.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://pulp
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_ansible.Configuration(
host = "http://pulp"
)
# 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_ansible.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Configure API key authorization: cookieAuth
configuration = pulpcore.client.pulp_ansible.Configuration(
host = "http://pulp",
api_key = {
'Session': 'YOUR_API_KEY'
}
)
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Session'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_ansible.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_ansible.AnsibleCollectionsApi(api_client)
limit = 56 # int | Number of results to return per page. (optional)
name = 'name_example' # str | name (optional)
namespace = 'namespace_example' # str | namespace (optional)
offset = 56 # int | The initial index from which to return the results. (optional)
ordering = 'ordering_example' # str | Which field to use when ordering the results. (optional)
fields = 'fields_example' # str | A list of fields to include in the response. (optional)
exclude_fields = 'exclude_fields_example' # str | A list of fields to exclude from the response. (optional)
try:
# List collections
api_response = api_instance.list(limit=limit, name=name, namespace=namespace, offset=offset, ordering=ordering, fields=fields, exclude_fields=exclude_fields)
pprint(api_response)
except ApiException as e:
print("Exception when calling AnsibleCollectionsApi->list: %s\n" % e)
```
## Documentation for API Endpoints
All URIs are relative to *http://pulp*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AnsibleCollectionsApi* | [**list**](docs/AnsibleCollectionsApi.md#list) | **GET** /pulp/api/v3/ansible/collections/ | List collections
*AnsibleCollectionsApi* | [**upload_collection**](docs/AnsibleCollectionsApi.md#upload_collection) | **POST** /ansible/collections/ | Upload a collection
*CollectionImportApi* | [**read**](docs/CollectionImportApi.md#read) | **GET** {ansible_collection_import_href} | Inspect a collection import
*ContentCollectionVersionsApi* | [**create**](docs/ContentCollectionVersionsApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_versions/ | Create a collection version
*ContentCollectionVersionsApi* | [**list**](docs/ContentCollectionVersionsApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_versions/ | List collection versions
*ContentCollectionVersionsApi* | [**read**](docs/ContentCollectionVersionsApi.md#read) | **GET** {ansible_collection_version_href} | Inspect a collection version
*ContentRolesApi* | [**create**](docs/ContentRolesApi.md#create) | **POST** /pulp/api/v3/content/ansible/roles/ | Create a role
*ContentRolesApi* | [**list**](docs/ContentRolesApi.md#list) | **GET** /pulp/api/v3/content/ansible/roles/ | List roles
*ContentRolesApi* | [**read**](docs/ContentRolesApi.md#read) | **GET** {ansible_role_href} | Inspect a role
*DistributionsAnsibleApi* | [**create**](docs/DistributionsAnsibleApi.md#create) | **POST** /pulp/api/v3/distributions/ansible/ansible/ | Create an ansible distribution
*DistributionsAnsibleApi* | [**delete**](docs/DistributionsAnsibleApi.md#delete) | **DELETE** {ansible_ansible_distribution_href} | Delete an ansible distribution
*DistributionsAnsibleApi* | [**list**](docs/DistributionsAnsibleApi.md#list) | **GET** /pulp/api/v3/distributions/ansible/ansible/ | List ansible distributions
*DistributionsAnsibleApi* | [**partial_update**](docs/DistributionsAnsibleApi.md#partial_update) | **PATCH** {ansible_ansible_distribution_href} | Update an ansible distribution
*DistributionsAnsibleApi* | [**read**](docs/DistributionsAnsibleApi.md#read) | **GET** {ansible_ansible_distribution_href} | Inspect an ansible distribution
*DistributionsAnsibleApi* | [**update**](docs/DistributionsAnsibleApi.md#update) | **PUT** {ansible_ansible_distribution_href} | Update an ansible distribution
*GalaxyCollectionListApi* | [**get**](docs/GalaxyCollectionListApi.md#get) | **GET** {ansible_collection_version_href}versions/ |
*GalaxyDetailApi* | [**get**](docs/GalaxyDetailApi.md#get) | **GET** {ansible_collection_href} |
*PulpAnsibleApiApi* | [**get**](docs/PulpAnsibleApiApi.md#get) | **GET** /pulp_ansible/galaxy/{path}/api/ |
*PulpAnsibleGalaxyApiCollectionsApi* | [**list**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/ |
*PulpAnsibleGalaxyApiCollectionsApi* | [**read**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/ |
*PulpAnsibleGalaxyApiCollectionsApi* | [**update**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#update) | **PUT** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/ |
*PulpAnsibleGalaxyApiV2VersionsApi* | [**get**](docs/PulpAnsibleGalaxyApiV2VersionsApi.md#get) | **GET** /pulp_ansible/galaxy/{path}/api/v2/collections/{namespace}/{name}/versions/{version}/ |
*PulpAnsibleGalaxyApiV3CollectionsApi* | [**create**](docs/PulpAnsibleGalaxyApiV3CollectionsApi.md#create) | **POST** /pulp_ansible/galaxy/{path}/api/v3/artifacts/collections/ | Upload a collection
*PulpAnsibleGalaxyApiV3CollectionsCertifiedApi* | [**set_certified**](docs/PulpAnsibleGalaxyApiV3CollectionsCertifiedApi.md#set_certified) | **PUT** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/versions/{version}/certified/ |
*PulpAnsibleGalaxyApiV3VersionsApi* | [**list**](docs/PulpAnsibleGalaxyApiV3VersionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/versions/ |
*PulpAnsibleGalaxyApiV3VersionsApi* | [**read**](docs/PulpAnsibleGalaxyApiV3VersionsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/versions/{version}/ |
*PulpAnsibleTagsApi* | [**list**](docs/PulpAnsibleTagsApi.md#list) | **GET** /pulp/api/v3/pulp_ansible/tags/ | List tags
*
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共180个文件
py:172个
txt:4个
pkg-info:2个
资源分类:Python库 所属语言:Python 资源全名:pulp_ansible-client-0.3.0.dev1598820866.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
Python库 | pulp_ansible-client-0.3.0.dev1598820866.tar.gz (180个子文件)
setup.cfg 69B
README.md 15KB
PKG-INFO 370B
PKG-INFO 370B
repositories_ansible_api.py 52KB
remotes_collection_api.py 49KB
remotes_role_api.py 48KB
distributions_ansible_api.py 45KB
repositories_ansible_versions_api.py 35KB
ansible_collection_version_response.py 29KB
api_client.py 26KB
pulp_ansible_galaxy_api_v3_versions_api.py 23KB
content_collection_versions_api.py 22KB
pulp_ansible_galaxy_api_collections_api.py 21KB
ansible_collection_version.py 20KB
content_roles_api.py 20KB
ansible_collection_remote_response.py 19KB
patchedansible_collection_remote.py 16KB
ansible_collection_remote.py 16KB
ansible_role_remote_response.py 15KB
ansible_collections_api.py 14KB
configuration.py 14KB
v2_collections_api.py 13KB
patchedansible_role_remote.py 12KB
ansible_role_remote.py 12KB
rest.py 12KB
collection_version_response.py 11KB
ansible_ansible_distribution_response.py 10KB
collection_metadata_response.py 10KB
collection_import_detail_response.py 10KB
pulp_ansible_galaxy_api_v3_collections_certified_api.py 9KB
collection_response.py 9KB
ansible_ansible_repository_response.py 8KB
__init__.py 8KB
pulp_ansible_galaxy_api_v3_collections_api.py 8KB
pulp_ansible_galaxy_api_v2_versions_api.py 8KB
ansible_role_response.py 8KB
ansible_ansible_distribution.py 7KB
galaxy_collection_list_api.py 7KB
galaxy_collection_version_response.py 7KB
patchedansible_ansible_distribution.py 7KB
collection_one_shot.py 7KB
role_list_api.py 7KB
v1_roles_api.py 7KB
collection_import_api.py 7KB
repository_version_response.py 7KB
pulp_ansible_tags_api.py 7KB
galaxy_detail_api.py 7KB
repository_add_remove_content.py 6KB
pulp_ansible_api_api.py 6KB
__init__.py 6KB
ansible_role.py 6KB
galaxy_collection_response.py 6KB
inline_response20012.py 5KB
inline_response2003.py 5KB
inline_response2007.py 5KB
inline_response2001.py 5KB
collection_version.py 5KB
inline_response20014.py 5KB
inline_response20010.py 5KB
inline_response2005.py 5KB
inline_response20011.py 5KB
inline_response2006.py 5KB
inline_response2008.py 5KB
inline_response20013.py 5KB
inline_response2002.py 5KB
inline_response200.py 5KB
inline_response2009.py 5KB
collection.py 5KB
inline_response2004.py 5KB
content_summary_response.py 5KB
content_summary.py 5KB
ansible_ansible_repository.py 5KB
patchedansible_ansible_repository.py 5KB
galaxy_role_response.py 5KB
collection_ref_response.py 5KB
ansible_collection_response.py 5KB
repository_sync_url.py 4KB
galaxy_collection.py 4KB
galaxy_role_version_response.py 4KB
collection_ref.py 4KB
exceptions.py 4KB
repository_version.py 4KB
async_operation_response.py 3KB
collection_namespace_response.py 3KB
test_ansible_collection_version_response.py 3KB
collection_metadata.py 3KB
collection_namespace.py 3KB
ansible_tag_response.py 3KB
test_inline_response2001.py 3KB
test_galaxy_collection_version_response.py 3KB
tag_response.py 3KB
policy_enum.py 3KB
certification_enum.py 3KB
test_ansible_collection_version.py 3KB
test_inline_response20012.py 3KB
test_collection_import_detail_response.py 3KB
test_inline_response2005.py 3KB
test_inline_response2006.py 2KB
test_ansible_collection_remote_response.py 2KB
共 180 条
- 1
- 2
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- las格式点云数据使用详解(附VS编译好的LAStools工具)
- KRPano插件一键解密大师1.4.0 (解压密码1234)
- 《C++沉思录》是一本由 Scoot Meyers 所著的经典 C++ 编程书籍 该书深入探讨了 C++ 的一些高级概念和技术
- 海信刷机数据 LED42K310X3D(0000)BOM1-C006软件数据与LED42K310NX3D(0000)BOM1通用
- 送货单打印软件单机版直接单机运行不需要网络
- pycdc工具,Python3.9及以上可用的反编译工具(exe转py)
- 计算机网络基础练习题.pdf
- SDIO接口远距离无线图传WIFI6模块TT-S6D2TR-105HP
- 海信智能电视刷机数据 LED42K280J3D(1000) 生产用软件数据 务必确认机编一致 强制刷机 整机USB升级程序
- 步进电机控制实验-原理图-软件代码.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功