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.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
- data/docs/IndexDynamicApi.md +50 -0
- data/docs/IndexStaticApi.md +50 -0
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/RepositoriesContainerApi.md +1 -1
- data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
- data/lib/pulp_container_client/api/index_static_api.rb +74 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +54 -54
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +45 -45
- 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 +49 -49
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +45 -45
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +45 -45
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +2 -0
- data/spec/api/index_dynamic_api_spec.rb +45 -0
- data/spec/api/index_static_api_spec.rb +45 -0
- data/spec/api/repositories_container_api_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e3de446838db7bcb3a7ae70c52dde970e05f176e3edc339f1deb19ecc6cd512
|
4
|
+
data.tar.gz: 290d1789e863a9ba3cc6a54a17d69a66130892fe870bf10794ef3be904c09aeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
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.
|
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
|
-
**
|
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(
|
23
|
-
|
22
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(hidden: null,
|
23
|
+
pulp_labels: null,
|
24
24
|
repository: null,
|
25
|
-
|
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
|
-
**
|
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(
|
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
|
-
|
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
|
-
**
|
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(
|
18
|
+
instance = PulpContainerClient::ContainerContainerPushRepository.new(manifest_signing_service: null,
|
19
19
|
pulp_labels: null,
|
20
|
-
|
21
|
-
|
22
|
-
|
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
|
-
**
|
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
|
-
**
|
11
|
-
**
|
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
|
-
**
|
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(
|
23
|
-
pulp_labels: null,
|
22
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_created: null,
|
24
23
|
manifest_signing_service: null,
|
25
|
-
|
26
|
-
|
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
|
-
|
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
|
-
**
|
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(
|
23
|
-
|
22
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(hidden: null,
|
23
|
+
pulp_labels: null,
|
24
24
|
repository: null,
|
25
|
-
|
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
|
-
**
|
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(
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(manifest_signing_service: null,
|
19
19
|
pulp_labels: null,
|
20
|
-
|
21
|
-
|
22
|
-
|
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
|
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
|
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
|
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.
|