pulp_docker_client 4.0.0b5 → 4.0.0b6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +25 -14
  3. data/docs/ContentBlobsApi.md +24 -20
  4. data/docs/ContentManifestsApi.md +12 -6
  5. data/docs/{ContentManifestTagsApi.md → ContentTagsApi.md} +40 -34
  6. data/docs/DistributionsDockerApi.md +4 -4
  7. data/docs/DockerCopyApi.md +114 -0
  8. data/docs/DockerDistribution.md +9 -9
  9. data/docs/DockerRecursiveAddApi.md +61 -0
  10. data/docs/DockerRecursiveRemoveApi.md +61 -0
  11. data/docs/DockerTagApi.md +61 -0
  12. data/docs/DockerUntagApi.md +61 -0
  13. data/docs/InlineResponse200.md +3 -3
  14. data/docs/InlineResponse2001.md +4 -4
  15. data/docs/InlineResponse2002.md +4 -4
  16. data/docs/InlineResponse2003.md +3 -3
  17. data/docs/InlineResponse2004.md +3 -3
  18. data/docs/ManifestCopy.md +25 -0
  19. data/docs/RecursiveManage.md +19 -0
  20. data/docs/RemotesDockerApi.md +4 -4
  21. data/docs/{ManifestTag.md → Tag.md} +2 -2
  22. data/docs/TagCopy.md +23 -0
  23. data/docs/TagImage.md +21 -0
  24. data/docs/UnTagImage.md +19 -0
  25. data/git_push.sh +10 -7
  26. data/lib/pulp_docker_client/api/content_blobs_api.rb +35 -29
  27. data/lib/pulp_docker_client/api/content_manifests_api.rb +21 -12
  28. data/lib/pulp_docker_client/api/{content_manifest_tags_api.rb → content_tags_api.rb} +59 -50
  29. data/lib/pulp_docker_client/api/distributions_docker_api.rb +12 -12
  30. data/lib/pulp_docker_client/api/docker_copy_api.rb +146 -0
  31. data/lib/pulp_docker_client/api/docker_recursive_add_api.rb +84 -0
  32. data/lib/pulp_docker_client/api/docker_recursive_remove_api.rb +84 -0
  33. data/lib/pulp_docker_client/api/docker_tag_api.rb +84 -0
  34. data/lib/pulp_docker_client/api/docker_untag_api.rb +84 -0
  35. data/lib/pulp_docker_client/api/remotes_docker_api.rb +13 -13
  36. data/lib/pulp_docker_client/api_client.rb +77 -62
  37. data/lib/pulp_docker_client/api_error.rb +1 -1
  38. data/lib/pulp_docker_client/configuration.rb +13 -21
  39. data/lib/pulp_docker_client/models/async_operation_response.rb +1 -1
  40. data/lib/pulp_docker_client/models/blob.rb +1 -1
  41. data/lib/pulp_docker_client/models/docker_distribution.rb +37 -37
  42. data/lib/pulp_docker_client/models/docker_remote.rb +1 -1
  43. data/lib/pulp_docker_client/models/inline_response200.rb +11 -11
  44. data/lib/pulp_docker_client/models/inline_response2001.rb +12 -12
  45. data/lib/pulp_docker_client/models/inline_response2002.rb +12 -12
  46. data/lib/pulp_docker_client/models/inline_response2003.rb +11 -11
  47. data/lib/pulp_docker_client/models/inline_response2004.rb +11 -11
  48. data/lib/pulp_docker_client/models/manifest.rb +1 -1
  49. data/lib/pulp_docker_client/models/manifest_copy.rb +268 -0
  50. data/lib/pulp_docker_client/models/recursive_manage.rb +214 -0
  51. data/lib/pulp_docker_client/models/repository_sync_url.rb +1 -1
  52. data/lib/pulp_docker_client/models/{manifest_tag.rb → tag.rb} +4 -4
  53. data/lib/pulp_docker_client/models/tag_copy.rb +234 -0
  54. data/lib/pulp_docker_client/models/tag_image.rb +270 -0
  55. data/lib/pulp_docker_client/models/un_tag_image.rb +236 -0
  56. data/lib/pulp_docker_client/version.rb +2 -2
  57. data/lib/pulp_docker_client.rb +13 -3
  58. data/pulp_docker_client.gemspec +3 -9
  59. data/spec/api/content_blobs_api_spec.rb +12 -10
  60. data/spec/api/content_manifests_api_spec.rb +7 -4
  61. data/spec/api/{content_manifest_tags_api_spec.rb → content_tags_api_spec.rb} +22 -19
  62. data/spec/api/distributions_docker_api_spec.rb +3 -3
  63. data/spec/api/docker_copy_api_spec.rb +57 -0
  64. data/spec/api/docker_recursive_add_api_spec.rb +46 -0
  65. data/spec/api/docker_recursive_remove_api_spec.rb +46 -0
  66. data/spec/api/docker_tag_api_spec.rb +46 -0
  67. data/spec/api/docker_untag_api_spec.rb +46 -0
  68. data/spec/api/remotes_docker_api_spec.rb +3 -3
  69. data/spec/api_client_spec.rb +1 -39
  70. data/spec/configuration_spec.rb +1 -1
  71. data/spec/models/async_operation_response_spec.rb +1 -1
  72. data/spec/models/blob_spec.rb +1 -1
  73. data/spec/models/docker_distribution_spec.rb +7 -7
  74. data/spec/models/docker_remote_spec.rb +1 -1
  75. data/spec/models/inline_response2001_spec.rb +4 -4
  76. data/spec/models/inline_response2002_spec.rb +4 -4
  77. data/spec/models/inline_response2003_spec.rb +4 -4
  78. data/spec/models/inline_response2004_spec.rb +4 -4
  79. data/spec/models/inline_response200_spec.rb +4 -4
  80. data/spec/models/manifest_copy_spec.rb +69 -0
  81. data/spec/models/manifest_spec.rb +1 -1
  82. data/spec/models/recursive_manage_spec.rb +47 -0
  83. data/spec/models/repository_sync_url_spec.rb +1 -1
  84. data/spec/models/tag_copy_spec.rb +59 -0
  85. data/spec/models/tag_image_spec.rb +53 -0
  86. data/spec/models/{manifest_tag_spec.rb → tag_spec.rb} +7 -7
  87. data/spec/models/un_tag_image_spec.rb +47 -0
  88. data/spec/spec_helper.rb +1 -1
  89. metadata +54 -141
  90. data/Gemfile.lock +0 -79
@@ -0,0 +1,146 @@
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.1.2-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpDockerClient
16
+ class DockerCopyApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Trigger an asynchronous task to copy manifests
23
+ # @param data [ManifestCopy]
24
+ # @param [Hash] opts the optional parameters
25
+ # @return [AsyncOperationResponse]
26
+ def create(data, opts = {})
27
+ data, _status_code, _headers = create_with_http_info(data, opts)
28
+ data
29
+ end
30
+
31
+ # Trigger an asynchronous task to copy manifests
32
+ # @param data [ManifestCopy]
33
+ # @param [Hash] opts the optional parameters
34
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
35
+ def create_with_http_info(data, opts = {})
36
+ if @api_client.config.debugging
37
+ @api_client.config.logger.debug 'Calling API: DockerCopyApi.create ...'
38
+ end
39
+ # verify the required parameter 'data' is set
40
+ if @api_client.config.client_side_validation && data.nil?
41
+ fail ArgumentError, "Missing the required parameter 'data' when calling DockerCopyApi.create"
42
+ end
43
+ # resource path
44
+ local_var_path = '/docker/manifests/copy/'
45
+
46
+ # query parameters
47
+ query_params = opts[:query_params] || {}
48
+
49
+ # header parameters
50
+ header_params = opts[:header_params] || {}
51
+ # HTTP header 'Accept' (if needed)
52
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
53
+ # HTTP header 'Content-Type'
54
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
55
+
56
+ # form parameters
57
+ form_params = opts[:form_params] || {}
58
+
59
+ # http body (model)
60
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
61
+
62
+ # return_type
63
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
64
+
65
+ # auth_names
66
+ auth_names = opts[:auth_names] || ['Basic']
67
+
68
+ new_options = opts.merge(
69
+ :header_params => header_params,
70
+ :query_params => query_params,
71
+ :form_params => form_params,
72
+ :body => post_body,
73
+ :auth_names => auth_names,
74
+ :return_type => return_type
75
+ )
76
+
77
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
78
+ if @api_client.config.debugging
79
+ @api_client.config.logger.debug "API called: DockerCopyApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
80
+ end
81
+ return data, status_code, headers
82
+ end
83
+
84
+ # Trigger an asynchronous task to copy tags
85
+ # @param data [TagCopy]
86
+ # @param [Hash] opts the optional parameters
87
+ # @return [AsyncOperationResponse]
88
+ def create_0(data, opts = {})
89
+ data, _status_code, _headers = create_0_with_http_info(data, opts)
90
+ data
91
+ end
92
+
93
+ # Trigger an asynchronous task to copy tags
94
+ # @param data [TagCopy]
95
+ # @param [Hash] opts the optional parameters
96
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
97
+ def create_0_with_http_info(data, opts = {})
98
+ if @api_client.config.debugging
99
+ @api_client.config.logger.debug 'Calling API: DockerCopyApi.create_0 ...'
100
+ end
101
+ # verify the required parameter 'data' is set
102
+ if @api_client.config.client_side_validation && data.nil?
103
+ fail ArgumentError, "Missing the required parameter 'data' when calling DockerCopyApi.create_0"
104
+ end
105
+ # resource path
106
+ local_var_path = '/docker/tags/copy/'
107
+
108
+ # query parameters
109
+ query_params = opts[:query_params] || {}
110
+
111
+ # header parameters
112
+ header_params = opts[:header_params] || {}
113
+ # HTTP header 'Accept' (if needed)
114
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
115
+ # HTTP header 'Content-Type'
116
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
117
+
118
+ # form parameters
119
+ form_params = opts[:form_params] || {}
120
+
121
+ # http body (model)
122
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
123
+
124
+ # return_type
125
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
126
+
127
+ # auth_names
128
+ auth_names = opts[:auth_names] || ['Basic']
129
+
130
+ new_options = opts.merge(
131
+ :header_params => header_params,
132
+ :query_params => query_params,
133
+ :form_params => form_params,
134
+ :body => post_body,
135
+ :auth_names => auth_names,
136
+ :return_type => return_type
137
+ )
138
+
139
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
140
+ if @api_client.config.debugging
141
+ @api_client.config.logger.debug "API called: DockerCopyApi#create_0\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
142
+ end
143
+ return data, status_code, headers
144
+ end
145
+ end
146
+ end
@@ -0,0 +1,84 @@
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.1.2-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpDockerClient
16
+ class DockerRecursiveAddApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Trigger an asynchronous task to recursively add docker content.
23
+ # @param data [RecursiveManage]
24
+ # @param [Hash] opts the optional parameters
25
+ # @return [AsyncOperationResponse]
26
+ def create(data, opts = {})
27
+ data, _status_code, _headers = create_with_http_info(data, opts)
28
+ data
29
+ end
30
+
31
+ # Trigger an asynchronous task to recursively add docker content.
32
+ # @param data [RecursiveManage]
33
+ # @param [Hash] opts the optional parameters
34
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
35
+ def create_with_http_info(data, opts = {})
36
+ if @api_client.config.debugging
37
+ @api_client.config.logger.debug 'Calling API: DockerRecursiveAddApi.create ...'
38
+ end
39
+ # verify the required parameter 'data' is set
40
+ if @api_client.config.client_side_validation && data.nil?
41
+ fail ArgumentError, "Missing the required parameter 'data' when calling DockerRecursiveAddApi.create"
42
+ end
43
+ # resource path
44
+ local_var_path = '/docker/recursive-add/'
45
+
46
+ # query parameters
47
+ query_params = opts[:query_params] || {}
48
+
49
+ # header parameters
50
+ header_params = opts[:header_params] || {}
51
+ # HTTP header 'Accept' (if needed)
52
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
53
+ # HTTP header 'Content-Type'
54
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
55
+
56
+ # form parameters
57
+ form_params = opts[:form_params] || {}
58
+
59
+ # http body (model)
60
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
61
+
62
+ # return_type
63
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
64
+
65
+ # auth_names
66
+ auth_names = opts[:auth_names] || ['Basic']
67
+
68
+ new_options = opts.merge(
69
+ :header_params => header_params,
70
+ :query_params => query_params,
71
+ :form_params => form_params,
72
+ :body => post_body,
73
+ :auth_names => auth_names,
74
+ :return_type => return_type
75
+ )
76
+
77
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
78
+ if @api_client.config.debugging
79
+ @api_client.config.logger.debug "API called: DockerRecursiveAddApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
80
+ end
81
+ return data, status_code, headers
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,84 @@
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.1.2-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpDockerClient
16
+ class DockerRecursiveRemoveApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Trigger an asynchronous task to recursively remove docker content.
23
+ # @param data [RecursiveManage]
24
+ # @param [Hash] opts the optional parameters
25
+ # @return [AsyncOperationResponse]
26
+ def create(data, opts = {})
27
+ data, _status_code, _headers = create_with_http_info(data, opts)
28
+ data
29
+ end
30
+
31
+ # Trigger an asynchronous task to recursively remove docker content.
32
+ # @param data [RecursiveManage]
33
+ # @param [Hash] opts the optional parameters
34
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
35
+ def create_with_http_info(data, opts = {})
36
+ if @api_client.config.debugging
37
+ @api_client.config.logger.debug 'Calling API: DockerRecursiveRemoveApi.create ...'
38
+ end
39
+ # verify the required parameter 'data' is set
40
+ if @api_client.config.client_side_validation && data.nil?
41
+ fail ArgumentError, "Missing the required parameter 'data' when calling DockerRecursiveRemoveApi.create"
42
+ end
43
+ # resource path
44
+ local_var_path = '/docker/recursive-remove/'
45
+
46
+ # query parameters
47
+ query_params = opts[:query_params] || {}
48
+
49
+ # header parameters
50
+ header_params = opts[:header_params] || {}
51
+ # HTTP header 'Accept' (if needed)
52
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
53
+ # HTTP header 'Content-Type'
54
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
55
+
56
+ # form parameters
57
+ form_params = opts[:form_params] || {}
58
+
59
+ # http body (model)
60
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
61
+
62
+ # return_type
63
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
64
+
65
+ # auth_names
66
+ auth_names = opts[:auth_names] || ['Basic']
67
+
68
+ new_options = opts.merge(
69
+ :header_params => header_params,
70
+ :query_params => query_params,
71
+ :form_params => form_params,
72
+ :body => post_body,
73
+ :auth_names => auth_names,
74
+ :return_type => return_type
75
+ )
76
+
77
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
78
+ if @api_client.config.debugging
79
+ @api_client.config.logger.debug "API called: DockerRecursiveRemoveApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
80
+ end
81
+ return data, status_code, headers
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,84 @@
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.1.2-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpDockerClient
16
+ class DockerTagApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Trigger an asynchronous task to create a new repository
23
+ # @param data [TagImage]
24
+ # @param [Hash] opts the optional parameters
25
+ # @return [AsyncOperationResponse]
26
+ def create(data, opts = {})
27
+ data, _status_code, _headers = create_with_http_info(data, opts)
28
+ data
29
+ end
30
+
31
+ # Trigger an asynchronous task to create a new repository
32
+ # @param data [TagImage]
33
+ # @param [Hash] opts the optional parameters
34
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
35
+ def create_with_http_info(data, opts = {})
36
+ if @api_client.config.debugging
37
+ @api_client.config.logger.debug 'Calling API: DockerTagApi.create ...'
38
+ end
39
+ # verify the required parameter 'data' is set
40
+ if @api_client.config.client_side_validation && data.nil?
41
+ fail ArgumentError, "Missing the required parameter 'data' when calling DockerTagApi.create"
42
+ end
43
+ # resource path
44
+ local_var_path = '/docker/tag/'
45
+
46
+ # query parameters
47
+ query_params = opts[:query_params] || {}
48
+
49
+ # header parameters
50
+ header_params = opts[:header_params] || {}
51
+ # HTTP header 'Accept' (if needed)
52
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
53
+ # HTTP header 'Content-Type'
54
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
55
+
56
+ # form parameters
57
+ form_params = opts[:form_params] || {}
58
+
59
+ # http body (model)
60
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
61
+
62
+ # return_type
63
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
64
+
65
+ # auth_names
66
+ auth_names = opts[:auth_names] || ['Basic']
67
+
68
+ new_options = opts.merge(
69
+ :header_params => header_params,
70
+ :query_params => query_params,
71
+ :form_params => form_params,
72
+ :body => post_body,
73
+ :auth_names => auth_names,
74
+ :return_type => return_type
75
+ )
76
+
77
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
78
+ if @api_client.config.debugging
79
+ @api_client.config.logger.debug "API called: DockerTagApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
80
+ end
81
+ return data, status_code, headers
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,84 @@
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.1.2-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpDockerClient
16
+ class DockerUntagApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Trigger an asynchronous task to create a new repository
23
+ # @param data [UnTagImage]
24
+ # @param [Hash] opts the optional parameters
25
+ # @return [AsyncOperationResponse]
26
+ def create(data, opts = {})
27
+ data, _status_code, _headers = create_with_http_info(data, opts)
28
+ data
29
+ end
30
+
31
+ # Trigger an asynchronous task to create a new repository
32
+ # @param data [UnTagImage]
33
+ # @param [Hash] opts the optional parameters
34
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
35
+ def create_with_http_info(data, opts = {})
36
+ if @api_client.config.debugging
37
+ @api_client.config.logger.debug 'Calling API: DockerUntagApi.create ...'
38
+ end
39
+ # verify the required parameter 'data' is set
40
+ if @api_client.config.client_side_validation && data.nil?
41
+ fail ArgumentError, "Missing the required parameter 'data' when calling DockerUntagApi.create"
42
+ end
43
+ # resource path
44
+ local_var_path = '/docker/untag/'
45
+
46
+ # query parameters
47
+ query_params = opts[:query_params] || {}
48
+
49
+ # header parameters
50
+ header_params = opts[:header_params] || {}
51
+ # HTTP header 'Accept' (if needed)
52
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
53
+ # HTTP header 'Content-Type'
54
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
55
+
56
+ # form parameters
57
+ form_params = opts[:form_params] || {}
58
+
59
+ # http body (model)
60
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
61
+
62
+ # return_type
63
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
64
+
65
+ # auth_names
66
+ auth_names = opts[:auth_names] || ['Basic']
67
+
68
+ new_options = opts.merge(
69
+ :header_params => header_params,
70
+ :query_params => query_params,
71
+ :form_params => form_params,
72
+ :body => post_body,
73
+ :auth_names => auth_names,
74
+ :return_type => return_type
75
+ )
76
+
77
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
78
+ if @api_client.config.debugging
79
+ @api_client.config.logger.debug "API called: DockerUntagApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
80
+ end
81
+ return data, status_code, headers
82
+ end
83
+ end
84
+ end
@@ -6,11 +6,11 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.1.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
13
- require 'uri'
13
+ require 'cgi'
14
14
 
15
15
  module PulpDockerClient
16
16
  class RemotesDockerApi
@@ -107,7 +107,7 @@ module PulpDockerClient
107
107
  fail ArgumentError, "Missing the required parameter 'docker_remote_href' when calling RemotesDockerApi.delete"
108
108
  end
109
109
  # resource path
110
- local_var_path = '{docker_remote_href}'.sub('{' + 'docker_remote_href' + '}', docker_remote_href.to_s)
110
+ local_var_path = '{docker_remote_href}'.sub('{' + 'docker_remote_href' + '}', CGI.escape(docker_remote_href.to_s).gsub('%2F', '/'))
111
111
 
112
112
  # query parameters
113
113
  query_params = opts[:query_params] || {}
@@ -156,8 +156,8 @@ module PulpDockerClient
156
156
  # @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
157
157
  # @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
158
158
  # @option opts [String] :_last_updated ISO 8601 formatted dates are supported
159
- # @option opts [Integer] :page A page number within the paginated result set.
160
- # @option opts [Integer] :page_size Number of results to return per page.
159
+ # @option opts [Integer] :limit Number of results to return per page.
160
+ # @option opts [Integer] :offset The initial index from which to return the results.
161
161
  # @return [InlineResponse2004]
162
162
  def list(opts = {})
163
163
  data, _status_code, _headers = list_with_http_info(opts)
@@ -175,8 +175,8 @@ module PulpDockerClient
175
175
  # @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
176
176
  # @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
177
177
  # @option opts [String] :_last_updated ISO 8601 formatted dates are supported
178
- # @option opts [Integer] :page A page number within the paginated result set.
179
- # @option opts [Integer] :page_size Number of results to return per page.
178
+ # @option opts [Integer] :limit Number of results to return per page.
179
+ # @option opts [Integer] :offset The initial index from which to return the results.
180
180
  # @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
181
181
  def list_with_http_info(opts = {})
182
182
  if @api_client.config.debugging
@@ -195,8 +195,8 @@ module PulpDockerClient
195
195
  query_params[:'_last_updated__gte'] = opts[:'_last_updated__gte'] if !opts[:'_last_updated__gte'].nil?
196
196
  query_params[:'_last_updated__range'] = opts[:'_last_updated__range'] if !opts[:'_last_updated__range'].nil?
197
197
  query_params[:'_last_updated'] = opts[:'_last_updated'] if !opts[:'_last_updated'].nil?
198
- query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
199
- query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
198
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
199
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
200
200
 
201
201
  # header parameters
202
202
  header_params = opts[:header_params] || {}
@@ -261,7 +261,7 @@ module PulpDockerClient
261
261
  fail ArgumentError, "Missing the required parameter 'data' when calling RemotesDockerApi.partial_update"
262
262
  end
263
263
  # resource path
264
- local_var_path = '{docker_remote_href}'.sub('{' + 'docker_remote_href' + '}', docker_remote_href.to_s)
264
+ local_var_path = '{docker_remote_href}'.sub('{' + 'docker_remote_href' + '}', CGI.escape(docker_remote_href.to_s).gsub('%2F', '/'))
265
265
 
266
266
  # query parameters
267
267
  query_params = opts[:query_params] || {}
@@ -325,7 +325,7 @@ module PulpDockerClient
325
325
  fail ArgumentError, "Missing the required parameter 'docker_remote_href' when calling RemotesDockerApi.read"
326
326
  end
327
327
  # resource path
328
- local_var_path = '{docker_remote_href}'.sub('{' + 'docker_remote_href' + '}', docker_remote_href.to_s)
328
+ local_var_path = '{docker_remote_href}'.sub('{' + 'docker_remote_href' + '}', CGI.escape(docker_remote_href.to_s).gsub('%2F', '/'))
329
329
 
330
330
  # query parameters
331
331
  query_params = opts[:query_params] || {}
@@ -391,7 +391,7 @@ module PulpDockerClient
391
391
  fail ArgumentError, "Missing the required parameter 'data' when calling RemotesDockerApi.sync"
392
392
  end
393
393
  # resource path
394
- local_var_path = '{docker_remote_href}sync/'.sub('{' + 'docker_remote_href' + '}', docker_remote_href.to_s)
394
+ local_var_path = '{docker_remote_href}sync/'.sub('{' + 'docker_remote_href' + '}', CGI.escape(docker_remote_href.to_s).gsub('%2F', '/'))
395
395
 
396
396
  # query parameters
397
397
  query_params = opts[:query_params] || {}
@@ -461,7 +461,7 @@ module PulpDockerClient
461
461
  fail ArgumentError, "Missing the required parameter 'data' when calling RemotesDockerApi.update"
462
462
  end
463
463
  # resource path
464
- local_var_path = '{docker_remote_href}'.sub('{' + 'docker_remote_href' + '}', docker_remote_href.to_s)
464
+ local_var_path = '{docker_remote_href}'.sub('{' + 'docker_remote_href' + '}', CGI.escape(docker_remote_href.to_s).gsub('%2F', '/'))
465
465
 
466
466
  # query parameters
467
467
  query_params = opts[:query_params] || {}