pulp_container_client 2.27.10 → 2.28.1
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/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +16 -16
- data/docs/ContainerContainerNamespace.md +3 -1
- data/docs/ContainerContainerNamespaceResponse.md +3 -1
- data/docs/ContainerContainerPullThroughDistribution.md +6 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +16 -16
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
- data/docs/ContainerContainerRemote.md +6 -2
- data/docs/ContainerContainerRemoteResponse.md +4 -4
- data/docs/ContainerManifestSignatureResponse.md +2 -0
- data/docs/ContentSignaturesApi.md +2 -2
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/PatchedcontainerContainerRemote.md +6 -2
- data/docs/PulpContainerNamespacesApi.md +2 -2
- data/lib/pulp_container_client/api/content_signatures_api.rb +3 -3
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +3 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +30 -30
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +74 -74
- data/lib/pulp_container_client/models/container_container_namespace.rb +15 -4
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +15 -4
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +30 -30
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +74 -74
- data/lib/pulp_container_client/models/container_container_push_repository.rb +54 -54
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +68 -68
- data/lib/pulp_container_client/models/container_container_remote.rb +29 -3
- data/lib/pulp_container_client/models/container_container_remote_response.rb +19 -19
- data/lib/pulp_container_client/models/container_manifest_signature_response.rb +14 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +28 -28
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +28 -28
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +54 -54
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +29 -3
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_signatures_api_spec.rb +1 -1
- data/spec/api/pulp_container_namespaces_api_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +12 -12
- data/spec/models/container_container_distribution_spec.rb +7 -7
- data/spec/models/container_container_namespace_response_spec.rb +6 -0
- data/spec/models/container_container_namespace_spec.rb +6 -0
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +12 -12
- data/spec/models/container_container_pull_through_distribution_spec.rb +7 -7
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/container_container_remote_response_spec.rb +2 -2
- data/spec/models/container_container_remote_spec.rb +12 -0
- data/spec/models/container_manifest_signature_response_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +7 -7
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +7 -7
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_remote_spec.rb +12 -0
- metadata +59 -59
|
@@ -39,7 +39,7 @@ module PulpContainerClient
|
|
|
39
39
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
40
40
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
41
41
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
42
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `digest` - Digest * `-digest` - Digest (descending) * `type` - Type * `-type` - Type (descending) * `key_id` - Key id * `-key_id` - Key id (descending) * `timestamp` - Timestamp * `-timestamp` - Timestamp (descending) * `creator` - Creator * `-creator` - Creator (descending) * `data` - Data * `-data` - Data (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
42
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `digest` - Digest * `-digest` - Digest (descending) * `type` - Type * `-type` - Type (descending) * `key_id` - Key id * `-key_id` - Key id (descending) * `fingerprint` - Fingerprint * `-fingerprint` - Fingerprint (descending) * `timestamp` - Timestamp * `-timestamp` - Timestamp (descending) * `creator` - Creator * `-creator` - Creator (descending) * `data` - Data * `-data` - Data (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
43
43
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
44
44
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
45
45
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
@@ -77,7 +77,7 @@ module PulpContainerClient
|
|
|
77
77
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
78
78
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
79
79
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
80
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `digest` - Digest * `-digest` - Digest (descending) * `type` - Type * `-type` - Type (descending) * `key_id` - Key id * `-key_id` - Key id (descending) * `timestamp` - Timestamp * `-timestamp` - Timestamp (descending) * `creator` - Creator * `-creator` - Creator (descending) * `data` - Data * `-data` - Data (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
80
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `digest` - Digest * `-digest` - Digest (descending) * `type` - Type * `-type` - Type (descending) * `key_id` - Key id * `-key_id` - Key id (descending) * `fingerprint` - Fingerprint * `-fingerprint` - Fingerprint (descending) * `timestamp` - Timestamp * `-timestamp` - Timestamp (descending) * `creator` - Creator * `-creator` - Creator (descending) * `data` - Data * `-data` - Data (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
81
81
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
82
82
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
83
83
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
@@ -94,7 +94,7 @@ module PulpContainerClient
|
|
|
94
94
|
if @api_client.config.debugging
|
|
95
95
|
@api_client.config.logger.debug 'Calling API: ContentSignaturesApi.list ...'
|
|
96
96
|
end
|
|
97
|
-
allowable_values = ["-creator", "-data", "-digest", "-key_id", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-timestamp", "-timestamp_of_interest", "-type", "-upstream_id", "creator", "data", "digest", "key_id", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "timestamp", "timestamp_of_interest", "type", "upstream_id"]
|
|
97
|
+
allowable_values = ["-creator", "-data", "-digest", "-fingerprint", "-key_id", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-timestamp", "-timestamp_of_interest", "-type", "-upstream_id", "creator", "data", "digest", "fingerprint", "key_id", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "timestamp", "timestamp_of_interest", "type", "upstream_id"]
|
|
98
98
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
99
99
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
100
100
|
end
|
|
@@ -248,7 +248,7 @@ module PulpContainerClient
|
|
|
248
248
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
249
249
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
250
250
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
251
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
251
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
252
252
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
253
253
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
254
254
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -276,7 +276,7 @@ module PulpContainerClient
|
|
|
276
276
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
277
277
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
278
278
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
279
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
279
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
280
280
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
281
281
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
282
282
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -288,7 +288,7 @@ module PulpContainerClient
|
|
|
288
288
|
if @api_client.config.debugging
|
|
289
289
|
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.list ...'
|
|
290
290
|
end
|
|
291
|
-
allowable_values = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
|
291
|
+
allowable_values = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated"]
|
|
292
292
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
293
293
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
294
294
|
end
|
|
@@ -16,26 +16,26 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for ContainerDistribution.
|
|
18
18
|
class ContainerContainerDistribution
|
|
19
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
20
|
+
attr_accessor :content_guard
|
|
21
|
+
|
|
19
22
|
attr_accessor :pulp_labels
|
|
20
23
|
|
|
24
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
25
|
+
attr_accessor :name
|
|
26
|
+
|
|
21
27
|
# Whether this distribution should be shown in the content app.
|
|
22
28
|
attr_accessor :hidden
|
|
23
29
|
|
|
24
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
25
|
-
attr_accessor :content_guard
|
|
26
|
-
|
|
27
30
|
# The latest RepositoryVersion for this Repository will be served.
|
|
28
31
|
attr_accessor :repository
|
|
29
32
|
|
|
30
|
-
#
|
|
31
|
-
attr_accessor :
|
|
33
|
+
# RepositoryVersion to be served
|
|
34
|
+
attr_accessor :repository_version
|
|
32
35
|
|
|
33
36
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
34
37
|
attr_accessor :base_path
|
|
35
38
|
|
|
36
|
-
# RepositoryVersion to be served
|
|
37
|
-
attr_accessor :repository_version
|
|
38
|
-
|
|
39
39
|
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
|
40
40
|
attr_accessor :private
|
|
41
41
|
|
|
@@ -45,13 +45,13 @@ module PulpContainerClient
|
|
|
45
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
46
|
def self.attribute_map
|
|
47
47
|
{
|
|
48
|
+
:'content_guard' => :'content_guard',
|
|
48
49
|
:'pulp_labels' => :'pulp_labels',
|
|
50
|
+
:'name' => :'name',
|
|
49
51
|
:'hidden' => :'hidden',
|
|
50
|
-
:'content_guard' => :'content_guard',
|
|
51
52
|
:'repository' => :'repository',
|
|
52
|
-
:'name' => :'name',
|
|
53
|
-
:'base_path' => :'base_path',
|
|
54
53
|
:'repository_version' => :'repository_version',
|
|
54
|
+
:'base_path' => :'base_path',
|
|
55
55
|
:'private' => :'private',
|
|
56
56
|
:'description' => :'description'
|
|
57
57
|
}
|
|
@@ -65,13 +65,13 @@ module PulpContainerClient
|
|
|
65
65
|
# Attribute type mapping.
|
|
66
66
|
def self.openapi_types
|
|
67
67
|
{
|
|
68
|
+
:'content_guard' => :'String',
|
|
68
69
|
:'pulp_labels' => :'Hash<String, String>',
|
|
70
|
+
:'name' => :'String',
|
|
69
71
|
:'hidden' => :'Boolean',
|
|
70
|
-
:'content_guard' => :'String',
|
|
71
72
|
:'repository' => :'String',
|
|
72
|
-
:'name' => :'String',
|
|
73
|
-
:'base_path' => :'String',
|
|
74
73
|
:'repository_version' => :'String',
|
|
74
|
+
:'base_path' => :'String',
|
|
75
75
|
:'private' => :'Boolean',
|
|
76
76
|
:'description' => :'String'
|
|
77
77
|
}
|
|
@@ -101,30 +101,34 @@ module PulpContainerClient
|
|
|
101
101
|
h[k.to_sym] = v
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
+
if attributes.key?(:'content_guard')
|
|
105
|
+
self.content_guard = attributes[:'content_guard']
|
|
106
|
+
end
|
|
107
|
+
|
|
104
108
|
if attributes.key?(:'pulp_labels')
|
|
105
109
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
106
110
|
self.pulp_labels = value
|
|
107
111
|
end
|
|
108
112
|
end
|
|
109
113
|
|
|
114
|
+
if attributes.key?(:'name')
|
|
115
|
+
self.name = attributes[:'name']
|
|
116
|
+
else
|
|
117
|
+
self.name = nil
|
|
118
|
+
end
|
|
119
|
+
|
|
110
120
|
if attributes.key?(:'hidden')
|
|
111
121
|
self.hidden = attributes[:'hidden']
|
|
112
122
|
else
|
|
113
123
|
self.hidden = false
|
|
114
124
|
end
|
|
115
125
|
|
|
116
|
-
if attributes.key?(:'content_guard')
|
|
117
|
-
self.content_guard = attributes[:'content_guard']
|
|
118
|
-
end
|
|
119
|
-
|
|
120
126
|
if attributes.key?(:'repository')
|
|
121
127
|
self.repository = attributes[:'repository']
|
|
122
128
|
end
|
|
123
129
|
|
|
124
|
-
if attributes.key?(:'
|
|
125
|
-
self.
|
|
126
|
-
else
|
|
127
|
-
self.name = nil
|
|
130
|
+
if attributes.key?(:'repository_version')
|
|
131
|
+
self.repository_version = attributes[:'repository_version']
|
|
128
132
|
end
|
|
129
133
|
|
|
130
134
|
if attributes.key?(:'base_path')
|
|
@@ -133,10 +137,6 @@ module PulpContainerClient
|
|
|
133
137
|
self.base_path = nil
|
|
134
138
|
end
|
|
135
139
|
|
|
136
|
-
if attributes.key?(:'repository_version')
|
|
137
|
-
self.repository_version = attributes[:'repository_version']
|
|
138
|
-
end
|
|
139
|
-
|
|
140
140
|
if attributes.key?(:'private')
|
|
141
141
|
self.private = attributes[:'private']
|
|
142
142
|
end
|
|
@@ -229,13 +229,13 @@ module PulpContainerClient
|
|
|
229
229
|
def ==(o)
|
|
230
230
|
return true if self.equal?(o)
|
|
231
231
|
self.class == o.class &&
|
|
232
|
+
content_guard == o.content_guard &&
|
|
232
233
|
pulp_labels == o.pulp_labels &&
|
|
234
|
+
name == o.name &&
|
|
233
235
|
hidden == o.hidden &&
|
|
234
|
-
content_guard == o.content_guard &&
|
|
235
236
|
repository == o.repository &&
|
|
236
|
-
name == o.name &&
|
|
237
|
-
base_path == o.base_path &&
|
|
238
237
|
repository_version == o.repository_version &&
|
|
238
|
+
base_path == o.base_path &&
|
|
239
239
|
private == o.private &&
|
|
240
240
|
description == o.description
|
|
241
241
|
end
|
|
@@ -249,7 +249,7 @@ module PulpContainerClient
|
|
|
249
249
|
# Calculates hash code according to all attributes.
|
|
250
250
|
# @return [Integer] Hash code
|
|
251
251
|
def hash
|
|
252
|
-
[pulp_labels,
|
|
252
|
+
[content_guard, pulp_labels, name, hidden, repository, repository_version, base_path, private, description].hash
|
|
253
253
|
end
|
|
254
254
|
|
|
255
255
|
# Builds the object from hash
|
|
@@ -16,43 +16,43 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for ContainerDistribution.
|
|
18
18
|
class ContainerContainerDistributionResponse
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
# Whether this distribution should be shown in the content app.
|
|
22
|
-
attr_accessor :hidden
|
|
19
|
+
# 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.
|
|
20
|
+
attr_accessor :pulp_last_updated
|
|
23
21
|
|
|
24
|
-
|
|
22
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
23
|
+
attr_accessor :no_content_change_since
|
|
25
24
|
|
|
26
25
|
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
27
26
|
attr_accessor :content_guard_prn
|
|
28
27
|
|
|
28
|
+
attr_accessor :pulp_href
|
|
29
|
+
|
|
29
30
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
30
31
|
attr_accessor :content_guard
|
|
31
32
|
|
|
32
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
33
|
-
attr_accessor :repository
|
|
34
|
-
|
|
35
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
36
|
-
attr_accessor :name
|
|
37
|
-
|
|
38
33
|
# The Pulp Resource Name (PRN).
|
|
39
34
|
attr_accessor :prn
|
|
40
35
|
|
|
41
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
42
|
-
attr_accessor :base_path
|
|
43
|
-
|
|
44
36
|
# Timestamp of creation.
|
|
45
37
|
attr_accessor :pulp_created
|
|
46
38
|
|
|
47
|
-
|
|
48
|
-
attr_accessor :pulp_last_updated
|
|
39
|
+
attr_accessor :pulp_labels
|
|
49
40
|
|
|
50
|
-
#
|
|
51
|
-
attr_accessor :
|
|
41
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
42
|
+
attr_accessor :name
|
|
43
|
+
|
|
44
|
+
# Whether this distribution should be shown in the content app.
|
|
45
|
+
attr_accessor :hidden
|
|
46
|
+
|
|
47
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
48
|
+
attr_accessor :repository
|
|
52
49
|
|
|
53
50
|
# RepositoryVersion to be served
|
|
54
51
|
attr_accessor :repository_version
|
|
55
52
|
|
|
53
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
54
|
+
attr_accessor :base_path
|
|
55
|
+
|
|
56
56
|
# The Registry hostname/name/ to use with docker pull command defined by this distribution.
|
|
57
57
|
attr_accessor :registry_path
|
|
58
58
|
|
|
@@ -71,19 +71,19 @@ module PulpContainerClient
|
|
|
71
71
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
72
72
|
def self.attribute_map
|
|
73
73
|
{
|
|
74
|
-
:'
|
|
75
|
-
:'
|
|
76
|
-
:'pulp_href' => :'pulp_href',
|
|
74
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
75
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
77
76
|
:'content_guard_prn' => :'content_guard_prn',
|
|
77
|
+
:'pulp_href' => :'pulp_href',
|
|
78
78
|
:'content_guard' => :'content_guard',
|
|
79
|
-
:'repository' => :'repository',
|
|
80
|
-
:'name' => :'name',
|
|
81
79
|
:'prn' => :'prn',
|
|
82
|
-
:'base_path' => :'base_path',
|
|
83
80
|
:'pulp_created' => :'pulp_created',
|
|
84
|
-
:'
|
|
85
|
-
:'
|
|
81
|
+
:'pulp_labels' => :'pulp_labels',
|
|
82
|
+
:'name' => :'name',
|
|
83
|
+
:'hidden' => :'hidden',
|
|
84
|
+
:'repository' => :'repository',
|
|
86
85
|
:'repository_version' => :'repository_version',
|
|
86
|
+
:'base_path' => :'base_path',
|
|
87
87
|
:'registry_path' => :'registry_path',
|
|
88
88
|
:'remote' => :'remote',
|
|
89
89
|
:'namespace' => :'namespace',
|
|
@@ -100,19 +100,19 @@ module PulpContainerClient
|
|
|
100
100
|
# Attribute type mapping.
|
|
101
101
|
def self.openapi_types
|
|
102
102
|
{
|
|
103
|
-
:'
|
|
104
|
-
:'
|
|
105
|
-
:'pulp_href' => :'String',
|
|
103
|
+
:'pulp_last_updated' => :'Time',
|
|
104
|
+
:'no_content_change_since' => :'String',
|
|
106
105
|
:'content_guard_prn' => :'String',
|
|
106
|
+
:'pulp_href' => :'String',
|
|
107
107
|
:'content_guard' => :'String',
|
|
108
|
-
:'repository' => :'String',
|
|
109
|
-
:'name' => :'String',
|
|
110
108
|
:'prn' => :'String',
|
|
111
|
-
:'base_path' => :'String',
|
|
112
109
|
:'pulp_created' => :'Time',
|
|
113
|
-
:'
|
|
114
|
-
:'
|
|
110
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
111
|
+
:'name' => :'String',
|
|
112
|
+
:'hidden' => :'Boolean',
|
|
113
|
+
:'repository' => :'String',
|
|
115
114
|
:'repository_version' => :'String',
|
|
115
|
+
:'base_path' => :'String',
|
|
116
116
|
:'registry_path' => :'String',
|
|
117
117
|
:'remote' => :'String',
|
|
118
118
|
:'namespace' => :'String',
|
|
@@ -145,66 +145,66 @@ module PulpContainerClient
|
|
|
145
145
|
h[k.to_sym] = v
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
if attributes.key?(:'
|
|
149
|
-
|
|
150
|
-
self.pulp_labels = value
|
|
151
|
-
end
|
|
152
|
-
end
|
|
153
|
-
|
|
154
|
-
if attributes.key?(:'hidden')
|
|
155
|
-
self.hidden = attributes[:'hidden']
|
|
156
|
-
else
|
|
157
|
-
self.hidden = false
|
|
148
|
+
if attributes.key?(:'pulp_last_updated')
|
|
149
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
158
150
|
end
|
|
159
151
|
|
|
160
|
-
if attributes.key?(:'
|
|
161
|
-
self.
|
|
152
|
+
if attributes.key?(:'no_content_change_since')
|
|
153
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
162
154
|
end
|
|
163
155
|
|
|
164
156
|
if attributes.key?(:'content_guard_prn')
|
|
165
157
|
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
166
158
|
end
|
|
167
159
|
|
|
160
|
+
if attributes.key?(:'pulp_href')
|
|
161
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
162
|
+
end
|
|
163
|
+
|
|
168
164
|
if attributes.key?(:'content_guard')
|
|
169
165
|
self.content_guard = attributes[:'content_guard']
|
|
170
166
|
end
|
|
171
167
|
|
|
172
|
-
if attributes.key?(:'
|
|
173
|
-
self.
|
|
168
|
+
if attributes.key?(:'prn')
|
|
169
|
+
self.prn = attributes[:'prn']
|
|
174
170
|
end
|
|
175
171
|
|
|
176
|
-
if attributes.key?(:'
|
|
177
|
-
self.
|
|
178
|
-
else
|
|
179
|
-
self.name = nil
|
|
172
|
+
if attributes.key?(:'pulp_created')
|
|
173
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
180
174
|
end
|
|
181
175
|
|
|
182
|
-
if attributes.key?(:'
|
|
183
|
-
|
|
176
|
+
if attributes.key?(:'pulp_labels')
|
|
177
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
178
|
+
self.pulp_labels = value
|
|
179
|
+
end
|
|
184
180
|
end
|
|
185
181
|
|
|
186
|
-
if attributes.key?(:'
|
|
187
|
-
self.
|
|
182
|
+
if attributes.key?(:'name')
|
|
183
|
+
self.name = attributes[:'name']
|
|
188
184
|
else
|
|
189
|
-
self.
|
|
190
|
-
end
|
|
191
|
-
|
|
192
|
-
if attributes.key?(:'pulp_created')
|
|
193
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
185
|
+
self.name = nil
|
|
194
186
|
end
|
|
195
187
|
|
|
196
|
-
if attributes.key?(:'
|
|
197
|
-
self.
|
|
188
|
+
if attributes.key?(:'hidden')
|
|
189
|
+
self.hidden = attributes[:'hidden']
|
|
190
|
+
else
|
|
191
|
+
self.hidden = false
|
|
198
192
|
end
|
|
199
193
|
|
|
200
|
-
if attributes.key?(:'
|
|
201
|
-
self.
|
|
194
|
+
if attributes.key?(:'repository')
|
|
195
|
+
self.repository = attributes[:'repository']
|
|
202
196
|
end
|
|
203
197
|
|
|
204
198
|
if attributes.key?(:'repository_version')
|
|
205
199
|
self.repository_version = attributes[:'repository_version']
|
|
206
200
|
end
|
|
207
201
|
|
|
202
|
+
if attributes.key?(:'base_path')
|
|
203
|
+
self.base_path = attributes[:'base_path']
|
|
204
|
+
else
|
|
205
|
+
self.base_path = nil
|
|
206
|
+
end
|
|
207
|
+
|
|
208
208
|
if attributes.key?(:'registry_path')
|
|
209
209
|
self.registry_path = attributes[:'registry_path']
|
|
210
210
|
end
|
|
@@ -256,19 +256,19 @@ module PulpContainerClient
|
|
|
256
256
|
def ==(o)
|
|
257
257
|
return true if self.equal?(o)
|
|
258
258
|
self.class == o.class &&
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
pulp_href == o.pulp_href &&
|
|
259
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
260
|
+
no_content_change_since == o.no_content_change_since &&
|
|
262
261
|
content_guard_prn == o.content_guard_prn &&
|
|
262
|
+
pulp_href == o.pulp_href &&
|
|
263
263
|
content_guard == o.content_guard &&
|
|
264
|
-
repository == o.repository &&
|
|
265
|
-
name == o.name &&
|
|
266
264
|
prn == o.prn &&
|
|
267
|
-
base_path == o.base_path &&
|
|
268
265
|
pulp_created == o.pulp_created &&
|
|
269
|
-
|
|
270
|
-
|
|
266
|
+
pulp_labels == o.pulp_labels &&
|
|
267
|
+
name == o.name &&
|
|
268
|
+
hidden == o.hidden &&
|
|
269
|
+
repository == o.repository &&
|
|
271
270
|
repository_version == o.repository_version &&
|
|
271
|
+
base_path == o.base_path &&
|
|
272
272
|
registry_path == o.registry_path &&
|
|
273
273
|
remote == o.remote &&
|
|
274
274
|
namespace == o.namespace &&
|
|
@@ -285,7 +285,7 @@ module PulpContainerClient
|
|
|
285
285
|
# Calculates hash code according to all attributes.
|
|
286
286
|
# @return [Integer] Hash code
|
|
287
287
|
def hash
|
|
288
|
-
[
|
|
288
|
+
[pulp_last_updated, no_content_change_since, content_guard_prn, pulp_href, content_guard, prn, pulp_created, pulp_labels, name, hidden, repository, repository_version, base_path, registry_path, remote, namespace, private, description].hash
|
|
289
289
|
end
|
|
290
290
|
|
|
291
291
|
# Builds the object from hash
|
|
@@ -18,10 +18,13 @@ module PulpContainerClient
|
|
|
18
18
|
class ContainerContainerNamespace
|
|
19
19
|
attr_accessor :name
|
|
20
20
|
|
|
21
|
+
attr_accessor :pulp_labels
|
|
22
|
+
|
|
21
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
24
|
def self.attribute_map
|
|
23
25
|
{
|
|
24
|
-
:'name' => :'name'
|
|
26
|
+
:'name' => :'name',
|
|
27
|
+
:'pulp_labels' => :'pulp_labels'
|
|
25
28
|
}
|
|
26
29
|
end
|
|
27
30
|
|
|
@@ -33,7 +36,8 @@ module PulpContainerClient
|
|
|
33
36
|
# Attribute type mapping.
|
|
34
37
|
def self.openapi_types
|
|
35
38
|
{
|
|
36
|
-
:'name' => :'String'
|
|
39
|
+
:'name' => :'String',
|
|
40
|
+
:'pulp_labels' => :'Hash<String, String>'
|
|
37
41
|
}
|
|
38
42
|
end
|
|
39
43
|
|
|
@@ -63,6 +67,12 @@ module PulpContainerClient
|
|
|
63
67
|
else
|
|
64
68
|
self.name = nil
|
|
65
69
|
end
|
|
70
|
+
|
|
71
|
+
if attributes.key?(:'pulp_labels')
|
|
72
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
73
|
+
self.pulp_labels = value
|
|
74
|
+
end
|
|
75
|
+
end
|
|
66
76
|
end
|
|
67
77
|
|
|
68
78
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -109,7 +119,8 @@ module PulpContainerClient
|
|
|
109
119
|
def ==(o)
|
|
110
120
|
return true if self.equal?(o)
|
|
111
121
|
self.class == o.class &&
|
|
112
|
-
name == o.name
|
|
122
|
+
name == o.name &&
|
|
123
|
+
pulp_labels == o.pulp_labels
|
|
113
124
|
end
|
|
114
125
|
|
|
115
126
|
# @see the `==` method
|
|
@@ -121,7 +132,7 @@ module PulpContainerClient
|
|
|
121
132
|
# Calculates hash code according to all attributes.
|
|
122
133
|
# @return [Integer] Hash code
|
|
123
134
|
def hash
|
|
124
|
-
[name].hash
|
|
135
|
+
[name, pulp_labels].hash
|
|
125
136
|
end
|
|
126
137
|
|
|
127
138
|
# Builds the object from hash
|
|
@@ -29,6 +29,8 @@ module PulpContainerClient
|
|
|
29
29
|
|
|
30
30
|
attr_accessor :name
|
|
31
31
|
|
|
32
|
+
attr_accessor :pulp_labels
|
|
33
|
+
|
|
32
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
35
|
def self.attribute_map
|
|
34
36
|
{
|
|
@@ -36,7 +38,8 @@ module PulpContainerClient
|
|
|
36
38
|
:'prn' => :'prn',
|
|
37
39
|
:'pulp_created' => :'pulp_created',
|
|
38
40
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
39
|
-
:'name' => :'name'
|
|
41
|
+
:'name' => :'name',
|
|
42
|
+
:'pulp_labels' => :'pulp_labels'
|
|
40
43
|
}
|
|
41
44
|
end
|
|
42
45
|
|
|
@@ -52,7 +55,8 @@ module PulpContainerClient
|
|
|
52
55
|
:'prn' => :'String',
|
|
53
56
|
:'pulp_created' => :'Time',
|
|
54
57
|
:'pulp_last_updated' => :'Time',
|
|
55
|
-
:'name' => :'String'
|
|
58
|
+
:'name' => :'String',
|
|
59
|
+
:'pulp_labels' => :'Hash<String, String>'
|
|
56
60
|
}
|
|
57
61
|
end
|
|
58
62
|
|
|
@@ -98,6 +102,12 @@ module PulpContainerClient
|
|
|
98
102
|
else
|
|
99
103
|
self.name = nil
|
|
100
104
|
end
|
|
105
|
+
|
|
106
|
+
if attributes.key?(:'pulp_labels')
|
|
107
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
108
|
+
self.pulp_labels = value
|
|
109
|
+
end
|
|
110
|
+
end
|
|
101
111
|
end
|
|
102
112
|
|
|
103
113
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -129,7 +139,8 @@ module PulpContainerClient
|
|
|
129
139
|
prn == o.prn &&
|
|
130
140
|
pulp_created == o.pulp_created &&
|
|
131
141
|
pulp_last_updated == o.pulp_last_updated &&
|
|
132
|
-
name == o.name
|
|
142
|
+
name == o.name &&
|
|
143
|
+
pulp_labels == o.pulp_labels
|
|
133
144
|
end
|
|
134
145
|
|
|
135
146
|
# @see the `==` method
|
|
@@ -141,7 +152,7 @@ module PulpContainerClient
|
|
|
141
152
|
# Calculates hash code according to all attributes.
|
|
142
153
|
# @return [Integer] Hash code
|
|
143
154
|
def hash
|
|
144
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, name].hash
|
|
155
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, pulp_labels].hash
|
|
145
156
|
end
|
|
146
157
|
|
|
147
158
|
# Builds the object from hash
|