pulp_container_client 2.19.4 → 2.20.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/ContainerBlobResponse.md +0 -2
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -10
- data/docs/ContainerContainerNamespaceResponse.md +0 -2
- data/docs/ContainerContainerPullThroughDistribution.md +5 -5
- data/docs/ContainerContainerPullThroughDistributionResponse.md +8 -10
- data/docs/ContainerContainerPullThroughRemoteResponse.md +2 -2
- data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +2 -2
- data/docs/ContainerContainerPushRepository.md +3 -3
- data/docs/ContainerContainerPushRepositoryResponse.md +9 -11
- data/docs/ContainerContainerRemoteResponse.md +2 -2
- data/docs/ContainerContainerRepositoryResponse.md +0 -2
- data/docs/ContainerManifestResponse.md +0 -4
- data/docs/ContainerManifestSignatureResponse.md +0 -2
- data/docs/ContainerTagResponse.md +0 -2
- data/docs/ContentBlobsApi.md +1 -1
- data/docs/ContentManifestsApi.md +3 -3
- data/docs/ContentSignaturesApi.md +1 -1
- data/docs/ContentTagsApi.md +1 -1
- data/docs/DistributionsContainerApi.md +1 -1
- data/docs/DistributionsPullThroughApi.md +1 -1
- data/docs/IndexDynamicApi.md +50 -0
- data/docs/IndexStaticApi.md +50 -0
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedcontainerBlobResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerDistributionResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerNamespaceResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPushRepositoryResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerRemoteResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerRepositoryResponseList.md +2 -2
- data/docs/PaginatedcontainerManifestResponseList.md +2 -2
- data/docs/PaginatedcontainerManifestSignatureResponseList.md +2 -2
- data/docs/PaginatedcontainerTagResponseList.md +2 -2
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +3 -3
- data/docs/PulpContainerNamespacesApi.md +1 -1
- data/docs/RemotesContainerApi.md +1 -1
- data/docs/RemotesPullThroughApi.md +1 -1
- data/docs/RepositoriesContainerApi.md +1 -1
- data/docs/RepositoriesContainerPushApi.md +1 -1
- data/docs/RepositoriesContainerPushVersionsApi.md +1 -1
- data/docs/RepositoriesContainerVersionsApi.md +1 -1
- data/docs/RepositoryVersionResponse.md +0 -2
- data/docs/TokenApi.md +1 -1
- data/lib/pulp_container_client/api/content_manifests_api.rb +3 -3
- 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_blob_response.rb +1 -11
- data/lib/pulp_container_client/models/container_container_distribution.rb +18 -18
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +34 -44
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +1 -11
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +18 -18
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +34 -44
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +11 -11
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response_hidden_fields.rb +0 -10
- 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 +37 -47
- data/lib/pulp_container_client/models/container_container_remote_response.rb +11 -11
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -11
- data/lib/pulp_container_client/models/container_manifest_response.rb +1 -26
- data/lib/pulp_container_client/models/container_manifest_signature_response.rb +1 -11
- data/lib/pulp_container_client/models/container_tag_response.rb +1 -11
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +0 -10
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +18 -18
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +18 -18
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +30 -30
- data/lib/pulp_container_client/models/repository_version_response.rb +1 -11
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +2 -0
- data/spec/api/content_manifests_api_spec.rb +1 -1
- 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_blob_response_spec.rb +0 -6
- data/spec/models/container_container_distribution_response_spec.rb +6 -12
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_namespace_response_spec.rb +0 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +6 -12
- data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_remote_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +7 -13
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/container_container_remote_response_spec.rb +6 -6
- data/spec/models/container_container_repository_response_spec.rb +0 -6
- data/spec/models/container_manifest_response_spec.rb +0 -12
- data/spec/models/container_manifest_signature_response_spec.rb +0 -6
- data/spec/models/container_tag_response_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/repository_version_response_spec.rb +0 -6
- metadata +84 -76
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<RepositoryVersionResponse>**](RepositoryVersionResponse.md) | |
|
10
|
+
**results** | [**Array<RepositoryVersionResponse>**](RepositoryVersionResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<ContainerBlobResponse>**](ContainerBlobResponse.md) | |
|
10
|
+
**results** | [**Array<ContainerBlobResponse>**](ContainerBlobResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<ContainerContainerDistributionResponse>**](ContainerContainerDistributionResponse.md) | |
|
10
|
+
**results** | [**Array<ContainerContainerDistributionResponse>**](ContainerContainerDistributionResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<ContainerContainerNamespaceResponse>**](ContainerContainerNamespaceResponse.md) | |
|
10
|
+
**results** | [**Array<ContainerContainerNamespaceResponse>**](ContainerContainerNamespaceResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<ContainerContainerPullThroughDistributionResponse>**](ContainerContainerPullThroughDistributionResponse.md) | |
|
10
|
+
**results** | [**Array<ContainerContainerPullThroughDistributionResponse>**](ContainerContainerPullThroughDistributionResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<ContainerContainerPullThroughRemoteResponse>**](ContainerContainerPullThroughRemoteResponse.md) | |
|
10
|
+
**results** | [**Array<ContainerContainerPullThroughRemoteResponse>**](ContainerContainerPullThroughRemoteResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<ContainerContainerPushRepositoryResponse>**](ContainerContainerPushRepositoryResponse.md) | |
|
10
|
+
**results** | [**Array<ContainerContainerPushRepositoryResponse>**](ContainerContainerPushRepositoryResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<ContainerContainerRemoteResponse>**](ContainerContainerRemoteResponse.md) | |
|
10
|
+
**results** | [**Array<ContainerContainerRemoteResponse>**](ContainerContainerRemoteResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<ContainerContainerRepositoryResponse>**](ContainerContainerRepositoryResponse.md) | |
|
10
|
+
**results** | [**Array<ContainerContainerRepositoryResponse>**](ContainerContainerRepositoryResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<ContainerManifestResponse>**](ContainerManifestResponse.md) | |
|
10
|
+
**results** | [**Array<ContainerManifestResponse>**](ContainerManifestResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<ContainerManifestSignatureResponse>**](ContainerManifestSignatureResponse.md) | |
|
10
|
+
**results** | [**Array<ContainerManifestSignatureResponse>**](ContainerManifestSignatureResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<ContainerTagResponse>**](ContainerTagResponse.md) | |
|
10
|
+
**results** | [**Array<ContainerTagResponse>**](ContainerTagResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
7
8
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
8
9
|
**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
10
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
|
-
**
|
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
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(
|
22
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(content_guard: null,
|
23
|
+
hidden: null,
|
23
24
|
pulp_labels: null,
|
24
|
-
base_path: null,
|
25
25
|
repository: null,
|
26
|
-
|
26
|
+
base_path: null,
|
27
27
|
name: null,
|
28
28
|
repository_version: null,
|
29
29
|
private: null,
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
7
8
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
8
9
|
**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
10
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
|
-
**
|
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
12
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
13
13
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional]
|
14
14
|
**distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional]
|
@@ -20,11 +20,11 @@ Name | Type | Description | Notes
|
|
20
20
|
```ruby
|
21
21
|
require 'PulpContainerClient'
|
22
22
|
|
23
|
-
instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(
|
23
|
+
instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(content_guard: null,
|
24
|
+
hidden: null,
|
24
25
|
pulp_labels: null,
|
25
|
-
base_path: null,
|
26
26
|
repository: null,
|
27
|
-
|
27
|
+
base_path: null,
|
28
28
|
name: null,
|
29
29
|
remote: null,
|
30
30
|
distributions: null,
|
@@ -5,10 +5,10 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
8
|
-
**description** | **String** | An optional description. | [optional]
|
9
8
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
10
9
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
10
|
**name** | **String** | A unique name for this repository. | [optional]
|
11
|
+
**description** | **String** | An optional description. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
@@ -16,10 +16,10 @@ Name | Type | Description | Notes
|
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
18
|
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(retain_repo_versions: null,
|
19
|
-
description: null,
|
20
19
|
manifest_signing_service: null,
|
21
20
|
pulp_labels: null,
|
22
|
-
name: null
|
21
|
+
name: null,
|
22
|
+
description: null)
|
23
23
|
```
|
24
24
|
|
25
25
|
|
data/docs/RemotesContainerApi.md
CHANGED
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
-
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
10
9
|
**number** | **Integer** | | [optional] [readonly]
|
11
10
|
**repository** | **String** | | [optional] [readonly]
|
12
11
|
**base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
|
@@ -19,7 +18,6 @@ require 'PulpContainerClient'
|
|
19
18
|
|
20
19
|
instance = PulpContainerClient::RepositoryVersionResponse.new(pulp_href: null,
|
21
20
|
pulp_created: null,
|
22
|
-
pulp_last_updated: null,
|
23
21
|
number: null,
|
24
22
|
repository: null,
|
25
23
|
base_version: null,
|
data/docs/TokenApi.md
CHANGED
@@ -29,7 +29,7 @@ module PulpContainerClient
|
|
29
29
|
# @option opts [Integer] :limit Number of results to return per page.
|
30
30
|
# @option opts [Array<String>] :media_type * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
|
31
31
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
32
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `schema_version` - Schema version * `-schema_version` - Schema version (descending) * `media_type` - Media type * `-media_type` - Media type (descending) * `annotations` - Annotations * `-annotations` - Annotations (descending) * `labels` - Labels * `-labels` - Labels (descending) * `is_bootable` - Is bootable * `-is_bootable` - Is bootable (descending) * `is_flatpak` - Is flatpak * `-is_flatpak` - Is flatpak (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
32
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `schema_version` - Schema version * `-schema_version` - Schema version (descending) * `media_type` - Media type * `-media_type` - Media type (descending) * `data` - Data * `-data` - Data (descending) * `annotations` - Annotations * `-annotations` - Annotations (descending) * `labels` - Labels * `-labels` - Labels (descending) * `is_bootable` - Is bootable * `-is_bootable` - Is bootable (descending) * `is_flatpak` - Is flatpak * `-is_flatpak` - Is flatpak (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
33
33
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
34
34
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
35
35
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -55,7 +55,7 @@ module PulpContainerClient
|
|
55
55
|
# @option opts [Integer] :limit Number of results to return per page.
|
56
56
|
# @option opts [Array<String>] :media_type * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
|
57
57
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
58
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `schema_version` - Schema version * `-schema_version` - Schema version (descending) * `media_type` - Media type * `-media_type` - Media type (descending) * `annotations` - Annotations * `-annotations` - Annotations (descending) * `labels` - Labels * `-labels` - Labels (descending) * `is_bootable` - Is bootable * `-is_bootable` - Is bootable (descending) * `is_flatpak` - Is flatpak * `-is_flatpak` - Is flatpak (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
58
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `schema_version` - Schema version * `-schema_version` - Schema version (descending) * `media_type` - Media type * `-media_type` - Media type (descending) * `data` - Data * `-data` - Data (descending) * `annotations` - Annotations * `-annotations` - Annotations (descending) * `labels` - Labels * `-labels` - Labels (descending) * `is_bootable` - Is bootable * `-is_bootable` - Is bootable (descending) * `is_flatpak` - Is flatpak * `-is_flatpak` - Is flatpak (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
59
59
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
60
60
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
61
61
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -74,7 +74,7 @@ module PulpContainerClient
|
|
74
74
|
if @api_client.config.client_side_validation && opts[:'media_type'] && !opts[:'media_type'].all? { |item| allowable_values.include?(item) }
|
75
75
|
fail ArgumentError, "invalid value for \"media_type\", must include one of #{allowable_values}"
|
76
76
|
end
|
77
|
-
allowable_values = ["-annotations", "-digest", "-is_bootable", "-is_flatpak", "-labels", "-media_type", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-schema_version", "-timestamp_of_interest", "-upstream_id", "annotations", "digest", "is_bootable", "is_flatpak", "labels", "media_type", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "schema_version", "timestamp_of_interest", "upstream_id"]
|
77
|
+
allowable_values = ["-annotations", "-data", "-digest", "-is_bootable", "-is_flatpak", "-labels", "-media_type", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-schema_version", "-timestamp_of_interest", "-upstream_id", "annotations", "data", "digest", "is_bootable", "is_flatpak", "labels", "media_type", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "schema_version", "timestamp_of_interest", "upstream_id"]
|
78
78
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
79
79
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
80
80
|
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 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
|
]
|
@@ -20,9 +20,6 @@ module PulpContainerClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
-
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
24
|
-
attr_accessor :pulp_last_updated
|
25
|
-
|
26
23
|
# Artifact file representing the physical content
|
27
24
|
attr_accessor :artifact
|
28
25
|
|
@@ -34,7 +31,6 @@ module PulpContainerClient
|
|
34
31
|
{
|
35
32
|
:'pulp_href' => :'pulp_href',
|
36
33
|
:'pulp_created' => :'pulp_created',
|
37
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
38
34
|
:'artifact' => :'artifact',
|
39
35
|
:'digest' => :'digest'
|
40
36
|
}
|
@@ -45,7 +41,6 @@ module PulpContainerClient
|
|
45
41
|
{
|
46
42
|
:'pulp_href' => :'String',
|
47
43
|
:'pulp_created' => :'DateTime',
|
48
|
-
:'pulp_last_updated' => :'DateTime',
|
49
44
|
:'artifact' => :'String',
|
50
45
|
:'digest' => :'String'
|
51
46
|
}
|
@@ -80,10 +75,6 @@ module PulpContainerClient
|
|
80
75
|
self.pulp_created = attributes[:'pulp_created']
|
81
76
|
end
|
82
77
|
|
83
|
-
if attributes.key?(:'pulp_last_updated')
|
84
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
85
|
-
end
|
86
|
-
|
87
78
|
if attributes.key?(:'artifact')
|
88
79
|
self.artifact = attributes[:'artifact']
|
89
80
|
end
|
@@ -123,7 +114,6 @@ module PulpContainerClient
|
|
123
114
|
self.class == o.class &&
|
124
115
|
pulp_href == o.pulp_href &&
|
125
116
|
pulp_created == o.pulp_created &&
|
126
|
-
pulp_last_updated == o.pulp_last_updated &&
|
127
117
|
artifact == o.artifact &&
|
128
118
|
digest == o.digest
|
129
119
|
end
|
@@ -137,7 +127,7 @@ module PulpContainerClient
|
|
137
127
|
# Calculates hash code according to all attributes.
|
138
128
|
# @return [Integer] Hash code
|
139
129
|
def hash
|
140
|
-
[pulp_href, pulp_created,
|
130
|
+
[pulp_href, pulp_created, artifact, digest].hash
|
141
131
|
end
|
142
132
|
|
143
133
|
# Builds the object from hash
|