pulp_cookbook_client 0.1.0b9 → 0.1.0b10.dev1674790537
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.
Potentially problematic release.
This version of pulp_cookbook_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +9 -8
- data/docs/ContentCookbooksApi.md +16 -14
- data/docs/CookbookCookbookDistribution.md +1 -1
- data/docs/CookbookCookbookDistributionResponse.md +1 -1
- data/docs/CookbookCookbookPackageContent.md +6 -4
- data/docs/CookbookCookbookPackageContentResponse.md +3 -3
- data/docs/CookbookCookbookRemote.md +3 -3
- data/docs/CookbookCookbookRemoteResponse.md +3 -1
- data/docs/CookbookCookbookRemoteResponseHiddenFields.md +19 -0
- data/docs/CookbookCookbookRepository.md +1 -1
- data/docs/CookbookCookbookRepositoryResponse.md +1 -1
- data/docs/DistributionsCookbookApi.md +20 -14
- data/docs/PatchedcookbookCookbookDistribution.md +1 -1
- data/docs/PatchedcookbookCookbookRemote.md +3 -3
- data/docs/PatchedcookbookCookbookRepository.md +1 -1
- data/docs/PublicationsCookbookApi.md +14 -12
- data/docs/RemotesCookbookApi.md +14 -14
- data/docs/Repair.md +17 -0
- data/docs/RepositoriesCookbookApi.md +14 -12
- data/docs/RepositoriesCookbookVersionsApi.md +18 -18
- data/lib/pulp_cookbook_client/api/content_cookbooks_api.rb +28 -21
- data/lib/pulp_cookbook_client/api/distributions_cookbook_api.rb +32 -19
- data/lib/pulp_cookbook_client/api/publications_cookbook_api.rb +24 -17
- data/lib/pulp_cookbook_client/api/remotes_cookbook_api.rb +23 -19
- data/lib/pulp_cookbook_client/api/repositories_cookbook_api.rb +24 -17
- data/lib/pulp_cookbook_client/api/repositories_cookbook_versions_api.rb +32 -28
- data/lib/pulp_cookbook_client/api_client.rb +2 -5
- data/lib/pulp_cookbook_client/configuration.rb +1 -0
- data/lib/pulp_cookbook_client/models/cookbook_cookbook_distribution.rb +4 -2
- data/lib/pulp_cookbook_client/models/cookbook_cookbook_distribution_response.rb +4 -2
- data/lib/pulp_cookbook_client/models/cookbook_cookbook_package_content.rb +25 -15
- data/lib/pulp_cookbook_client/models/cookbook_cookbook_package_content_response.rb +11 -11
- data/lib/pulp_cookbook_client/models/cookbook_cookbook_remote.rb +6 -4
- data/lib/pulp_cookbook_client/models/cookbook_cookbook_remote_response.rb +17 -3
- data/lib/pulp_cookbook_client/models/{repository_version.rb → cookbook_cookbook_remote_response_hidden_fields.rb} +19 -12
- data/lib/pulp_cookbook_client/models/cookbook_cookbook_repository.rb +4 -2
- data/lib/pulp_cookbook_client/models/cookbook_cookbook_repository_response.rb +4 -2
- data/lib/pulp_cookbook_client/models/patchedcookbook_cookbook_distribution.rb +4 -2
- data/lib/pulp_cookbook_client/models/patchedcookbook_cookbook_remote.rb +6 -4
- data/lib/pulp_cookbook_client/models/patchedcookbook_cookbook_repository.rb +4 -2
- data/lib/pulp_cookbook_client/models/{content_summary.rb → repair.rb} +13 -50
- data/lib/pulp_cookbook_client/version.rb +1 -1
- data/lib/pulp_cookbook_client.rb +2 -2
- data/pulp_cookbook_client.gemspec +3 -3
- data/spec/api/content_cookbooks_api_spec.rb +8 -7
- data/spec/api/distributions_cookbook_api_spec.rb +10 -7
- data/spec/api/publications_cookbook_api_spec.rb +7 -6
- data/spec/api/remotes_cookbook_api_spec.rb +7 -7
- data/spec/api/repositories_cookbook_api_spec.rb +7 -6
- data/spec/api/repositories_cookbook_versions_api_spec.rb +8 -8
- data/spec/models/cookbook_cookbook_package_content_response_spec.rb +2 -2
- data/spec/models/cookbook_cookbook_package_content_spec.rb +8 -2
- data/spec/models/{content_summary_spec.rb → cookbook_cookbook_remote_response_hidden_fields_spec.rb} +8 -14
- data/spec/models/cookbook_cookbook_remote_response_spec.rb +6 -0
- data/spec/models/{repository_version_spec.rb → repair_spec.rb} +7 -7
- metadata +37 -38
- data/docs/ContentSummary.md +0 -21
- data/docs/RepositoryVersion.md +0 -17
- data/git_push.sh +0 -58
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7e1389b882e4b6e486609b7a5fe4f8a7a5056c6737e61b37cc9be35bccf1144
|
4
|
+
data.tar.gz: fe27034b0d1faa59c8f566dea1d5a7e16cd4a09ef65282b36e5323ba7612c50a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0ddf40c3ba479c95b97fbd165fdcbfcd493fbb2e03e2c1a1e27fd83f5091454c4c0ea0f38a59075c93956e0791945321f4b2ac7732eb55bb7274bf2ba5fd142
|
7
|
+
data.tar.gz: 3a3fbc846dd35d781464d8a7a1cb677b69577c71442df77a259d3b7ad5ab1c0a919c38d1240f829b190542c3babfea1ddb2ec627002eef5c10d23c72cbf99ff7
|
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.1.
|
10
|
+
- Package version: 0.1.0b10.dev1674790537
|
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_cookbook_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_cookbook_client-0.1.
|
27
|
+
gem install ./pulp_cookbook_client-0.1.0b10.dev1674790537.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_cookbook_client-0.1.
|
30
|
+
(for development, run `gem install --dev ./pulp_cookbook_client-0.1.0b10.dev1674790537.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_cookbook_client', '~> 0.1.
|
36
|
+
gem 'pulp_cookbook_client', '~> 0.1.0b10.dev1674790537'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -67,9 +67,10 @@ end
|
|
67
67
|
api_instance = PulpCookbookClient::ContentCookbooksApi.new
|
68
68
|
name = 'name_example' # String | name of the cookbook
|
69
69
|
opts = {
|
70
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
71
|
-
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
72
70
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
71
|
+
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
72
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
73
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
73
74
|
version: 'version_example' # String | version of the cookbook
|
74
75
|
}
|
75
76
|
|
@@ -125,7 +126,6 @@ Class | Method | HTTP request | Description
|
|
125
126
|
## Documentation for Models
|
126
127
|
|
127
128
|
- [PulpCookbookClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
128
|
-
- [PulpCookbookClient::ContentSummary](docs/ContentSummary.md)
|
129
129
|
- [PulpCookbookClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
130
130
|
- [PulpCookbookClient::CookbookCookbookDistribution](docs/CookbookCookbookDistribution.md)
|
131
131
|
- [PulpCookbookClient::CookbookCookbookDistributionResponse](docs/CookbookCookbookDistributionResponse.md)
|
@@ -135,6 +135,7 @@ Class | Method | HTTP request | Description
|
|
135
135
|
- [PulpCookbookClient::CookbookCookbookPublicationResponse](docs/CookbookCookbookPublicationResponse.md)
|
136
136
|
- [PulpCookbookClient::CookbookCookbookRemote](docs/CookbookCookbookRemote.md)
|
137
137
|
- [PulpCookbookClient::CookbookCookbookRemoteResponse](docs/CookbookCookbookRemoteResponse.md)
|
138
|
+
- [PulpCookbookClient::CookbookCookbookRemoteResponseHiddenFields](docs/CookbookCookbookRemoteResponseHiddenFields.md)
|
138
139
|
- [PulpCookbookClient::CookbookCookbookRepository](docs/CookbookCookbookRepository.md)
|
139
140
|
- [PulpCookbookClient::CookbookCookbookRepositoryResponse](docs/CookbookCookbookRepositoryResponse.md)
|
140
141
|
- [PulpCookbookClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
|
@@ -147,9 +148,9 @@ Class | Method | HTTP request | Description
|
|
147
148
|
- [PulpCookbookClient::PatchedcookbookCookbookRemote](docs/PatchedcookbookCookbookRemote.md)
|
148
149
|
- [PulpCookbookClient::PatchedcookbookCookbookRepository](docs/PatchedcookbookCookbookRepository.md)
|
149
150
|
- [PulpCookbookClient::PolicyEnum](docs/PolicyEnum.md)
|
151
|
+
- [PulpCookbookClient::Repair](docs/Repair.md)
|
150
152
|
- [PulpCookbookClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
151
153
|
- [PulpCookbookClient::RepositorySyncURL](docs/RepositorySyncURL.md)
|
152
|
-
- [PulpCookbookClient::RepositoryVersion](docs/RepositoryVersion.md)
|
153
154
|
- [PulpCookbookClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
|
154
155
|
|
155
156
|
|
data/docs/ContentCookbooksApi.md
CHANGED
@@ -33,9 +33,10 @@ end
|
|
33
33
|
api_instance = PulpCookbookClient::ContentCookbooksApi.new
|
34
34
|
name = 'name_example' # String | name of the cookbook
|
35
35
|
opts = {
|
36
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
37
|
-
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
38
36
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
37
|
+
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
38
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
39
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
39
40
|
version: 'version_example' # String | version of the cookbook
|
40
41
|
}
|
41
42
|
|
@@ -54,9 +55,10 @@ end
|
|
54
55
|
Name | Type | Description | Notes
|
55
56
|
------------- | ------------- | ------------- | -------------
|
56
57
|
**name** | **String**| name of the cookbook |
|
57
|
-
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
58
|
-
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
59
58
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
59
|
+
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
60
|
+
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
61
|
+
**upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
60
62
|
**version** | **String**| version of the cookbook | [optional]
|
61
63
|
|
62
64
|
### Return type
|
@@ -99,13 +101,13 @@ opts = {
|
|
99
101
|
limit: 56, # Integer | Number of results to return per page.
|
100
102
|
name: 'name_example', # String | Filter results where name matches value
|
101
103
|
offset: 56, # Integer | The initial index from which to return the results.
|
102
|
-
ordering: 'ordering_example', # String |
|
104
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
103
105
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
104
106
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
105
107
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
106
108
|
version: 'version_example', # String | Filter results where version matches value
|
107
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
108
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
109
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
110
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
109
111
|
}
|
110
112
|
|
111
113
|
begin
|
@@ -126,13 +128,13 @@ Name | Type | Description | Notes
|
|
126
128
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
127
129
|
**name** | **String**| Filter results where name matches value | [optional]
|
128
130
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
129
|
-
**ordering** | **String
|
131
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
130
132
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
131
133
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
132
134
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
133
135
|
**version** | **String**| Filter results where version matches value | [optional]
|
134
|
-
**fields** | **String
|
135
|
-
**exclude_fields** | **String
|
136
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
137
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
136
138
|
|
137
139
|
### Return type
|
138
140
|
|
@@ -171,8 +173,8 @@ end
|
|
171
173
|
api_instance = PulpCookbookClient::ContentCookbooksApi.new
|
172
174
|
cookbook_cookbook_package_content_href = 'cookbook_cookbook_package_content_href_example' # String |
|
173
175
|
opts = {
|
174
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
175
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
176
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
177
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
176
178
|
}
|
177
179
|
|
178
180
|
begin
|
@@ -190,8 +192,8 @@ end
|
|
190
192
|
Name | Type | Description | Notes
|
191
193
|
------------- | ------------- | ------------- | -------------
|
192
194
|
**cookbook_cookbook_package_content_href** | **String**| |
|
193
|
-
**fields** | **String
|
194
|
-
**exclude_fields** | **String
|
195
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
196
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
195
197
|
|
196
198
|
### Return type
|
197
199
|
|
@@ -6,7 +6,7 @@ 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
|
-
**pulp_labels** |
|
9
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
11
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
12
|
**publication** | **String** | Publication to be served | [optional]
|
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
|
|
9
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\") |
|
10
10
|
**base_url** | **String** | The URL for accessing the universe API as defined by this distribution. | [optional] [readonly]
|
11
11
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
|
-
**pulp_labels** |
|
12
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
13
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
14
14
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
15
15
|
**publication** | **String** | Publication to be served | [optional]
|
@@ -4,9 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
8
|
-
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
9
7
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
8
|
+
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
9
|
+
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
10
|
+
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
10
11
|
**name** | **String** | name of the cookbook |
|
11
12
|
**version** | **String** | version of the cookbook | [optional]
|
12
13
|
|
@@ -15,9 +16,10 @@ Name | Type | Description | Notes
|
|
15
16
|
```ruby
|
16
17
|
require 'PulpCookbookClient'
|
17
18
|
|
18
|
-
instance = PulpCookbookClient::CookbookCookbookPackageContent.new(
|
19
|
+
instance = PulpCookbookClient::CookbookCookbookPackageContent.new(repository: null,
|
19
20
|
file: null,
|
20
|
-
|
21
|
+
artifact: null,
|
22
|
+
upload: null,
|
21
23
|
name: null,
|
22
24
|
version: null)
|
23
25
|
```
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
8
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
|
+
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
9
9
|
**pulp_href** | **String** | | [optional] [readonly]
|
10
10
|
**name** | **String** | name of the cookbook |
|
11
11
|
**version** | **String** | version of the cookbook | [optional]
|
@@ -17,8 +17,8 @@ Name | Type | Description | Notes
|
|
17
17
|
```ruby
|
18
18
|
require 'PulpCookbookClient'
|
19
19
|
|
20
|
-
instance = PulpCookbookClient::CookbookCookbookPackageContentResponse.new(
|
21
|
-
|
20
|
+
instance = PulpCookbookClient::CookbookCookbookPackageContentResponse.new(pulp_created: null,
|
21
|
+
artifact: null,
|
22
22
|
pulp_href: null,
|
23
23
|
name: null,
|
24
24
|
version: null,
|
@@ -12,10 +12,10 @@ Name | Type | Description | Notes
|
|
12
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
14
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
-
**proxy_password** | **String** | The password to
|
15
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
|
-
**pulp_labels** |
|
17
|
+
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
18
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
21
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
12
12
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
13
13
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
14
14
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
15
|
-
**pulp_labels** |
|
15
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
17
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
18
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]
|
@@ -23,6 +23,7 @@ Name | Type | Description | Notes
|
|
23
23
|
**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]
|
24
24
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
25
25
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
26
|
+
**hidden_fields** | [**Array<CookbookCookbookRemoteResponseHiddenFields>**](CookbookCookbookRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
|
26
27
|
**cookbooks** | [**Object**](.md) | An optional JSON object in the format {\"<cookbook name>\": \"<version_string>\" }. Used to limit the cookbooks to synchronize from the remote | [optional]
|
27
28
|
|
28
29
|
## Code Sample
|
@@ -49,6 +50,7 @@ instance = PulpCookbookClient::CookbookCookbookRemoteResponse.new(pulp_href: nul
|
|
49
50
|
sock_read_timeout: null,
|
50
51
|
headers: null,
|
51
52
|
rate_limit: null,
|
53
|
+
hidden_fields: null,
|
52
54
|
cookbooks: null)
|
53
55
|
```
|
54
56
|
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpCookbookClient::CookbookCookbookRemoteResponseHiddenFields
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | | [optional]
|
8
|
+
**is_set** | **Boolean** | | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpCookbookClient'
|
14
|
+
|
15
|
+
instance = PulpCookbookClient::CookbookCookbookRemoteResponseHiddenFields.new(name: null,
|
16
|
+
is_set: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_labels** |
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. |
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
10
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**versions_href** | **String** | | [optional] [readonly]
|
10
|
-
**pulp_labels** |
|
10
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
12
12
|
**name** | **String** | A unique name for this repository. |
|
13
13
|
**description** | **String** | An optional description. | [optional]
|
@@ -141,21 +141,24 @@ end
|
|
141
141
|
|
142
142
|
api_instance = PulpCookbookClient::DistributionsCookbookApi.new
|
143
143
|
opts = {
|
144
|
-
base_path: 'base_path_example', # String |
|
144
|
+
base_path: 'base_path_example', # String | Filter results where base_path matches value
|
145
145
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
146
146
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
147
147
|
base_path__in: ['base_path__in_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
|
148
148
|
limit: 56, # Integer | Number of results to return per page.
|
149
|
-
name: 'name_example', # String |
|
149
|
+
name: 'name_example', # String | Filter results where name matches value
|
150
150
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
151
151
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
152
152
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
153
153
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
154
154
|
offset: 56, # Integer | The initial index from which to return the results.
|
155
|
-
ordering: 'ordering_example', # String |
|
155
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
156
156
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
157
|
-
|
158
|
-
|
157
|
+
repository: 'repository_example', # String | Filter results where repository matches value
|
158
|
+
repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
|
159
|
+
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
160
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
161
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
159
162
|
}
|
160
163
|
|
161
164
|
begin
|
@@ -172,21 +175,24 @@ end
|
|
172
175
|
|
173
176
|
Name | Type | Description | Notes
|
174
177
|
------------- | ------------- | ------------- | -------------
|
175
|
-
**base_path** | **String**|
|
178
|
+
**base_path** | **String**| Filter results where base_path matches value | [optional]
|
176
179
|
**base_path__contains** | **String**| Filter results where base_path contains value | [optional]
|
177
180
|
**base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
|
178
181
|
**base_path__in** | [**Array<String>**](String.md)| Filter results where base_path is in a comma-separated list of values | [optional]
|
179
182
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
180
|
-
**name** | **String**|
|
183
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
181
184
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
182
185
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
183
186
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
184
187
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
185
188
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
186
|
-
**ordering** | **String
|
189
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
187
190
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
188
|
-
**
|
189
|
-
**
|
191
|
+
**repository** | **String**| Filter results where repository matches value | [optional]
|
192
|
+
**repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
|
193
|
+
**with_content** | **String**| Filter distributions based on the content served by them | [optional]
|
194
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
195
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
190
196
|
|
191
197
|
### Return type
|
192
198
|
|
@@ -280,8 +286,8 @@ end
|
|
280
286
|
api_instance = PulpCookbookClient::DistributionsCookbookApi.new
|
281
287
|
cookbook_cookbook_distribution_href = 'cookbook_cookbook_distribution_href_example' # String |
|
282
288
|
opts = {
|
283
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
284
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
289
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
290
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
285
291
|
}
|
286
292
|
|
287
293
|
begin
|
@@ -299,8 +305,8 @@ end
|
|
299
305
|
Name | Type | Description | Notes
|
300
306
|
------------- | ------------- | ------------- | -------------
|
301
307
|
**cookbook_cookbook_distribution_href** | **String**| |
|
302
|
-
**fields** | **String
|
303
|
-
**exclude_fields** | **String
|
308
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
309
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
304
310
|
|
305
311
|
### Return type
|
306
312
|
|
@@ -6,7 +6,7 @@ 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\") | [optional]
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
-
**pulp_labels** |
|
9
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
11
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
12
|
**publication** | **String** | Publication to be served | [optional]
|
@@ -12,10 +12,10 @@ Name | Type | Description | Notes
|
|
12
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
14
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
-
**proxy_password** | **String** | The password to
|
15
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
|
-
**pulp_labels** |
|
17
|
+
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
18
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
21
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_labels** |
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
10
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
@@ -142,16 +142,17 @@ opts = {
|
|
142
142
|
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
143
143
|
limit: 56, # Integer | Number of results to return per page.
|
144
144
|
offset: 56, # Integer | The initial index from which to return the results.
|
145
|
-
ordering: 'ordering_example', # String |
|
146
|
-
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime |
|
145
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
146
|
+
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
|
147
147
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
148
148
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
149
149
|
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
150
150
|
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
151
151
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
152
|
+
repository: 'repository_example', # String | Repository referenced by HREF
|
152
153
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
153
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
154
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
154
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
155
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
155
156
|
}
|
156
157
|
|
157
158
|
begin
|
@@ -172,16 +173,17 @@ Name | Type | Description | Notes
|
|
172
173
|
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
173
174
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
174
175
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
175
|
-
**ordering** | **String
|
176
|
-
**pulp_created** | **DateTime**|
|
176
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
177
|
+
**pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
|
177
178
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
178
179
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
179
180
|
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
180
181
|
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
181
182
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
183
|
+
**repository** | **String**| Repository referenced by HREF | [optional]
|
182
184
|
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
183
|
-
**fields** | **String
|
184
|
-
**exclude_fields** | **String
|
185
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
186
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
185
187
|
|
186
188
|
### Return type
|
187
189
|
|
@@ -220,8 +222,8 @@ end
|
|
220
222
|
api_instance = PulpCookbookClient::PublicationsCookbookApi.new
|
221
223
|
cookbook_cookbook_publication_href = 'cookbook_cookbook_publication_href_example' # String |
|
222
224
|
opts = {
|
223
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
224
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
225
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
226
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
225
227
|
}
|
226
228
|
|
227
229
|
begin
|
@@ -239,8 +241,8 @@ end
|
|
239
241
|
Name | Type | Description | Notes
|
240
242
|
------------- | ------------- | ------------- | -------------
|
241
243
|
**cookbook_cookbook_publication_href** | **String**| |
|
242
|
-
**fields** | **String
|
243
|
-
**exclude_fields** | **String
|
244
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
245
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
244
246
|
|
245
247
|
### Return type
|
246
248
|
|
data/docs/RemotesCookbookApi.md
CHANGED
@@ -142,22 +142,22 @@ end
|
|
142
142
|
api_instance = PulpCookbookClient::RemotesCookbookApi.new
|
143
143
|
opts = {
|
144
144
|
limit: 56, # Integer | Number of results to return per page.
|
145
|
-
name: 'name_example', # String |
|
145
|
+
name: 'name_example', # String | Filter results where name matches value
|
146
146
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
147
147
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
148
148
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
149
149
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
150
150
|
offset: 56, # Integer | The initial index from which to return the results.
|
151
|
-
ordering: 'ordering_example', # String |
|
151
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
152
152
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
153
|
-
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime |
|
153
|
+
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated matches value
|
154
154
|
pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
|
155
155
|
pulp_last_updated__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than or equal to value
|
156
156
|
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
157
157
|
pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
|
158
158
|
pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
|
159
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
160
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
159
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
160
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
161
161
|
}
|
162
162
|
|
163
163
|
begin
|
@@ -175,22 +175,22 @@ end
|
|
175
175
|
Name | Type | Description | Notes
|
176
176
|
------------- | ------------- | ------------- | -------------
|
177
177
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
178
|
-
**name** | **String**|
|
178
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
179
179
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
180
180
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
181
181
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
182
182
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
183
183
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
184
|
-
**ordering** | **String
|
184
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
185
185
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
186
|
-
**pulp_last_updated** | **DateTime**|
|
186
|
+
**pulp_last_updated** | **DateTime**| Filter results where pulp_last_updated matches value | [optional]
|
187
187
|
**pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
|
188
188
|
**pulp_last_updated__gte** | **DateTime**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
|
189
189
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
190
190
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
191
191
|
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
192
|
-
**fields** | **String
|
193
|
-
**exclude_fields** | **String
|
192
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
193
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
194
194
|
|
195
195
|
### Return type
|
196
196
|
|
@@ -284,8 +284,8 @@ end
|
|
284
284
|
api_instance = PulpCookbookClient::RemotesCookbookApi.new
|
285
285
|
cookbook_cookbook_remote_href = 'cookbook_cookbook_remote_href_example' # String |
|
286
286
|
opts = {
|
287
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
288
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
287
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
288
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
289
289
|
}
|
290
290
|
|
291
291
|
begin
|
@@ -303,8 +303,8 @@ end
|
|
303
303
|
Name | Type | Description | Notes
|
304
304
|
------------- | ------------- | ------------- | -------------
|
305
305
|
**cookbook_cookbook_remote_href** | **String**| |
|
306
|
-
**fields** | **String
|
307
|
-
**exclude_fields** | **String
|
306
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
307
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
308
308
|
|
309
309
|
### Return type
|
310
310
|
|
data/docs/Repair.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpCookbookClient::Repair
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**verify_checksums** | **Boolean** | Will verify that the checksum of all stored files matches what saved in the database. Otherwise only the existence of the files will be checked. Enabled by default | [optional] [default to true]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpCookbookClient'
|
13
|
+
|
14
|
+
instance = PulpCookbookClient::Repair.new(verify_checksums: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|