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.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -5
  3. data/docs/ContainerBlobResponse.md +0 -2
  4. data/docs/ContainerContainerDistribution.md +5 -5
  5. data/docs/ContainerContainerDistributionResponse.md +8 -10
  6. data/docs/ContainerContainerNamespaceResponse.md +0 -2
  7. data/docs/ContainerContainerPullThroughDistribution.md +5 -5
  8. data/docs/ContainerContainerPullThroughDistributionResponse.md +8 -10
  9. data/docs/ContainerContainerPullThroughRemoteResponse.md +2 -2
  10. data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +2 -2
  11. data/docs/ContainerContainerPushRepository.md +3 -3
  12. data/docs/ContainerContainerPushRepositoryResponse.md +9 -11
  13. data/docs/ContainerContainerRemoteResponse.md +2 -2
  14. data/docs/ContainerContainerRepositoryResponse.md +0 -2
  15. data/docs/ContainerManifestResponse.md +0 -4
  16. data/docs/ContainerManifestSignatureResponse.md +0 -2
  17. data/docs/ContainerTagResponse.md +0 -2
  18. data/docs/ContentBlobsApi.md +1 -1
  19. data/docs/ContentManifestsApi.md +3 -3
  20. data/docs/ContentSignaturesApi.md +1 -1
  21. data/docs/ContentTagsApi.md +1 -1
  22. data/docs/DistributionsContainerApi.md +1 -1
  23. data/docs/DistributionsPullThroughApi.md +1 -1
  24. data/docs/IndexDynamicApi.md +50 -0
  25. data/docs/IndexStaticApi.md +50 -0
  26. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  27. data/docs/PaginatedcontainerBlobResponseList.md +2 -2
  28. data/docs/PaginatedcontainerContainerDistributionResponseList.md +2 -2
  29. data/docs/PaginatedcontainerContainerNamespaceResponseList.md +2 -2
  30. data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +2 -2
  31. data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +2 -2
  32. data/docs/PaginatedcontainerContainerPushRepositoryResponseList.md +2 -2
  33. data/docs/PaginatedcontainerContainerRemoteResponseList.md +2 -2
  34. data/docs/PaginatedcontainerContainerRepositoryResponseList.md +2 -2
  35. data/docs/PaginatedcontainerManifestResponseList.md +2 -2
  36. data/docs/PaginatedcontainerManifestSignatureResponseList.md +2 -2
  37. data/docs/PaginatedcontainerTagResponseList.md +2 -2
  38. data/docs/PatchedcontainerContainerDistribution.md +5 -5
  39. data/docs/PatchedcontainerContainerPullThroughDistribution.md +5 -5
  40. data/docs/PatchedcontainerContainerPushRepository.md +3 -3
  41. data/docs/PulpContainerNamespacesApi.md +1 -1
  42. data/docs/RemotesContainerApi.md +1 -1
  43. data/docs/RemotesPullThroughApi.md +1 -1
  44. data/docs/RepositoriesContainerApi.md +1 -1
  45. data/docs/RepositoriesContainerPushApi.md +1 -1
  46. data/docs/RepositoriesContainerPushVersionsApi.md +1 -1
  47. data/docs/RepositoriesContainerVersionsApi.md +1 -1
  48. data/docs/RepositoryVersionResponse.md +0 -2
  49. data/docs/TokenApi.md +1 -1
  50. data/lib/pulp_container_client/api/content_manifests_api.rb +3 -3
  51. data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
  52. data/lib/pulp_container_client/api/index_static_api.rb +74 -0
  53. data/lib/pulp_container_client/configuration.rb +2 -2
  54. data/lib/pulp_container_client/models/container_blob_response.rb +1 -11
  55. data/lib/pulp_container_client/models/container_container_distribution.rb +18 -18
  56. data/lib/pulp_container_client/models/container_container_distribution_response.rb +34 -44
  57. data/lib/pulp_container_client/models/container_container_namespace_response.rb +1 -11
  58. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +18 -18
  59. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +34 -44
  60. data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +11 -11
  61. data/lib/pulp_container_client/models/container_container_pull_through_remote_response_hidden_fields.rb +0 -10
  62. data/lib/pulp_container_client/models/container_container_push_repository.rb +30 -30
  63. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +37 -47
  64. data/lib/pulp_container_client/models/container_container_remote_response.rb +11 -11
  65. data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -11
  66. data/lib/pulp_container_client/models/container_manifest_response.rb +1 -26
  67. data/lib/pulp_container_client/models/container_manifest_signature_response.rb +1 -11
  68. data/lib/pulp_container_client/models/container_tag_response.rb +1 -11
  69. data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +0 -10
  70. data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +0 -10
  71. data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +0 -10
  72. data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +0 -10
  73. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +0 -10
  74. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +0 -10
  75. data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +0 -10
  76. data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +0 -10
  77. data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +0 -10
  78. data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +0 -10
  79. data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +0 -10
  80. data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +0 -10
  81. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +18 -18
  82. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +18 -18
  83. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +30 -30
  84. data/lib/pulp_container_client/models/repository_version_response.rb +1 -11
  85. data/lib/pulp_container_client/version.rb +1 -1
  86. data/lib/pulp_container_client.rb +2 -0
  87. data/spec/api/content_manifests_api_spec.rb +1 -1
  88. data/spec/api/index_dynamic_api_spec.rb +45 -0
  89. data/spec/api/index_static_api_spec.rb +45 -0
  90. data/spec/configuration_spec.rb +3 -3
  91. data/spec/models/container_blob_response_spec.rb +0 -6
  92. data/spec/models/container_container_distribution_response_spec.rb +6 -12
  93. data/spec/models/container_container_distribution_spec.rb +4 -4
  94. data/spec/models/container_container_namespace_response_spec.rb +0 -6
  95. data/spec/models/container_container_pull_through_distribution_response_spec.rb +6 -12
  96. data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
  97. data/spec/models/container_container_pull_through_remote_response_spec.rb +6 -6
  98. data/spec/models/container_container_push_repository_response_spec.rb +7 -13
  99. data/spec/models/container_container_push_repository_spec.rb +4 -4
  100. data/spec/models/container_container_remote_response_spec.rb +6 -6
  101. data/spec/models/container_container_repository_response_spec.rb +0 -6
  102. data/spec/models/container_manifest_response_spec.rb +0 -12
  103. data/spec/models/container_manifest_signature_response_spec.rb +0 -6
  104. data/spec/models/container_tag_response_spec.rb +0 -6
  105. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  106. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
  107. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  108. data/spec/models/repository_version_response_spec.rb +0 -6
  109. 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
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
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(hidden: null,
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
- content_guard: null,
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
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
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(hidden: null,
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
- content_guard: null,
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
 
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::PulpContainerNamespacesApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::RemotesContainerApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::RemotesPullThroughApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::RepositoriesContainerApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::RepositoriesContainerPushApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::RepositoriesContainerPushVersionsApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::RepositoriesContainerVersionsApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -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
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::TokenApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -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 * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - 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 * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;annotations&#x60; - Annotations * &#x60;-annotations&#x60; - Annotations (descending) * &#x60;labels&#x60; - Labels * &#x60;-labels&#x60; - Labels (descending) * &#x60;is_bootable&#x60; - Is bootable * &#x60;-is_bootable&#x60; - Is bootable (descending) * &#x60;is_flatpak&#x60; - Is flatpak * &#x60;-is_flatpak&#x60; - Is flatpak (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
32
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;annotations&#x60; - Annotations * &#x60;-annotations&#x60; - Annotations (descending) * &#x60;labels&#x60; - Labels * &#x60;-labels&#x60; - Labels (descending) * &#x60;is_bootable&#x60; - Is bootable * &#x60;-is_bootable&#x60; - Is bootable (descending) * &#x60;is_flatpak&#x60; - Is flatpak * &#x60;-is_flatpak&#x60; - Is flatpak (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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 * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - 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 * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;annotations&#x60; - Annotations * &#x60;-annotations&#x60; - Annotations (descending) * &#x60;labels&#x60; - Labels * &#x60;-labels&#x60; - Labels (descending) * &#x60;is_bootable&#x60; - Is bootable * &#x60;-is_bootable&#x60; - Is bootable (descending) * &#x60;is_flatpak&#x60; - Is flatpak * &#x60;-is_flatpak&#x60; - Is flatpak (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
58
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;annotations&#x60; - Annotations * &#x60;-annotations&#x60; - Annotations (descending) * &#x60;labels&#x60; - Labels * &#x60;-labels&#x60; - Labels (descending) * &#x60;is_bootable&#x60; - Is bootable * &#x60;-is_bootable&#x60; - Is bootable (descending) * &#x60;is_flatpak&#x60; - Is flatpak * &#x60;-is_flatpak&#x60; - Is flatpak (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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 = 'localhost'
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://localhost:24817/",
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, pulp_last_updated, artifact, digest].hash
130
+ [pulp_href, pulp_created, artifact, digest].hash
141
131
  end
142
132
 
143
133
  # Builds the object from hash