pulp_ansible_client 0.21.18 → 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 +2 -2
- data/docs/AnsibleCollectionVersionResponse.md +9 -9
- data/docs/AnsibleCollectionsApi.md +65 -21
- data/docs/AnsibleCopyApi.md +3 -7
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRoleResponse.md +4 -4
- 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 +3 -9
- 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 +30 -30
- 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 +3 -12
- 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 +2 -17
- 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 +2 -17
- 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_ansible_namespace_metadata.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +230 -230
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +151 -151
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +15 -15
- 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_ansible_namespace_metadata.rb +3 -3
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +220 -220
- 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 +1 -4
- 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 +2 -2
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_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
data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb
CHANGED
|
@@ -24,7 +24,6 @@ module PulpAnsibleClient
|
|
|
24
24
|
# @param path [String]
|
|
25
25
|
# @param name [String] Required named, only accepts lowercase, numbers and underscores.
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
28
27
|
# @option opts [String] :company Optional namespace company owner.
|
|
29
28
|
# @option opts [String] :email Optional namespace contact email.
|
|
30
29
|
# @option opts [String] :description Optional short description.
|
|
@@ -42,7 +41,6 @@ module PulpAnsibleClient
|
|
|
42
41
|
# @param path [String]
|
|
43
42
|
# @param name [String] Required named, only accepts lowercase, numbers and underscores.
|
|
44
43
|
# @param [Hash] opts the optional parameters
|
|
45
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
46
44
|
# @option opts [String] :company Optional namespace company owner.
|
|
47
45
|
# @option opts [String] :email Optional namespace contact email.
|
|
48
46
|
# @option opts [String] :description Optional short description.
|
|
@@ -74,7 +72,7 @@ module PulpAnsibleClient
|
|
|
74
72
|
fail ArgumentError, 'invalid value for "name" when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.create, the character length must be great than or equal to 3.'
|
|
75
73
|
end
|
|
76
74
|
|
|
77
|
-
pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
75
|
+
pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
|
|
78
76
|
if @api_client.config.client_side_validation && name !~ pattern
|
|
79
77
|
fail ArgumentError, "invalid value for 'name' when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.create, must conform to the pattern #{pattern}."
|
|
80
78
|
end
|
|
@@ -103,7 +101,6 @@ module PulpAnsibleClient
|
|
|
103
101
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
104
102
|
# HTTP header 'Content-Type'
|
|
105
103
|
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
|
|
106
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
107
104
|
|
|
108
105
|
# form parameters
|
|
109
106
|
form_params = opts[:form_params] || {}
|
|
@@ -145,7 +142,6 @@ module PulpAnsibleClient
|
|
|
145
142
|
# @param name [String]
|
|
146
143
|
# @param path [String]
|
|
147
144
|
# @param [Hash] opts the optional parameters
|
|
148
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
149
145
|
# @return [AsyncOperationResponse]
|
|
150
146
|
def delete(distro_base_path, name, path, opts = {})
|
|
151
147
|
data, _status_code, _headers = delete_with_http_info(distro_base_path, name, path, opts)
|
|
@@ -157,7 +153,6 @@ module PulpAnsibleClient
|
|
|
157
153
|
# @param name [String]
|
|
158
154
|
# @param path [String]
|
|
159
155
|
# @param [Hash] opts the optional parameters
|
|
160
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
161
156
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
162
157
|
def delete_with_http_info(distro_base_path, name, path, opts = {})
|
|
163
158
|
if @api_client.config.debugging
|
|
@@ -185,7 +180,6 @@ module PulpAnsibleClient
|
|
|
185
180
|
header_params = opts[:header_params] || {}
|
|
186
181
|
# HTTP header 'Accept' (if needed)
|
|
187
182
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
188
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
189
183
|
|
|
190
184
|
# form parameters
|
|
191
185
|
form_params = opts[:form_params] || {}
|
|
@@ -219,7 +213,6 @@ module PulpAnsibleClient
|
|
|
219
213
|
# @param distro_base_path [String]
|
|
220
214
|
# @param path [String]
|
|
221
215
|
# @param [Hash] opts the optional parameters
|
|
222
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
223
216
|
# @option opts [String] :company Filter results where company matches value
|
|
224
217
|
# @option opts [String] :company__contains Filter results where company contains value
|
|
225
218
|
# @option opts [String] :company__icontains Filter results where company contains value
|
|
@@ -258,7 +251,6 @@ module PulpAnsibleClient
|
|
|
258
251
|
# @param distro_base_path [String]
|
|
259
252
|
# @param path [String]
|
|
260
253
|
# @param [Hash] opts the optional parameters
|
|
261
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
262
254
|
# @option opts [String] :company Filter results where company matches value
|
|
263
255
|
# @option opts [String] :company__contains Filter results where company contains value
|
|
264
256
|
# @option opts [String] :company__icontains Filter results where company contains value
|
|
@@ -342,7 +334,6 @@ module PulpAnsibleClient
|
|
|
342
334
|
header_params = opts[:header_params] || {}
|
|
343
335
|
# HTTP header 'Accept' (if needed)
|
|
344
336
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
345
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
346
337
|
|
|
347
338
|
# form parameters
|
|
348
339
|
form_params = opts[:form_params] || {}
|
|
@@ -377,7 +368,6 @@ module PulpAnsibleClient
|
|
|
377
368
|
# @param name [String]
|
|
378
369
|
# @param path [String]
|
|
379
370
|
# @param [Hash] opts the optional parameters
|
|
380
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
381
371
|
# @option opts [String] :name Required named, only accepts lowercase, numbers and underscores.
|
|
382
372
|
# @option opts [String] :company Optional namespace company owner.
|
|
383
373
|
# @option opts [String] :email Optional namespace contact email.
|
|
@@ -396,7 +386,6 @@ module PulpAnsibleClient
|
|
|
396
386
|
# @param name [String]
|
|
397
387
|
# @param path [String]
|
|
398
388
|
# @param [Hash] opts the optional parameters
|
|
399
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
400
389
|
# @option opts [String] :name Required named, only accepts lowercase, numbers and underscores.
|
|
401
390
|
# @option opts [String] :company Optional namespace company owner.
|
|
402
391
|
# @option opts [String] :email Optional namespace contact email.
|
|
@@ -429,7 +418,7 @@ module PulpAnsibleClient
|
|
|
429
418
|
fail ArgumentError, 'invalid value for "opts[:"name"]" when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.partial_update, the character length must be great than or equal to 3.'
|
|
430
419
|
end
|
|
431
420
|
|
|
432
|
-
pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
421
|
+
pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
|
|
433
422
|
if @api_client.config.client_side_validation && !opts[:'name'].nil? && opts[:'name'] !~ pattern
|
|
434
423
|
fail ArgumentError, "invalid value for 'opts[:\"name\"]' when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.partial_update, must conform to the pattern #{pattern}."
|
|
435
424
|
end
|
|
@@ -458,7 +447,6 @@ module PulpAnsibleClient
|
|
|
458
447
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
459
448
|
# HTTP header 'Content-Type'
|
|
460
449
|
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
|
|
461
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
462
450
|
|
|
463
451
|
# form parameters
|
|
464
452
|
form_params = opts[:form_params] || {}
|
|
@@ -500,7 +488,6 @@ module PulpAnsibleClient
|
|
|
500
488
|
# @param name [String]
|
|
501
489
|
# @param path [String]
|
|
502
490
|
# @param [Hash] opts the optional parameters
|
|
503
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
504
491
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
505
492
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
506
493
|
# @return [AnsibleAnsibleNamespaceMetadataResponse]
|
|
@@ -514,7 +501,6 @@ module PulpAnsibleClient
|
|
|
514
501
|
# @param name [String]
|
|
515
502
|
# @param path [String]
|
|
516
503
|
# @param [Hash] opts the optional parameters
|
|
517
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
518
504
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
519
505
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
520
506
|
# @return [Array<(AnsibleAnsibleNamespaceMetadataResponse, Integer, Hash)>] AnsibleAnsibleNamespaceMetadataResponse data, response status code and response headers
|
|
@@ -546,7 +532,6 @@ module PulpAnsibleClient
|
|
|
546
532
|
header_params = opts[:header_params] || {}
|
|
547
533
|
# HTTP header 'Accept' (if needed)
|
|
548
534
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
549
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
550
535
|
|
|
551
536
|
# form parameters
|
|
552
537
|
form_params = opts[:form_params] || {}
|
|
@@ -13,17 +13,15 @@ OpenAPI Generator version: 4.3.1
|
|
|
13
13
|
require 'cgi'
|
|
14
14
|
|
|
15
15
|
module PulpAnsibleClient
|
|
16
|
-
class
|
|
16
|
+
class PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi
|
|
17
17
|
attr_accessor :api_client
|
|
18
18
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
-
# List cross repository collection version indexs
|
|
23
22
|
# A viewset for cross-repo searches.
|
|
24
|
-
# @param
|
|
23
|
+
# @param path [String]
|
|
25
24
|
# @param [Hash] opts the optional parameters
|
|
26
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
25
|
# @option opts [String] :dependency
|
|
28
26
|
# @option opts [Boolean] :deprecated
|
|
29
27
|
# @option opts [Array<String>] :distribution Filter collectionversions that are in these distrubtion ids.
|
|
@@ -50,16 +48,14 @@ module PulpAnsibleClient
|
|
|
50
48
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
51
49
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
52
50
|
# @return [PaginatedCollectionVersionSearchListResponseList]
|
|
53
|
-
def list(
|
|
54
|
-
data, _status_code, _headers = list_with_http_info(
|
|
51
|
+
def list(path, opts = {})
|
|
52
|
+
data, _status_code, _headers = list_with_http_info(path, opts)
|
|
55
53
|
data
|
|
56
54
|
end
|
|
57
55
|
|
|
58
|
-
# List cross repository collection version indexs
|
|
59
56
|
# A viewset for cross-repo searches.
|
|
60
|
-
# @param
|
|
57
|
+
# @param path [String]
|
|
61
58
|
# @param [Hash] opts the optional parameters
|
|
62
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
63
59
|
# @option opts [String] :dependency
|
|
64
60
|
# @option opts [Boolean] :deprecated
|
|
65
61
|
# @option opts [Array<String>] :distribution Filter collectionversions that are in these distrubtion ids.
|
|
@@ -86,20 +82,20 @@ module PulpAnsibleClient
|
|
|
86
82
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
87
83
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
88
84
|
# @return [Array<(PaginatedCollectionVersionSearchListResponseList, Integer, Hash)>] PaginatedCollectionVersionSearchListResponseList data, response status code and response headers
|
|
89
|
-
def list_with_http_info(
|
|
85
|
+
def list_with_http_info(path, opts = {})
|
|
90
86
|
if @api_client.config.debugging
|
|
91
|
-
@api_client.config.logger.debug 'Calling API:
|
|
87
|
+
@api_client.config.logger.debug 'Calling API: PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.list ...'
|
|
92
88
|
end
|
|
93
|
-
# verify the required parameter '
|
|
94
|
-
if @api_client.config.client_side_validation &&
|
|
95
|
-
fail ArgumentError, "Missing the required parameter '
|
|
89
|
+
# verify the required parameter 'path' is set
|
|
90
|
+
if @api_client.config.client_side_validation && path.nil?
|
|
91
|
+
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.list"
|
|
96
92
|
end
|
|
97
93
|
allowable_values = ["-name", "-namespace", "-pulp_created", "-version", "name", "namespace", "pulp_created", "version"]
|
|
98
94
|
if @api_client.config.client_side_validation && opts[:'order_by'] && !opts[:'order_by'].all? { |item| allowable_values.include?(item) }
|
|
99
95
|
fail ArgumentError, "invalid value for \"order_by\", must include one of #{allowable_values}"
|
|
100
96
|
end
|
|
101
97
|
# resource path
|
|
102
|
-
local_var_path = '{
|
|
98
|
+
local_var_path = '/pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/search/collection-versions/'.sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
|
|
103
99
|
|
|
104
100
|
# query parameters
|
|
105
101
|
query_params = opts[:query_params] || {}
|
|
@@ -133,7 +129,6 @@ module PulpAnsibleClient
|
|
|
133
129
|
header_params = opts[:header_params] || {}
|
|
134
130
|
# HTTP header 'Accept' (if needed)
|
|
135
131
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
136
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
137
132
|
|
|
138
133
|
# form parameters
|
|
139
134
|
form_params = opts[:form_params] || {}
|
|
@@ -158,42 +153,40 @@ module PulpAnsibleClient
|
|
|
158
153
|
|
|
159
154
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
160
155
|
if @api_client.config.debugging
|
|
161
|
-
@api_client.config.logger.debug "API called:
|
|
156
|
+
@api_client.config.logger.debug "API called: PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
162
157
|
end
|
|
163
158
|
return data, status_code, headers
|
|
164
159
|
end
|
|
165
160
|
|
|
166
161
|
# A viewset for cross-repo searches.
|
|
167
|
-
# @param
|
|
162
|
+
# @param path [String]
|
|
168
163
|
# @param collection_version_search_list [CollectionVersionSearchList]
|
|
169
164
|
# @param [Hash] opts the optional parameters
|
|
170
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
171
165
|
# @return [CollectionVersionSearchListResponse]
|
|
172
|
-
def rebuild(
|
|
173
|
-
data, _status_code, _headers = rebuild_with_http_info(
|
|
166
|
+
def rebuild(path, collection_version_search_list, opts = {})
|
|
167
|
+
data, _status_code, _headers = rebuild_with_http_info(path, collection_version_search_list, opts)
|
|
174
168
|
data
|
|
175
169
|
end
|
|
176
170
|
|
|
177
171
|
# A viewset for cross-repo searches.
|
|
178
|
-
# @param
|
|
172
|
+
# @param path [String]
|
|
179
173
|
# @param collection_version_search_list [CollectionVersionSearchList]
|
|
180
174
|
# @param [Hash] opts the optional parameters
|
|
181
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
182
175
|
# @return [Array<(CollectionVersionSearchListResponse, Integer, Hash)>] CollectionVersionSearchListResponse data, response status code and response headers
|
|
183
|
-
def rebuild_with_http_info(
|
|
176
|
+
def rebuild_with_http_info(path, collection_version_search_list, opts = {})
|
|
184
177
|
if @api_client.config.debugging
|
|
185
|
-
@api_client.config.logger.debug 'Calling API:
|
|
178
|
+
@api_client.config.logger.debug 'Calling API: PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.rebuild ...'
|
|
186
179
|
end
|
|
187
|
-
# verify the required parameter '
|
|
188
|
-
if @api_client.config.client_side_validation &&
|
|
189
|
-
fail ArgumentError, "Missing the required parameter '
|
|
180
|
+
# verify the required parameter 'path' is set
|
|
181
|
+
if @api_client.config.client_side_validation && path.nil?
|
|
182
|
+
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.rebuild"
|
|
190
183
|
end
|
|
191
184
|
# verify the required parameter 'collection_version_search_list' is set
|
|
192
185
|
if @api_client.config.client_side_validation && collection_version_search_list.nil?
|
|
193
|
-
fail ArgumentError, "Missing the required parameter 'collection_version_search_list' when calling
|
|
186
|
+
fail ArgumentError, "Missing the required parameter 'collection_version_search_list' when calling PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.rebuild"
|
|
194
187
|
end
|
|
195
188
|
# resource path
|
|
196
|
-
local_var_path = '{
|
|
189
|
+
local_var_path = '/pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/search/collection-versions/'.sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
|
|
197
190
|
|
|
198
191
|
# query parameters
|
|
199
192
|
query_params = opts[:query_params] || {}
|
|
@@ -204,7 +197,6 @@ module PulpAnsibleClient
|
|
|
204
197
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
205
198
|
# HTTP header 'Content-Type'
|
|
206
199
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
207
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
208
200
|
|
|
209
201
|
# form parameters
|
|
210
202
|
form_params = opts[:form_params] || {}
|
|
@@ -229,7 +221,7 @@ module PulpAnsibleClient
|
|
|
229
221
|
|
|
230
222
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
231
223
|
if @api_client.config.debugging
|
|
232
|
-
@api_client.config.logger.debug "API called:
|
|
224
|
+
@api_client.config.logger.debug "API called: PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi#rebuild\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
233
225
|
end
|
|
234
226
|
return data, status_code, headers
|
|
235
227
|
end
|
|
@@ -24,7 +24,6 @@ module PulpAnsibleClient
|
|
|
24
24
|
# @param path [String]
|
|
25
25
|
# @param file [File] The Collection tarball.
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
28
27
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
|
29
28
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
|
30
29
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
|
@@ -40,7 +39,6 @@ module PulpAnsibleClient
|
|
|
40
39
|
# @param path [String]
|
|
41
40
|
# @param file [File] The Collection tarball.
|
|
42
41
|
# @param [Hash] opts the optional parameters
|
|
43
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
44
42
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
|
45
43
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
|
46
44
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
|
@@ -86,7 +84,6 @@ module PulpAnsibleClient
|
|
|
86
84
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
87
85
|
# HTTP header 'Content-Type'
|
|
88
86
|
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
|
|
89
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
90
87
|
|
|
91
88
|
# form parameters
|
|
92
89
|
form_params = opts[:form_params] || {}
|
|
@@ -127,7 +124,6 @@ module PulpAnsibleClient
|
|
|
127
124
|
# @param path [String]
|
|
128
125
|
# @param file [File] The Collection tarball.
|
|
129
126
|
# @param [Hash] opts the optional parameters
|
|
130
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
131
127
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
|
132
128
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
|
133
129
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
|
@@ -144,7 +140,6 @@ module PulpAnsibleClient
|
|
|
144
140
|
# @param path [String]
|
|
145
141
|
# @param file [File] The Collection tarball.
|
|
146
142
|
# @param [Hash] opts the optional parameters
|
|
147
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
148
143
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
|
149
144
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
|
150
145
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
|
@@ -194,7 +189,6 @@ module PulpAnsibleClient
|
|
|
194
189
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
195
190
|
# HTTP header 'Content-Type'
|
|
196
191
|
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
|
|
197
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
198
192
|
|
|
199
193
|
# form parameters
|
|
200
194
|
form_params = opts[:form_params] || {}
|
|
@@ -233,7 +227,6 @@ module PulpAnsibleClient
|
|
|
233
227
|
# Create an artifact and trigger an asynchronous task to create Collection content from it.
|
|
234
228
|
# @param file [File] The Collection tarball.
|
|
235
229
|
# @param [Hash] opts the optional parameters
|
|
236
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
237
230
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
|
238
231
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
|
239
232
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
|
@@ -248,7 +241,6 @@ module PulpAnsibleClient
|
|
|
248
241
|
# Create an artifact and trigger an asynchronous task to create Collection content from it.
|
|
249
242
|
# @param file [File] The Collection tarball.
|
|
250
243
|
# @param [Hash] opts the optional parameters
|
|
251
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
252
244
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
|
253
245
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
|
254
246
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
|
@@ -290,7 +282,6 @@ module PulpAnsibleClient
|
|
|
290
282
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
291
283
|
# HTTP header 'Content-Type'
|
|
292
284
|
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
|
|
293
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
294
285
|
|
|
295
286
|
# form parameters
|
|
296
287
|
form_params = opts[:form_params] || {}
|
|
@@ -330,7 +321,6 @@ module PulpAnsibleClient
|
|
|
330
321
|
# @param distro_base_path [String]
|
|
331
322
|
# @param file [File] The Collection tarball.
|
|
332
323
|
# @param [Hash] opts the optional parameters
|
|
333
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
334
324
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
|
335
325
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
|
336
326
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
|
@@ -346,7 +336,6 @@ module PulpAnsibleClient
|
|
|
346
336
|
# @param distro_base_path [String]
|
|
347
337
|
# @param file [File] The Collection tarball.
|
|
348
338
|
# @param [Hash] opts the optional parameters
|
|
349
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
350
339
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
|
351
340
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
|
352
341
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
|
@@ -392,7 +381,6 @@ module PulpAnsibleClient
|
|
|
392
381
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
393
382
|
# HTTP header 'Content-Type'
|
|
394
383
|
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
|
|
395
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
396
384
|
|
|
397
385
|
# form parameters
|
|
398
386
|
form_params = opts[:form_params] || {}
|
|
@@ -21,9 +21,6 @@ module PulpAnsibleClient
|
|
|
21
21
|
end
|
|
22
22
|
# Return a response to the \"GET\" action.
|
|
23
23
|
# @param [Hash] opts the optional parameters
|
|
24
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
25
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
26
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
27
24
|
# @return [nil]
|
|
28
25
|
def get(opts = {})
|
|
29
26
|
get_with_http_info(opts)
|
|
@@ -32,9 +29,6 @@ module PulpAnsibleClient
|
|
|
32
29
|
|
|
33
30
|
# Return a response to the \"GET\" action.
|
|
34
31
|
# @param [Hash] opts the optional parameters
|
|
35
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
36
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
37
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
38
32
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
39
33
|
def get_with_http_info(opts = {})
|
|
40
34
|
if @api_client.config.debugging
|
|
@@ -45,12 +39,9 @@ module PulpAnsibleClient
|
|
|
45
39
|
|
|
46
40
|
# query parameters
|
|
47
41
|
query_params = opts[:query_params] || {}
|
|
48
|
-
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
49
|
-
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
50
42
|
|
|
51
43
|
# header parameters
|
|
52
44
|
header_params = opts[:header_params] || {}
|
|
53
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
54
45
|
|
|
55
46
|
# form parameters
|
|
56
47
|
form_params = opts[:form_params] || {}
|
|
@@ -21,9 +21,6 @@ module PulpAnsibleClient
|
|
|
21
21
|
end
|
|
22
22
|
# Legacy v3 endpoint.
|
|
23
23
|
# @param [Hash] opts the optional parameters
|
|
24
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
25
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
26
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
27
24
|
# @return [RepoMetadataResponse]
|
|
28
25
|
def read(opts = {})
|
|
29
26
|
data, _status_code, _headers = read_with_http_info(opts)
|
|
@@ -32,9 +29,6 @@ module PulpAnsibleClient
|
|
|
32
29
|
|
|
33
30
|
# Legacy v3 endpoint.
|
|
34
31
|
# @param [Hash] opts the optional parameters
|
|
35
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
36
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
37
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
38
32
|
# @return [Array<(RepoMetadataResponse, Integer, Hash)>] RepoMetadataResponse data, response status code and response headers
|
|
39
33
|
def read_with_http_info(opts = {})
|
|
40
34
|
if @api_client.config.debugging
|
|
@@ -45,14 +39,11 @@ module PulpAnsibleClient
|
|
|
45
39
|
|
|
46
40
|
# query parameters
|
|
47
41
|
query_params = opts[:query_params] || {}
|
|
48
|
-
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
49
|
-
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
50
42
|
|
|
51
43
|
# header parameters
|
|
52
44
|
header_params = opts[:header_params] || {}
|
|
53
45
|
# HTTP header 'Accept' (if needed)
|
|
54
46
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
55
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
56
47
|
|
|
57
48
|
# form parameters
|
|
58
49
|
form_params = opts[:form_params] || {}
|
|
@@ -23,7 +23,6 @@ module PulpAnsibleClient
|
|
|
23
23
|
# @param filename [String]
|
|
24
24
|
# @param path [String]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
26
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
28
27
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
29
28
|
# @return [nil]
|
|
@@ -36,7 +35,6 @@ module PulpAnsibleClient
|
|
|
36
35
|
# @param filename [String]
|
|
37
36
|
# @param path [String]
|
|
38
37
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
38
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
41
39
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
42
40
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -62,7 +60,6 @@ module PulpAnsibleClient
|
|
|
62
60
|
|
|
63
61
|
# header parameters
|
|
64
62
|
header_params = opts[:header_params] || {}
|
|
65
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
66
63
|
|
|
67
64
|
# form parameters
|
|
68
65
|
form_params = opts[:form_params] || {}
|
|
@@ -21,9 +21,6 @@ module PulpAnsibleClient
|
|
|
21
21
|
end
|
|
22
22
|
# Legacy v3 endpoint.
|
|
23
23
|
# @param [Hash] opts the optional parameters
|
|
24
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
25
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
26
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
27
24
|
# @return [Array<UnpaginatedCollectionVersionResponse>]
|
|
28
25
|
def list(opts = {})
|
|
29
26
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
@@ -32,9 +29,6 @@ module PulpAnsibleClient
|
|
|
32
29
|
|
|
33
30
|
# Legacy v3 endpoint.
|
|
34
31
|
# @param [Hash] opts the optional parameters
|
|
35
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
36
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
37
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
38
32
|
# @return [Array<(Array<UnpaginatedCollectionVersionResponse>, Integer, Hash)>] Array<UnpaginatedCollectionVersionResponse> data, response status code and response headers
|
|
39
33
|
def list_with_http_info(opts = {})
|
|
40
34
|
if @api_client.config.debugging
|
|
@@ -45,14 +39,11 @@ module PulpAnsibleClient
|
|
|
45
39
|
|
|
46
40
|
# query parameters
|
|
47
41
|
query_params = opts[:query_params] || {}
|
|
48
|
-
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
49
|
-
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
50
42
|
|
|
51
43
|
# header parameters
|
|
52
44
|
header_params = opts[:header_params] || {}
|
|
53
45
|
# HTTP header 'Accept' (if needed)
|
|
54
46
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
55
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
56
47
|
|
|
57
48
|
# form parameters
|
|
58
49
|
form_params = opts[:form_params] || {}
|
|
@@ -21,7 +21,6 @@ module PulpAnsibleClient
|
|
|
21
21
|
end
|
|
22
22
|
# Legacy v3 endpoint.
|
|
23
23
|
# @param [Hash] opts the optional parameters
|
|
24
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
25
24
|
# @option opts [Boolean] :deprecated
|
|
26
25
|
# @option opts [String] :name
|
|
27
26
|
# @option opts [String] :namespace
|
|
@@ -39,7 +38,6 @@ module PulpAnsibleClient
|
|
|
39
38
|
|
|
40
39
|
# Legacy v3 endpoint.
|
|
41
40
|
# @param [Hash] opts the optional parameters
|
|
42
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
43
41
|
# @option opts [Boolean] :deprecated
|
|
44
42
|
# @option opts [String] :name
|
|
45
43
|
# @option opts [String] :namespace
|
|
@@ -77,7 +75,6 @@ module PulpAnsibleClient
|
|
|
77
75
|
header_params = opts[:header_params] || {}
|
|
78
76
|
# HTTP header 'Accept' (if needed)
|
|
79
77
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
80
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
81
78
|
|
|
82
79
|
# form parameters
|
|
83
80
|
form_params = opts[:form_params] || {}
|
|
@@ -23,7 +23,6 @@ module PulpAnsibleClient
|
|
|
23
23
|
# @param name [String]
|
|
24
24
|
# @param namespace [String]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
26
|
# @return [AsyncOperationResponse]
|
|
28
27
|
def delete(name, namespace, opts = {})
|
|
29
28
|
data, _status_code, _headers = delete_with_http_info(name, namespace, opts)
|
|
@@ -34,7 +33,6 @@ module PulpAnsibleClient
|
|
|
34
33
|
# @param name [String]
|
|
35
34
|
# @param namespace [String]
|
|
36
35
|
# @param [Hash] opts the optional parameters
|
|
37
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
39
37
|
def delete_with_http_info(name, namespace, opts = {})
|
|
40
38
|
if @api_client.config.debugging
|
|
@@ -58,7 +56,6 @@ module PulpAnsibleClient
|
|
|
58
56
|
header_params = opts[:header_params] || {}
|
|
59
57
|
# HTTP header 'Accept' (if needed)
|
|
60
58
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
61
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
62
59
|
|
|
63
60
|
# form parameters
|
|
64
61
|
form_params = opts[:form_params] || {}
|
|
@@ -90,7 +87,6 @@ module PulpAnsibleClient
|
|
|
90
87
|
|
|
91
88
|
# Legacy v3 endpoint.
|
|
92
89
|
# @param [Hash] opts the optional parameters
|
|
93
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
94
90
|
# @option opts [Boolean] :deprecated
|
|
95
91
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
96
92
|
# @option opts [String] :name
|
|
@@ -110,7 +106,6 @@ module PulpAnsibleClient
|
|
|
110
106
|
|
|
111
107
|
# Legacy v3 endpoint.
|
|
112
108
|
# @param [Hash] opts the optional parameters
|
|
113
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
114
109
|
# @option opts [Boolean] :deprecated
|
|
115
110
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
116
111
|
# @option opts [String] :name
|
|
@@ -152,7 +147,6 @@ module PulpAnsibleClient
|
|
|
152
147
|
header_params = opts[:header_params] || {}
|
|
153
148
|
# HTTP header 'Accept' (if needed)
|
|
154
149
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
155
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
156
150
|
|
|
157
151
|
# form parameters
|
|
158
152
|
form_params = opts[:form_params] || {}
|
|
@@ -186,7 +180,6 @@ module PulpAnsibleClient
|
|
|
186
180
|
# @param name [String]
|
|
187
181
|
# @param namespace [String]
|
|
188
182
|
# @param [Hash] opts the optional parameters
|
|
189
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
190
183
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
191
184
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
192
185
|
# @return [CollectionResponse]
|
|
@@ -199,7 +192,6 @@ module PulpAnsibleClient
|
|
|
199
192
|
# @param name [String]
|
|
200
193
|
# @param namespace [String]
|
|
201
194
|
# @param [Hash] opts the optional parameters
|
|
202
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
203
195
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
204
196
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
205
197
|
# @return [Array<(CollectionResponse, Integer, Hash)>] CollectionResponse data, response status code and response headers
|
|
@@ -227,7 +219,6 @@ module PulpAnsibleClient
|
|
|
227
219
|
header_params = opts[:header_params] || {}
|
|
228
220
|
# HTTP header 'Accept' (if needed)
|
|
229
221
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
230
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
231
222
|
|
|
232
223
|
# form parameters
|
|
233
224
|
form_params = opts[:form_params] || {}
|
|
@@ -262,7 +253,6 @@ module PulpAnsibleClient
|
|
|
262
253
|
# @param namespace [String]
|
|
263
254
|
# @param patched_collection [PatchedCollection]
|
|
264
255
|
# @param [Hash] opts the optional parameters
|
|
265
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
266
256
|
# @return [AsyncOperationResponse]
|
|
267
257
|
def update(name, namespace, patched_collection, opts = {})
|
|
268
258
|
data, _status_code, _headers = update_with_http_info(name, namespace, patched_collection, opts)
|
|
@@ -274,7 +264,6 @@ module PulpAnsibleClient
|
|
|
274
264
|
# @param namespace [String]
|
|
275
265
|
# @param patched_collection [PatchedCollection]
|
|
276
266
|
# @param [Hash] opts the optional parameters
|
|
277
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
278
267
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
279
268
|
def update_with_http_info(name, namespace, patched_collection, opts = {})
|
|
280
269
|
if @api_client.config.debugging
|
|
@@ -304,7 +293,6 @@ module PulpAnsibleClient
|
|
|
304
293
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
305
294
|
# HTTP header 'Content-Type'
|
|
306
295
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
307
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
308
296
|
|
|
309
297
|
# form parameters
|
|
310
298
|
form_params = opts[:form_params] || {}
|