pulp_container_client 2.16.10 → 2.17.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 +7 -5
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +3 -3
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/ContainerContainerRemoteResponseHiddenFields.md +2 -2
- 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/IndexDynamicApi.md +50 -0
- data/docs/IndexStaticApi.md +50 -0
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPushRepository.md +3 -3
- data/docs/PulpContainerNamespacesApi.md +1 -1
- data/docs/RemotesContainerApi.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/TokenApi.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/configuration.rb +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +26 -26
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +32 -32
- data/lib/pulp_container_client/models/container_container_push_repository.rb +30 -30
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +46 -46
- data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +26 -26
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +30 -30
- 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/configuration_spec.rb +3 -3
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- metadata +76 -68
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b53a4080d645e553588e03910d348071fb1351591722e4edf992f361c24fb59d
|
4
|
+
data.tar.gz: 6890cb01c9be109ae51a684e3e65a6900a7a1e44ac15e9b03cab0c3338f77590
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9439c60b963496e588efe266a5c4fe47b7cf51e495a27d74f3604312c76f14618ac30d81ce26032d0ff820cdce4a0dd67e118df04d2fabb6bc009899f04a7a4
|
7
|
+
data.tar.gz: 0da75fdd349dbf3bb00c124b0ee730ffeceaa5479f561d17268ac3eaa5a9916077ebaeb3f51709f14a2eaa727d46bef225455095179db7e36d43d8896da04a9d
|
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.17.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.17.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.17.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.17.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -93,7 +93,7 @@ end
|
|
93
93
|
|
94
94
|
## Documentation for API Endpoints
|
95
95
|
|
96
|
-
All URIs are relative to *http://
|
96
|
+
All URIs are relative to *http://pulp*
|
97
97
|
|
98
98
|
Class | Method | HTTP request | Description
|
99
99
|
------------ | ------------- | ------------- | -------------
|
@@ -117,6 +117,8 @@ Class | Method | HTTP request | Description
|
|
117
117
|
*PulpContainerClient::DistributionsContainerApi* | [**set_label**](docs/DistributionsContainerApi.md#set_label) | **POST** {container_container_distribution_href}set_label/ | Set a label
|
118
118
|
*PulpContainerClient::DistributionsContainerApi* | [**unset_label**](docs/DistributionsContainerApi.md#unset_label) | **POST** {container_container_distribution_href}unset_label/ | Unset a label
|
119
119
|
*PulpContainerClient::DistributionsContainerApi* | [**update**](docs/DistributionsContainerApi.md#update) | **PUT** {container_container_distribution_href} | Update a container distribution
|
120
|
+
*PulpContainerClient::IndexDynamicApi* | [**get**](docs/IndexDynamicApi.md#get) | **GET** /index/dynamic |
|
121
|
+
*PulpContainerClient::IndexStaticApi* | [**get**](docs/IndexStaticApi.md#get) | **GET** /index/static |
|
120
122
|
*PulpContainerClient::PulpContainerNamespacesApi* | [**add_role**](docs/PulpContainerNamespacesApi.md#add_role) | **POST** {container_container_namespace_href}add_role/ | Add a role
|
121
123
|
*PulpContainerClient::PulpContainerNamespacesApi* | [**create**](docs/PulpContainerNamespacesApi.md#create) | **POST** /pulp/api/v3/pulp_container/namespaces/ | Create a container namespace
|
122
124
|
*PulpContainerClient::PulpContainerNamespacesApi* | [**delete**](docs/PulpContainerNamespacesApi.md#delete) | **DELETE** {container_container_namespace_href} | Delete a container namespace
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**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\") |
|
8
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
11
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
|
+
**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\") |
|
10
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
11
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
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]
|
@@ -19,11 +19,11 @@ Name | Type | Description | Notes
|
|
19
19
|
```ruby
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
23
|
-
repository: null,
|
24
|
-
content_guard: null,
|
25
|
-
hidden: null,
|
22
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(repository: null,
|
26
23
|
pulp_labels: null,
|
24
|
+
base_path: null,
|
25
|
+
hidden: null,
|
26
|
+
content_guard: null,
|
27
27
|
name: null,
|
28
28
|
repository_version: null,
|
29
29
|
private: null,
|
@@ -5,12 +5,12 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
|
-
**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\") |
|
9
8
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
12
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
13
9
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
|
+
**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\") |
|
11
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
12
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
13
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
14
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]
|
@@ -24,12 +24,12 @@ Name | Type | Description | Notes
|
|
24
24
|
require 'PulpContainerClient'
|
25
25
|
|
26
26
|
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_created: null,
|
27
|
-
base_path: null,
|
28
27
|
repository: null,
|
29
|
-
content_guard: null,
|
30
|
-
pulp_href: null,
|
31
|
-
hidden: null,
|
32
28
|
pulp_labels: null,
|
29
|
+
base_path: null,
|
30
|
+
hidden: null,
|
31
|
+
pulp_href: null,
|
32
|
+
content_guard: null,
|
33
33
|
name: null,
|
34
34
|
repository_version: null,
|
35
35
|
registry_path: null,
|
@@ -6,9 +6,9 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
8
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
|
+
**description** | **String** | An optional description. | [optional]
|
9
10
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
10
11
|
**name** | **String** | A unique name for this repository. |
|
11
|
-
**description** | **String** | An optional description. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
@@ -17,9 +17,9 @@ require 'PulpContainerClient'
|
|
17
17
|
|
18
18
|
instance = PulpContainerClient::ContainerContainerPushRepository.new(manifest_signing_service: null,
|
19
19
|
pulp_labels: null,
|
20
|
+
description: null,
|
20
21
|
retain_repo_versions: null,
|
21
|
-
name: null
|
22
|
-
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
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
9
|
-
**latest_version_href** | **String** | | [optional] [readonly]
|
10
|
-
**versions_href** | **String** | | [optional] [readonly]
|
11
7
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
8
|
+
**latest_version_href** | **String** | | [optional] [readonly]
|
9
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
12
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
|
+
**description** | **String** | An optional description. | [optional]
|
12
|
+
**versions_href** | **String** | | [optional] [readonly]
|
13
13
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
14
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
14
15
|
**name** | **String** | A unique name for this repository. |
|
15
|
-
**description** | **String** | An optional description. | [optional]
|
16
16
|
|
17
17
|
## Code Sample
|
18
18
|
|
19
19
|
```ruby
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
|
-
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
|
23
|
-
pulp_href: null,
|
22
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(manifest_signing_service: null,
|
24
23
|
latest_version_href: null,
|
25
|
-
|
26
|
-
manifest_signing_service: null,
|
24
|
+
pulp_created: null,
|
27
25
|
pulp_labels: null,
|
26
|
+
description: null,
|
27
|
+
versions_href: null,
|
28
28
|
retain_repo_versions: null,
|
29
|
-
|
30
|
-
|
29
|
+
pulp_href: null,
|
30
|
+
name: null)
|
31
31
|
```
|
32
32
|
|
33
33
|
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** | |
|
8
|
-
**is_set** | **Boolean** | |
|
7
|
+
**name** | **String** | | [optional]
|
8
|
+
**is_set** | **Boolean** | | [optional]
|
9
9
|
|
10
10
|
## Code Sample
|
11
11
|
|
data/docs/ContentBlobsApi.md
CHANGED
data/docs/ContentManifestsApi.md
CHANGED
data/docs/ContentTagsApi.md
CHANGED
@@ -0,0 +1,50 @@
|
|
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
|
+
|
@@ -0,0 +1,50 @@
|
|
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
|
+
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**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]
|
8
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
11
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
|
+
**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]
|
10
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
11
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
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]
|
@@ -19,11 +19,11 @@ Name | Type | Description | Notes
|
|
19
19
|
```ruby
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
23
|
-
repository: null,
|
24
|
-
content_guard: null,
|
25
|
-
hidden: null,
|
22
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository: null,
|
26
23
|
pulp_labels: null,
|
24
|
+
base_path: null,
|
25
|
+
hidden: null,
|
26
|
+
content_guard: null,
|
27
27
|
name: null,
|
28
28
|
repository_version: null,
|
29
29
|
private: null,
|
@@ -6,9 +6,9 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
8
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
|
+
**description** | **String** | An optional description. | [optional]
|
9
10
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
10
11
|
**name** | **String** | A unique name for this repository. | [optional]
|
11
|
-
**description** | **String** | An optional description. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
@@ -17,9 +17,9 @@ require 'PulpContainerClient'
|
|
17
17
|
|
18
18
|
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(manifest_signing_service: null,
|
19
19
|
pulp_labels: null,
|
20
|
+
description: null,
|
20
21
|
retain_repo_versions: null,
|
21
|
-
name: null
|
22
|
-
description: null)
|
22
|
+
name: null)
|
23
23
|
```
|
24
24
|
|
25
25
|
|
data/docs/RemotesContainerApi.md
CHANGED
data/docs/TokenApi.md
CHANGED
@@ -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
|
@@ -128,7 +128,7 @@ module PulpContainerClient
|
|
128
128
|
|
129
129
|
def initialize
|
130
130
|
@scheme = 'http'
|
131
|
-
@host = '
|
131
|
+
@host = 'pulp'
|
132
132
|
@base_path = ''
|
133
133
|
@api_key = {}
|
134
134
|
@api_key_prefix = {}
|
@@ -210,7 +210,7 @@ module PulpContainerClient
|
|
210
210
|
def server_settings
|
211
211
|
[
|
212
212
|
{
|
213
|
-
url: "http://
|
213
|
+
url: "http://pulp/",
|
214
214
|
description: "No description provided",
|
215
215
|
}
|
216
216
|
]
|