pulp_ansible_client 0.21.16 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +10 -22
- data/docs/AnsibleAnsibleDistribution.md +3 -5
- data/docs/AnsibleAnsibleDistributionResponse.md +4 -8
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +10 -10
- data/docs/AnsibleCollectionsApi.md +65 -21
- data/docs/AnsibleCopyApi.md +3 -7
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +23 -23
- data/docs/AnsibleRole.md +3 -3
- data/docs/AnsibleRoleResponse.md +5 -5
- data/docs/ApiRolesApi.md +1 -3
- data/docs/CollectionImportApi.md +1 -3
- data/docs/CollectionImportDetailResponse.md +2 -2
- data/docs/CollectionSummaryResponse.md +2 -2
- data/docs/CollectionVersionDocsResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +2 -2
- data/docs/CollectionVersionSearchList.md +2 -0
- data/docs/ContentCollectionDeprecationsApi.md +3 -11
- data/docs/ContentCollectionMarksApi.md +3 -11
- data/docs/ContentCollectionSignaturesApi.md +1 -7
- data/docs/ContentCollectionVersionsApi.md +5 -11
- data/docs/ContentNamespacesApi.md +1 -7
- data/docs/ContentRolesApi.md +3 -11
- data/docs/Copy.md +1 -1
- data/docs/DistributionsAnsibleApi.md +17 -57
- data/docs/PatchedansibleAnsibleDistribution.md +3 -5
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PulpAnsibleApiApi.md +1 -3
- data/docs/PulpAnsibleApiV3Api.md +1 -3
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -3
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -3
- data/docs/PulpAnsibleApiV3CollectionsApi.md +5 -17
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +3 -11
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -3
- data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -17
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -11
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +3 -15
- data/docs/{ApiPluginAnsibleSearchCollectionVersionsApi.md → PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md} +17 -24
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -9
- data/docs/PulpAnsibleDefaultApiApi.md +4 -14
- data/docs/PulpAnsibleDefaultApiV3Api.md +4 -14
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +4 -14
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +5 -17
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +3 -11
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +4 -14
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -17
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -11
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +3 -15
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +5 -12
- data/docs/PulpAnsibleTagsApi.md +1 -3
- data/docs/RemotesCollectionApi.md +17 -57
- data/docs/RemotesGitApi.md +17 -57
- data/docs/RemotesRoleApi.md +17 -57
- data/docs/RepositoriesAnsibleApi.md +33 -105
- data/docs/RepositoriesAnsibleVersionsApi.md +7 -23
- data/docs/VersionsApi.md +1 -60
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +68 -18
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +0 -3
- data/lib/pulp_ansible_client/api/api_roles_api.rb +0 -3
- data/lib/pulp_ansible_client/api/collection_import_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +0 -9
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +0 -9
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +0 -9
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -15
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +0 -9
- data/lib/pulp_ansible_client/api/content_roles_api.rb +0 -9
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -36
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +0 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +0 -15
- data/lib/pulp_ansible_client/api/{api_plugin_ansible_search_collection_versions_api.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb} +24 -32
- data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +0 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +0 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +0 -3
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -36
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +0 -36
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -36
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -60
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +0 -15
- data/lib/pulp_ansible_client/api/versions_api.rb +0 -75
- data/lib/pulp_ansible_client/configuration.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +16 -28
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +20 -42
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +15 -15
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +23 -23
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +215 -215
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +120 -120
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +18 -18
- data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_search_list.rb +16 -1
- data/lib/pulp_ansible_client/models/copy.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +16 -28
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +215 -215
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +1 -9
- data/spec/api/ansible_collections_api_spec.rb +14 -6
- data/spec/api/ansible_copy_api_spec.rb +0 -1
- data/spec/api/api_roles_api_spec.rb +0 -1
- data/spec/api/collection_import_api_spec.rb +0 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +0 -3
- data/spec/api/content_collection_marks_api_spec.rb +0 -3
- data/spec/api/content_collection_signatures_api_spec.rb +0 -3
- data/spec/api/content_collection_versions_api_spec.rb +2 -5
- data/spec/api/content_namespaces_api_spec.rb +0 -3
- data/spec/api/content_roles_api_spec.rb +0 -3
- data/spec/api/distributions_ansible_api_spec.rb +0 -12
- data/spec/api/pulp_ansible_api_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +0 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +0 -5
- data/spec/api/{api_plugin_ansible_search_collection_versions_api_spec.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb} +8 -11
- data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +0 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +0 -5
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_tags_api_spec.rb +0 -1
- data/spec/api/remotes_collection_api_spec.rb +0 -12
- data/spec/api/remotes_git_api_spec.rb +0 -12
- data/spec/api/remotes_role_api_spec.rb +0 -12
- data/spec/api/repositories_ansible_api_spec.rb +0 -20
- data/spec/api/repositories_ansible_versions_api_spec.rb +0 -5
- data/spec/api/versions_api_spec.rb +0 -16
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_ansible_distribution_response_spec.rb +4 -16
- data/spec/models/ansible_ansible_distribution_spec.rb +4 -10
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_collection_version_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/collection_version_search_list_spec.rb +6 -0
- data/spec/models/patchedansible_ansible_distribution_spec.rb +4 -10
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +148 -180
- data/docs/ApiCollectionsApi.md +0 -118
- data/docs/GalaxyCollection.md +0 -23
- data/docs/GalaxyCollectionResponse.md +0 -31
- data/docs/GalaxyCollectionVersionResponse.md +0 -27
- data/docs/GalaxyDetailApi.md +0 -63
- data/docs/PaginatedGalaxyCollectionResponseList.md +0 -23
- data/docs/PaginatedGalaxyCollectionVersionResponseList.md +0 -23
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +0 -68
- data/lib/pulp_ansible_client/api/api_collections_api.rb +0 -165
- data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +0 -91
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +0 -107
- data/lib/pulp_ansible_client/models/galaxy_collection.rb +0 -292
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -294
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -266
- data/lib/pulp_ansible_client/models/paginated_galaxy_collection_response_list.rb +0 -247
- data/lib/pulp_ansible_client/models/paginated_galaxy_collection_version_response_list.rb +0 -247
- data/spec/api/api_collections_api_spec.rb +0 -63
- data/spec/api/galaxy_detail_api_spec.rb +0 -49
- data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +0 -52
- data/spec/models/galaxy_collection_response_spec.rb +0 -83
- data/spec/models/galaxy_collection_spec.rb +0 -59
- data/spec/models/galaxy_collection_version_response_spec.rb +0 -71
- data/spec/models/paginated_galaxy_collection_response_list_spec.rb +0 -59
- data/spec/models/paginated_galaxy_collection_version_response_list_spec.rb +0 -59
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3bd050779bf95b822be7919f7ba447b37ea03cc8b5b7fd02a1cc954060713a0a
|
|
4
|
+
data.tar.gz: f6980ed2ebea5e2749315d49441da83a0f85fa4afaf6c90ae607f92a96100bbd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: deb2a207b1cf36976806fda429b9de6c76eebdf718d9955d4328941e60b1ffc9c15044d6acd9a2083d0b86685d8c4f1a3ce049d4b51a615d021edf5e9c65986e
|
|
7
|
+
data.tar.gz: 1f9787c2a3d5a31f4bc6e0860c417b208116b6bf144152249195e65691d0299ff410737bc3f9ea06012b7fa809863c0751f573d58326bff209d16378cc69ac70
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 0.
|
|
10
|
+
- Package version: 0.22.0
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build pulp_ansible_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulp_ansible_client-0.
|
|
27
|
+
gem install ./pulp_ansible_client-0.22.0.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.22.0.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'pulp_ansible_client', '~> 0.
|
|
36
|
+
gem 'pulp_ansible_client', '~> 0.22.0'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -67,13 +67,10 @@ end
|
|
|
67
67
|
api_instance = PulpAnsibleClient::AnsibleCollectionsApi.new
|
|
68
68
|
ansible_collection_href = 'ansible_collection_href_example' # String |
|
|
69
69
|
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
|
70
|
-
opts = {
|
|
71
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
72
|
-
}
|
|
73
70
|
|
|
74
71
|
begin
|
|
75
72
|
#Add a role
|
|
76
|
-
result = api_instance.add_role(ansible_collection_href, nested_role
|
|
73
|
+
result = api_instance.add_role(ansible_collection_href, nested_role)
|
|
77
74
|
p result
|
|
78
75
|
rescue PulpAnsibleClient::ApiError => e
|
|
79
76
|
puts "Exception when calling AnsibleCollectionsApi->add_role: #{e}"
|
|
@@ -83,7 +80,7 @@ end
|
|
|
83
80
|
|
|
84
81
|
## Documentation for API Endpoints
|
|
85
82
|
|
|
86
|
-
All URIs are relative to *http://
|
|
83
|
+
All URIs are relative to *http://pulp*
|
|
87
84
|
|
|
88
85
|
Class | Method | HTTP request | Description
|
|
89
86
|
------------ | ------------- | ------------- | -------------
|
|
@@ -91,13 +88,10 @@ Class | Method | HTTP request | Description
|
|
|
91
88
|
*PulpAnsibleClient::AnsibleCollectionsApi* | [**list**](docs/AnsibleCollectionsApi.md#list) | **GET** /pulp/api/v3/ansible/collections/ | List collections
|
|
92
89
|
*PulpAnsibleClient::AnsibleCollectionsApi* | [**list_roles**](docs/AnsibleCollectionsApi.md#list_roles) | **GET** {ansible_collection_href}list_roles/ | List roles
|
|
93
90
|
*PulpAnsibleClient::AnsibleCollectionsApi* | [**my_permissions**](docs/AnsibleCollectionsApi.md#my_permissions) | **GET** {ansible_collection_href}my_permissions/ | List user permissions
|
|
91
|
+
*PulpAnsibleClient::AnsibleCollectionsApi* | [**read**](docs/AnsibleCollectionsApi.md#read) | **GET** {ansible_collection_href} | Inspect a collection
|
|
94
92
|
*PulpAnsibleClient::AnsibleCollectionsApi* | [**remove_role**](docs/AnsibleCollectionsApi.md#remove_role) | **POST** {ansible_collection_href}remove_role/ | Remove a role
|
|
95
93
|
*PulpAnsibleClient::AnsibleCollectionsApi* | [**upload_collection**](docs/AnsibleCollectionsApi.md#upload_collection) | **POST** /ansible/collections/ | Upload a collection
|
|
96
94
|
*PulpAnsibleClient::AnsibleCopyApi* | [**copy_content**](docs/AnsibleCopyApi.md#copy_content) | **POST** /pulp/api/v3/ansible/copy/ | Copy content
|
|
97
|
-
*PulpAnsibleClient::ApiCollectionsApi* | [**get**](docs/ApiCollectionsApi.md#get) | **GET** {ansible_collection_href}api/v2/collections/ |
|
|
98
|
-
*PulpAnsibleClient::ApiCollectionsApi* | [**post**](docs/ApiCollectionsApi.md#post) | **POST** {ansible_collection_href}api/v2/collections/ |
|
|
99
|
-
*PulpAnsibleClient::ApiPluginAnsibleSearchCollectionVersionsApi* | [**list**](docs/ApiPluginAnsibleSearchCollectionVersionsApi.md#list) | **GET** {ansible_cross_repository_collection_version_index_href}api/v3/plugin/ansible/search/collection-versions/ | List cross repository collection version indexs
|
|
100
|
-
*PulpAnsibleClient::ApiPluginAnsibleSearchCollectionVersionsApi* | [**rebuild**](docs/ApiPluginAnsibleSearchCollectionVersionsApi.md#rebuild) | **POST** {ansible_cross_repository_collection_version_index_href}api/v3/plugin/ansible/search/collection-versions/ |
|
|
101
95
|
*PulpAnsibleClient::ApiRolesApi* | [**get**](docs/ApiRolesApi.md#get) | **GET** {ansible_role_href}api/v1/roles/ |
|
|
102
96
|
*PulpAnsibleClient::CollectionImportApi* | [**read**](docs/CollectionImportApi.md#read) | **GET** {ansible_collection_import_href} | Inspect a collection import
|
|
103
97
|
*PulpAnsibleClient::ContentCollectionDeprecationsApi* | [**create**](docs/ContentCollectionDeprecationsApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_deprecations/ | Create an ansible collection deprecated
|
|
@@ -130,9 +124,7 @@ Class | Method | HTTP request | Description
|
|
|
130
124
|
*PulpAnsibleClient::DistributionsAnsibleApi* | [**set_label**](docs/DistributionsAnsibleApi.md#set_label) | **POST** {ansible_ansible_distribution_href}set_label/ | Set a label
|
|
131
125
|
*PulpAnsibleClient::DistributionsAnsibleApi* | [**unset_label**](docs/DistributionsAnsibleApi.md#unset_label) | **POST** {ansible_ansible_distribution_href}unset_label/ | Unset a label
|
|
132
126
|
*PulpAnsibleClient::DistributionsAnsibleApi* | [**update**](docs/DistributionsAnsibleApi.md#update) | **PUT** {ansible_ansible_distribution_href} | Update an ansible distribution
|
|
133
|
-
*PulpAnsibleClient::GalaxyDetailApi* | [**get**](docs/GalaxyDetailApi.md#get) | **GET** {ansible_collection_href} |
|
|
134
127
|
*PulpAnsibleClient::PulpAnsibleApiApi* | [**get**](docs/PulpAnsibleApiApi.md#get) | **GET** /pulp_ansible/galaxy/{path}/api/ |
|
|
135
|
-
*PulpAnsibleClient::PulpAnsibleApiV2CollectionsVersionsApi* | [**get**](docs/PulpAnsibleApiV2CollectionsVersionsApi.md#get) | **GET** /pulp_ansible/galaxy/{path}/api/v2/collections/{namespace}/{name}/versions/{version}/ |
|
|
136
128
|
*PulpAnsibleClient::PulpAnsibleApiV3Api* | [**read**](docs/PulpAnsibleApiV3Api.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/ |
|
|
137
129
|
*PulpAnsibleClient::PulpAnsibleApiV3ArtifactsCollectionsApi* | [**get**](docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md#get) | **GET** /pulp_ansible/galaxy/{path}/api/v3/artifacts/collections/{path}/{filename} |
|
|
138
130
|
*PulpAnsibleClient::PulpAnsibleApiV3CollectionVersionsAllApi* | [**list**](docs/PulpAnsibleApiV3CollectionVersionsAllApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collection_versions/all/ |
|
|
@@ -165,6 +157,8 @@ Class | Method | HTTP request | Description
|
|
|
165
157
|
*PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentNamespacesApi* | [**list**](docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/namespaces/ |
|
|
166
158
|
*PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentNamespacesApi* | [**partial_update**](docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md#partial_update) | **PATCH** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/namespaces/{name}/ |
|
|
167
159
|
*PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentNamespacesApi* | [**read**](docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/namespaces/{name}/ |
|
|
160
|
+
*PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi* | [**list**](docs/PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/search/collection-versions/ |
|
|
161
|
+
*PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi* | [**rebuild**](docs/PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md#rebuild) | **POST** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/search/collection-versions/ |
|
|
168
162
|
*PulpAnsibleClient::PulpAnsibleArtifactsCollectionsV3Api* | [**create**](docs/PulpAnsibleArtifactsCollectionsV3Api.md#create) | **POST** /pulp_ansible/galaxy/{path}/api/v3/artifacts/collections/ | Upload a collection
|
|
169
163
|
*PulpAnsibleClient::PulpAnsibleArtifactsCollectionsV3Api* | [**create_0**](docs/PulpAnsibleArtifactsCollectionsV3Api.md#create_0) | **POST** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/collections/artifacts/ | Upload a collection
|
|
170
164
|
*PulpAnsibleClient::PulpAnsibleArtifactsCollectionsV3Api* | [**create_1**](docs/PulpAnsibleArtifactsCollectionsV3Api.md#create_1) | **POST** /pulp_ansible/galaxy/default/api/v3/artifacts/collections/ | Upload a collection
|
|
@@ -202,7 +196,7 @@ Class | Method | HTTP request | Description
|
|
|
202
196
|
*PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi* | [**list**](docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md#list) | **GET** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/content/{distro_base_path}/namespaces/ |
|
|
203
197
|
*PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi* | [**partial_update**](docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md#partial_update) | **PATCH** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/content/{distro_base_path}/namespaces/{name}/ |
|
|
204
198
|
*PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi* | [**read**](docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md#read) | **GET** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/content/{distro_base_path}/namespaces/{name}/ |
|
|
205
|
-
*PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi* | [**list**](docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md#list) | **GET** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/search/collection-versions/ |
|
|
199
|
+
*PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi* | [**list**](docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md#list) | **GET** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/search/collection-versions/ |
|
|
206
200
|
*PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi* | [**rebuild**](docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md#rebuild) | **POST** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/search/collection-versions/ |
|
|
207
201
|
*PulpAnsibleClient::PulpAnsibleTagsApi* | [**list**](docs/PulpAnsibleTagsApi.md#list) | **GET** /pulp/api/v3/pulp_ansible/tags/ | List tags
|
|
208
202
|
*PulpAnsibleClient::RemotesCollectionApi* | [**add_role**](docs/RemotesCollectionApi.md#add_role) | **POST** {ansible_collection_remote_href}add_role/ | Add a role
|
|
@@ -267,7 +261,6 @@ Class | Method | HTTP request | Description
|
|
|
267
261
|
*PulpAnsibleClient::RepositoriesAnsibleVersionsApi* | [**rebuild_metadata**](docs/RepositoriesAnsibleVersionsApi.md#rebuild_metadata) | **POST** {ansible_ansible_repository_version_href}rebuild_metadata/ |
|
|
268
262
|
*PulpAnsibleClient::RepositoriesAnsibleVersionsApi* | [**repair**](docs/RepositoriesAnsibleVersionsApi.md#repair) | **POST** {ansible_ansible_repository_version_href}repair/ |
|
|
269
263
|
*PulpAnsibleClient::VersionsApi* | [**api_v1_roles_versions_list**](docs/VersionsApi.md#api_v1_roles_versions_list) | **GET** {ansible_role_href}versions/ |
|
|
270
|
-
*PulpAnsibleClient::VersionsApi* | [**api_v2_collection_versions_list**](docs/VersionsApi.md#api_v2_collection_versions_list) | **GET** {ansible_collection_version_href}versions/ |
|
|
271
264
|
|
|
272
265
|
|
|
273
266
|
## Documentation for Models
|
|
@@ -320,9 +313,6 @@ Class | Method | HTTP request | Description
|
|
|
320
313
|
- [PulpAnsibleClient::CollectionVersionSignatureResponse](docs/CollectionVersionSignatureResponse.md)
|
|
321
314
|
- [PulpAnsibleClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
|
322
315
|
- [PulpAnsibleClient::Copy](docs/Copy.md)
|
|
323
|
-
- [PulpAnsibleClient::GalaxyCollection](docs/GalaxyCollection.md)
|
|
324
|
-
- [PulpAnsibleClient::GalaxyCollectionResponse](docs/GalaxyCollectionResponse.md)
|
|
325
|
-
- [PulpAnsibleClient::GalaxyCollectionVersionResponse](docs/GalaxyCollectionVersionResponse.md)
|
|
326
316
|
- [PulpAnsibleClient::GalaxyRoleResponse](docs/GalaxyRoleResponse.md)
|
|
327
317
|
- [PulpAnsibleClient::GalaxyRoleVersionResponse](docs/GalaxyRoleVersionResponse.md)
|
|
328
318
|
- [PulpAnsibleClient::MyPermissionsResponse](docs/MyPermissionsResponse.md)
|
|
@@ -336,8 +326,6 @@ Class | Method | HTTP request | Description
|
|
|
336
326
|
- [PulpAnsibleClient::PaginatedCollectionResponseListMeta](docs/PaginatedCollectionResponseListMeta.md)
|
|
337
327
|
- [PulpAnsibleClient::PaginatedCollectionVersionListResponseList](docs/PaginatedCollectionVersionListResponseList.md)
|
|
338
328
|
- [PulpAnsibleClient::PaginatedCollectionVersionSearchListResponseList](docs/PaginatedCollectionVersionSearchListResponseList.md)
|
|
339
|
-
- [PulpAnsibleClient::PaginatedGalaxyCollectionResponseList](docs/PaginatedGalaxyCollectionResponseList.md)
|
|
340
|
-
- [PulpAnsibleClient::PaginatedGalaxyCollectionVersionResponseList](docs/PaginatedGalaxyCollectionVersionResponseList.md)
|
|
341
329
|
- [PulpAnsibleClient::PaginatedGalaxyRoleResponseList](docs/PaginatedGalaxyRoleResponseList.md)
|
|
342
330
|
- [PulpAnsibleClient::PaginatedGalaxyRoleVersionResponseList](docs/PaginatedGalaxyRoleVersionResponseList.md)
|
|
343
331
|
- [PulpAnsibleClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
|
|
@@ -6,11 +6,10 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
9
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
10
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
11
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
12
10
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
13
11
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
12
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
14
13
|
|
|
15
14
|
## Code Sample
|
|
16
15
|
|
|
@@ -19,11 +18,10 @@ require 'PulpAnsibleClient'
|
|
|
19
18
|
|
|
20
19
|
instance = PulpAnsibleClient::AnsibleAnsibleDistribution.new(base_path: null,
|
|
21
20
|
content_guard: null,
|
|
22
|
-
hidden: null,
|
|
23
|
-
pulp_labels: null,
|
|
24
21
|
name: null,
|
|
25
22
|
repository: null,
|
|
26
|
-
repository_version: null
|
|
23
|
+
repository_version: null,
|
|
24
|
+
pulp_labels: null)
|
|
27
25
|
```
|
|
28
26
|
|
|
29
27
|
|
|
@@ -6,15 +6,13 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
-
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
|
10
9
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
|
11
10
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
12
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
13
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
14
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
15
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
16
|
-
**client_url** | **String** | The URL of a Collection content source. | [optional] [readonly]
|
|
17
13
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
14
|
+
**client_url** | **String** | The URL of a Collection content source. | [optional] [readonly]
|
|
15
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
18
16
|
|
|
19
17
|
## Code Sample
|
|
20
18
|
|
|
@@ -23,15 +21,13 @@ require 'PulpAnsibleClient'
|
|
|
23
21
|
|
|
24
22
|
instance = PulpAnsibleClient::AnsibleAnsibleDistributionResponse.new(pulp_href: null,
|
|
25
23
|
pulp_created: null,
|
|
26
|
-
pulp_last_updated: null,
|
|
27
24
|
base_path: null,
|
|
28
25
|
content_guard: null,
|
|
29
|
-
hidden: null,
|
|
30
|
-
pulp_labels: null,
|
|
31
26
|
name: null,
|
|
32
27
|
repository: null,
|
|
28
|
+
repository_version: null,
|
|
33
29
|
client_url: null,
|
|
34
|
-
|
|
30
|
+
pulp_labels: null)
|
|
35
31
|
```
|
|
36
32
|
|
|
37
33
|
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
|
|
8
|
-
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
|
9
|
-
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
|
10
8
|
**file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
|
|
9
|
+
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
|
10
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
|
11
11
|
**expected_name** | **String** | The name of the collection. | [optional]
|
|
12
12
|
**expected_namespace** | **String** | The namespace of the collection. | [optional]
|
|
13
13
|
**expected_version** | **String** | The version of the collection. | [optional]
|
|
@@ -18,9 +18,9 @@ Name | Type | Description | Notes
|
|
|
18
18
|
require 'PulpAnsibleClient'
|
|
19
19
|
|
|
20
20
|
instance = PulpAnsibleClient::AnsibleCollectionVersion.new(upload: null,
|
|
21
|
-
repository: null,
|
|
22
|
-
artifact: null,
|
|
23
21
|
file: null,
|
|
22
|
+
artifact: null,
|
|
23
|
+
repository: null,
|
|
24
24
|
expected_name: null,
|
|
25
25
|
expected_namespace: null,
|
|
26
26
|
expected_version: null)
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
8
7
|
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
|
9
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
10
8
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
|
9
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
10
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
11
11
|
**sha256** | **String** | The SHA-256 checksum if available. | [optional] [readonly]
|
|
12
12
|
**md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
|
|
13
13
|
**sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
|
|
@@ -16,12 +16,12 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**sha512** | **String** | The SHA-512 checksum if available. | [optional] [readonly]
|
|
17
17
|
**id** | **String** | A collection identifier. | [optional] [readonly]
|
|
18
18
|
**authors** | **Array<String>** | A list of the CollectionVersion content's authors. | [optional] [readonly]
|
|
19
|
-
**contents** | [**
|
|
20
|
-
**dependencies** | [**
|
|
19
|
+
**contents** | [**AnyType**](.md) | A JSON field with data about the contents. | [optional] [readonly]
|
|
20
|
+
**dependencies** | [**AnyType**](.md) | A dict declaring Collections that this collection requires to be installed for it to be usable. | [optional] [readonly]
|
|
21
21
|
**description** | **String** | A short summary description of the collection. | [optional] [readonly]
|
|
22
|
-
**docs_blob** | [**
|
|
23
|
-
**manifest** | [**
|
|
24
|
-
**files** | [**
|
|
22
|
+
**docs_blob** | [**AnyType**](.md) | A JSON field holding the various documentation blobs in the collection. | [optional] [readonly]
|
|
23
|
+
**manifest** | [**AnyType**](.md) | A JSON field holding MANIFEST.json data. | [optional] [readonly]
|
|
24
|
+
**files** | [**AnyType**](.md) | A JSON field holding FILES.json data. | [optional] [readonly]
|
|
25
25
|
**documentation** | **String** | The URL to any online docs. | [optional] [readonly]
|
|
26
26
|
**homepage** | **String** | The URL to the homepage of the collection/project. | [optional] [readonly]
|
|
27
27
|
**issues** | **String** | The URL to the collection issue tracker. | [optional] [readonly]
|
|
@@ -38,10 +38,10 @@ Name | Type | Description | Notes
|
|
|
38
38
|
```ruby
|
|
39
39
|
require 'PulpAnsibleClient'
|
|
40
40
|
|
|
41
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
|
42
|
-
pulp_last_updated: null,
|
|
43
|
-
pulp_href: null,
|
|
41
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_last_updated: null,
|
|
44
42
|
artifact: null,
|
|
43
|
+
pulp_href: null,
|
|
44
|
+
pulp_created: null,
|
|
45
45
|
sha256: null,
|
|
46
46
|
md5: null,
|
|
47
47
|
sha1: null,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PulpAnsibleClient::AnsibleCollectionsApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://
|
|
3
|
+
All URIs are relative to *http://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -8,6 +8,7 @@ Method | HTTP request | Description
|
|
|
8
8
|
[**list**](AnsibleCollectionsApi.md#list) | **GET** /pulp/api/v3/ansible/collections/ | List collections
|
|
9
9
|
[**list_roles**](AnsibleCollectionsApi.md#list_roles) | **GET** {ansible_collection_href}list_roles/ | List roles
|
|
10
10
|
[**my_permissions**](AnsibleCollectionsApi.md#my_permissions) | **GET** {ansible_collection_href}my_permissions/ | List user permissions
|
|
11
|
+
[**read**](AnsibleCollectionsApi.md#read) | **GET** {ansible_collection_href} | Inspect a collection
|
|
11
12
|
[**remove_role**](AnsibleCollectionsApi.md#remove_role) | **POST** {ansible_collection_href}remove_role/ | Remove a role
|
|
12
13
|
[**upload_collection**](AnsibleCollectionsApi.md#upload_collection) | **POST** /ansible/collections/ | Upload a collection
|
|
13
14
|
|
|
@@ -15,7 +16,7 @@ Method | HTTP request | Description
|
|
|
15
16
|
|
|
16
17
|
## add_role
|
|
17
18
|
|
|
18
|
-
> NestedRoleResponse add_role(ansible_collection_href, nested_role
|
|
19
|
+
> NestedRoleResponse add_role(ansible_collection_href, nested_role)
|
|
19
20
|
|
|
20
21
|
Add a role
|
|
21
22
|
|
|
@@ -36,13 +37,10 @@ end
|
|
|
36
37
|
api_instance = PulpAnsibleClient::AnsibleCollectionsApi.new
|
|
37
38
|
ansible_collection_href = 'ansible_collection_href_example' # String |
|
|
38
39
|
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
|
39
|
-
opts = {
|
|
40
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
41
|
-
}
|
|
42
40
|
|
|
43
41
|
begin
|
|
44
42
|
#Add a role
|
|
45
|
-
result = api_instance.add_role(ansible_collection_href, nested_role
|
|
43
|
+
result = api_instance.add_role(ansible_collection_href, nested_role)
|
|
46
44
|
p result
|
|
47
45
|
rescue PulpAnsibleClient::ApiError => e
|
|
48
46
|
puts "Exception when calling AnsibleCollectionsApi->add_role: #{e}"
|
|
@@ -56,7 +54,6 @@ Name | Type | Description | Notes
|
|
|
56
54
|
------------- | ------------- | ------------- | -------------
|
|
57
55
|
**ansible_collection_href** | **String**| |
|
|
58
56
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
59
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
60
57
|
|
|
61
58
|
### Return type
|
|
62
59
|
|
|
@@ -94,7 +91,6 @@ end
|
|
|
94
91
|
|
|
95
92
|
api_instance = PulpAnsibleClient::AnsibleCollectionsApi.new
|
|
96
93
|
opts = {
|
|
97
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
98
94
|
limit: 56, # Integer | Number of results to return per page.
|
|
99
95
|
name: 'name_example', # String |
|
|
100
96
|
namespace: 'namespace_example', # String |
|
|
@@ -121,7 +117,6 @@ end
|
|
|
121
117
|
|
|
122
118
|
Name | Type | Description | Notes
|
|
123
119
|
------------- | ------------- | ------------- | -------------
|
|
124
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
125
120
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
126
121
|
**name** | **String**| | [optional]
|
|
127
122
|
**namespace** | **String**| | [optional]
|
|
@@ -170,7 +165,6 @@ end
|
|
|
170
165
|
api_instance = PulpAnsibleClient::AnsibleCollectionsApi.new
|
|
171
166
|
ansible_collection_href = 'ansible_collection_href_example' # String |
|
|
172
167
|
opts = {
|
|
173
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
174
168
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
175
169
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
176
170
|
}
|
|
@@ -190,7 +184,6 @@ end
|
|
|
190
184
|
Name | Type | Description | Notes
|
|
191
185
|
------------- | ------------- | ------------- | -------------
|
|
192
186
|
**ansible_collection_href** | **String**| |
|
|
193
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
194
187
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
195
188
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
196
189
|
|
|
@@ -231,7 +224,6 @@ end
|
|
|
231
224
|
api_instance = PulpAnsibleClient::AnsibleCollectionsApi.new
|
|
232
225
|
ansible_collection_href = 'ansible_collection_href_example' # String |
|
|
233
226
|
opts = {
|
|
234
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
235
227
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
236
228
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
237
229
|
}
|
|
@@ -251,7 +243,6 @@ end
|
|
|
251
243
|
Name | Type | Description | Notes
|
|
252
244
|
------------- | ------------- | ------------- | -------------
|
|
253
245
|
**ansible_collection_href** | **String**| |
|
|
254
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
255
246
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
256
247
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
257
248
|
|
|
@@ -269,9 +260,68 @@ Name | Type | Description | Notes
|
|
|
269
260
|
- **Accept**: application/json
|
|
270
261
|
|
|
271
262
|
|
|
263
|
+
## read
|
|
264
|
+
|
|
265
|
+
> AnsibleCollectionResponse read(ansible_collection_href, opts)
|
|
266
|
+
|
|
267
|
+
Inspect a collection
|
|
268
|
+
|
|
269
|
+
Viewset for Ansible Collections.
|
|
270
|
+
|
|
271
|
+
### Example
|
|
272
|
+
|
|
273
|
+
```ruby
|
|
274
|
+
# load the gem
|
|
275
|
+
require 'pulp_ansible_client'
|
|
276
|
+
# setup authorization
|
|
277
|
+
PulpAnsibleClient.configure do |config|
|
|
278
|
+
# Configure HTTP basic authorization: basicAuth
|
|
279
|
+
config.username = 'YOUR USERNAME'
|
|
280
|
+
config.password = 'YOUR PASSWORD'
|
|
281
|
+
end
|
|
282
|
+
|
|
283
|
+
api_instance = PulpAnsibleClient::AnsibleCollectionsApi.new
|
|
284
|
+
ansible_collection_href = 'ansible_collection_href_example' # String |
|
|
285
|
+
opts = {
|
|
286
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
287
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
begin
|
|
291
|
+
#Inspect a collection
|
|
292
|
+
result = api_instance.read(ansible_collection_href, opts)
|
|
293
|
+
p result
|
|
294
|
+
rescue PulpAnsibleClient::ApiError => e
|
|
295
|
+
puts "Exception when calling AnsibleCollectionsApi->read: #{e}"
|
|
296
|
+
end
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
### Parameters
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
Name | Type | Description | Notes
|
|
303
|
+
------------- | ------------- | ------------- | -------------
|
|
304
|
+
**ansible_collection_href** | **String**| |
|
|
305
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
306
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
307
|
+
|
|
308
|
+
### Return type
|
|
309
|
+
|
|
310
|
+
[**AnsibleCollectionResponse**](AnsibleCollectionResponse.md)
|
|
311
|
+
|
|
312
|
+
### Authorization
|
|
313
|
+
|
|
314
|
+
[basicAuth](../README.md#basicAuth)
|
|
315
|
+
|
|
316
|
+
### HTTP request headers
|
|
317
|
+
|
|
318
|
+
- **Content-Type**: Not defined
|
|
319
|
+
- **Accept**: application/json
|
|
320
|
+
|
|
321
|
+
|
|
272
322
|
## remove_role
|
|
273
323
|
|
|
274
|
-
> NestedRoleResponse remove_role(ansible_collection_href, nested_role
|
|
324
|
+
> NestedRoleResponse remove_role(ansible_collection_href, nested_role)
|
|
275
325
|
|
|
276
326
|
Remove a role
|
|
277
327
|
|
|
@@ -292,13 +342,10 @@ end
|
|
|
292
342
|
api_instance = PulpAnsibleClient::AnsibleCollectionsApi.new
|
|
293
343
|
ansible_collection_href = 'ansible_collection_href_example' # String |
|
|
294
344
|
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
|
295
|
-
opts = {
|
|
296
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
297
|
-
}
|
|
298
345
|
|
|
299
346
|
begin
|
|
300
347
|
#Remove a role
|
|
301
|
-
result = api_instance.remove_role(ansible_collection_href, nested_role
|
|
348
|
+
result = api_instance.remove_role(ansible_collection_href, nested_role)
|
|
302
349
|
p result
|
|
303
350
|
rescue PulpAnsibleClient::ApiError => e
|
|
304
351
|
puts "Exception when calling AnsibleCollectionsApi->remove_role: #{e}"
|
|
@@ -312,7 +359,6 @@ Name | Type | Description | Notes
|
|
|
312
359
|
------------- | ------------- | ------------- | -------------
|
|
313
360
|
**ansible_collection_href** | **String**| |
|
|
314
361
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
315
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
316
362
|
|
|
317
363
|
### Return type
|
|
318
364
|
|
|
@@ -351,7 +397,6 @@ end
|
|
|
351
397
|
api_instance = PulpAnsibleClient::AnsibleCollectionsApi.new
|
|
352
398
|
file = File.new('/path/to/file') # File | The Collection tarball.
|
|
353
399
|
opts = {
|
|
354
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
355
400
|
sha256: 'sha256_example', # String | An optional sha256 checksum of the uploaded file.
|
|
356
401
|
expected_namespace: 'expected_namespace_example', # String | The expected 'namespace' of the Collection to be verified against the metadata during import.
|
|
357
402
|
expected_name: 'expected_name_example', # String | The expected 'name' of the Collection to be verified against the metadata during import.
|
|
@@ -373,7 +418,6 @@ end
|
|
|
373
418
|
Name | Type | Description | Notes
|
|
374
419
|
------------- | ------------- | ------------- | -------------
|
|
375
420
|
**file** | **File**| The Collection tarball. |
|
|
376
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
377
421
|
**sha256** | **String**| An optional sha256 checksum of the uploaded file. | [optional]
|
|
378
422
|
**expected_namespace** | **String**| The expected 'namespace' of the Collection to be verified against the metadata during import. | [optional]
|
|
379
423
|
**expected_name** | **String**| The expected 'name' of the Collection to be verified against the metadata during import. | [optional]
|
data/docs/AnsibleCopyApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PulpAnsibleClient::AnsibleCopyApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://
|
|
3
|
+
All URIs are relative to *http://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -10,7 +10,7 @@ Method | HTTP request | Description
|
|
|
10
10
|
|
|
11
11
|
## copy_content
|
|
12
12
|
|
|
13
|
-
> AsyncOperationResponse copy_content(copy
|
|
13
|
+
> AsyncOperationResponse copy_content(copy)
|
|
14
14
|
|
|
15
15
|
Copy content
|
|
16
16
|
|
|
@@ -30,13 +30,10 @@ end
|
|
|
30
30
|
|
|
31
31
|
api_instance = PulpAnsibleClient::AnsibleCopyApi.new
|
|
32
32
|
copy = PulpAnsibleClient::Copy.new # Copy |
|
|
33
|
-
opts = {
|
|
34
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
35
|
-
}
|
|
36
33
|
|
|
37
34
|
begin
|
|
38
35
|
#Copy content
|
|
39
|
-
result = api_instance.copy_content(copy
|
|
36
|
+
result = api_instance.copy_content(copy)
|
|
40
37
|
p result
|
|
41
38
|
rescue PulpAnsibleClient::ApiError => e
|
|
42
39
|
puts "Exception when calling AnsibleCopyApi->copy_content: #{e}"
|
|
@@ -49,7 +46,6 @@ end
|
|
|
49
46
|
Name | Type | Description | Notes
|
|
50
47
|
------------- | ------------- | ------------- | -------------
|
|
51
48
|
**copy** | [**Copy**](Copy.md)| |
|
|
52
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
53
49
|
|
|
54
50
|
### Return type
|
|
55
51
|
|
data/docs/AnsibleGitRemote.md
CHANGED
|
@@ -5,25 +5,25 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**url** | **String** | The URL of an external content source. |
|
|
8
|
-
**
|
|
8
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
9
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
10
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
9
11
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
|
10
|
-
**
|
|
11
|
-
**
|
|
12
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
|
13
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
12
14
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
15
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
16
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
17
|
+
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
18
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
13
20
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
14
|
-
**
|
|
21
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
|
15
22
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
16
|
-
**
|
|
23
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
17
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
18
|
-
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
19
|
-
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
|
20
25
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
21
|
-
**
|
|
22
|
-
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
23
|
-
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
24
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
25
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
26
|
-
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
26
|
+
**name** | **String** | A unique name for this remote. |
|
|
27
27
|
**metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
|
|
28
28
|
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
|
29
29
|
|
|
@@ -33,25 +33,25 @@ Name | Type | Description | Notes
|
|
|
33
33
|
require 'PulpAnsibleClient'
|
|
34
34
|
|
|
35
35
|
instance = PulpAnsibleClient::AnsibleGitRemote.new(url: null,
|
|
36
|
-
|
|
36
|
+
max_retries: null,
|
|
37
|
+
client_cert: null,
|
|
38
|
+
tls_validation: null,
|
|
37
39
|
client_key: null,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
proxy_username: null,
|
|
41
|
+
total_timeout: null,
|
|
40
42
|
connect_timeout: null,
|
|
43
|
+
proxy_password: null,
|
|
44
|
+
rate_limit: null,
|
|
45
|
+
password: null,
|
|
46
|
+
sock_read_timeout: null,
|
|
47
|
+
download_concurrency: null,
|
|
41
48
|
headers: null,
|
|
42
|
-
|
|
49
|
+
proxy_url: null,
|
|
43
50
|
ca_cert: null,
|
|
44
|
-
|
|
51
|
+
username: null,
|
|
45
52
|
sock_connect_timeout: null,
|
|
46
|
-
max_retries: null,
|
|
47
|
-
proxy_username: null,
|
|
48
53
|
pulp_labels: null,
|
|
49
|
-
|
|
50
|
-
proxy_password: null,
|
|
51
|
-
rate_limit: null,
|
|
52
|
-
client_cert: null,
|
|
53
|
-
tls_validation: null,
|
|
54
|
-
password: null,
|
|
54
|
+
name: null,
|
|
55
55
|
metadata_only: null,
|
|
56
56
|
git_ref: null)
|
|
57
57
|
```
|