pulp_container_client 2.15.0.dev1674615984 → 2.15.0.dev1674961693
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_container_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +9 -9
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/RepositoriesContainerApi.md +16 -0
- data/docs/RepositoriesContainerPushApi.md +16 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +24 -0
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +24 -0
- data/lib/pulp_container_client/models/container_container_distribution.rb +16 -16
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +35 -35
- data/lib/pulp_container_client/models/container_container_push_repository.rb +38 -38
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +39 -39
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +16 -16
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +38 -38
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/repositories_container_api_spec.rb +8 -0
- data/spec/api/repositories_container_push_api_spec.rb +8 -0
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +2 -2
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_distribution_spec.rb +2 -2
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1342b4aae315042bc6d3c51624b8fcc94c59bde26b235ba35833c5f96f38ac8
|
4
|
+
data.tar.gz: f92c798d3706fab213e2ce13abceb1612f35376366d45aeaefd2a46d43a1d983
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d67db054f7d41590062a944059f394edd1d7d62598292a82d2ded91adfed4a62065015abdcdb2166cc71709a8bb3dc77de2baae1cfb8eeceb96e8f5fec0468e
|
7
|
+
data.tar.gz: c54de5033699852e56909eb9086e0b5d460843dceada77b9e6efffa691d8658abdcf9b0c415803cabd0d3c925084e3323046ed8f9e179fae9b75432dc49446ea
|
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: 2.15.0.
|
10
|
+
- Package version: 2.15.0.dev1674961693
|
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_container_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_container_client-2.15.0.
|
27
|
+
gem install ./pulp_container_client-2.15.0.dev1674961693.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.15.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.15.0.dev1674961693.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_container_client', '~> 2.15.0.
|
36
|
+
gem 'pulp_container_client', '~> 2.15.0.dev1674961693'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
8
|
**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\") |
|
9
9
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
|
-
**
|
11
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
14
14
|
**description** | **String** | An optional description. | [optional]
|
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(pulp_labels: null,
|
22
22
|
base_path: null,
|
23
23
|
repository: null,
|
24
24
|
name: null,
|
25
|
-
|
25
|
+
content_guard: null,
|
26
26
|
repository_version: null,
|
27
27
|
private: null,
|
28
28
|
description: null)
|
@@ -4,13 +4,13 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
9
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
8
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
11
9
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
12
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
|
-
**
|
12
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
13
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
14
14
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
15
15
|
**registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
16
16
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
@@ -22,13 +22,13 @@ Name | Type | Description | Notes
|
|
22
22
|
```ruby
|
23
23
|
require 'PulpContainerClient'
|
24
24
|
|
25
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
26
|
-
pulp_href: null,
|
27
|
-
pulp_created: null,
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_labels: null,
|
28
26
|
base_path: null,
|
29
27
|
repository: null,
|
28
|
+
pulp_created: null,
|
30
29
|
name: null,
|
31
|
-
|
30
|
+
pulp_href: null,
|
31
|
+
content_guard: null,
|
32
32
|
repository_version: null,
|
33
33
|
registry_path: null,
|
34
34
|
namespace: null,
|
@@ -4,22 +4,22 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
8
|
**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]
|
9
9
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
10
|
+
**description** | **String** | An optional description. | [optional]
|
10
11
|
**name** | **String** | A unique name for this repository. |
|
11
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
|
-
instance = PulpContainerClient::ContainerContainerPushRepository.new(
|
18
|
+
instance = PulpContainerClient::ContainerContainerPushRepository.new(pulp_labels: null,
|
19
19
|
retain_repo_versions: null,
|
20
20
|
manifest_signing_service: null,
|
21
|
-
|
22
|
-
|
21
|
+
description: null,
|
22
|
+
name: null)
|
23
23
|
```
|
24
24
|
|
25
25
|
|
@@ -4,30 +4,30 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
8
|
**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]
|
10
9
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
11
|
-
**
|
10
|
+
**description** | **String** | An optional description. | [optional]
|
12
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
12
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
13
13
|
**name** | **String** | A unique name for this repository. |
|
14
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
15
14
|
**versions_href** | **String** | | [optional] [readonly]
|
15
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
16
16
|
|
17
17
|
## Code Sample
|
18
18
|
|
19
19
|
```ruby
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
|
-
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
|
23
|
-
pulp_href: null,
|
22
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_labels: null,
|
24
23
|
retain_repo_versions: null,
|
25
24
|
manifest_signing_service: null,
|
26
|
-
|
25
|
+
description: null,
|
27
26
|
latest_version_href: null,
|
27
|
+
pulp_created: null,
|
28
28
|
name: null,
|
29
|
-
|
30
|
-
|
29
|
+
versions_href: null,
|
30
|
+
pulp_href: null)
|
31
31
|
```
|
32
32
|
|
33
33
|
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
8
|
**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]
|
9
9
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
|
-
**
|
11
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
14
14
|
**description** | **String** | An optional description. | [optional]
|
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(pulp_labels: null,
|
22
22
|
base_path: null,
|
23
23
|
repository: null,
|
24
24
|
name: null,
|
25
|
-
|
25
|
+
content_guard: null,
|
26
26
|
repository_version: null,
|
27
27
|
private: null,
|
28
28
|
description: null)
|
@@ -4,22 +4,22 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
8
|
**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]
|
9
9
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
10
|
+
**description** | **String** | An optional description. | [optional]
|
10
11
|
**name** | **String** | A unique name for this repository. | [optional]
|
11
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
|
-
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(pulp_labels: null,
|
19
19
|
retain_repo_versions: null,
|
20
20
|
manifest_signing_service: null,
|
21
|
-
|
22
|
-
|
21
|
+
description: null,
|
22
|
+
name: null)
|
23
23
|
```
|
24
24
|
|
25
25
|
|
@@ -446,6 +446,14 @@ opts = {
|
|
446
446
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
447
447
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
448
448
|
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
449
|
+
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
450
|
+
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
451
|
+
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
452
|
+
retain_repo_versions__isnull: true, # Boolean | Filter results where retain_repo_versions has a null value
|
453
|
+
retain_repo_versions__lt: 56, # Integer | Filter results where retain_repo_versions is less than value
|
454
|
+
retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
|
455
|
+
retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
|
456
|
+
retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
|
449
457
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
450
458
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
451
459
|
}
|
@@ -474,6 +482,14 @@ Name | Type | Description | Notes
|
|
474
482
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
475
483
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
476
484
|
**remote** | **String**| Foreign Key referenced by HREF | [optional]
|
485
|
+
**retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
|
486
|
+
**retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
|
487
|
+
**retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
|
488
|
+
**retain_repo_versions__isnull** | **Boolean**| Filter results where retain_repo_versions has a null value | [optional]
|
489
|
+
**retain_repo_versions__lt** | **Integer**| Filter results where retain_repo_versions is less than value | [optional]
|
490
|
+
**retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
|
491
|
+
**retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
|
492
|
+
**retain_repo_versions__range** | [**Array<Integer>**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
|
477
493
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
478
494
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
479
495
|
|
@@ -106,6 +106,14 @@ opts = {
|
|
106
106
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
107
107
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
108
108
|
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
109
|
+
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
110
|
+
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
111
|
+
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
112
|
+
retain_repo_versions__isnull: true, # Boolean | Filter results where retain_repo_versions has a null value
|
113
|
+
retain_repo_versions__lt: 56, # Integer | Filter results where retain_repo_versions is less than value
|
114
|
+
retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
|
115
|
+
retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
|
116
|
+
retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
|
109
117
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
110
118
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
111
119
|
}
|
@@ -134,6 +142,14 @@ Name | Type | Description | Notes
|
|
134
142
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
135
143
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
136
144
|
**remote** | **String**| Foreign Key referenced by HREF | [optional]
|
145
|
+
**retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
|
146
|
+
**retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
|
147
|
+
**retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
|
148
|
+
**retain_repo_versions__isnull** | **Boolean**| Filter results where retain_repo_versions has a null value | [optional]
|
149
|
+
**retain_repo_versions__lt** | **Integer**| Filter results where retain_repo_versions is less than value | [optional]
|
150
|
+
**retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
|
151
|
+
**retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
|
152
|
+
**retain_repo_versions__range** | [**Array<Integer>**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
|
137
153
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
138
154
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
139
155
|
|
@@ -516,6 +516,14 @@ module PulpContainerClient
|
|
516
516
|
# @option opts [Array<String>] :ordering Ordering
|
517
517
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
518
518
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
519
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
520
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
521
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
522
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
523
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
524
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
525
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
526
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
519
527
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
520
528
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
521
529
|
# @return [PaginatedcontainerContainerRepositoryResponseList]
|
@@ -537,6 +545,14 @@ module PulpContainerClient
|
|
537
545
|
# @option opts [Array<String>] :ordering Ordering
|
538
546
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
539
547
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
548
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
549
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
550
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
551
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
552
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
553
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
554
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
555
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
540
556
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
541
557
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
542
558
|
# @return [Array<(PaginatedcontainerContainerRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerRepositoryResponseList data, response status code and response headers
|
@@ -563,6 +579,14 @@ module PulpContainerClient
|
|
563
579
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
564
580
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
565
581
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
582
|
+
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
583
|
+
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
584
|
+
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
585
|
+
query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
|
586
|
+
query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
|
587
|
+
query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
|
588
|
+
query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
|
589
|
+
query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
|
566
590
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
567
591
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
568
592
|
|
@@ -100,6 +100,14 @@ module PulpContainerClient
|
|
100
100
|
# @option opts [Array<String>] :ordering Ordering
|
101
101
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
102
102
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
103
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
104
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
105
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
106
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
107
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
108
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
109
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
110
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
103
111
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
104
112
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
105
113
|
# @return [PaginatedcontainerContainerPushRepositoryResponseList]
|
@@ -121,6 +129,14 @@ module PulpContainerClient
|
|
121
129
|
# @option opts [Array<String>] :ordering Ordering
|
122
130
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
123
131
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
132
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
133
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
134
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
135
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
136
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
137
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
138
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
139
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
124
140
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
125
141
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
126
142
|
# @return [Array<(PaginatedcontainerContainerPushRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerPushRepositoryResponseList data, response status code and response headers
|
@@ -147,6 +163,14 @@ module PulpContainerClient
|
|
147
163
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
148
164
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
149
165
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
166
|
+
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
167
|
+
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
168
|
+
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
169
|
+
query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
|
170
|
+
query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
|
171
|
+
query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
|
172
|
+
query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
|
173
|
+
query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
|
150
174
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
151
175
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
152
176
|
|
@@ -15,8 +15,7 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistribution
|
18
|
-
|
19
|
-
attr_accessor :content_guard
|
18
|
+
attr_accessor :pulp_labels
|
20
19
|
|
21
20
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
22
21
|
attr_accessor :base_path
|
@@ -27,7 +26,8 @@ module PulpContainerClient
|
|
27
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
28
27
|
attr_accessor :name
|
29
28
|
|
30
|
-
|
29
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
30
|
+
attr_accessor :content_guard
|
31
31
|
|
32
32
|
# RepositoryVersion to be served
|
33
33
|
attr_accessor :repository_version
|
@@ -41,11 +41,11 @@ module PulpContainerClient
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
-
:'
|
44
|
+
:'pulp_labels' => :'pulp_labels',
|
45
45
|
:'base_path' => :'base_path',
|
46
46
|
:'repository' => :'repository',
|
47
47
|
:'name' => :'name',
|
48
|
-
:'
|
48
|
+
:'content_guard' => :'content_guard',
|
49
49
|
:'repository_version' => :'repository_version',
|
50
50
|
:'private' => :'private',
|
51
51
|
:'description' => :'description'
|
@@ -55,11 +55,11 @@ module PulpContainerClient
|
|
55
55
|
# Attribute type mapping.
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
|
-
:'
|
58
|
+
:'pulp_labels' => :'Hash<String, String>',
|
59
59
|
:'base_path' => :'String',
|
60
60
|
:'repository' => :'String',
|
61
61
|
:'name' => :'String',
|
62
|
-
:'
|
62
|
+
:'content_guard' => :'String',
|
63
63
|
:'repository_version' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
65
65
|
:'description' => :'String'
|
@@ -90,8 +90,10 @@ module PulpContainerClient
|
|
90
90
|
h[k.to_sym] = v
|
91
91
|
}
|
92
92
|
|
93
|
-
if attributes.key?(:'
|
94
|
-
|
93
|
+
if attributes.key?(:'pulp_labels')
|
94
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
95
|
+
self.pulp_labels = value
|
96
|
+
end
|
95
97
|
end
|
96
98
|
|
97
99
|
if attributes.key?(:'base_path')
|
@@ -106,10 +108,8 @@ module PulpContainerClient
|
|
106
108
|
self.name = attributes[:'name']
|
107
109
|
end
|
108
110
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
|
111
|
-
self.pulp_labels = value
|
112
|
-
end
|
111
|
+
if attributes.key?(:'content_guard')
|
112
|
+
self.content_guard = attributes[:'content_guard']
|
113
113
|
end
|
114
114
|
|
115
115
|
if attributes.key?(:'repository_version')
|
@@ -206,11 +206,11 @@ module PulpContainerClient
|
|
206
206
|
def ==(o)
|
207
207
|
return true if self.equal?(o)
|
208
208
|
self.class == o.class &&
|
209
|
-
|
209
|
+
pulp_labels == o.pulp_labels &&
|
210
210
|
base_path == o.base_path &&
|
211
211
|
repository == o.repository &&
|
212
212
|
name == o.name &&
|
213
|
-
|
213
|
+
content_guard == o.content_guard &&
|
214
214
|
repository_version == o.repository_version &&
|
215
215
|
private == o.private &&
|
216
216
|
description == o.description
|
@@ -225,7 +225,7 @@ module PulpContainerClient
|
|
225
225
|
# Calculates hash code according to all attributes.
|
226
226
|
# @return [Integer] Hash code
|
227
227
|
def hash
|
228
|
-
[
|
228
|
+
[pulp_labels, base_path, repository, name, content_guard, repository_version, private, description].hash
|
229
229
|
end
|
230
230
|
|
231
231
|
# Builds the object from hash
|
@@ -15,13 +15,7 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
-
|
19
|
-
attr_accessor :content_guard
|
20
|
-
|
21
|
-
attr_accessor :pulp_href
|
22
|
-
|
23
|
-
# Timestamp of creation.
|
24
|
-
attr_accessor :pulp_created
|
18
|
+
attr_accessor :pulp_labels
|
25
19
|
|
26
20
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
27
21
|
attr_accessor :base_path
|
@@ -29,10 +23,16 @@ module PulpContainerClient
|
|
29
23
|
# The latest RepositoryVersion for this Repository will be served.
|
30
24
|
attr_accessor :repository
|
31
25
|
|
26
|
+
# Timestamp of creation.
|
27
|
+
attr_accessor :pulp_created
|
28
|
+
|
32
29
|
# A unique name. Ex, `rawhide` and `stable`.
|
33
30
|
attr_accessor :name
|
34
31
|
|
35
|
-
attr_accessor :
|
32
|
+
attr_accessor :pulp_href
|
33
|
+
|
34
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
35
|
+
attr_accessor :content_guard
|
36
36
|
|
37
37
|
# RepositoryVersion to be served
|
38
38
|
attr_accessor :repository_version
|
@@ -52,13 +52,13 @@ module PulpContainerClient
|
|
52
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
53
53
|
def self.attribute_map
|
54
54
|
{
|
55
|
-
:'
|
56
|
-
:'pulp_href' => :'pulp_href',
|
57
|
-
:'pulp_created' => :'pulp_created',
|
55
|
+
:'pulp_labels' => :'pulp_labels',
|
58
56
|
:'base_path' => :'base_path',
|
59
57
|
:'repository' => :'repository',
|
58
|
+
:'pulp_created' => :'pulp_created',
|
60
59
|
:'name' => :'name',
|
61
|
-
:'
|
60
|
+
:'pulp_href' => :'pulp_href',
|
61
|
+
:'content_guard' => :'content_guard',
|
62
62
|
:'repository_version' => :'repository_version',
|
63
63
|
:'registry_path' => :'registry_path',
|
64
64
|
:'namespace' => :'namespace',
|
@@ -70,13 +70,13 @@ module PulpContainerClient
|
|
70
70
|
# Attribute type mapping.
|
71
71
|
def self.openapi_types
|
72
72
|
{
|
73
|
-
:'
|
74
|
-
:'pulp_href' => :'String',
|
75
|
-
:'pulp_created' => :'DateTime',
|
73
|
+
:'pulp_labels' => :'Hash<String, String>',
|
76
74
|
:'base_path' => :'String',
|
77
75
|
:'repository' => :'String',
|
76
|
+
:'pulp_created' => :'DateTime',
|
78
77
|
:'name' => :'String',
|
79
|
-
:'
|
78
|
+
:'pulp_href' => :'String',
|
79
|
+
:'content_guard' => :'String',
|
80
80
|
:'repository_version' => :'String',
|
81
81
|
:'registry_path' => :'String',
|
82
82
|
:'namespace' => :'String',
|
@@ -109,16 +109,10 @@ module PulpContainerClient
|
|
109
109
|
h[k.to_sym] = v
|
110
110
|
}
|
111
111
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
if attributes.key?(:'pulp_href')
|
117
|
-
self.pulp_href = attributes[:'pulp_href']
|
118
|
-
end
|
119
|
-
|
120
|
-
if attributes.key?(:'pulp_created')
|
121
|
-
self.pulp_created = attributes[:'pulp_created']
|
112
|
+
if attributes.key?(:'pulp_labels')
|
113
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
114
|
+
self.pulp_labels = value
|
115
|
+
end
|
122
116
|
end
|
123
117
|
|
124
118
|
if attributes.key?(:'base_path')
|
@@ -129,14 +123,20 @@ module PulpContainerClient
|
|
129
123
|
self.repository = attributes[:'repository']
|
130
124
|
end
|
131
125
|
|
126
|
+
if attributes.key?(:'pulp_created')
|
127
|
+
self.pulp_created = attributes[:'pulp_created']
|
128
|
+
end
|
129
|
+
|
132
130
|
if attributes.key?(:'name')
|
133
131
|
self.name = attributes[:'name']
|
134
132
|
end
|
135
133
|
|
136
|
-
if attributes.key?(:'
|
137
|
-
|
138
|
-
|
139
|
-
|
134
|
+
if attributes.key?(:'pulp_href')
|
135
|
+
self.pulp_href = attributes[:'pulp_href']
|
136
|
+
end
|
137
|
+
|
138
|
+
if attributes.key?(:'content_guard')
|
139
|
+
self.content_guard = attributes[:'content_guard']
|
140
140
|
end
|
141
141
|
|
142
142
|
if attributes.key?(:'repository_version')
|
@@ -188,13 +188,13 @@ module PulpContainerClient
|
|
188
188
|
def ==(o)
|
189
189
|
return true if self.equal?(o)
|
190
190
|
self.class == o.class &&
|
191
|
-
|
192
|
-
pulp_href == o.pulp_href &&
|
193
|
-
pulp_created == o.pulp_created &&
|
191
|
+
pulp_labels == o.pulp_labels &&
|
194
192
|
base_path == o.base_path &&
|
195
193
|
repository == o.repository &&
|
194
|
+
pulp_created == o.pulp_created &&
|
196
195
|
name == o.name &&
|
197
|
-
|
196
|
+
pulp_href == o.pulp_href &&
|
197
|
+
content_guard == o.content_guard &&
|
198
198
|
repository_version == o.repository_version &&
|
199
199
|
registry_path == o.registry_path &&
|
200
200
|
namespace == o.namespace &&
|
@@ -211,7 +211,7 @@ module PulpContainerClient
|
|
211
211
|
# Calculates hash code according to all attributes.
|
212
212
|
# @return [Integer] Hash code
|
213
213
|
def hash
|
214
|
-
[
|
214
|
+
[pulp_labels, base_path, repository, pulp_created, name, pulp_href, content_guard, repository_version, registry_path, namespace, private, description].hash
|
215
215
|
end
|
216
216
|
|
217
217
|
# Builds the object from hash
|