pulpcore_client 3.100.0 → 3.102.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 +4 -4
- data/docs/ArtifactDistributionResponse.md +12 -12
- data/docs/Domain.md +1 -1
- data/docs/DomainBackendMigrator.md +1 -1
- data/docs/DomainResponse.md +1 -1
- data/docs/PatchedDomain.md +1 -1
- data/docs/Purge.md +1 -1
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +52 -52
- data/lib/pulpcore_client/models/domain.rb +1 -1
- data/lib/pulpcore_client/models/domain_backend_migrator.rb +1 -1
- data/lib/pulpcore_client/models/domain_response.rb +1 -1
- data/lib/pulpcore_client/models/patched_domain.rb +1 -1
- data/lib/pulpcore_client/models/purge.rb +1 -1
- data/lib/pulpcore_client/models/storage_class_enum.rb +2 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/models/artifact_distribution_response_spec.rb +6 -6
- 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: f41e9519416944668a48d4bae220afa9b145115855296f50d179277953dc32d9
|
|
4
|
+
data.tar.gz: 5229faa9532409e3dccb81538eb2a72bcbd0fd15907009e6c8f9cc3a37112172
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 30da6313b4d5435d02bd4bd10c165b78a477f3cc9d67418e33f6500d054fb1ef08e5094954da3d2fd6964bb1e01fbf82cd7310ec55b3f07ea305a468f786c574
|
|
7
|
+
data.tar.gz: fc242e868d3ba983a158e877afa52a22ff65a2dd320aeb5851da68cc4ddcace4d80a02a4f5b57aaabb4e0487ee81696f1cedf7a03ee24e871c60f1cb3605497b
|
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: 3.
|
|
10
|
+
- Package version: 3.102.0
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulpcore_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulpcore_client-3.
|
|
28
|
+
gem install ./pulpcore_client-3.102.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulpcore_client-3.
|
|
31
|
+
(for development, run `gem install --dev ./pulpcore_client-3.102.0.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulpcore_client', '~> 3.
|
|
37
|
+
gem 'pulpcore_client', '~> 3.102.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **
|
|
7
|
+
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
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
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
10
10
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
11
|
-
| **
|
|
11
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
12
12
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
13
|
-
| **
|
|
14
|
-
| **
|
|
13
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
14
|
+
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
|
15
15
|
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
16
16
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
17
|
-
| **
|
|
17
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
18
18
|
|
|
19
19
|
## Example
|
|
20
20
|
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
require 'pulpcore_client'
|
|
23
23
|
|
|
24
24
|
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
content_guard: null,
|
|
26
|
+
base_path: null,
|
|
27
27
|
pulp_href: null,
|
|
28
28
|
pulp_created: null,
|
|
29
|
-
|
|
29
|
+
pulp_labels: null,
|
|
30
30
|
hidden: null,
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
name: null,
|
|
32
|
+
no_content_change_since: null,
|
|
33
33
|
base_url: null,
|
|
34
34
|
pulp_last_updated: null,
|
|
35
|
-
|
|
35
|
+
prn: null
|
|
36
36
|
)
|
|
37
37
|
```
|
|
38
38
|
|
data/docs/Domain.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
| **name** | **String** | A name for this domain. | |
|
|
8
8
|
| **description** | **String** | An optional description. | [optional] |
|
|
9
9
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
10
|
-
| **storage_class** | [**StorageClassEnum**](StorageClassEnum.md) | Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage | |
|
|
10
|
+
| **storage_class** | [**StorageClassEnum**](StorageClassEnum.md) | Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage [deprecated] * `storages.backends.s3.S3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage | |
|
|
11
11
|
| **storage_settings** | **Object** | Settings for storage class. | |
|
|
12
12
|
| **redirect_to_object_storage** | **Boolean** | Boolean to have the content app redirect to object storage. | [optional][default to true] |
|
|
13
13
|
| **hide_guarded_distributions** | **Boolean** | Boolean to hide distributions with a content guard in the content app. | [optional][default to false] |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **storage_class** | [**StorageClassEnum**](StorageClassEnum.md) | The new backend storage class to migrate to. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage | |
|
|
7
|
+
| **storage_class** | [**StorageClassEnum**](StorageClassEnum.md) | The new backend storage class to migrate to. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage [deprecated] * `storages.backends.s3.S3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage | |
|
|
8
8
|
| **storage_settings** | **Object** | The settings for the new storage class to migrate to. | |
|
|
9
9
|
|
|
10
10
|
## Example
|
data/docs/DomainResponse.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
| **name** | **String** | A name for this domain. | |
|
|
12
12
|
| **description** | **String** | An optional description. | [optional] |
|
|
13
13
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
14
|
-
| **storage_class** | [**StorageClassEnum**](StorageClassEnum.md) | Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage | |
|
|
14
|
+
| **storage_class** | [**StorageClassEnum**](StorageClassEnum.md) | Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage [deprecated] * `storages.backends.s3.S3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage | |
|
|
15
15
|
| **storage_settings** | **Object** | Settings for storage class. | |
|
|
16
16
|
| **redirect_to_object_storage** | **Boolean** | Boolean to have the content app redirect to object storage. | [optional][default to true] |
|
|
17
17
|
| **hide_guarded_distributions** | **Boolean** | Boolean to hide distributions with a content guard in the content app. | [optional][default to false] |
|
data/docs/PatchedDomain.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
| **name** | **String** | A name for this domain. | [optional] |
|
|
8
8
|
| **description** | **String** | An optional description. | [optional] |
|
|
9
9
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
10
|
-
| **storage_class** | [**StorageClassEnum**](StorageClassEnum.md) | Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage | [optional] |
|
|
10
|
+
| **storage_class** | [**StorageClassEnum**](StorageClassEnum.md) | Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage [deprecated] * `storages.backends.s3.S3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage | [optional] |
|
|
11
11
|
| **storage_settings** | **Object** | Settings for storage class. | [optional] |
|
|
12
12
|
| **redirect_to_object_storage** | **Boolean** | Boolean to have the content app redirect to object storage. | [optional][default to true] |
|
|
13
13
|
| **hide_guarded_distributions** | **Boolean** | Boolean to hide distributions with a content guard in the content app. | [optional][default to false] |
|
data/docs/Purge.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]' | [optional][default to '2025-12-
|
|
7
|
+
| **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]' | [optional][default to '2025-12-28'] |
|
|
8
8
|
| **states** | [**Array<StatesEnum>**](StatesEnum.md) | List of task-states to be purged. Only 'final' states are allowed. | [optional] |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
@@ -16,27 +16,27 @@ require 'time'
|
|
|
16
16
|
module PulpcoreClient
|
|
17
17
|
# A serializer for ArtifactDistribution.
|
|
18
18
|
class ArtifactDistributionResponse
|
|
19
|
-
|
|
19
|
+
# An optional content-guard.
|
|
20
|
+
attr_accessor :content_guard
|
|
20
21
|
|
|
21
|
-
#
|
|
22
|
-
attr_accessor :
|
|
22
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
23
|
+
attr_accessor :base_path
|
|
23
24
|
|
|
24
25
|
attr_accessor :pulp_href
|
|
25
26
|
|
|
26
27
|
# Timestamp of creation.
|
|
27
28
|
attr_accessor :pulp_created
|
|
28
29
|
|
|
29
|
-
|
|
30
|
-
attr_accessor :prn
|
|
30
|
+
attr_accessor :pulp_labels
|
|
31
31
|
|
|
32
32
|
# Whether this distribution should be shown in the content app.
|
|
33
33
|
attr_accessor :hidden
|
|
34
34
|
|
|
35
|
-
#
|
|
36
|
-
attr_accessor :
|
|
35
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
36
|
+
attr_accessor :name
|
|
37
37
|
|
|
38
|
-
#
|
|
39
|
-
attr_accessor :
|
|
38
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
39
|
+
attr_accessor :no_content_change_since
|
|
40
40
|
|
|
41
41
|
# The URL for accessing the publication as defined by this distribution.
|
|
42
42
|
attr_accessor :base_url
|
|
@@ -44,23 +44,23 @@ module PulpcoreClient
|
|
|
44
44
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
45
45
|
attr_accessor :pulp_last_updated
|
|
46
46
|
|
|
47
|
-
#
|
|
48
|
-
attr_accessor :
|
|
47
|
+
# The Pulp Resource Name (PRN).
|
|
48
|
+
attr_accessor :prn
|
|
49
49
|
|
|
50
50
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
51
51
|
def self.attribute_map
|
|
52
52
|
{
|
|
53
|
-
:'
|
|
54
|
-
:'
|
|
53
|
+
:'content_guard' => :'content_guard',
|
|
54
|
+
:'base_path' => :'base_path',
|
|
55
55
|
:'pulp_href' => :'pulp_href',
|
|
56
56
|
:'pulp_created' => :'pulp_created',
|
|
57
|
-
:'
|
|
57
|
+
:'pulp_labels' => :'pulp_labels',
|
|
58
58
|
:'hidden' => :'hidden',
|
|
59
|
-
:'
|
|
60
|
-
:'
|
|
59
|
+
:'name' => :'name',
|
|
60
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
61
61
|
:'base_url' => :'base_url',
|
|
62
62
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
63
|
-
:'
|
|
63
|
+
:'prn' => :'prn'
|
|
64
64
|
}
|
|
65
65
|
end
|
|
66
66
|
|
|
@@ -72,17 +72,17 @@ module PulpcoreClient
|
|
|
72
72
|
# Attribute type mapping.
|
|
73
73
|
def self.openapi_types
|
|
74
74
|
{
|
|
75
|
-
:'
|
|
76
|
-
:'
|
|
75
|
+
:'content_guard' => :'String',
|
|
76
|
+
:'base_path' => :'String',
|
|
77
77
|
:'pulp_href' => :'String',
|
|
78
78
|
:'pulp_created' => :'Time',
|
|
79
|
-
:'
|
|
79
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
80
80
|
:'hidden' => :'Boolean',
|
|
81
|
-
:'
|
|
82
|
-
:'
|
|
81
|
+
:'name' => :'String',
|
|
82
|
+
:'no_content_change_since' => :'String',
|
|
83
83
|
:'base_url' => :'String',
|
|
84
84
|
:'pulp_last_updated' => :'Time',
|
|
85
|
-
:'
|
|
85
|
+
:'prn' => :'String'
|
|
86
86
|
}
|
|
87
87
|
end
|
|
88
88
|
|
|
@@ -108,16 +108,14 @@ module PulpcoreClient
|
|
|
108
108
|
h[k.to_sym] = v
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
if attributes.key?(:'
|
|
112
|
-
|
|
113
|
-
self.pulp_labels = value
|
|
114
|
-
end
|
|
111
|
+
if attributes.key?(:'content_guard')
|
|
112
|
+
self.content_guard = attributes[:'content_guard']
|
|
115
113
|
end
|
|
116
114
|
|
|
117
|
-
if attributes.key?(:'
|
|
118
|
-
self.
|
|
115
|
+
if attributes.key?(:'base_path')
|
|
116
|
+
self.base_path = attributes[:'base_path']
|
|
119
117
|
else
|
|
120
|
-
self.
|
|
118
|
+
self.base_path = nil
|
|
121
119
|
end
|
|
122
120
|
|
|
123
121
|
if attributes.key?(:'pulp_href')
|
|
@@ -128,8 +126,10 @@ module PulpcoreClient
|
|
|
128
126
|
self.pulp_created = attributes[:'pulp_created']
|
|
129
127
|
end
|
|
130
128
|
|
|
131
|
-
if attributes.key?(:'
|
|
132
|
-
|
|
129
|
+
if attributes.key?(:'pulp_labels')
|
|
130
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
131
|
+
self.pulp_labels = value
|
|
132
|
+
end
|
|
133
133
|
end
|
|
134
134
|
|
|
135
135
|
if attributes.key?(:'hidden')
|
|
@@ -138,14 +138,14 @@ module PulpcoreClient
|
|
|
138
138
|
self.hidden = false
|
|
139
139
|
end
|
|
140
140
|
|
|
141
|
-
if attributes.key?(:'
|
|
142
|
-
self.
|
|
141
|
+
if attributes.key?(:'name')
|
|
142
|
+
self.name = attributes[:'name']
|
|
143
|
+
else
|
|
144
|
+
self.name = nil
|
|
143
145
|
end
|
|
144
146
|
|
|
145
|
-
if attributes.key?(:'
|
|
146
|
-
self.
|
|
147
|
-
else
|
|
148
|
-
self.base_path = nil
|
|
147
|
+
if attributes.key?(:'no_content_change_since')
|
|
148
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
149
149
|
end
|
|
150
150
|
|
|
151
151
|
if attributes.key?(:'base_url')
|
|
@@ -156,8 +156,8 @@ module PulpcoreClient
|
|
|
156
156
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
157
157
|
end
|
|
158
158
|
|
|
159
|
-
if attributes.key?(:'
|
|
160
|
-
self.
|
|
159
|
+
if attributes.key?(:'prn')
|
|
160
|
+
self.prn = attributes[:'prn']
|
|
161
161
|
end
|
|
162
162
|
end
|
|
163
163
|
|
|
@@ -166,14 +166,14 @@ module PulpcoreClient
|
|
|
166
166
|
def list_invalid_properties
|
|
167
167
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
168
168
|
invalid_properties = Array.new
|
|
169
|
-
if @name.nil?
|
|
170
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
171
|
-
end
|
|
172
|
-
|
|
173
169
|
if @base_path.nil?
|
|
174
170
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
175
171
|
end
|
|
176
172
|
|
|
173
|
+
if @name.nil?
|
|
174
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
175
|
+
end
|
|
176
|
+
|
|
177
177
|
invalid_properties
|
|
178
178
|
end
|
|
179
179
|
|
|
@@ -181,8 +181,8 @@ module PulpcoreClient
|
|
|
181
181
|
# @return true if the model is valid
|
|
182
182
|
def valid?
|
|
183
183
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
184
|
-
return false if @name.nil?
|
|
185
184
|
return false if @base_path.nil?
|
|
185
|
+
return false if @name.nil?
|
|
186
186
|
true
|
|
187
187
|
end
|
|
188
188
|
|
|
@@ -191,17 +191,17 @@ module PulpcoreClient
|
|
|
191
191
|
def ==(o)
|
|
192
192
|
return true if self.equal?(o)
|
|
193
193
|
self.class == o.class &&
|
|
194
|
-
|
|
195
|
-
|
|
194
|
+
content_guard == o.content_guard &&
|
|
195
|
+
base_path == o.base_path &&
|
|
196
196
|
pulp_href == o.pulp_href &&
|
|
197
197
|
pulp_created == o.pulp_created &&
|
|
198
|
-
|
|
198
|
+
pulp_labels == o.pulp_labels &&
|
|
199
199
|
hidden == o.hidden &&
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
name == o.name &&
|
|
201
|
+
no_content_change_since == o.no_content_change_since &&
|
|
202
202
|
base_url == o.base_url &&
|
|
203
203
|
pulp_last_updated == o.pulp_last_updated &&
|
|
204
|
-
|
|
204
|
+
prn == o.prn
|
|
205
205
|
end
|
|
206
206
|
|
|
207
207
|
# @see the `==` method
|
|
@@ -213,7 +213,7 @@ module PulpcoreClient
|
|
|
213
213
|
# Calculates hash code according to all attributes.
|
|
214
214
|
# @return [Integer] Hash code
|
|
215
215
|
def hash
|
|
216
|
-
[
|
|
216
|
+
[content_guard, base_path, pulp_href, pulp_created, pulp_labels, hidden, name, no_content_change_since, base_url, pulp_last_updated, prn].hash
|
|
217
217
|
end
|
|
218
218
|
|
|
219
219
|
# Builds the object from hash
|
|
@@ -24,7 +24,7 @@ module PulpcoreClient
|
|
|
24
24
|
|
|
25
25
|
attr_accessor :pulp_labels
|
|
26
26
|
|
|
27
|
-
# Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage
|
|
27
|
+
# Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage [deprecated] * `storages.backends.s3.S3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage
|
|
28
28
|
attr_accessor :storage_class
|
|
29
29
|
|
|
30
30
|
# Settings for storage class.
|
|
@@ -16,7 +16,7 @@ require 'time'
|
|
|
16
16
|
module PulpcoreClient
|
|
17
17
|
# Special serializer for performing a storage backend migration on a Domain.
|
|
18
18
|
class DomainBackendMigrator
|
|
19
|
-
# The new backend storage class to migrate to. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage
|
|
19
|
+
# The new backend storage class to migrate to. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage [deprecated] * `storages.backends.s3.S3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage
|
|
20
20
|
attr_accessor :storage_class
|
|
21
21
|
|
|
22
22
|
# The settings for the new storage class to migrate to.
|
|
@@ -35,7 +35,7 @@ module PulpcoreClient
|
|
|
35
35
|
|
|
36
36
|
attr_accessor :pulp_labels
|
|
37
37
|
|
|
38
|
-
# Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage
|
|
38
|
+
# Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage [deprecated] * `storages.backends.s3.S3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage
|
|
39
39
|
attr_accessor :storage_class
|
|
40
40
|
|
|
41
41
|
# Settings for storage class.
|
|
@@ -24,7 +24,7 @@ module PulpcoreClient
|
|
|
24
24
|
|
|
25
25
|
attr_accessor :pulp_labels
|
|
26
26
|
|
|
27
|
-
# Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage
|
|
27
|
+
# Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage [deprecated] * `storages.backends.s3.S3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage
|
|
28
28
|
attr_accessor :storage_class
|
|
29
29
|
|
|
30
30
|
# Settings for storage class.
|
|
@@ -17,10 +17,11 @@ module PulpcoreClient
|
|
|
17
17
|
class StorageClassEnum
|
|
18
18
|
PULPCORE_APP_MODELS_STORAGE_FILE_SYSTEM = "pulpcore.app.models.storage.FileSystem".freeze
|
|
19
19
|
STORAGES_BACKENDS_S3BOTO3_S3_BOTO3_STORAGE = "storages.backends.s3boto3.S3Boto3Storage".freeze
|
|
20
|
+
STORAGES_BACKENDS_S3_S3_STORAGE = "storages.backends.s3.S3Storage".freeze
|
|
20
21
|
STORAGES_BACKENDS_AZURE_STORAGE_AZURE_STORAGE = "storages.backends.azure_storage.AzureStorage".freeze
|
|
21
22
|
|
|
22
23
|
def self.all_vars
|
|
23
|
-
@all_vars ||= [PULPCORE_APP_MODELS_STORAGE_FILE_SYSTEM, STORAGES_BACKENDS_S3BOTO3_S3_BOTO3_STORAGE, STORAGES_BACKENDS_AZURE_STORAGE_AZURE_STORAGE].freeze
|
|
24
|
+
@all_vars ||= [PULPCORE_APP_MODELS_STORAGE_FILE_SYSTEM, STORAGES_BACKENDS_S3BOTO3_S3_BOTO3_STORAGE, STORAGES_BACKENDS_S3_S3_STORAGE, STORAGES_BACKENDS_AZURE_STORAGE_AZURE_STORAGE].freeze
|
|
24
25
|
end
|
|
25
26
|
|
|
26
27
|
# Builds the enum from string
|
|
@@ -27,13 +27,13 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "content_guard"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "base_path"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
@@ -51,7 +51,7 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
57
|
end
|
|
@@ -63,13 +63,13 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "name"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "no_content_change_since"' do
|
|
73
73
|
it 'should work' do
|
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
75
|
end
|
|
@@ -87,7 +87,7 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
describe 'test attribute "
|
|
90
|
+
describe 'test attribute "prn"' do
|
|
91
91
|
it 'should work' do
|
|
92
92
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
93
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulpcore_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.102.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|