pulp_container_client 2.17.0 → 2.18.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +40 -6
  3. data/docs/ContainerContainerDistribution.md +6 -6
  4. data/docs/ContainerContainerDistributionResponse.md +12 -10
  5. data/docs/ContainerContainerPullThroughDistribution.md +35 -0
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +41 -0
  7. data/docs/ContainerContainerPullThroughRemote.md +57 -0
  8. data/docs/ContainerContainerPullThroughRemoteResponse.md +55 -0
  9. data/docs/{ContainerContainerRemoteResponseHiddenFields.md → ContainerContainerPullThroughRemoteResponseHiddenFields.md} +2 -2
  10. data/docs/ContainerContainerPushRepository.md +3 -3
  11. data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
  12. data/docs/ContainerContainerRemote.md +1 -1
  13. data/docs/ContainerContainerRemoteResponse.md +2 -2
  14. data/docs/ContentBlobsApi.md +2 -0
  15. data/docs/ContentManifestsApi.md +2 -0
  16. data/docs/ContentSignaturesApi.md +2 -0
  17. data/docs/ContentTagsApi.md +2 -0
  18. data/docs/DistributionsPullThroughApi.md +736 -0
  19. data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +23 -0
  20. data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +23 -0
  21. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  22. data/docs/PatchedcontainerContainerPullThroughDistribution.md +35 -0
  23. data/docs/PatchedcontainerContainerPullThroughRemote.md +57 -0
  24. data/docs/PatchedcontainerContainerPushRepository.md +3 -3
  25. data/docs/PatchedcontainerContainerRemote.md +1 -1
  26. data/docs/{PolicyEnum.md → Policy762Enum.md} +2 -2
  27. data/docs/Policy8e2Enum.md +16 -0
  28. data/docs/RemotesPullThroughApi.md +734 -0
  29. data/lib/pulp_container_client/api/content_blobs_api.rb +3 -0
  30. data/lib/pulp_container_client/api/content_manifests_api.rb +3 -0
  31. data/lib/pulp_container_client/api/content_signatures_api.rb +3 -0
  32. data/lib/pulp_container_client/api/content_tags_api.rb +3 -0
  33. data/lib/pulp_container_client/api/distributions_pull_through_api.rb +907 -0
  34. data/lib/pulp_container_client/api/remotes_pull_through_api.rb +904 -0
  35. data/lib/pulp_container_client/models/container_container_distribution.rb +52 -52
  36. data/lib/pulp_container_client/models/container_container_distribution_response.rb +60 -50
  37. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +373 -0
  38. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +349 -0
  39. data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +668 -0
  40. data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +496 -0
  41. data/lib/pulp_container_client/models/{container_container_remote_response_hidden_fields.rb → container_container_pull_through_remote_response_hidden_fields.rb} +3 -3
  42. data/lib/pulp_container_client/models/container_container_push_repository.rb +30 -30
  43. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +47 -47
  44. data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
  45. data/lib/pulp_container_client/models/container_container_remote_response.rb +2 -2
  46. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +237 -0
  47. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +237 -0
  48. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +43 -43
  49. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +350 -0
  50. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +650 -0
  51. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +30 -30
  52. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
  53. data/lib/pulp_container_client/models/{policy_enum.rb → policy762_enum.rb} +3 -3
  54. data/lib/pulp_container_client/models/policy8e2_enum.rb +35 -0
  55. data/lib/pulp_container_client/version.rb +1 -1
  56. data/lib/pulp_container_client.rb +13 -2
  57. data/spec/api/content_blobs_api_spec.rb +1 -0
  58. data/spec/api/content_manifests_api_spec.rb +1 -0
  59. data/spec/api/content_signatures_api_spec.rb +1 -0
  60. data/spec/api/content_tags_api_spec.rb +1 -0
  61. data/spec/api/distributions_pull_through_api_spec.rb +215 -0
  62. data/spec/api/remotes_pull_through_api_spec.rb +214 -0
  63. data/spec/models/container_container_distribution_response_spec.rb +14 -8
  64. data/spec/models/container_container_distribution_spec.rb +5 -5
  65. data/spec/models/container_container_pull_through_distribution_response_spec.rb +113 -0
  66. data/spec/models/container_container_pull_through_distribution_spec.rb +95 -0
  67. data/spec/models/{container_container_remote_response_hidden_fields_spec.rb → container_container_pull_through_remote_response_hidden_fields_spec.rb} +6 -6
  68. data/spec/models/container_container_pull_through_remote_response_spec.rb +155 -0
  69. data/spec/models/container_container_pull_through_remote_spec.rb +161 -0
  70. data/spec/models/container_container_push_repository_response_spec.rb +8 -8
  71. data/spec/models/container_container_push_repository_spec.rb +3 -3
  72. data/spec/models/paginatedcontainer_container_pull_through_distribution_response_list_spec.rb +59 -0
  73. data/spec/models/paginatedcontainer_container_pull_through_remote_response_list_spec.rb +59 -0
  74. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  75. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +95 -0
  76. data/spec/models/patchedcontainer_container_pull_through_remote_spec.rb +161 -0
  77. data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
  78. data/spec/models/{policy_enum_spec.rb → policy762_enum_spec.rb} +6 -6
  79. data/spec/models/policy8e2_enum_spec.rb +35 -0
  80. metadata +102 -58
@@ -0,0 +1,23 @@
1
+ # PulpContainerClient::PaginatedcontainerContainerPullThroughDistributionResponseList
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | | [optional]
8
+ **_next** | **String** | | [optional]
9
+ **previous** | **String** | | [optional]
10
+ **results** | [**Array<ContainerContainerPullThroughDistributionResponse>**](ContainerContainerPullThroughDistributionResponse.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpContainerClient'
16
+
17
+ instance = PulpContainerClient::PaginatedcontainerContainerPullThroughDistributionResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
19
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,23 @@
1
+ # PulpContainerClient::PaginatedcontainerContainerPullThroughRemoteResponseList
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | | [optional]
8
+ **_next** | **String** | | [optional]
9
+ **previous** | **String** | | [optional]
10
+ **results** | [**Array<ContainerContainerPullThroughRemoteResponse>**](ContainerContainerPullThroughRemoteResponse.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpContainerClient'
16
+
17
+ instance = PulpContainerClient::PaginatedcontainerContainerPullThroughRemoteResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
19
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
7
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
8
8
  **pulp_labels** | **Hash<String, String>** | | [optional]
9
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
10
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
9
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]
10
12
  **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
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
13
13
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
14
14
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
15
15
  **description** | **String** | An optional description. | [optional]
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
19
19
  ```ruby
20
20
  require 'PulpContainerClient'
21
21
 
22
- instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository: null,
22
+ instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(content_guard: null,
23
23
  pulp_labels: null,
24
+ name: null,
25
+ repository: null,
24
26
  base_path: null,
25
27
  hidden: null,
26
- content_guard: null,
27
- name: null,
28
28
  repository_version: null,
29
29
  private: null,
30
30
  description: null)
@@ -0,0 +1,35 @@
1
+ # PulpContainerClient::PatchedcontainerContainerPullThroughDistribution
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
9
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
10
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [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
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
13
+ **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional]
14
+ **distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional]
15
+ **private** | **Boolean** | Restrict pull access to explicitly authorized users. Related distributions inherit this value. Defaults to unrestricted pull access. | [optional]
16
+ **description** | **String** | An optional description. | [optional]
17
+
18
+ ## Code Sample
19
+
20
+ ```ruby
21
+ require 'PulpContainerClient'
22
+
23
+ instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(content_guard: null,
24
+ pulp_labels: null,
25
+ name: null,
26
+ repository: null,
27
+ base_path: null,
28
+ hidden: null,
29
+ remote: null,
30
+ distributions: null,
31
+ private: null,
32
+ description: null)
33
+ ```
34
+
35
+
@@ -0,0 +1,57 @@
1
+ # PulpContainerClient::PatchedcontainerContainerPullThroughRemote
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | A unique name for this remote. | [optional]
8
+ **url** | **String** | The URL of an external content source. | [optional]
9
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
10
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
11
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
12
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
13
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
14
+ **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
15
+ **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
16
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
+ **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
18
+ **pulp_labels** | **Hash<String, String>** | | [optional]
19
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
21
+ **policy** | [**Policy8e2Enum**](Policy8e2Enum.md) | | [optional]
22
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
24
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
+ **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
26
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
27
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
28
+
29
+ ## Code Sample
30
+
31
+ ```ruby
32
+ require 'PulpContainerClient'
33
+
34
+ instance = PulpContainerClient::PatchedcontainerContainerPullThroughRemote.new(name: null,
35
+ url: null,
36
+ ca_cert: null,
37
+ client_cert: null,
38
+ client_key: null,
39
+ tls_validation: null,
40
+ proxy_url: null,
41
+ proxy_username: null,
42
+ proxy_password: null,
43
+ username: null,
44
+ password: null,
45
+ pulp_labels: null,
46
+ download_concurrency: null,
47
+ max_retries: null,
48
+ policy: null,
49
+ total_timeout: null,
50
+ connect_timeout: null,
51
+ sock_connect_timeout: null,
52
+ sock_read_timeout: null,
53
+ headers: null,
54
+ rate_limit: null)
55
+ ```
56
+
57
+
@@ -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]
10
9
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [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
 
@@ -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,
21
20
  retain_repo_versions: null,
22
- name: null)
21
+ name: null,
22
+ description: null)
23
23
  ```
24
24
 
25
25
 
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
18
18
  **pulp_labels** | **Hash<String, String>** | | [optional]
19
19
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
20
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
21
- **policy** | [**PolicyEnum**](PolicyEnum.md) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional]
21
+ **policy** | [**Policy762Enum**](Policy762Enum.md) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional]
22
22
  **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
23
  **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
24
24
  **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
@@ -1,4 +1,4 @@
1
- # PulpContainerClient::PolicyEnum
1
+ # PulpContainerClient::Policy762Enum
2
2
 
3
3
  ## Properties
4
4
 
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
  ```ruby
11
11
  require 'PulpContainerClient'
12
12
 
13
- instance = PulpContainerClient::PolicyEnum.new()
13
+ instance = PulpContainerClient::Policy762Enum.new()
14
14
  ```
15
15
 
16
16
 
@@ -0,0 +1,16 @@
1
+ # PulpContainerClient::Policy8e2Enum
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+
8
+ ## Code Sample
9
+
10
+ ```ruby
11
+ require 'PulpContainerClient'
12
+
13
+ instance = PulpContainerClient::Policy8e2Enum.new()
14
+ ```
15
+
16
+