pulp_container_client 2.0.0b2 → 2.0.0b3
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 +32 -20
- data/docs/{ContainerBlobRead.md → ContainerBlob.md} +2 -2
- data/docs/ContainerContainerDistribution.md +8 -8
- data/docs/{ContainerContainerRepositoryRead.md → ContainerContainerPushRepository.md} +2 -2
- data/docs/ContainerContentRedirectContentGuard.md +23 -0
- data/docs/{ContainerManifestRead.md → ContainerManifest.md} +2 -2
- data/docs/{ContainerTagRead.md → ContainerTag.md} +2 -2
- data/docs/ContentBlobsApi.md +2 -2
- data/docs/ContentManifestsApi.md +2 -2
- data/docs/ContentTagsApi.md +2 -2
- data/docs/ContentguardsContentRedirectApi.md +355 -0
- data/docs/DistributionsContainerApi.md +4 -4
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +23 -0
- data/docs/InlineResponse2008.md +23 -0
- data/docs/RemotesContainerApi.md +6 -6
- data/docs/RepositoriesContainerApi.md +6 -6
- data/docs/RepositoriesContainerPushApi.md +356 -0
- data/docs/RepositoriesContainerVersionsApi.md +285 -20
- data/docs/{V2Api.md → TokenApi.md} +5 -5
- data/lib/pulp_container_client.rb +10 -12
- data/lib/pulp_container_client/api/content_blobs_api.rb +3 -3
- data/lib/pulp_container_client/api/content_manifests_api.rb +3 -3
- data/lib/pulp_container_client/api/content_tags_api.rb +3 -3
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +431 -0
- data/lib/pulp_container_client/api/distributions_container_api.rb +6 -6
- data/lib/pulp_container_client/api/remotes_container_api.rb +9 -9
- data/lib/pulp_container_client/api/repositories_container_api.rb +9 -9
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +433 -0
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +354 -34
- data/lib/pulp_container_client/api/{v2_api.rb → token_api.rb} +6 -6
- data/lib/pulp_container_client/models/{container_blob_read.rb → container_blob.rb} +3 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +60 -61
- data/lib/pulp_container_client/models/{container_container_repository_read.rb → container_container_push_repository.rb} +3 -3
- data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +276 -0
- data/lib/pulp_container_client/models/{container_manifest_read.rb → container_manifest.rb} +3 -3
- data/lib/pulp_container_client/models/{container_tag_read.rb → container_tag.rb} +3 -3
- data/lib/pulp_container_client/models/inline_response200.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_container_client/models/{repository_version_read.rb → inline_response2007.rb} +42 -39
- data/lib/pulp_container_client/models/inline_response2008.rb +247 -0
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_blobs_api_spec.rb +1 -1
- data/spec/api/content_manifests_api_spec.rb +1 -1
- data/spec/api/content_tags_api_spec.rb +1 -1
- data/spec/api/contentguards_content_redirect_api_spec.rb +117 -0
- data/spec/api/distributions_container_api_spec.rb +2 -2
- data/spec/api/remotes_container_api_spec.rb +3 -3
- data/spec/api/repositories_container_api_spec.rb +3 -3
- data/spec/api/repositories_container_push_api_spec.rb +117 -0
- data/spec/api/repositories_container_versions_api_spec.rb +77 -7
- data/spec/api/{v2_api_spec.rb → token_api_spec.rb} +7 -7
- data/spec/models/{container_blob_read_spec.rb → container_blob_spec.rb} +6 -6
- data/spec/models/container_container_distribution_spec.rb +7 -7
- data/spec/models/{container_container_repository_read_spec.rb → container_container_push_repository_spec.rb} +6 -6
- data/spec/models/{repository_version_read_spec.rb → container_content_redirect_content_guard_spec.rb} +8 -14
- data/spec/models/{container_manifest_read_spec.rb → container_manifest_spec.rb} +6 -6
- data/spec/models/{container_tag_read_spec.rb → container_tag_spec.rb} +6 -6
- data/spec/models/inline_response2007_spec.rb +59 -0
- data/spec/models/inline_response2008_spec.rb +59 -0
- metadata +42 -50
- data/docs/ContainerContainerDistributionRead.md +0 -31
- data/docs/ContainerContainerRemoteRead.md +0 -47
- data/docs/RepositoryVersionRead.md +0 -25
- data/docs/V2BlobsApi.md +0 -63
- data/docs/V2CatalogApi.md +0 -64
- data/docs/V2ListApi.md +0 -66
- data/docs/V2UploadsApi.md +0 -61
- data/lib/pulp_container_client/api/v2_blobs_api.rb +0 -88
- data/lib/pulp_container_client/api/v2_catalog_api.rb +0 -80
- data/lib/pulp_container_client/api/v2_list_api.rb +0 -86
- data/lib/pulp_container_client/api/v2_uploads_api.rb +0 -82
- data/lib/pulp_container_client/models/container_container_distribution_read.rb +0 -342
- data/lib/pulp_container_client/models/container_container_remote_read.rb +0 -578
- data/spec/api/v2_blobs_api_spec.rb +0 -48
- data/spec/api/v2_catalog_api_spec.rb +0 -47
- data/spec/api/v2_list_api_spec.rb +0 -48
- data/spec/api/v2_uploads_api_spec.rb +0 -47
- data/spec/models/container_container_distribution_read_spec.rb +0 -83
- data/spec/models/container_container_remote_read_spec.rb +0 -135
|
@@ -61,7 +61,7 @@ describe 'ContentBlobsApi' do
|
|
|
61
61
|
# @param [Hash] opts the optional parameters
|
|
62
62
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
63
63
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
64
|
-
# @return [
|
|
64
|
+
# @return [ContainerBlob]
|
|
65
65
|
describe 'read test' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -61,7 +61,7 @@ describe 'ContentManifestsApi' do
|
|
|
61
61
|
# @param [Hash] opts the optional parameters
|
|
62
62
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
63
63
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
64
|
-
# @return [
|
|
64
|
+
# @return [ContainerManifest]
|
|
65
65
|
describe 'read test' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -62,7 +62,7 @@ describe 'ContentTagsApi' do
|
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
63
63
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
64
64
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
65
|
-
# @return [
|
|
65
|
+
# @return [ContainerTag]
|
|
66
66
|
describe 'read test' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
|
|
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
|
+
|
|
16
|
+
# Unit tests for PulpContainerClient::ContentguardsContentRedirectApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'ContentguardsContentRedirectApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpContainerClient::ContentguardsContentRedirectApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of ContentguardsContentRedirectApi' do
|
|
30
|
+
it 'should create an instance of ContentguardsContentRedirectApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpContainerClient::ContentguardsContentRedirectApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for create
|
|
36
|
+
# Create a content redirect content guard
|
|
37
|
+
# Content guard to protect preauthenticated redirects to the content app.
|
|
38
|
+
# @param data
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [ContainerContentRedirectContentGuard]
|
|
41
|
+
describe 'create test' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# unit tests for delete
|
|
48
|
+
# Delete a content redirect content guard
|
|
49
|
+
# Content guard to protect preauthenticated redirects to the content app.
|
|
50
|
+
# @param content_redirect_content_guard_href URI of Content Redirect Content Guard. e.g.: /pulp/api/v3/contentguards/container/content_redirect/1/
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @return [nil]
|
|
53
|
+
describe 'delete test' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# unit tests for list
|
|
60
|
+
# List content redirect content guards
|
|
61
|
+
# Content guard to protect preauthenticated redirects to the content app.
|
|
62
|
+
# @param [Hash] opts the optional parameters
|
|
63
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
64
|
+
# @option opts [String] :name
|
|
65
|
+
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
|
66
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
67
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
68
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
69
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
70
|
+
# @return [InlineResponse2003]
|
|
71
|
+
describe 'list test' 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
|
+
# unit tests for partial_update
|
|
78
|
+
# Partially update a content redirect content guard
|
|
79
|
+
# Content guard to protect preauthenticated redirects to the content app.
|
|
80
|
+
# @param content_redirect_content_guard_href URI of Content Redirect Content Guard. e.g.: /pulp/api/v3/contentguards/container/content_redirect/1/
|
|
81
|
+
# @param data
|
|
82
|
+
# @param [Hash] opts the optional parameters
|
|
83
|
+
# @return [ContainerContentRedirectContentGuard]
|
|
84
|
+
describe 'partial_update test' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# unit tests for read
|
|
91
|
+
# Inspect a content redirect content guard
|
|
92
|
+
# Content guard to protect preauthenticated redirects to the content app.
|
|
93
|
+
# @param content_redirect_content_guard_href URI of Content Redirect Content Guard. e.g.: /pulp/api/v3/contentguards/container/content_redirect/1/
|
|
94
|
+
# @param [Hash] opts the optional parameters
|
|
95
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
96
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
97
|
+
# @return [ContainerContentRedirectContentGuard]
|
|
98
|
+
describe 'read test' do
|
|
99
|
+
it 'should work' do
|
|
100
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# unit tests for update
|
|
105
|
+
# Update a content redirect content guard
|
|
106
|
+
# Content guard to protect preauthenticated redirects to the content app.
|
|
107
|
+
# @param content_redirect_content_guard_href URI of Content Redirect Content Guard. e.g.: /pulp/api/v3/contentguards/container/content_redirect/1/
|
|
108
|
+
# @param data
|
|
109
|
+
# @param [Hash] opts the optional parameters
|
|
110
|
+
# @return [ContainerContentRedirectContentGuard]
|
|
111
|
+
describe 'update test' do
|
|
112
|
+
it 'should work' do
|
|
113
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
end
|
|
@@ -71,7 +71,7 @@ describe 'DistributionsContainerApi' do
|
|
|
71
71
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
72
72
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
73
73
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
74
|
-
# @return [
|
|
74
|
+
# @return [InlineResponse2004]
|
|
75
75
|
describe 'list test' do
|
|
76
76
|
it 'should work' do
|
|
77
77
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -98,7 +98,7 @@ describe 'DistributionsContainerApi' do
|
|
|
98
98
|
# @param [Hash] opts the optional parameters
|
|
99
99
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
100
100
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
101
|
-
# @return [
|
|
101
|
+
# @return [ContainerContainerDistribution]
|
|
102
102
|
describe 'read test' do
|
|
103
103
|
it 'should work' do
|
|
104
104
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -37,7 +37,7 @@ describe 'RemotesContainerApi' do
|
|
|
37
37
|
# Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
|
38
38
|
# @param data
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [ContainerContainerRemote]
|
|
41
41
|
describe 'create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -73,7 +73,7 @@ describe 'RemotesContainerApi' do
|
|
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
74
74
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
75
75
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
76
|
-
# @return [
|
|
76
|
+
# @return [InlineResponse2005]
|
|
77
77
|
describe 'list test' do
|
|
78
78
|
it 'should work' do
|
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -100,7 +100,7 @@ describe 'RemotesContainerApi' do
|
|
|
100
100
|
# @param [Hash] opts the optional parameters
|
|
101
101
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
102
102
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
103
|
-
# @return [
|
|
103
|
+
# @return [ContainerContainerRemote]
|
|
104
104
|
describe 'read test' do
|
|
105
105
|
it 'should work' do
|
|
106
106
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -92,7 +92,7 @@ describe 'RepositoriesContainerApi' do
|
|
|
92
92
|
# ViewSet for container repo.
|
|
93
93
|
# @param data
|
|
94
94
|
# @param [Hash] opts the optional parameters
|
|
95
|
-
# @return [
|
|
95
|
+
# @return [ContainerContainerRepository]
|
|
96
96
|
describe 'create test' do
|
|
97
97
|
it 'should work' do
|
|
98
98
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -122,7 +122,7 @@ describe 'RepositoriesContainerApi' do
|
|
|
122
122
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
123
123
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
124
124
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
125
|
-
# @return [
|
|
125
|
+
# @return [InlineResponse2008]
|
|
126
126
|
describe 'list test' do
|
|
127
127
|
it 'should work' do
|
|
128
128
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -149,7 +149,7 @@ describe 'RepositoriesContainerApi' do
|
|
|
149
149
|
# @param [Hash] opts the optional parameters
|
|
150
150
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
151
151
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
152
|
-
# @return [
|
|
152
|
+
# @return [ContainerContainerRepository]
|
|
153
153
|
describe 'read test' do
|
|
154
154
|
it 'should work' do
|
|
155
155
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
|
|
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
|
+
|
|
16
|
+
# Unit tests for PulpContainerClient::RepositoriesContainerPushApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'RepositoriesContainerPushApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of RepositoriesContainerPushApi' do
|
|
30
|
+
it 'should create an instance of RepositoriesContainerPushApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpContainerClient::RepositoriesContainerPushApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for create
|
|
36
|
+
# Create a container push repository
|
|
37
|
+
# ViewSet for container push repository.
|
|
38
|
+
# @param data
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [ContainerContainerPushRepository]
|
|
41
|
+
describe 'create test' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# unit tests for delete
|
|
48
|
+
# Delete a container push repository
|
|
49
|
+
# Trigger an asynchronous delete task
|
|
50
|
+
# @param container_push_repository_href URI of Container Push Repository. e.g.: /pulp/api/v3/repositories/container/container-push/1/
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @return [AsyncOperationResponse]
|
|
53
|
+
describe 'delete test' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# unit tests for list
|
|
60
|
+
# List container push repositorys
|
|
61
|
+
# ViewSet for container push repository.
|
|
62
|
+
# @param [Hash] opts the optional parameters
|
|
63
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
64
|
+
# @option opts [String] :name
|
|
65
|
+
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
|
66
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
67
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
68
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
69
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
70
|
+
# @return [InlineResponse2006]
|
|
71
|
+
describe 'list test' 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
|
+
# unit tests for partial_update
|
|
78
|
+
# Partially update a container push repository
|
|
79
|
+
# Trigger an asynchronous partial update task
|
|
80
|
+
# @param container_push_repository_href URI of Container Push Repository. e.g.: /pulp/api/v3/repositories/container/container-push/1/
|
|
81
|
+
# @param data
|
|
82
|
+
# @param [Hash] opts the optional parameters
|
|
83
|
+
# @return [AsyncOperationResponse]
|
|
84
|
+
describe 'partial_update test' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# unit tests for read
|
|
91
|
+
# Inspect a container push repository
|
|
92
|
+
# ViewSet for container push repository.
|
|
93
|
+
# @param container_push_repository_href URI of Container Push Repository. e.g.: /pulp/api/v3/repositories/container/container-push/1/
|
|
94
|
+
# @param [Hash] opts the optional parameters
|
|
95
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
96
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
97
|
+
# @return [ContainerContainerPushRepository]
|
|
98
|
+
describe 'read test' do
|
|
99
|
+
it 'should work' do
|
|
100
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# unit tests for update
|
|
105
|
+
# Update a container push repository
|
|
106
|
+
# Trigger an asynchronous update task
|
|
107
|
+
# @param container_push_repository_href URI of Container Push Repository. e.g.: /pulp/api/v3/repositories/container/container-push/1/
|
|
108
|
+
# @param data
|
|
109
|
+
# @param [Hash] opts the optional parameters
|
|
110
|
+
# @return [AsyncOperationResponse]
|
|
111
|
+
describe 'update test' do
|
|
112
|
+
it 'should work' do
|
|
113
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
end
|
|
@@ -35,7 +35,7 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
35
35
|
# unit tests for delete
|
|
36
36
|
# Delete a repository version
|
|
37
37
|
# Trigger an asynchronous task to delete a repositroy version.
|
|
38
|
-
# @param
|
|
38
|
+
# @param container_push_repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container-push/1/versions/1/
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [AsyncOperationResponse]
|
|
41
41
|
describe 'delete test' do
|
|
@@ -44,8 +44,51 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
+
# unit tests for delete_0
|
|
48
|
+
# Delete a repository version
|
|
49
|
+
# Trigger an asynchronous task to delete a repositroy version.
|
|
50
|
+
# @param container_repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container/1/versions/1/
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @return [AsyncOperationResponse]
|
|
53
|
+
describe 'delete_0 test' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
47
59
|
# unit tests for list
|
|
48
60
|
# List repository versions
|
|
61
|
+
# ContainerPushRepositoryVersion represents a single container push repository version.
|
|
62
|
+
# @param container_push_repository_pk
|
|
63
|
+
# @param [Hash] opts the optional parameters
|
|
64
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
65
|
+
# @option opts [Float] :number
|
|
66
|
+
# @option opts [Float] :number__lt Filter results where number is less than value
|
|
67
|
+
# @option opts [Float] :number__lte Filter results where number is less than or equal to value
|
|
68
|
+
# @option opts [Float] :number__gt Filter results where number is greater than value
|
|
69
|
+
# @option opts [Float] :number__gte Filter results where number is greater than or equal to value
|
|
70
|
+
# @option opts [Float] :number__range Filter results where number is between two comma separated values
|
|
71
|
+
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
|
72
|
+
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
|
73
|
+
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
74
|
+
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
75
|
+
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
76
|
+
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
|
77
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
|
78
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
79
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
80
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
81
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
82
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
83
|
+
# @return [InlineResponse2007]
|
|
84
|
+
describe 'list test' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# unit tests for list_0
|
|
91
|
+
# List repository versions
|
|
49
92
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
50
93
|
# @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
|
|
51
94
|
# @param [Hash] opts the optional parameters
|
|
@@ -61,14 +104,15 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
61
104
|
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
62
105
|
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
63
106
|
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
64
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
|
65
107
|
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
|
108
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
|
109
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
66
110
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
67
111
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
68
112
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
69
113
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
70
|
-
# @return [
|
|
71
|
-
describe '
|
|
114
|
+
# @return [InlineResponse2007]
|
|
115
|
+
describe 'list_0 test' do
|
|
72
116
|
it 'should work' do
|
|
73
117
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
118
|
end
|
|
@@ -76,13 +120,27 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
76
120
|
|
|
77
121
|
# unit tests for read
|
|
78
122
|
# Inspect a repository version
|
|
123
|
+
# ContainerPushRepositoryVersion represents a single container push repository version.
|
|
124
|
+
# @param container_push_repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container-push/1/versions/1/
|
|
125
|
+
# @param [Hash] opts the optional parameters
|
|
126
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
127
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
128
|
+
# @return [RepositoryVersion]
|
|
129
|
+
describe 'read test' do
|
|
130
|
+
it 'should work' do
|
|
131
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# unit tests for read_0
|
|
136
|
+
# Inspect a repository version
|
|
79
137
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
80
138
|
# @param container_repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container/1/versions/1/
|
|
81
139
|
# @param [Hash] opts the optional parameters
|
|
82
140
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
83
141
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
84
|
-
# @return [
|
|
85
|
-
describe '
|
|
142
|
+
# @return [RepositoryVersion]
|
|
143
|
+
describe 'read_0 test' do
|
|
86
144
|
it 'should work' do
|
|
87
145
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
88
146
|
end
|
|
@@ -90,7 +148,7 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
90
148
|
|
|
91
149
|
# unit tests for repair
|
|
92
150
|
# Trigger an asynchronous task to repair a repositroy version.
|
|
93
|
-
# @param
|
|
151
|
+
# @param container_push_repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container-push/1/versions/1/
|
|
94
152
|
# @param data
|
|
95
153
|
# @param [Hash] opts the optional parameters
|
|
96
154
|
# @return [AsyncOperationResponse]
|
|
@@ -100,4 +158,16 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
100
158
|
end
|
|
101
159
|
end
|
|
102
160
|
|
|
161
|
+
# unit tests for repair_0
|
|
162
|
+
# Trigger an asynchronous task to repair a repositroy version.
|
|
163
|
+
# @param container_repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/container/container/1/versions/1/
|
|
164
|
+
# @param data
|
|
165
|
+
# @param [Hash] opts the optional parameters
|
|
166
|
+
# @return [AsyncOperationResponse]
|
|
167
|
+
describe 'repair_0 test' do
|
|
168
|
+
it 'should work' do
|
|
169
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
|
|
103
173
|
end
|