pulp_ansible_client 0.20.11 → 0.21.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 +8 -8
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersion.md +3 -3
- data/docs/AnsibleCollectionVersionSignature.md +3 -1
- data/docs/AnsibleCollectionsApi.md +1 -1
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +20 -20
- data/docs/AnsibleRole.md +3 -3
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/ContentCollectionDeprecationsApi.md +1 -1
- data/docs/ContentCollectionMarksApi.md +1 -1
- data/docs/ContentCollectionSignaturesApi.md +8 -6
- data/docs/ContentCollectionVersionsApi.md +5 -5
- data/docs/ContentNamespacesApi.md +1 -1
- data/docs/ContentRolesApi.md +1 -1
- data/docs/DistributionsAnsibleApi.md +1 -1
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/PatchedansibleGitRemote.md +24 -24
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3Api.md +1 -1
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +1 -1
- data/docs/{ApiPluginAnsibleSearchCollectionVersionsApi.md → PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md} +17 -18
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +3 -4
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +1 -1
- data/docs/RemotesGitApi.md +1 -1
- data/docs/RemotesRoleApi.md +1 -1
- data/docs/RepositoriesAnsibleApi.md +1 -1
- data/docs/RepositoriesAnsibleVersionsApi.md +1 -1
- data/docs/TagResponse.md +3 -1
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +9 -10
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +5 -5
- 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 -26
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -2
- data/lib/pulp_ansible_client/configuration.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +12 -7
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +198 -198
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +101 -101
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +186 -186
- data/lib/pulp_ansible_client/models/tag_response.rb +13 -4
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +1 -1
- data/spec/api/content_collection_signatures_api_spec.rb +2 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- 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 -9
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_version_signature_spec.rb +6 -0
- 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 +19 -19
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- data/spec/models/tag_response_spec.rb +6 -0
- metadata +152 -152
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi
|
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
|
------------- | ------------- | -------------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi
|
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
|
------------- | ------------- | -------------
|
@@ -1,19 +1,19 @@
|
|
1
|
-
# PulpAnsibleClient::
|
1
|
+
# PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi
|
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
|
------------- | ------------- | -------------
|
7
|
-
[**list**](
|
8
|
-
[**rebuild**](
|
7
|
+
[**list**](PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/search/collection-versions/ |
|
8
|
+
[**rebuild**](PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md#rebuild) | **POST** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/search/collection-versions/ |
|
9
9
|
|
10
10
|
|
11
11
|
|
12
12
|
## list
|
13
13
|
|
14
|
-
> PaginatedCollectionVersionSearchListResponseList list(
|
14
|
+
> PaginatedCollectionVersionSearchListResponseList list(path, opts)
|
15
|
+
|
15
16
|
|
16
|
-
List cross repository collection version indexs
|
17
17
|
|
18
18
|
A viewset for cross-repo searches.
|
19
19
|
|
@@ -29,8 +29,8 @@ PulpAnsibleClient.configure do |config|
|
|
29
29
|
config.password = 'YOUR PASSWORD'
|
30
30
|
end
|
31
31
|
|
32
|
-
api_instance = PulpAnsibleClient::
|
33
|
-
|
32
|
+
api_instance = PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.new
|
33
|
+
path = 'path_example' # String |
|
34
34
|
opts = {
|
35
35
|
dependency: 'dependency_example', # String |
|
36
36
|
deprecated: true, # Boolean |
|
@@ -60,11 +60,10 @@ opts = {
|
|
60
60
|
}
|
61
61
|
|
62
62
|
begin
|
63
|
-
|
64
|
-
result = api_instance.list(ansible_cross_repository_collection_version_index_href, opts)
|
63
|
+
result = api_instance.list(path, opts)
|
65
64
|
p result
|
66
65
|
rescue PulpAnsibleClient::ApiError => e
|
67
|
-
puts "Exception when calling
|
66
|
+
puts "Exception when calling PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi->list: #{e}"
|
68
67
|
end
|
69
68
|
```
|
70
69
|
|
@@ -73,7 +72,7 @@ end
|
|
73
72
|
|
74
73
|
Name | Type | Description | Notes
|
75
74
|
------------- | ------------- | ------------- | -------------
|
76
|
-
**
|
75
|
+
**path** | **String**| |
|
77
76
|
**dependency** | **String**| | [optional]
|
78
77
|
**deprecated** | **Boolean**| | [optional]
|
79
78
|
**distribution** | [**Array<String>**](String.md)| Filter collectionversions that are in these distrubtion ids. | [optional]
|
@@ -116,7 +115,7 @@ Name | Type | Description | Notes
|
|
116
115
|
|
117
116
|
## rebuild
|
118
117
|
|
119
|
-
> CollectionVersionSearchListResponse rebuild(
|
118
|
+
> CollectionVersionSearchListResponse rebuild(path, collection_version_search_list)
|
120
119
|
|
121
120
|
|
122
121
|
|
@@ -134,15 +133,15 @@ PulpAnsibleClient.configure do |config|
|
|
134
133
|
config.password = 'YOUR PASSWORD'
|
135
134
|
end
|
136
135
|
|
137
|
-
api_instance = PulpAnsibleClient::
|
138
|
-
|
136
|
+
api_instance = PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.new
|
137
|
+
path = 'path_example' # String |
|
139
138
|
collection_version_search_list = PulpAnsibleClient::CollectionVersionSearchList.new # CollectionVersionSearchList |
|
140
139
|
|
141
140
|
begin
|
142
|
-
result = api_instance.rebuild(
|
141
|
+
result = api_instance.rebuild(path, collection_version_search_list)
|
143
142
|
p result
|
144
143
|
rescue PulpAnsibleClient::ApiError => e
|
145
|
-
puts "Exception when calling
|
144
|
+
puts "Exception when calling PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi->rebuild: #{e}"
|
146
145
|
end
|
147
146
|
```
|
148
147
|
|
@@ -151,7 +150,7 @@ end
|
|
151
150
|
|
152
151
|
Name | Type | Description | Notes
|
153
152
|
------------- | ------------- | ------------- | -------------
|
154
|
-
**
|
153
|
+
**path** | **String**| |
|
155
154
|
**collection_version_search_list** | [**CollectionVersionSearchList**](CollectionVersionSearchList.md)| |
|
156
155
|
|
157
156
|
### Return type
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi
|
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
|
------------- | ------------- | -------------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi
|
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
|
------------- | ------------- | -------------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi
|
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
|
------------- | ------------- | -------------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi
|
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
|
------------- | ------------- | -------------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi
|
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
|
------------- | ------------- | -------------
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi
|
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
|
------------- | ------------- | -------------
|
7
|
-
[**list**](PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md#list) | **GET** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/search/collection-versions/ |
|
7
|
+
[**list**](PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md#list) | **GET** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/search/collection-versions/ |
|
8
8
|
[**rebuild**](PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md#rebuild) | **POST** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/search/collection-versions/ |
|
9
9
|
|
10
10
|
|
@@ -13,7 +13,7 @@ Method | HTTP request | Description
|
|
13
13
|
|
14
14
|
> PaginatedCollectionVersionSearchListResponseList list(opts)
|
15
15
|
|
16
|
-
|
16
|
+
|
17
17
|
|
18
18
|
A viewset for cross-repo searches.
|
19
19
|
|
@@ -59,7 +59,6 @@ opts = {
|
|
59
59
|
}
|
60
60
|
|
61
61
|
begin
|
62
|
-
#List cross repository collection version indexs
|
63
62
|
result = api_instance.list(opts)
|
64
63
|
p result
|
65
64
|
rescue PulpAnsibleClient::ApiError => e
|
data/docs/PulpAnsibleTagsApi.md
CHANGED
data/docs/RemotesGitApi.md
CHANGED
data/docs/RemotesRoleApi.md
CHANGED
data/docs/TagResponse.md
CHANGED
@@ -5,13 +5,15 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**name** | **String** | | [optional] [readonly]
|
8
|
+
**count** | **Integer** | | [optional] [readonly]
|
8
9
|
|
9
10
|
## Code Sample
|
10
11
|
|
11
12
|
```ruby
|
12
13
|
require 'PulpAnsibleClient'
|
13
14
|
|
14
|
-
instance = PulpAnsibleClient::TagResponse.new(name: null
|
15
|
+
instance = PulpAnsibleClient::TagResponse.new(name: null,
|
16
|
+
count: null)
|
15
17
|
```
|
16
18
|
|
17
19
|
|
data/docs/VersionsApi.md
CHANGED
@@ -21,31 +21,29 @@ module PulpAnsibleClient
|
|
21
21
|
end
|
22
22
|
# Create a collection version signature
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
|
-
# @param file [File] An uploaded file that may be turned into the artifact of the content unit.
|
25
24
|
# @param signed_collection [String] The content this signature is pointing to.
|
26
25
|
# @param [Hash] opts the optional parameters
|
27
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
27
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
28
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
28
29
|
# @return [AsyncOperationResponse]
|
29
|
-
def create(
|
30
|
-
data, _status_code, _headers = create_with_http_info(
|
30
|
+
def create(signed_collection, opts = {})
|
31
|
+
data, _status_code, _headers = create_with_http_info(signed_collection, opts)
|
31
32
|
data
|
32
33
|
end
|
33
34
|
|
34
35
|
# Create a collection version signature
|
35
36
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
36
|
-
# @param file [File] An uploaded file that may be turned into the artifact of the content unit.
|
37
37
|
# @param signed_collection [String] The content this signature is pointing to.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
40
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
41
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
40
42
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
41
|
-
def create_with_http_info(
|
43
|
+
def create_with_http_info(signed_collection, opts = {})
|
42
44
|
if @api_client.config.debugging
|
43
45
|
@api_client.config.logger.debug 'Calling API: ContentCollectionSignaturesApi.create ...'
|
44
46
|
end
|
45
|
-
# verify the required parameter 'file' is set
|
46
|
-
if @api_client.config.client_side_validation && file.nil?
|
47
|
-
fail ArgumentError, "Missing the required parameter 'file' when calling ContentCollectionSignaturesApi.create"
|
48
|
-
end
|
49
47
|
# verify the required parameter 'signed_collection' is set
|
50
48
|
if @api_client.config.client_side_validation && signed_collection.nil?
|
51
49
|
fail ArgumentError, "Missing the required parameter 'signed_collection' when calling ContentCollectionSignaturesApi.create"
|
@@ -65,9 +63,10 @@ module PulpAnsibleClient
|
|
65
63
|
|
66
64
|
# form parameters
|
67
65
|
form_params = opts[:form_params] || {}
|
68
|
-
form_params['file'] = file
|
69
66
|
form_params['signed_collection'] = signed_collection
|
70
67
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
68
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
69
|
+
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
71
70
|
|
72
71
|
# http body (model)
|
73
72
|
post_body = opts[:body]
|
@@ -22,10 +22,10 @@ module PulpAnsibleClient
|
|
22
22
|
# Create a collection version
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the
|
26
|
-
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
25
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
27
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
28
27
|
# @option opts [String] :artifact Artifact file representing the physical content
|
28
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
29
29
|
# @option opts [String] :expected_name The name of the collection.
|
30
30
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
31
31
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -38,10 +38,10 @@ module PulpAnsibleClient
|
|
38
38
|
# Create a collection version
|
39
39
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the
|
42
|
-
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
41
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
43
42
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
44
43
|
# @option opts [String] :artifact Artifact file representing the physical content
|
44
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
45
45
|
# @option opts [String] :expected_name The name of the collection.
|
46
46
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
47
47
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -90,9 +90,9 @@ module PulpAnsibleClient
|
|
90
90
|
# form parameters
|
91
91
|
form_params = opts[:form_params] || {}
|
92
92
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
93
|
-
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
94
93
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
95
94
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
95
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
96
96
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
97
97
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
98
98
|
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|