pulp_container_client 2.15.2 → 2.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -4
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +9 -9
  5. data/docs/ContainerContainerPushRepository.md +7 -7
  6. data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
  7. data/docs/IndexDynamicApi.md +50 -0
  8. data/docs/IndexStaticApi.md +50 -0
  9. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  10. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  11. data/docs/RepositoriesContainerApi.md +1 -1
  12. data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
  13. data/lib/pulp_container_client/api/index_static_api.rb +74 -0
  14. data/lib/pulp_container_client/api/repositories_container_api.rb +2 -2
  15. data/lib/pulp_container_client/models/container_container_distribution.rb +54 -54
  16. data/lib/pulp_container_client/models/container_container_distribution_response.rb +45 -45
  17. data/lib/pulp_container_client/models/container_container_push_repository.rb +45 -45
  18. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +49 -49
  19. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +45 -45
  20. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +45 -45
  21. data/lib/pulp_container_client/version.rb +1 -1
  22. data/lib/pulp_container_client.rb +2 -0
  23. data/spec/api/index_dynamic_api_spec.rb +45 -0
  24. data/spec/api/index_static_api_spec.rb +45 -0
  25. data/spec/api/repositories_container_api_spec.rb +1 -1
  26. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  27. data/spec/models/container_container_distribution_spec.rb +5 -5
  28. data/spec/models/container_container_push_repository_response_spec.rb +8 -8
  29. data/spec/models/container_container_push_repository_spec.rb +4 -4
  30. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  31. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  32. metadata +10 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5eb1ad52620f56999122062b17117e8ebcc9a3fd03db67ed3530166a67160d1c
4
- data.tar.gz: b3c23dd75d6800d0c6e1169768096fd802c85079ac02be12468b118e0608878e
3
+ metadata.gz: 9e3de446838db7bcb3a7ae70c52dde970e05f176e3edc339f1deb19ecc6cd512
4
+ data.tar.gz: 290d1789e863a9ba3cc6a54a17d69a66130892fe870bf10794ef3be904c09aeb
5
5
  SHA512:
6
- metadata.gz: 397ba2611bbba69ef725b85c6074d45f888797e1a6f1b1cde5a2bf8cda039700ded20d63e44f9e845f5abc43d3a716852c1dd78946434e46210294a5a9534340
7
- data.tar.gz: 11d4693ff4f756768d27118dcee3282ecd3c671364325fc9615c630d7c1594178922796b1a72bf9d9436c66d141a3b3ff6556629e4dfc66cdcc783b9603c281d
6
+ metadata.gz: 7e792cc50af60bb8dfcd0b3e7454a235a401bd1b16a04bb0f2a80e5ccdeb9e595023beeda339950e16c5467765fd5c1bf1d97636fc0b32756d9d58210c342919
7
+ data.tar.gz: c96ba46822d2823a0357b2866bc48d336f5b27bf979c92a2d1da6be084b5f8da02db631682bebe65792e8e4979e4a6844171982f7c1713d9a9add04efa51dea2
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 2.15.2
10
+ - Package version: 2.16.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_container_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_container_client-2.15.2.gem
27
+ gem install ./pulp_container_client-2.16.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_container_client-2.15.2.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_container_client-2.16.0.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_container_client', '~> 2.15.2'
36
+ gem 'pulp_container_client', '~> 2.16.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -114,6 +114,8 @@ Class | Method | HTTP request | Description
114
114
  *PulpContainerClient::DistributionsContainerApi* | [**read**](docs/DistributionsContainerApi.md#read) | **GET** {container_container_distribution_href} | Inspect a container distribution
115
115
  *PulpContainerClient::DistributionsContainerApi* | [**remove_role**](docs/DistributionsContainerApi.md#remove_role) | **POST** {container_container_distribution_href}remove_role/ |
116
116
  *PulpContainerClient::DistributionsContainerApi* | [**update**](docs/DistributionsContainerApi.md#update) | **PUT** {container_container_distribution_href} | Update a container distribution
117
+ *PulpContainerClient::IndexDynamicApi* | [**get**](docs/IndexDynamicApi.md#get) | **GET** /index/dynamic |
118
+ *PulpContainerClient::IndexStaticApi* | [**get**](docs/IndexStaticApi.md#get) | **GET** /index/static |
117
119
  *PulpContainerClient::PulpContainerNamespacesApi* | [**add_role**](docs/PulpContainerNamespacesApi.md#add_role) | **POST** {container_container_namespace_href}add_role/ |
118
120
  *PulpContainerClient::PulpContainerNamespacesApi* | [**create**](docs/PulpContainerNamespacesApi.md#create) | **POST** /pulp/api/v3/pulp_container/namespaces/ | Create a container namespace
119
121
  *PulpContainerClient::PulpContainerNamespacesApi* | [**delete**](docs/PulpContainerNamespacesApi.md#delete) | **DELETE** {container_container_namespace_href} | Delete a container namespace
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
7
8
  **pulp_labels** | **Hash<String, String>** | | [optional]
8
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
9
9
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
10
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
11
- **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
10
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
12
11
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
12
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
13
13
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
14
14
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
15
15
  **description** | **String** | An optional description. | [optional]
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
19
19
  ```ruby
20
20
  require 'PulpContainerClient'
21
21
 
22
- instance = PulpContainerClient::ContainerContainerDistribution.new(pulp_labels: null,
23
- content_guard: null,
22
+ instance = PulpContainerClient::ContainerContainerDistribution.new(hidden: null,
23
+ pulp_labels: null,
24
24
  repository: null,
25
- name: null,
26
- hidden: null,
25
+ content_guard: null,
27
26
  base_path: null,
27
+ name: null,
28
28
  repository_version: null,
29
29
  private: null,
30
30
  description: null)
@@ -4,14 +4,14 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
7
9
  **pulp_labels** | **Hash<String, String>** | | [optional]
8
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
9
10
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
10
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
11
- **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
12
11
  **pulp_href** | **String** | | [optional] [readonly]
13
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
12
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
14
13
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
14
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
15
15
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
16
16
  **registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
17
17
  **namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
@@ -23,14 +23,14 @@ Name | Type | Description | Notes
23
23
  ```ruby
24
24
  require 'PulpContainerClient'
25
25
 
26
- instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_labels: null,
27
- content_guard: null,
28
- repository: null,
29
- name: null,
26
+ instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_created: null,
30
27
  hidden: null,
28
+ pulp_labels: null,
29
+ repository: null,
31
30
  pulp_href: null,
32
- pulp_created: null,
31
+ content_guard: null,
33
32
  base_path: null,
33
+ name: null,
34
34
  repository_version: null,
35
35
  registry_path: null,
36
36
  namespace: null,
@@ -4,22 +4,22 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
8
- **pulp_labels** | **Hash<String, String>** | | [optional]
9
7
  **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
10
- **name** | **String** | A unique name for this repository. |
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
9
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
11
10
  **description** | **String** | An optional description. | [optional]
11
+ **name** | **String** | A unique name for this repository. |
12
12
 
13
13
  ## Code Sample
14
14
 
15
15
  ```ruby
16
16
  require 'PulpContainerClient'
17
17
 
18
- instance = PulpContainerClient::ContainerContainerPushRepository.new(retain_repo_versions: null,
18
+ instance = PulpContainerClient::ContainerContainerPushRepository.new(manifest_signing_service: null,
19
19
  pulp_labels: null,
20
- manifest_signing_service: null,
21
- name: null,
22
- description: null)
20
+ retain_repo_versions: null,
21
+ description: null,
22
+ name: null)
23
23
  ```
24
24
 
25
25
 
@@ -4,30 +4,30 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
8
- **pulp_labels** | **Hash<String, String>** | | [optional]
7
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
8
  **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
10
- **name** | **String** | A unique name for this repository. |
11
- **versions_href** | **String** | | [optional] [readonly]
9
+ **pulp_labels** | **Hash<String, String>** | | [optional]
10
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
11
+ **description** | **String** | An optional description. | [optional]
12
12
  **latest_version_href** | **String** | | [optional] [readonly]
13
+ **versions_href** | **String** | | [optional] [readonly]
13
14
  **pulp_href** | **String** | | [optional] [readonly]
14
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
15
- **description** | **String** | An optional description. | [optional]
15
+ **name** | **String** | A unique name for this repository. |
16
16
 
17
17
  ## Code Sample
18
18
 
19
19
  ```ruby
20
20
  require 'PulpContainerClient'
21
21
 
22
- instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(retain_repo_versions: null,
23
- pulp_labels: null,
22
+ instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_created: null,
24
23
  manifest_signing_service: null,
25
- name: null,
26
- versions_href: null,
24
+ pulp_labels: null,
25
+ retain_repo_versions: null,
26
+ description: null,
27
27
  latest_version_href: null,
28
+ versions_href: null,
28
29
  pulp_href: null,
29
- pulp_created: null,
30
- description: null)
30
+ name: null)
31
31
  ```
32
32
 
33
33
 
@@ -0,0 +1,50 @@
1
+ # PulpContainerClient::IndexDynamicApi
2
+
3
+ All URIs are relative to *https://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
+
@@ -0,0 +1,50 @@
1
+ # PulpContainerClient::IndexStaticApi
2
+
3
+ All URIs are relative to *https://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
+
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
7
8
  **pulp_labels** | **Hash<String, String>** | | [optional]
8
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
9
9
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
10
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
11
- **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
10
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
12
11
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
12
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
13
13
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
14
14
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
15
15
  **description** | **String** | An optional description. | [optional]
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
19
19
  ```ruby
20
20
  require 'PulpContainerClient'
21
21
 
22
- instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(pulp_labels: null,
23
- content_guard: null,
22
+ instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(hidden: null,
23
+ pulp_labels: null,
24
24
  repository: null,
25
- name: null,
26
- hidden: null,
25
+ content_guard: null,
27
26
  base_path: null,
27
+ name: null,
28
28
  repository_version: null,
29
29
  private: null,
30
30
  description: null)
@@ -4,22 +4,22 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
8
- **pulp_labels** | **Hash<String, String>** | | [optional]
9
7
  **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
10
- **name** | **String** | A unique name for this repository. | [optional]
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
9
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
11
10
  **description** | **String** | An optional description. | [optional]
11
+ **name** | **String** | A unique name for this repository. | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
15
15
  ```ruby
16
16
  require 'PulpContainerClient'
17
17
 
18
- instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(retain_repo_versions: null,
18
+ instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(manifest_signing_service: null,
19
19
  pulp_labels: null,
20
- manifest_signing_service: null,
21
- name: null,
22
- description: null)
20
+ retain_repo_versions: null,
21
+ description: null,
22
+ name: null)
23
23
  ```
24
24
 
25
25
 
@@ -141,7 +141,7 @@ Name | Type | Description | Notes
141
141
 
142
142
  Build an Image
143
143
 
144
- Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is tech preview in Pulp Container 1.1. Backwards compatibility when upgrading is not guaranteed.
144
+ Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is in tech preview. Backwards compatibility when upgrading is not guaranteed.
145
145
 
146
146
  ### Example
147
147
 
@@ -0,0 +1,74 @@
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
@@ -0,0 +1,74 @@
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
@@ -158,7 +158,7 @@ module PulpContainerClient
158
158
  end
159
159
 
160
160
  # Build an Image
161
- # Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is tech preview in Pulp Container 1.1. Backwards compatibility when upgrading is not guaranteed.
161
+ # Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is in tech preview. Backwards compatibility when upgrading is not guaranteed.
162
162
  # @param container_container_repository_href [String]
163
163
  # @param [Hash] opts the optional parameters
164
164
  # @option opts [String] :containerfile_artifact Artifact representing the Containerfile that should be used to run podman-build.
@@ -172,7 +172,7 @@ module PulpContainerClient
172
172
  end
173
173
 
174
174
  # Build an Image
175
- # Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is tech preview in Pulp Container 1.1. Backwards compatibility when upgrading is not guaranteed.
175
+ # Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is in tech preview. Backwards compatibility when upgrading is not guaranteed.
176
176
  # @param container_container_repository_href [String]
177
177
  # @param [Hash] opts the optional parameters
178
178
  # @option opts [String] :containerfile_artifact Artifact representing the Containerfile that should be used to run podman-build.