pulp_container_client 2.20.0 → 2.20.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -7
- data/docs/ContainerBlobResponse.md +2 -0
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +9 -7
- data/docs/ContainerContainerNamespaceResponse.md +2 -0
- data/docs/ContainerContainerPullThroughDistribution.md +5 -5
- data/docs/ContainerContainerPullThroughDistributionResponse.md +9 -7
- data/docs/ContainerContainerPullThroughRemoteResponse.md +2 -2
- data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +2 -2
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +14 -12
- data/docs/ContainerContainerRemoteResponse.md +2 -2
- data/docs/ContainerContainerRepositoryResponse.md +2 -0
- data/docs/ContainerManifestResponse.md +2 -0
- data/docs/ContainerManifestSignatureResponse.md +2 -0
- data/docs/ContainerTagResponse.md +2 -0
- data/docs/ContentBlobsApi.md +1 -1
- data/docs/ContentManifestsApi.md +1 -1
- data/docs/ContentSignaturesApi.md +1 -1
- data/docs/ContentTagsApi.md +1 -1
- data/docs/DistributionsContainerApi.md +1 -1
- data/docs/DistributionsPullThroughApi.md +1 -1
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedcontainerBlobResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerDistributionResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerNamespaceResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPushRepositoryResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerRemoteResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerRepositoryResponseList.md +2 -2
- data/docs/PaginatedcontainerManifestResponseList.md +2 -2
- data/docs/PaginatedcontainerManifestSignatureResponseList.md +2 -2
- data/docs/PaginatedcontainerTagResponseList.md +2 -2
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/PulpContainerNamespacesApi.md +1 -1
- data/docs/RemotesContainerApi.md +1 -1
- data/docs/RemotesPullThroughApi.md +1 -1
- data/docs/RepositoriesContainerApi.md +1 -1
- data/docs/RepositoriesContainerPushApi.md +1 -1
- data/docs/RepositoriesContainerPushVersionsApi.md +1 -1
- data/docs/RepositoriesContainerVersionsApi.md +1 -1
- data/docs/RepositoryVersionResponse.md +2 -0
- data/docs/TokenApi.md +1 -1
- data/lib/pulp_container_client/configuration.rb +2 -2
- data/lib/pulp_container_client/models/container_blob_response.rb +11 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +44 -44
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +43 -33
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +11 -1
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +44 -44
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +43 -33
- data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +20 -20
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +31 -31
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_container_client/models/container_container_push_repository.rb +45 -45
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +64 -54
- data/lib/pulp_container_client/models/container_container_remote.rb +20 -20
- data/lib/pulp_container_client/models/container_container_remote_response.rb +31 -31
- data/lib/pulp_container_client/models/container_container_repository_response.rb +11 -1
- data/lib/pulp_container_client/models/container_manifest_response.rb +11 -1
- data/lib/pulp_container_client/models/container_manifest_signature_response.rb +11 -1
- data/lib/pulp_container_client/models/container_tag_response.rb +11 -1
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +10 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +35 -35
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +35 -35
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +20 -20
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +45 -45
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +20 -20
- data/lib/pulp_container_client/models/repository_version_response.rb +11 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_blob_response_spec.rb +6 -0
- data/spec/models/container_container_distribution_response_spec.rb +11 -5
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_namespace_response_spec.rb +6 -0
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -5
- data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/container_container_pull_through_remote_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +14 -8
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/container_container_remote_response_spec.rb +6 -6
- data/spec/models/container_container_repository_response_spec.rb +6 -0
- data/spec/models/container_manifest_response_spec.rb +6 -0
- data/spec/models/container_manifest_signature_response_spec.rb +6 -0
- data/spec/models/container_tag_response_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +73 -81
- data/docs/IndexDynamicApi.md +0 -50
- data/docs/IndexStaticApi.md +0 -50
- data/lib/pulp_container_client/api/index_dynamic_api.rb +0 -74
- data/lib/pulp_container_client/api/index_static_api.rb +0 -74
- data/spec/api/index_dynamic_api_spec.rb +0 -45
- data/spec/api/index_static_api_spec.rb +0 -45
data/docs/IndexDynamicApi.md
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
# PulpContainerClient::IndexDynamicApi
|
2
|
-
|
3
|
-
All URIs are relative to *http://pulp*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**get**](IndexDynamicApi.md#get) | **GET** /index/dynamic |
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
## get
|
12
|
-
|
13
|
-
> get
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
Handles requests to the /index/dynamic endpoint
|
18
|
-
|
19
|
-
### Example
|
20
|
-
|
21
|
-
```ruby
|
22
|
-
# load the gem
|
23
|
-
require 'pulp_container_client'
|
24
|
-
|
25
|
-
api_instance = PulpContainerClient::IndexDynamicApi.new
|
26
|
-
|
27
|
-
begin
|
28
|
-
api_instance.get
|
29
|
-
rescue PulpContainerClient::ApiError => e
|
30
|
-
puts "Exception when calling IndexDynamicApi->get: #{e}"
|
31
|
-
end
|
32
|
-
```
|
33
|
-
|
34
|
-
### Parameters
|
35
|
-
|
36
|
-
This endpoint does not need any parameter.
|
37
|
-
|
38
|
-
### Return type
|
39
|
-
|
40
|
-
nil (empty response body)
|
41
|
-
|
42
|
-
### Authorization
|
43
|
-
|
44
|
-
No authorization required
|
45
|
-
|
46
|
-
### HTTP request headers
|
47
|
-
|
48
|
-
- **Content-Type**: Not defined
|
49
|
-
- **Accept**: Not defined
|
50
|
-
|
data/docs/IndexStaticApi.md
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
# PulpContainerClient::IndexStaticApi
|
2
|
-
|
3
|
-
All URIs are relative to *http://pulp*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**get**](IndexStaticApi.md#get) | **GET** /index/static |
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
## get
|
12
|
-
|
13
|
-
> get
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
Handles requests to the /index/static endpoint
|
18
|
-
|
19
|
-
### Example
|
20
|
-
|
21
|
-
```ruby
|
22
|
-
# load the gem
|
23
|
-
require 'pulp_container_client'
|
24
|
-
|
25
|
-
api_instance = PulpContainerClient::IndexStaticApi.new
|
26
|
-
|
27
|
-
begin
|
28
|
-
api_instance.get
|
29
|
-
rescue PulpContainerClient::ApiError => e
|
30
|
-
puts "Exception when calling IndexStaticApi->get: #{e}"
|
31
|
-
end
|
32
|
-
```
|
33
|
-
|
34
|
-
### Parameters
|
35
|
-
|
36
|
-
This endpoint does not need any parameter.
|
37
|
-
|
38
|
-
### Return type
|
39
|
-
|
40
|
-
nil (empty response body)
|
41
|
-
|
42
|
-
### Authorization
|
43
|
-
|
44
|
-
No authorization required
|
45
|
-
|
46
|
-
### HTTP request headers
|
47
|
-
|
48
|
-
- **Content-Type**: Not defined
|
49
|
-
- **Accept**: Not defined
|
50
|
-
|
@@ -1,74 +0,0 @@
|
|
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.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'cgi'
|
14
|
-
|
15
|
-
module PulpContainerClient
|
16
|
-
class IndexDynamicApi
|
17
|
-
attr_accessor :api_client
|
18
|
-
|
19
|
-
def initialize(api_client = ApiClient.default)
|
20
|
-
@api_client = api_client
|
21
|
-
end
|
22
|
-
# Handles requests to the /index/dynamic endpoint
|
23
|
-
# @param [Hash] opts the optional parameters
|
24
|
-
# @return [nil]
|
25
|
-
def get(opts = {})
|
26
|
-
get_with_http_info(opts)
|
27
|
-
nil
|
28
|
-
end
|
29
|
-
|
30
|
-
# Handles requests to the /index/dynamic endpoint
|
31
|
-
# @param [Hash] opts the optional parameters
|
32
|
-
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
33
|
-
def get_with_http_info(opts = {})
|
34
|
-
if @api_client.config.debugging
|
35
|
-
@api_client.config.logger.debug 'Calling API: IndexDynamicApi.get ...'
|
36
|
-
end
|
37
|
-
# resource path
|
38
|
-
local_var_path = '/index/dynamic'
|
39
|
-
|
40
|
-
# query parameters
|
41
|
-
query_params = opts[:query_params] || {}
|
42
|
-
|
43
|
-
# header parameters
|
44
|
-
header_params = opts[:header_params] || {}
|
45
|
-
|
46
|
-
# form parameters
|
47
|
-
form_params = opts[:form_params] || {}
|
48
|
-
|
49
|
-
# http body (model)
|
50
|
-
post_body = opts[:body]
|
51
|
-
|
52
|
-
# return_type
|
53
|
-
return_type = opts[:return_type]
|
54
|
-
|
55
|
-
# auth_names
|
56
|
-
auth_names = opts[:auth_names] || []
|
57
|
-
|
58
|
-
new_options = opts.merge(
|
59
|
-
:header_params => header_params,
|
60
|
-
:query_params => query_params,
|
61
|
-
:form_params => form_params,
|
62
|
-
:body => post_body,
|
63
|
-
:auth_names => auth_names,
|
64
|
-
:return_type => return_type
|
65
|
-
)
|
66
|
-
|
67
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
68
|
-
if @api_client.config.debugging
|
69
|
-
@api_client.config.logger.debug "API called: IndexDynamicApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
70
|
-
end
|
71
|
-
return data, status_code, headers
|
72
|
-
end
|
73
|
-
end
|
74
|
-
end
|
@@ -1,74 +0,0 @@
|
|
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.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'cgi'
|
14
|
-
|
15
|
-
module PulpContainerClient
|
16
|
-
class IndexStaticApi
|
17
|
-
attr_accessor :api_client
|
18
|
-
|
19
|
-
def initialize(api_client = ApiClient.default)
|
20
|
-
@api_client = api_client
|
21
|
-
end
|
22
|
-
# Handles requests to the /index/static endpoint
|
23
|
-
# @param [Hash] opts the optional parameters
|
24
|
-
# @return [nil]
|
25
|
-
def get(opts = {})
|
26
|
-
get_with_http_info(opts)
|
27
|
-
nil
|
28
|
-
end
|
29
|
-
|
30
|
-
# Handles requests to the /index/static endpoint
|
31
|
-
# @param [Hash] opts the optional parameters
|
32
|
-
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
33
|
-
def get_with_http_info(opts = {})
|
34
|
-
if @api_client.config.debugging
|
35
|
-
@api_client.config.logger.debug 'Calling API: IndexStaticApi.get ...'
|
36
|
-
end
|
37
|
-
# resource path
|
38
|
-
local_var_path = '/index/static'
|
39
|
-
|
40
|
-
# query parameters
|
41
|
-
query_params = opts[:query_params] || {}
|
42
|
-
|
43
|
-
# header parameters
|
44
|
-
header_params = opts[:header_params] || {}
|
45
|
-
|
46
|
-
# form parameters
|
47
|
-
form_params = opts[:form_params] || {}
|
48
|
-
|
49
|
-
# http body (model)
|
50
|
-
post_body = opts[:body]
|
51
|
-
|
52
|
-
# return_type
|
53
|
-
return_type = opts[:return_type]
|
54
|
-
|
55
|
-
# auth_names
|
56
|
-
auth_names = opts[:auth_names] || []
|
57
|
-
|
58
|
-
new_options = opts.merge(
|
59
|
-
:header_params => header_params,
|
60
|
-
:query_params => query_params,
|
61
|
-
:form_params => form_params,
|
62
|
-
:body => post_body,
|
63
|
-
:auth_names => auth_names,
|
64
|
-
:return_type => return_type
|
65
|
-
)
|
66
|
-
|
67
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
68
|
-
if @api_client.config.debugging
|
69
|
-
@api_client.config.logger.debug "API called: IndexStaticApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
70
|
-
end
|
71
|
-
return data, status_code, headers
|
72
|
-
end
|
73
|
-
end
|
74
|
-
end
|
@@ -1,45 +0,0 @@
|
|
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.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
|
16
|
-
# Unit tests for PulpContainerClient::IndexDynamicApi
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'IndexDynamicApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@api_instance = PulpContainerClient::IndexDynamicApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
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)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
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
|
40
|
-
it 'should work' do
|
41
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
end
|
@@ -1,45 +0,0 @@
|
|
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.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
|
16
|
-
# Unit tests for PulpContainerClient::IndexStaticApi
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'IndexStaticApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@api_instance = PulpContainerClient::IndexStaticApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
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)
|
32
|
-
end
|
33
|
-
end
|
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
|
40
|
-
it 'should work' do
|
41
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
end
|