pulp_container_client 2.3.1 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -16
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerRemote.md +7 -1
- data/docs/ContainerContainerRemoteResponse.md +3 -7
- data/docs/ContentBlobsApi.md +12 -12
- data/docs/ContentManifestsApi.md +12 -12
- data/docs/ContentTagsApi.md +14 -14
- data/docs/{ContentGuardsContentRedirectApi.md → ContentguardsContentRedirectApi.md} +29 -29
- data/docs/DistributionsContainerApi.md +22 -22
- data/docs/ManifestCopy.md +1 -1
- data/docs/MediaTypesEnum.md +16 -0
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerRemote.md +7 -1
- data/docs/PulpContainerNamespacesApi.md +10 -10
- data/docs/RemotesContainerApi.md +24 -24
- data/docs/RemoveImage.md +17 -0
- data/docs/RepositoriesContainerApi.md +12 -12
- data/docs/RepositoriesContainerPushApi.md +68 -12
- data/docs/RepositoriesContainerVersionsApi.md +56 -56
- data/lib/pulp_container_client/api/content_blobs_api.rb +14 -14
- data/lib/pulp_container_client/api/content_manifests_api.rb +14 -14
- data/lib/pulp_container_client/api/content_tags_api.rb +17 -17
- data/lib/pulp_container_client/api/{content_guards_content_redirect_api.rb → contentguards_content_redirect_api.rb} +33 -33
- data/lib/pulp_container_client/api/distributions_container_api.rb +24 -24
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +11 -11
- data/lib/pulp_container_client/api/remotes_container_api.rb +26 -26
- data/lib/pulp_container_client/api/repositories_container_api.rb +13 -13
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +83 -13
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +100 -60
- data/lib/pulp_container_client/models/container_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +40 -40
- data/lib/pulp_container_client/models/container_container_remote.rb +36 -2
- data/lib/pulp_container_client/models/container_container_remote_response.rb +14 -35
- data/lib/pulp_container_client/models/manifest_copy.rb +1 -23
- data/lib/pulp_container_client/models/media_types_enum.rb +39 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +31 -31
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +36 -2
- data/lib/pulp_container_client/models/remove_image.rb +213 -0
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +3 -1
- data/spec/api/content_blobs_api_spec.rb +6 -6
- data/spec/api/content_manifests_api_spec.rb +6 -6
- data/spec/api/content_tags_api_spec.rb +7 -7
- data/spec/api/{content_guards_content_redirect_api_spec.rb → contentguards_content_redirect_api_spec.rb} +11 -11
- data/spec/api/distributions_container_api_spec.rb +11 -11
- data/spec/api/pulp_container_namespaces_api_spec.rb +5 -5
- data/spec/api/remotes_container_api_spec.rb +12 -12
- data/spec/api/repositories_container_api_spec.rb +6 -6
- data/spec/api/repositories_container_push_api_spec.rb +19 -6
- data/spec/api/repositories_container_versions_api_spec.rb +28 -28
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_remote_response_spec.rb +6 -18
- data/spec/models/container_container_remote_spec.rb +18 -0
- data/spec/models/manifest_copy_spec.rb +0 -4
- data/spec/models/media_types_enum_spec.rb +35 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_remote_spec.rb +18 -0
- data/spec/models/remove_image_spec.rb +41 -0
- metadata +53 -45
@@ -61,23 +61,23 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
61
61
|
# ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
62
62
|
# @param container_container_push_repository_href
|
63
63
|
# @param [Hash] opts the optional parameters
|
64
|
-
# @option opts [String] :content
|
65
|
-
# @option opts [String] :content__in
|
64
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
65
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
66
66
|
# @option opts [Integer] :limit Number of results to return per page.
|
67
|
-
# @option opts [
|
68
|
-
# @option opts [
|
69
|
-
# @option opts [
|
70
|
-
# @option opts [
|
71
|
-
# @option opts [
|
72
|
-
# @option opts [
|
67
|
+
# @option opts [Integer] :number
|
68
|
+
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
69
|
+
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
70
|
+
# @option opts [Integer] :number__lt Filter results where number is less than value
|
71
|
+
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
72
|
+
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
74
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
75
|
-
# @option opts [
|
76
|
-
# @option opts [
|
77
|
-
# @option opts [
|
78
|
-
# @option opts [
|
79
|
-
# @option opts [
|
80
|
-
# @option opts [
|
75
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
76
|
+
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
77
|
+
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
78
|
+
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
79
|
+
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
80
|
+
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
81
81
|
# @option opts [String] :fields A list of fields to include in the response.
|
82
82
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
83
83
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -92,23 +92,23 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
92
92
|
# ContainerRepositoryVersion represents a single container repository version.
|
93
93
|
# @param container_container_repository_href
|
94
94
|
# @param [Hash] opts the optional parameters
|
95
|
-
# @option opts [String] :content
|
96
|
-
# @option opts [String] :content__in
|
95
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
96
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
97
97
|
# @option opts [Integer] :limit Number of results to return per page.
|
98
|
-
# @option opts [
|
99
|
-
# @option opts [
|
100
|
-
# @option opts [
|
101
|
-
# @option opts [
|
102
|
-
# @option opts [
|
103
|
-
# @option opts [
|
98
|
+
# @option opts [Integer] :number
|
99
|
+
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
100
|
+
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
101
|
+
# @option opts [Integer] :number__lt Filter results where number is less than value
|
102
|
+
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
103
|
+
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
104
104
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
105
105
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
106
|
-
# @option opts [
|
107
|
-
# @option opts [
|
108
|
-
# @option opts [
|
109
|
-
# @option opts [
|
110
|
-
# @option opts [
|
111
|
-
# @option opts [
|
106
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
107
|
+
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
108
|
+
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
109
|
+
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
110
|
+
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
111
|
+
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
112
112
|
# @option opts [String] :fields A list of fields to include in the response.
|
113
113
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
114
114
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -32,7 +32,7 @@ describe 'ContainerContainerDistributionResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_href"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
@@ -44,37 +44,37 @@ describe 'ContainerContainerDistributionResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "base_path"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "repository_version"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "name"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "repository"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "content_guard"' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "pulp_created"' do
|
78
78
|
it 'should work' do
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
80
|
end
|
@@ -32,37 +32,37 @@ describe 'ContainerContainerDistribution' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistribution)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_labels"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "base_path"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "repository_version"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "name"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "repository"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "content_guard"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
@@ -68,12 +68,6 @@ describe 'ContainerContainerRemoteResponse' do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "client_key"' do
|
72
|
-
it 'should work' do
|
73
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
71
|
describe 'test attribute "tls_validation"' do
|
78
72
|
it 'should work' do
|
79
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -86,18 +80,6 @@ describe 'ContainerContainerRemoteResponse' do
|
|
86
80
|
end
|
87
81
|
end
|
88
82
|
|
89
|
-
describe 'test attribute "username"' do
|
90
|
-
it 'should work' do
|
91
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
describe 'test attribute "password"' do
|
96
|
-
it 'should work' do
|
97
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
-
end
|
99
|
-
end
|
100
|
-
|
101
83
|
describe 'test attribute "pulp_labels"' do
|
102
84
|
it 'should work' do
|
103
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -146,6 +128,12 @@ describe 'ContainerContainerRemoteResponse' do
|
|
146
128
|
end
|
147
129
|
end
|
148
130
|
|
131
|
+
describe 'test attribute "headers"' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
149
137
|
describe 'test attribute "rate_limit"' do
|
150
138
|
it 'should work' do
|
151
139
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -74,6 +74,18 @@ describe 'ContainerContainerRemote' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
+
describe 'test attribute "proxy_username"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "proxy_password"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
77
89
|
describe 'test attribute "username"' do
|
78
90
|
it 'should work' do
|
79
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -128,6 +140,12 @@ describe 'ContainerContainerRemote' do
|
|
128
140
|
end
|
129
141
|
end
|
130
142
|
|
143
|
+
describe 'test attribute "headers"' do
|
144
|
+
it 'should work' do
|
145
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
131
149
|
describe 'test attribute "rate_limit"' do
|
132
150
|
it 'should work' do
|
133
151
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -53,10 +53,6 @@ describe 'ManifestCopy' do
|
|
53
53
|
describe 'test attribute "media_types"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["application/vnd.docker.distribution.manifest.v1+json", "application/vnd.docker.distribution.manifest.v2+json", "application/vnd.docker.distribution.manifest.list.v2+json", "application/vnd.oci.image.manifest.v1+json", "application/vnd.oci.image.index.v1+json"])
|
57
|
-
# validator.allowable_values.each do |value|
|
58
|
-
# expect { @instance.media_types = value }.not_to raise_error
|
59
|
-
# end
|
60
56
|
end
|
61
57
|
end
|
62
58
|
|
@@ -0,0 +1,35 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpContainerClient::MediaTypesEnum
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'MediaTypesEnum' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpContainerClient::MediaTypesEnum.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of MediaTypesEnum' do
|
31
|
+
it 'should create an instance of MediaTypesEnum' do
|
32
|
+
expect(@instance).to be_instance_of(PulpContainerClient::MediaTypesEnum)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -32,37 +32,37 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::PatchedcontainerContainerDistribution)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_labels"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "base_path"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "repository_version"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "name"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "repository"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "content_guard"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
@@ -74,6 +74,18 @@ describe 'PatchedcontainerContainerRemote' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
+
describe 'test attribute "proxy_username"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "proxy_password"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
77
89
|
describe 'test attribute "username"' do
|
78
90
|
it 'should work' do
|
79
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -128,6 +140,12 @@ describe 'PatchedcontainerContainerRemote' do
|
|
128
140
|
end
|
129
141
|
end
|
130
142
|
|
143
|
+
describe 'test attribute "headers"' do
|
144
|
+
it 'should work' do
|
145
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
131
149
|
describe 'test attribute "rate_limit"' do
|
132
150
|
it 'should work' do
|
133
151
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,41 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpContainerClient::RemoveImage
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'RemoveImage' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpContainerClient::RemoveImage.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of RemoveImage' do
|
31
|
+
it 'should create an instance of RemoveImage' do
|
32
|
+
expect(@instance).to be_instance_of(PulpContainerClient::RemoveImage)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "digest"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_container_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.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: 2021-
|
11
|
+
date: 2021-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -90,13 +90,14 @@ files:
|
|
90
90
|
- docs/ContainerManifestResponse.md
|
91
91
|
- docs/ContainerTagResponse.md
|
92
92
|
- docs/ContentBlobsApi.md
|
93
|
-
- docs/ContentGuardsContentRedirectApi.md
|
94
93
|
- docs/ContentManifestsApi.md
|
95
94
|
- docs/ContentSummary.md
|
96
95
|
- docs/ContentSummaryResponse.md
|
97
96
|
- docs/ContentTagsApi.md
|
97
|
+
- docs/ContentguardsContentRedirectApi.md
|
98
98
|
- docs/DistributionsContainerApi.md
|
99
99
|
- docs/ManifestCopy.md
|
100
|
+
- docs/MediaTypesEnum.md
|
100
101
|
- docs/OCIBuildImage.md
|
101
102
|
- docs/PaginatedRepositoryVersionResponseList.md
|
102
103
|
- docs/PaginatedcontainerBlobResponseList.md
|
@@ -116,6 +117,7 @@ files:
|
|
116
117
|
- docs/PulpContainerNamespacesApi.md
|
117
118
|
- docs/RecursiveManage.md
|
118
119
|
- docs/RemotesContainerApi.md
|
120
|
+
- docs/RemoveImage.md
|
119
121
|
- docs/RepositoriesContainerApi.md
|
120
122
|
- docs/RepositoriesContainerPushApi.md
|
121
123
|
- docs/RepositoriesContainerVersionsApi.md
|
@@ -129,9 +131,9 @@ files:
|
|
129
131
|
- git_push.sh
|
130
132
|
- lib/pulp_container_client.rb
|
131
133
|
- lib/pulp_container_client/api/content_blobs_api.rb
|
132
|
-
- lib/pulp_container_client/api/content_guards_content_redirect_api.rb
|
133
134
|
- lib/pulp_container_client/api/content_manifests_api.rb
|
134
135
|
- lib/pulp_container_client/api/content_tags_api.rb
|
136
|
+
- lib/pulp_container_client/api/contentguards_content_redirect_api.rb
|
135
137
|
- lib/pulp_container_client/api/distributions_container_api.rb
|
136
138
|
- lib/pulp_container_client/api/pulp_container_namespaces_api.rb
|
137
139
|
- lib/pulp_container_client/api/remotes_container_api.rb
|
@@ -160,6 +162,7 @@ files:
|
|
160
162
|
- lib/pulp_container_client/models/content_summary.rb
|
161
163
|
- lib/pulp_container_client/models/content_summary_response.rb
|
162
164
|
- lib/pulp_container_client/models/manifest_copy.rb
|
165
|
+
- lib/pulp_container_client/models/media_types_enum.rb
|
163
166
|
- lib/pulp_container_client/models/oci_build_image.rb
|
164
167
|
- lib/pulp_container_client/models/paginated_repository_version_response_list.rb
|
165
168
|
- lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb
|
@@ -177,6 +180,7 @@ files:
|
|
177
180
|
- lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb
|
178
181
|
- lib/pulp_container_client/models/policy_enum.rb
|
179
182
|
- lib/pulp_container_client/models/recursive_manage.rb
|
183
|
+
- lib/pulp_container_client/models/remove_image.rb
|
180
184
|
- lib/pulp_container_client/models/repository_sync_url.rb
|
181
185
|
- lib/pulp_container_client/models/repository_version.rb
|
182
186
|
- lib/pulp_container_client/models/repository_version_response.rb
|
@@ -186,9 +190,9 @@ files:
|
|
186
190
|
- lib/pulp_container_client/version.rb
|
187
191
|
- pulp_container_client.gemspec
|
188
192
|
- spec/api/content_blobs_api_spec.rb
|
189
|
-
- spec/api/content_guards_content_redirect_api_spec.rb
|
190
193
|
- spec/api/content_manifests_api_spec.rb
|
191
194
|
- spec/api/content_tags_api_spec.rb
|
195
|
+
- spec/api/contentguards_content_redirect_api_spec.rb
|
192
196
|
- spec/api/distributions_container_api_spec.rb
|
193
197
|
- spec/api/pulp_container_namespaces_api_spec.rb
|
194
198
|
- spec/api/remotes_container_api_spec.rb
|
@@ -216,6 +220,7 @@ files:
|
|
216
220
|
- spec/models/content_summary_response_spec.rb
|
217
221
|
- spec/models/content_summary_spec.rb
|
218
222
|
- spec/models/manifest_copy_spec.rb
|
223
|
+
- spec/models/media_types_enum_spec.rb
|
219
224
|
- spec/models/oci_build_image_spec.rb
|
220
225
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
221
226
|
- spec/models/paginatedcontainer_blob_response_list_spec.rb
|
@@ -233,6 +238,7 @@ files:
|
|
233
238
|
- spec/models/patchedcontainer_content_redirect_content_guard_spec.rb
|
234
239
|
- spec/models/policy_enum_spec.rb
|
235
240
|
- spec/models/recursive_manage_spec.rb
|
241
|
+
- spec/models/remove_image_spec.rb
|
236
242
|
- spec/models/repository_sync_url_spec.rb
|
237
243
|
- spec/models/repository_version_response_spec.rb
|
238
244
|
- spec/models/repository_version_spec.rb
|
@@ -264,58 +270,60 @@ signing_key:
|
|
264
270
|
specification_version: 4
|
265
271
|
summary: Pulp 3 API Ruby Gem
|
266
272
|
test_files:
|
267
|
-
- spec/api/pulp_container_namespaces_api_spec.rb
|
268
|
-
- spec/api/content_blobs_api_spec.rb
|
269
273
|
- spec/api/repositories_container_versions_api_spec.rb
|
270
|
-
- spec/api/repositories_container_api_spec.rb
|
271
274
|
- spec/api/repositories_container_push_api_spec.rb
|
272
|
-
- spec/api/content_guards_content_redirect_api_spec.rb
|
273
|
-
- spec/api/content_manifests_api_spec.rb
|
274
|
-
- spec/api/content_tags_api_spec.rb
|
275
|
-
- spec/api/remotes_container_api_spec.rb
|
276
|
-
- spec/api/distributions_container_api_spec.rb
|
277
275
|
- spec/api/token_api_spec.rb
|
276
|
+
- spec/api/repositories_container_api_spec.rb
|
277
|
+
- spec/api/content_blobs_api_spec.rb
|
278
|
+
- spec/api/distributions_container_api_spec.rb
|
279
|
+
- spec/api/pulp_container_namespaces_api_spec.rb
|
280
|
+
- spec/api/contentguards_content_redirect_api_spec.rb
|
281
|
+
- spec/api/remotes_container_api_spec.rb
|
282
|
+
- spec/api/content_tags_api_spec.rb
|
283
|
+
- spec/api/content_manifests_api_spec.rb
|
278
284
|
- spec/api_client_spec.rb
|
279
285
|
- spec/configuration_spec.rb
|
280
|
-
- spec/models/
|
281
|
-
- spec/models/
|
282
|
-
- spec/models/patchedcontainer_container_repository_spec.rb
|
283
|
-
- spec/models/repository_version_spec.rb
|
284
|
-
- spec/models/repository_version_response_spec.rb
|
285
|
-
- spec/models/async_operation_response_spec.rb
|
286
|
-
- spec/models/paginatedcontainer_container_distribution_response_list_spec.rb
|
287
|
-
- spec/models/content_summary_response_spec.rb
|
288
|
-
- spec/models/paginatedcontainer_container_namespace_response_list_spec.rb
|
289
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
286
|
+
- spec/models/patchedcontainer_container_distribution_spec.rb
|
287
|
+
- spec/models/container_container_namespace_response_spec.rb
|
290
288
|
- spec/models/content_summary_spec.rb
|
289
|
+
- spec/models/manifest_copy_spec.rb
|
290
|
+
- spec/models/async_operation_response_spec.rb
|
291
|
+
- spec/models/remove_image_spec.rb
|
292
|
+
- spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb
|
293
|
+
- spec/models/container_content_redirect_content_guard_response_spec.rb
|
294
|
+
- spec/models/container_container_distribution_spec.rb
|
295
|
+
- spec/models/paginatedcontainer_blob_response_list_spec.rb
|
296
|
+
- spec/models/container_blob_response_spec.rb
|
297
|
+
- spec/models/container_container_remote_response_spec.rb
|
291
298
|
- spec/models/policy_enum_spec.rb
|
292
|
-
- spec/models/
|
293
|
-
- spec/models/
|
294
|
-
- spec/models/container_container_repository_response_spec.rb
|
299
|
+
- spec/models/patchedcontainer_content_redirect_content_guard_spec.rb
|
300
|
+
- spec/models/paginatedcontainer_container_namespace_response_list_spec.rb
|
295
301
|
- spec/models/container_tag_response_spec.rb
|
302
|
+
- spec/models/tag_image_spec.rb
|
303
|
+
- spec/models/container_container_namespace_spec.rb
|
304
|
+
- spec/models/content_summary_response_spec.rb
|
305
|
+
- spec/models/paginatedcontainer_manifest_response_list_spec.rb
|
306
|
+
- spec/models/un_tag_image_spec.rb
|
307
|
+
- spec/models/paginatedcontainer_container_remote_response_list_spec.rb
|
308
|
+
- spec/models/repository_version_spec.rb
|
309
|
+
- spec/models/paginatedcontainer_tag_response_list_spec.rb
|
296
310
|
- spec/models/patchedcontainer_container_remote_spec.rb
|
297
|
-
- spec/models/container_container_distribution_response_spec.rb
|
298
|
-
- spec/models/container_container_namespace_response_spec.rb
|
299
311
|
- spec/models/oci_build_image_spec.rb
|
300
|
-
- spec/models/
|
312
|
+
- spec/models/container_container_push_repository_response_spec.rb
|
313
|
+
- spec/models/media_types_enum_spec.rb
|
314
|
+
- spec/models/patchedcontainer_container_repository_spec.rb
|
315
|
+
- spec/models/paginatedcontainer_container_distribution_response_list_spec.rb
|
316
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
317
|
+
- spec/models/container_manifest_response_spec.rb
|
318
|
+
- spec/models/repository_version_response_spec.rb
|
319
|
+
- spec/models/container_container_repository_spec.rb
|
301
320
|
- spec/models/recursive_manage_spec.rb
|
302
|
-
- spec/models/paginatedcontainer_tag_response_list_spec.rb
|
303
321
|
- spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb
|
304
|
-
- spec/models/paginatedcontainer_blob_response_list_spec.rb
|
305
|
-
- spec/models/container_container_remote_response_spec.rb
|
306
|
-
- spec/models/container_container_remote_spec.rb
|
307
|
-
- spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb
|
308
|
-
- spec/models/container_content_redirect_content_guard_response_spec.rb
|
309
322
|
- spec/models/repository_sync_url_spec.rb
|
310
|
-
- spec/models/
|
311
|
-
- spec/models/container_manifest_response_spec.rb
|
312
|
-
- spec/models/patchedcontainer_container_distribution_spec.rb
|
313
|
-
- spec/models/container_container_namespace_spec.rb
|
314
|
-
- spec/models/container_blob_response_spec.rb
|
315
|
-
- spec/models/tag_image_spec.rb
|
316
|
-
- spec/models/container_container_push_repository_response_spec.rb
|
317
|
-
- spec/models/paginatedcontainer_manifest_response_list_spec.rb
|
318
|
-
- spec/models/container_container_distribution_spec.rb
|
319
|
-
- spec/models/manifest_copy_spec.rb
|
323
|
+
- spec/models/tag_copy_spec.rb
|
320
324
|
- spec/models/paginatedcontainer_container_repository_response_list_spec.rb
|
325
|
+
- spec/models/container_content_redirect_content_guard_spec.rb
|
326
|
+
- spec/models/container_container_repository_response_spec.rb
|
327
|
+
- spec/models/container_container_remote_spec.rb
|
328
|
+
- spec/models/container_container_distribution_response_spec.rb
|
321
329
|
- spec/spec_helper.rb
|