pulp_container_client 2.15.3 → 2.16.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 +27 -36
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/ContainerContainerPushRepository.md +4 -4
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/ContentBlobsApi.md +1 -3
- data/docs/ContentManifestsApi.md +1 -3
- data/docs/ContentSignaturesApi.md +1 -11
- data/docs/ContentTagsApi.md +1 -3
- data/docs/DistributionsContainerApi.md +10 -136
- data/docs/IndexDynamicApi.md +50 -0
- data/docs/IndexStaticApi.md +50 -0
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +4 -4
- data/docs/PulpContainerNamespacesApi.md +9 -23
- data/docs/RemotesContainerApi.md +9 -135
- data/docs/RepositoriesContainerApi.md +11 -137
- data/docs/RepositoriesContainerPushApi.md +10 -24
- data/docs/RepositoriesContainerPushVersionsApi.md +1 -3
- data/docs/RepositoriesContainerVersionsApi.md +1 -3
- data/docs/TokenApi.md +1 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +0 -3
- data/lib/pulp_container_client/api/content_manifests_api.rb +0 -3
- data/lib/pulp_container_client/api/content_signatures_api.rb +0 -15
- data/lib/pulp_container_client/api/content_tags_api.rb +0 -3
- data/lib/pulp_container_client/api/distributions_container_api.rb +0 -163
- data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
- data/lib/pulp_container_client/api/index_static_api.rb +74 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +0 -23
- data/lib/pulp_container_client/api/remotes_container_api.rb +0 -163
- data/lib/pulp_container_client/api/repositories_container_api.rb +2 -165
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +0 -23
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +0 -3
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +0 -3
- data/lib/pulp_container_client/configuration.rb +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +19 -19
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +32 -32
- data/lib/pulp_container_client/models/container_container_push_repository.rb +32 -32
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +45 -45
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +19 -19
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +32 -32
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +2 -4
- data/spec/api/content_blobs_api_spec.rb +0 -1
- data/spec/api/content_manifests_api_spec.rb +0 -1
- data/spec/api/content_signatures_api_spec.rb +0 -5
- data/spec/api/content_tags_api_spec.rb +0 -1
- data/spec/api/distributions_container_api_spec.rb +0 -35
- data/spec/{models/set_label_spec.rb → api/index_dynamic_api_spec.rb} +11 -13
- data/spec/{models/unset_label_spec.rb → api/index_static_api_spec.rb} +12 -8
- data/spec/api/pulp_container_namespaces_api_spec.rb +0 -9
- data/spec/api/remotes_container_api_spec.rb +0 -35
- data/spec/api/repositories_container_api_spec.rb +1 -36
- data/spec/api/repositories_container_push_api_spec.rb +0 -9
- data/spec/api/repositories_container_push_versions_api_spec.rb +0 -1
- data/spec/api/repositories_container_versions_api_spec.rb +0 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +3 -3
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +2 -2
- data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
- metadata +55 -63
- data/docs/SetLabel.md +0 -19
- data/docs/SetLabelResponse.md +0 -19
- data/docs/UnsetLabel.md +0 -17
- data/docs/UnsetLabelResponse.md +0 -19
- data/lib/pulp_container_client/models/set_label.rb +0 -252
- data/lib/pulp_container_client/models/set_label_response.rb +0 -243
- data/lib/pulp_container_client/models/unset_label.rb +0 -242
- data/lib/pulp_container_client/models/unset_label_response.rb +0 -242
- data/spec/models/set_label_response_spec.rb +0 -47
- data/spec/models/unset_label_response_spec.rb +0 -47
|
@@ -18,13 +18,13 @@ module PulpContainerClient
|
|
|
18
18
|
# A reference to an associated signing service.
|
|
19
19
|
attr_accessor :manifest_signing_service
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
attr_accessor :description
|
|
21
|
+
attr_accessor :pulp_labels
|
|
23
22
|
|
|
24
23
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
25
24
|
attr_accessor :retain_repo_versions
|
|
26
25
|
|
|
27
|
-
|
|
26
|
+
# An optional description.
|
|
27
|
+
attr_accessor :description
|
|
28
28
|
|
|
29
29
|
# A unique name for this repository.
|
|
30
30
|
attr_accessor :name
|
|
@@ -33,9 +33,9 @@ module PulpContainerClient
|
|
|
33
33
|
def self.attribute_map
|
|
34
34
|
{
|
|
35
35
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
36
|
-
:'description' => :'description',
|
|
37
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
38
36
|
:'pulp_labels' => :'pulp_labels',
|
|
37
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
38
|
+
:'description' => :'description',
|
|
39
39
|
:'name' => :'name'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
@@ -44,9 +44,9 @@ module PulpContainerClient
|
|
|
44
44
|
def self.openapi_types
|
|
45
45
|
{
|
|
46
46
|
:'manifest_signing_service' => :'String',
|
|
47
|
-
:'description' => :'String',
|
|
48
|
-
:'retain_repo_versions' => :'Integer',
|
|
49
47
|
:'pulp_labels' => :'Hash<String, String>',
|
|
48
|
+
:'retain_repo_versions' => :'Integer',
|
|
49
|
+
:'description' => :'String',
|
|
50
50
|
:'name' => :'String'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
@@ -55,8 +55,8 @@ module PulpContainerClient
|
|
|
55
55
|
def self.openapi_nullable
|
|
56
56
|
Set.new([
|
|
57
57
|
:'manifest_signing_service',
|
|
58
|
-
:'description',
|
|
59
58
|
:'retain_repo_versions',
|
|
59
|
+
:'description',
|
|
60
60
|
])
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -79,18 +79,18 @@ module PulpContainerClient
|
|
|
79
79
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
-
if attributes.key?(:'
|
|
83
|
-
|
|
82
|
+
if attributes.key?(:'pulp_labels')
|
|
83
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
84
|
+
self.pulp_labels = value
|
|
85
|
+
end
|
|
84
86
|
end
|
|
85
87
|
|
|
86
88
|
if attributes.key?(:'retain_repo_versions')
|
|
87
89
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
88
90
|
end
|
|
89
91
|
|
|
90
|
-
if attributes.key?(:'
|
|
91
|
-
|
|
92
|
-
self.pulp_labels = value
|
|
93
|
-
end
|
|
92
|
+
if attributes.key?(:'description')
|
|
93
|
+
self.description = attributes[:'description']
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
if attributes.key?(:'name')
|
|
@@ -102,14 +102,14 @@ module PulpContainerClient
|
|
|
102
102
|
# @return Array for valid properties with the reasons
|
|
103
103
|
def list_invalid_properties
|
|
104
104
|
invalid_properties = Array.new
|
|
105
|
-
if !@description.nil? && @description.to_s.length < 1
|
|
106
|
-
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
107
|
-
end
|
|
108
|
-
|
|
109
105
|
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
110
106
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
111
107
|
end
|
|
112
108
|
|
|
109
|
+
if !@description.nil? && @description.to_s.length < 1
|
|
110
|
+
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
111
|
+
end
|
|
112
|
+
|
|
113
113
|
if !@name.nil? && @name.to_s.length < 1
|
|
114
114
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
115
115
|
end
|
|
@@ -120,22 +120,12 @@ module PulpContainerClient
|
|
|
120
120
|
# Check to see if the all the properties in the model are valid
|
|
121
121
|
# @return true if the model is valid
|
|
122
122
|
def valid?
|
|
123
|
-
return false if !@description.nil? && @description.to_s.length < 1
|
|
124
123
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
124
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
|
125
125
|
return false if !@name.nil? && @name.to_s.length < 1
|
|
126
126
|
true
|
|
127
127
|
end
|
|
128
128
|
|
|
129
|
-
# Custom attribute writer method with validation
|
|
130
|
-
# @param [Object] description Value to be assigned
|
|
131
|
-
def description=(description)
|
|
132
|
-
if !description.nil? && description.to_s.length < 1
|
|
133
|
-
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
|
134
|
-
end
|
|
135
|
-
|
|
136
|
-
@description = description
|
|
137
|
-
end
|
|
138
|
-
|
|
139
129
|
# Custom attribute writer method with validation
|
|
140
130
|
# @param [Object] retain_repo_versions Value to be assigned
|
|
141
131
|
def retain_repo_versions=(retain_repo_versions)
|
|
@@ -146,6 +136,16 @@ module PulpContainerClient
|
|
|
146
136
|
@retain_repo_versions = retain_repo_versions
|
|
147
137
|
end
|
|
148
138
|
|
|
139
|
+
# Custom attribute writer method with validation
|
|
140
|
+
# @param [Object] description Value to be assigned
|
|
141
|
+
def description=(description)
|
|
142
|
+
if !description.nil? && description.to_s.length < 1
|
|
143
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
@description = description
|
|
147
|
+
end
|
|
148
|
+
|
|
149
149
|
# Custom attribute writer method with validation
|
|
150
150
|
# @param [Object] name Value to be assigned
|
|
151
151
|
def name=(name)
|
|
@@ -162,9 +162,9 @@ module PulpContainerClient
|
|
|
162
162
|
return true if self.equal?(o)
|
|
163
163
|
self.class == o.class &&
|
|
164
164
|
manifest_signing_service == o.manifest_signing_service &&
|
|
165
|
-
description == o.description &&
|
|
166
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
167
165
|
pulp_labels == o.pulp_labels &&
|
|
166
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
167
|
+
description == o.description &&
|
|
168
168
|
name == o.name
|
|
169
169
|
end
|
|
170
170
|
|
|
@@ -177,7 +177,7 @@ module PulpContainerClient
|
|
|
177
177
|
# Calculates hash code according to all attributes.
|
|
178
178
|
# @return [Integer] Hash code
|
|
179
179
|
def hash
|
|
180
|
-
[manifest_signing_service,
|
|
180
|
+
[manifest_signing_service, pulp_labels, retain_repo_versions, description, name].hash
|
|
181
181
|
end
|
|
182
182
|
|
|
183
183
|
# Builds the object from hash
|
|
@@ -64,13 +64,9 @@ require 'pulp_container_client/models/remove_signatures_response'
|
|
|
64
64
|
require 'pulp_container_client/models/repair'
|
|
65
65
|
require 'pulp_container_client/models/repository_sign'
|
|
66
66
|
require 'pulp_container_client/models/repository_version_response'
|
|
67
|
-
require 'pulp_container_client/models/set_label'
|
|
68
|
-
require 'pulp_container_client/models/set_label_response'
|
|
69
67
|
require 'pulp_container_client/models/tag_copy'
|
|
70
68
|
require 'pulp_container_client/models/tag_image'
|
|
71
69
|
require 'pulp_container_client/models/un_tag_image'
|
|
72
|
-
require 'pulp_container_client/models/unset_label'
|
|
73
|
-
require 'pulp_container_client/models/unset_label_response'
|
|
74
70
|
|
|
75
71
|
# APIs
|
|
76
72
|
require 'pulp_container_client/api/content_blobs_api'
|
|
@@ -78,6 +74,8 @@ require 'pulp_container_client/api/content_manifests_api'
|
|
|
78
74
|
require 'pulp_container_client/api/content_signatures_api'
|
|
79
75
|
require 'pulp_container_client/api/content_tags_api'
|
|
80
76
|
require 'pulp_container_client/api/distributions_container_api'
|
|
77
|
+
require 'pulp_container_client/api/index_dynamic_api'
|
|
78
|
+
require 'pulp_container_client/api/index_static_api'
|
|
81
79
|
require 'pulp_container_client/api/pulp_container_namespaces_api'
|
|
82
80
|
require 'pulp_container_client/api/remotes_container_api'
|
|
83
81
|
require 'pulp_container_client/api/repositories_container_api'
|
|
@@ -43,7 +43,6 @@ describe 'ContentBlobsApi' do
|
|
|
43
43
|
# @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) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
44
44
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
45
45
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
46
|
-
# @option opts [String] :q
|
|
47
46
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
48
47
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
49
48
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
@@ -44,7 +44,6 @@ describe 'ContentManifestsApi' do
|
|
|
44
44
|
# @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) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `schema_version` - Schema version * `-schema_version` - Schema version (descending) * `media_type` - Media type * `-media_type` - Media type (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
45
45
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
46
46
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
47
|
-
# @option opts [String] :q
|
|
48
47
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
49
48
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
50
49
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
@@ -45,17 +45,12 @@ describe 'ContentSignaturesApi' do
|
|
|
45
45
|
# @option opts [String] :name Filter results where name matches value
|
|
46
46
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
47
47
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
48
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
|
49
48
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
50
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
|
51
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
|
52
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
53
49
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
54
50
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
55
51
|
# @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) * `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)
|
|
56
52
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
57
53
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
58
|
-
# @option opts [String] :q
|
|
59
54
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
60
55
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
61
56
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
@@ -45,7 +45,6 @@ describe 'ContentTagsApi' do
|
|
|
45
45
|
# @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) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
46
46
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
47
47
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
48
|
-
# @option opts [String] :q
|
|
49
48
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
50
49
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
51
50
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
@@ -33,7 +33,6 @@ describe 'DistributionsContainerApi' do
|
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
# unit tests for add_role
|
|
36
|
-
# Add a role
|
|
37
36
|
# Add a role for this object to users/groups.
|
|
38
37
|
# @param container_container_distribution_href
|
|
39
38
|
# @param nested_role
|
|
@@ -81,11 +80,7 @@ describe 'DistributionsContainerApi' do
|
|
|
81
80
|
# @option opts [String] :name Filter results where name matches value
|
|
82
81
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
83
82
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
84
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
|
85
83
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
86
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
|
87
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
|
88
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
89
84
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
90
85
|
# @option opts [String] :namespace__name
|
|
91
86
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
@@ -93,7 +88,6 @@ describe 'DistributionsContainerApi' do
|
|
|
93
88
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
94
89
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
95
90
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
96
|
-
# @option opts [String] :q
|
|
97
91
|
# @option opts [String] :repository Filter results where repository matches value
|
|
98
92
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
|
99
93
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
@@ -107,7 +101,6 @@ describe 'DistributionsContainerApi' do
|
|
|
107
101
|
end
|
|
108
102
|
|
|
109
103
|
# unit tests for list_roles
|
|
110
|
-
# List roles
|
|
111
104
|
# List roles assigned to this object.
|
|
112
105
|
# @param container_container_distribution_href
|
|
113
106
|
# @param [Hash] opts the optional parameters
|
|
@@ -121,7 +114,6 @@ describe 'DistributionsContainerApi' do
|
|
|
121
114
|
end
|
|
122
115
|
|
|
123
116
|
# unit tests for my_permissions
|
|
124
|
-
# List user permissions
|
|
125
117
|
# List permissions available to the current user on this object.
|
|
126
118
|
# @param container_container_distribution_href
|
|
127
119
|
# @param [Hash] opts the optional parameters
|
|
@@ -162,7 +154,6 @@ describe 'DistributionsContainerApi' do
|
|
|
162
154
|
end
|
|
163
155
|
|
|
164
156
|
# unit tests for remove_role
|
|
165
|
-
# Remove a role
|
|
166
157
|
# Remove a role for this object from users/groups.
|
|
167
158
|
# @param container_container_distribution_href
|
|
168
159
|
# @param nested_role
|
|
@@ -174,32 +165,6 @@ describe 'DistributionsContainerApi' do
|
|
|
174
165
|
end
|
|
175
166
|
end
|
|
176
167
|
|
|
177
|
-
# unit tests for set_label
|
|
178
|
-
# Set a label
|
|
179
|
-
# Set a single pulp_label on the object to a specific value or null.
|
|
180
|
-
# @param container_container_distribution_href
|
|
181
|
-
# @param set_label
|
|
182
|
-
# @param [Hash] opts the optional parameters
|
|
183
|
-
# @return [SetLabelResponse]
|
|
184
|
-
describe 'set_label test' do
|
|
185
|
-
it 'should work' do
|
|
186
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
187
|
-
end
|
|
188
|
-
end
|
|
189
|
-
|
|
190
|
-
# unit tests for unset_label
|
|
191
|
-
# Unset a label
|
|
192
|
-
# Unset a single pulp_label on the object.
|
|
193
|
-
# @param container_container_distribution_href
|
|
194
|
-
# @param unset_label
|
|
195
|
-
# @param [Hash] opts the optional parameters
|
|
196
|
-
# @return [UnsetLabelResponse]
|
|
197
|
-
describe 'unset_label test' do
|
|
198
|
-
it 'should work' do
|
|
199
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
200
|
-
end
|
|
201
|
-
end
|
|
202
|
-
|
|
203
168
|
# unit tests for update
|
|
204
169
|
# Update a container distribution
|
|
205
170
|
# Trigger an asynchronous update task
|
|
@@ -12,33 +12,31 @@ OpenAPI Generator version: 4.3.1
|
|
|
12
12
|
|
|
13
13
|
require 'spec_helper'
|
|
14
14
|
require 'json'
|
|
15
|
-
require 'date'
|
|
16
15
|
|
|
17
|
-
# Unit tests for PulpContainerClient::
|
|
16
|
+
# Unit tests for PulpContainerClient::IndexDynamicApi
|
|
18
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
18
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
19
|
+
describe 'IndexDynamicApi' do
|
|
21
20
|
before do
|
|
22
21
|
# run before each test
|
|
23
|
-
@
|
|
22
|
+
@api_instance = PulpContainerClient::IndexDynamicApi.new
|
|
24
23
|
end
|
|
25
24
|
|
|
26
25
|
after do
|
|
27
26
|
# run after each test
|
|
28
27
|
end
|
|
29
28
|
|
|
30
|
-
describe 'test an instance of
|
|
31
|
-
it 'should create an instance of
|
|
32
|
-
expect(@
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
describe 'test attribute "key"' do
|
|
36
|
-
it 'should work' do
|
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
29
|
+
describe 'test an instance of IndexDynamicApi' do
|
|
30
|
+
it 'should create an instance of IndexDynamicApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpContainerClient::IndexDynamicApi)
|
|
38
32
|
end
|
|
39
33
|
end
|
|
40
34
|
|
|
41
|
-
|
|
35
|
+
# unit tests for get
|
|
36
|
+
# Handles requests to the /index/dynamic endpoint
|
|
37
|
+
# @param [Hash] opts the optional parameters
|
|
38
|
+
# @return [nil]
|
|
39
|
+
describe 'get test' do
|
|
42
40
|
it 'should work' do
|
|
43
41
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
42
|
end
|
|
@@ -12,27 +12,31 @@ OpenAPI Generator version: 4.3.1
|
|
|
12
12
|
|
|
13
13
|
require 'spec_helper'
|
|
14
14
|
require 'json'
|
|
15
|
-
require 'date'
|
|
16
15
|
|
|
17
|
-
# Unit tests for PulpContainerClient::
|
|
16
|
+
# Unit tests for PulpContainerClient::IndexStaticApi
|
|
18
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
18
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
19
|
+
describe 'IndexStaticApi' do
|
|
21
20
|
before do
|
|
22
21
|
# run before each test
|
|
23
|
-
@
|
|
22
|
+
@api_instance = PulpContainerClient::IndexStaticApi.new
|
|
24
23
|
end
|
|
25
24
|
|
|
26
25
|
after do
|
|
27
26
|
# run after each test
|
|
28
27
|
end
|
|
29
28
|
|
|
30
|
-
describe 'test an instance of
|
|
31
|
-
it 'should create an instance of
|
|
32
|
-
expect(@
|
|
29
|
+
describe 'test an instance of IndexStaticApi' do
|
|
30
|
+
it 'should create an instance of IndexStaticApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpContainerClient::IndexStaticApi)
|
|
33
32
|
end
|
|
34
33
|
end
|
|
35
|
-
|
|
34
|
+
|
|
35
|
+
# unit tests for get
|
|
36
|
+
# Handles requests to the /index/static endpoint
|
|
37
|
+
# @param [Hash] opts the optional parameters
|
|
38
|
+
# @return [nil]
|
|
39
|
+
describe 'get test' do
|
|
36
40
|
it 'should work' do
|
|
37
41
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
42
|
end
|
|
@@ -33,7 +33,6 @@ describe 'PulpContainerNamespacesApi' do
|
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
# unit tests for add_role
|
|
36
|
-
# Add a role
|
|
37
36
|
# Add a role for this object to users/groups.
|
|
38
37
|
# @param container_container_namespace_href
|
|
39
38
|
# @param nested_role
|
|
@@ -77,17 +76,12 @@ describe 'PulpContainerNamespacesApi' do
|
|
|
77
76
|
# @option opts [String] :name Filter results where name matches value
|
|
78
77
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
79
78
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
80
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
|
81
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
82
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
|
83
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
|
84
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
85
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
86
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
87
82
|
# @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)
|
|
88
83
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
89
84
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
90
|
-
# @option opts [String] :q
|
|
91
85
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
92
86
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
93
87
|
# @return [PaginatedcontainerContainerNamespaceResponseList]
|
|
@@ -98,7 +92,6 @@ describe 'PulpContainerNamespacesApi' do
|
|
|
98
92
|
end
|
|
99
93
|
|
|
100
94
|
# unit tests for list_roles
|
|
101
|
-
# List roles
|
|
102
95
|
# List roles assigned to this object.
|
|
103
96
|
# @param container_container_namespace_href
|
|
104
97
|
# @param [Hash] opts the optional parameters
|
|
@@ -112,7 +105,6 @@ describe 'PulpContainerNamespacesApi' do
|
|
|
112
105
|
end
|
|
113
106
|
|
|
114
107
|
# unit tests for my_permissions
|
|
115
|
-
# List user permissions
|
|
116
108
|
# List permissions available to the current user on this object.
|
|
117
109
|
# @param container_container_namespace_href
|
|
118
110
|
# @param [Hash] opts the optional parameters
|
|
@@ -140,7 +132,6 @@ describe 'PulpContainerNamespacesApi' do
|
|
|
140
132
|
end
|
|
141
133
|
|
|
142
134
|
# unit tests for remove_role
|
|
143
|
-
# Remove a role
|
|
144
135
|
# Remove a role for this object from users/groups.
|
|
145
136
|
# @param container_container_namespace_href
|
|
146
137
|
# @param nested_role
|
|
@@ -33,7 +33,6 @@ describe 'RemotesContainerApi' do
|
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
# unit tests for add_role
|
|
36
|
-
# Add a role
|
|
37
36
|
# Add a role for this object to users/groups.
|
|
38
37
|
# @param container_container_remote_href
|
|
39
38
|
# @param nested_role
|
|
@@ -77,11 +76,7 @@ describe 'RemotesContainerApi' do
|
|
|
77
76
|
# @option opts [String] :name Filter results where name matches value
|
|
78
77
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
79
78
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
80
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
|
81
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
82
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
|
83
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
|
84
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
85
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
86
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
87
82
|
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -94,7 +89,6 @@ describe 'RemotesContainerApi' do
|
|
|
94
89
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
|
95
90
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
|
96
91
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
|
97
|
-
# @option opts [String] :q
|
|
98
92
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
99
93
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
100
94
|
# @return [PaginatedcontainerContainerRemoteResponseList]
|
|
@@ -105,7 +99,6 @@ describe 'RemotesContainerApi' do
|
|
|
105
99
|
end
|
|
106
100
|
|
|
107
101
|
# unit tests for list_roles
|
|
108
|
-
# List roles
|
|
109
102
|
# List roles assigned to this object.
|
|
110
103
|
# @param container_container_remote_href
|
|
111
104
|
# @param [Hash] opts the optional parameters
|
|
@@ -119,7 +112,6 @@ describe 'RemotesContainerApi' do
|
|
|
119
112
|
end
|
|
120
113
|
|
|
121
114
|
# unit tests for my_permissions
|
|
122
|
-
# List user permissions
|
|
123
115
|
# List permissions available to the current user on this object.
|
|
124
116
|
# @param container_container_remote_href
|
|
125
117
|
# @param [Hash] opts the optional parameters
|
|
@@ -160,7 +152,6 @@ describe 'RemotesContainerApi' do
|
|
|
160
152
|
end
|
|
161
153
|
|
|
162
154
|
# unit tests for remove_role
|
|
163
|
-
# Remove a role
|
|
164
155
|
# Remove a role for this object from users/groups.
|
|
165
156
|
# @param container_container_remote_href
|
|
166
157
|
# @param nested_role
|
|
@@ -172,32 +163,6 @@ describe 'RemotesContainerApi' do
|
|
|
172
163
|
end
|
|
173
164
|
end
|
|
174
165
|
|
|
175
|
-
# unit tests for set_label
|
|
176
|
-
# Set a label
|
|
177
|
-
# Set a single pulp_label on the object to a specific value or null.
|
|
178
|
-
# @param container_container_remote_href
|
|
179
|
-
# @param set_label
|
|
180
|
-
# @param [Hash] opts the optional parameters
|
|
181
|
-
# @return [SetLabelResponse]
|
|
182
|
-
describe 'set_label test' do
|
|
183
|
-
it 'should work' do
|
|
184
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
185
|
-
end
|
|
186
|
-
end
|
|
187
|
-
|
|
188
|
-
# unit tests for unset_label
|
|
189
|
-
# Unset a label
|
|
190
|
-
# Unset a single pulp_label on the object.
|
|
191
|
-
# @param container_container_remote_href
|
|
192
|
-
# @param unset_label
|
|
193
|
-
# @param [Hash] opts the optional parameters
|
|
194
|
-
# @return [UnsetLabelResponse]
|
|
195
|
-
describe 'unset_label test' do
|
|
196
|
-
it 'should work' do
|
|
197
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
198
|
-
end
|
|
199
|
-
end
|
|
200
|
-
|
|
201
166
|
# unit tests for update
|
|
202
167
|
# Update a container remote
|
|
203
168
|
# Trigger an asynchronous update task
|
|
@@ -46,7 +46,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
# unit tests for add_role
|
|
49
|
-
# Add a role
|
|
50
49
|
# Add a role for this object to users/groups.
|
|
51
50
|
# @param container_container_repository_href
|
|
52
51
|
# @param nested_role
|
|
@@ -60,7 +59,7 @@ describe 'RepositoriesContainerApi' do
|
|
|
60
59
|
|
|
61
60
|
# unit tests for build_image
|
|
62
61
|
# Build an Image
|
|
63
|
-
# Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is tech preview
|
|
62
|
+
# Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is in tech preview. Backwards compatibility when upgrading is not guaranteed.
|
|
64
63
|
# @param container_container_repository_href
|
|
65
64
|
# @param [Hash] opts the optional parameters
|
|
66
65
|
# @option opts [String] :containerfile_artifact Artifact representing the Containerfile that should be used to run podman-build.
|
|
@@ -133,18 +132,13 @@ describe 'RepositoriesContainerApi' do
|
|
|
133
132
|
# @option opts [String] :name Filter results where name matches value
|
|
134
133
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
135
134
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
136
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
|
137
135
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
138
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
|
139
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
|
140
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
141
136
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
142
137
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
143
138
|
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
144
139
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
145
140
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
146
141
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
147
|
-
# @option opts [String] :q
|
|
148
142
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
|
149
143
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
150
144
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
@@ -165,7 +159,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
165
159
|
end
|
|
166
160
|
|
|
167
161
|
# unit tests for list_roles
|
|
168
|
-
# List roles
|
|
169
162
|
# List roles assigned to this object.
|
|
170
163
|
# @param container_container_repository_href
|
|
171
164
|
# @param [Hash] opts the optional parameters
|
|
@@ -179,7 +172,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
179
172
|
end
|
|
180
173
|
|
|
181
174
|
# unit tests for my_permissions
|
|
182
|
-
# List user permissions
|
|
183
175
|
# List permissions available to the current user on this object.
|
|
184
176
|
# @param container_container_repository_href
|
|
185
177
|
# @param [Hash] opts the optional parameters
|
|
@@ -233,7 +225,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
233
225
|
end
|
|
234
226
|
|
|
235
227
|
# unit tests for remove_role
|
|
236
|
-
# Remove a role
|
|
237
228
|
# Remove a role for this object from users/groups.
|
|
238
229
|
# @param container_container_repository_href
|
|
239
230
|
# @param nested_role
|
|
@@ -245,19 +236,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
245
236
|
end
|
|
246
237
|
end
|
|
247
238
|
|
|
248
|
-
# unit tests for set_label
|
|
249
|
-
# Set a label
|
|
250
|
-
# Set a single pulp_label on the object to a specific value or null.
|
|
251
|
-
# @param container_container_repository_href
|
|
252
|
-
# @param set_label
|
|
253
|
-
# @param [Hash] opts the optional parameters
|
|
254
|
-
# @return [SetLabelResponse]
|
|
255
|
-
describe 'set_label test' do
|
|
256
|
-
it 'should work' do
|
|
257
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
258
|
-
end
|
|
259
|
-
end
|
|
260
|
-
|
|
261
239
|
# unit tests for sign
|
|
262
240
|
# Sign images in the repo
|
|
263
241
|
# Trigger an asynchronous task to sign content.
|
|
@@ -297,19 +275,6 @@ describe 'RepositoriesContainerApi' do
|
|
|
297
275
|
end
|
|
298
276
|
end
|
|
299
277
|
|
|
300
|
-
# unit tests for unset_label
|
|
301
|
-
# Unset a label
|
|
302
|
-
# Unset a single pulp_label on the object.
|
|
303
|
-
# @param container_container_repository_href
|
|
304
|
-
# @param unset_label
|
|
305
|
-
# @param [Hash] opts the optional parameters
|
|
306
|
-
# @return [UnsetLabelResponse]
|
|
307
|
-
describe 'unset_label test' do
|
|
308
|
-
it 'should work' do
|
|
309
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
310
|
-
end
|
|
311
|
-
end
|
|
312
|
-
|
|
313
278
|
# unit tests for untag
|
|
314
279
|
# Delete a tag
|
|
315
280
|
# Trigger an asynchronous task to untag an image in the repository
|