pulp_container_client 1.4.2 → 2.0.0b1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +16 -7
  3. data/docs/{ContainerBlob.md → ContainerBlobRead.md} +2 -2
  4. data/docs/ContainerContainerDistribution.md +8 -8
  5. data/docs/ContainerContainerDistributionRead.md +31 -0
  6. data/docs/ContainerContainerRemoteRead.md +47 -0
  7. data/docs/ContainerContainerRepositoryRead.md +27 -0
  8. data/docs/{ContainerManifest.md → ContainerManifestRead.md} +2 -2
  9. data/docs/{ContainerTag.md → ContainerTagRead.md} +2 -2
  10. data/docs/ContentBlobsApi.md +2 -2
  11. data/docs/ContentManifestsApi.md +2 -2
  12. data/docs/ContentTagsApi.md +2 -2
  13. data/docs/DistributionsContainerApi.md +2 -2
  14. data/docs/InlineResponse200.md +1 -1
  15. data/docs/InlineResponse2001.md +1 -1
  16. data/docs/InlineResponse2002.md +1 -1
  17. data/docs/InlineResponse2003.md +1 -1
  18. data/docs/InlineResponse2004.md +1 -1
  19. data/docs/InlineResponse2005.md +1 -1
  20. data/docs/InlineResponse2006.md +1 -1
  21. data/docs/RemotesContainerApi.md +4 -4
  22. data/docs/RepositoriesContainerApi.md +4 -4
  23. data/docs/RepositoriesContainerVersionsApi.md +4 -6
  24. data/docs/RepositoryVersionRead.md +25 -0
  25. data/docs/V2Api.md +64 -0
  26. data/docs/V2BlobsApi.md +63 -0
  27. data/docs/V2CatalogApi.md +64 -0
  28. data/docs/V2ListApi.md +66 -0
  29. data/docs/V2UploadsApi.md +61 -0
  30. data/lib/pulp_container_client/api/content_blobs_api.rb +3 -3
  31. data/lib/pulp_container_client/api/content_manifests_api.rb +3 -3
  32. data/lib/pulp_container_client/api/content_tags_api.rb +3 -3
  33. data/lib/pulp_container_client/api/distributions_container_api.rb +3 -3
  34. data/lib/pulp_container_client/api/remotes_container_api.rb +6 -6
  35. data/lib/pulp_container_client/api/repositories_container_api.rb +6 -6
  36. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +6 -9
  37. data/lib/pulp_container_client/api/v2_api.rb +80 -0
  38. data/lib/pulp_container_client/api/v2_blobs_api.rb +88 -0
  39. data/lib/pulp_container_client/api/v2_catalog_api.rb +80 -0
  40. data/lib/pulp_container_client/api/v2_list_api.rb +86 -0
  41. data/lib/pulp_container_client/api/v2_uploads_api.rb +82 -0
  42. data/lib/pulp_container_client/models/{container_blob.rb → container_blob_read.rb} +3 -3
  43. data/lib/pulp_container_client/models/container_container_distribution.rb +36 -36
  44. data/lib/pulp_container_client/models/container_container_distribution_read.rb +342 -0
  45. data/lib/pulp_container_client/models/container_container_remote_read.rb +578 -0
  46. data/lib/pulp_container_client/models/container_container_repository_read.rb +294 -0
  47. data/lib/pulp_container_client/models/{container_manifest.rb → container_manifest_read.rb} +3 -3
  48. data/lib/pulp_container_client/models/{container_tag.rb → container_tag_read.rb} +3 -3
  49. data/lib/pulp_container_client/models/inline_response200.rb +1 -1
  50. data/lib/pulp_container_client/models/inline_response2001.rb +1 -1
  51. data/lib/pulp_container_client/models/inline_response2002.rb +1 -1
  52. data/lib/pulp_container_client/models/inline_response2003.rb +1 -1
  53. data/lib/pulp_container_client/models/inline_response2004.rb +1 -1
  54. data/lib/pulp_container_client/models/inline_response2005.rb +1 -1
  55. data/lib/pulp_container_client/models/inline_response2006.rb +1 -1
  56. data/lib/pulp_container_client/models/repository_version_read.rb +244 -0
  57. data/lib/pulp_container_client/version.rb +1 -1
  58. data/lib/pulp_container_client.rb +12 -3
  59. data/spec/api/content_blobs_api_spec.rb +1 -1
  60. data/spec/api/content_manifests_api_spec.rb +1 -1
  61. data/spec/api/content_tags_api_spec.rb +1 -1
  62. data/spec/api/distributions_container_api_spec.rb +1 -1
  63. data/spec/api/remotes_container_api_spec.rb +2 -2
  64. data/spec/api/repositories_container_api_spec.rb +2 -2
  65. data/spec/api/repositories_container_versions_api_spec.rb +2 -3
  66. data/spec/api/v2_api_spec.rb +47 -0
  67. data/spec/api/v2_blobs_api_spec.rb +48 -0
  68. data/spec/api/v2_catalog_api_spec.rb +47 -0
  69. data/spec/api/v2_list_api_spec.rb +48 -0
  70. data/spec/api/v2_uploads_api_spec.rb +47 -0
  71. data/spec/models/{container_blob_spec.rb → container_blob_read_spec.rb} +6 -6
  72. data/spec/models/container_container_distribution_read_spec.rb +83 -0
  73. data/spec/models/container_container_distribution_spec.rb +7 -7
  74. data/spec/models/container_container_remote_read_spec.rb +135 -0
  75. data/spec/models/container_container_repository_read_spec.rb +71 -0
  76. data/spec/models/{container_manifest_spec.rb → container_manifest_read_spec.rb} +6 -6
  77. data/spec/models/{container_tag_spec.rb → container_tag_read_spec.rb} +6 -6
  78. data/spec/models/repository_version_read_spec.rb +65 -0
  79. metadata +52 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6df1ebc46e1b56e8a6a7a608c65bee3bebe23d58b32b4650c4b87e995344723
4
- data.tar.gz: f6de492b0a703467b5db83b4ec2ef3ffbc66624082cf5a3674b448f217a6bb3d
3
+ metadata.gz: e9a89bdb3e49dbe1e50fb45fe8de2bc7e63d098cfae8d1dada6228ace21089cb
4
+ data.tar.gz: 78cc6f11a5eff0b34a2f8b33cbbdb9c9a749adfff0599694d52f2e4a7aa24af0
5
5
  SHA512:
6
- metadata.gz: aec4b63fe8768d09f7d461ccf6aa671342671d47902bba50bad0f04881b0a7bfa60e501735b085ec957ace20c076c396101660ce692bb03c9f4771b09cd64e13
7
- data.tar.gz: b7a553d39f6797cc0d71f3de0ff41ad1b04eeffa368cf60b6c283bbea4f354d732f61b04ceefc98f2cf2cf444d3c5f403f6aebd379395d16d797950066baa6d9
6
+ metadata.gz: d534a2b0d018b1a3f1e29f31ef74b89c4baf303ed33ce82804f3dcc627cdbf6bad9da5ccf1311a325f27f86ec4b907cb49802b6016cf6846dbaac923900834c6
7
+ data.tar.gz: 5d811e10df2cdd2a8a9c8f700f00cea36f4a364b7309be40c19c4b28190a08e815fceccd4d4b2c1a928d01229d4e4aeacbdb8763a016ab975b9ce34a3d1df62a
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 1.4.2
10
+ - Package version: 2.0.0b1
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,16 +23,16 @@ gem build pulp_container_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./pulp_container_client-1.4.2.gem
26
+ gem install ./pulp_container_client-2.0.0b1.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_container_client-1.4.2.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_container_client-2.0.0b1.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'pulp_container_client', '~> 1.4.2'
35
+ gem 'pulp_container_client', '~> 2.0.0b1'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -130,17 +130,25 @@ Class | Method | HTTP request | Description
130
130
  *PulpContainerClient::RepositoriesContainerVersionsApi* | [**list**](docs/RepositoriesContainerVersionsApi.md#list) | **GET** {container_repository_href}versions/ | List repository versions
131
131
  *PulpContainerClient::RepositoriesContainerVersionsApi* | [**read**](docs/RepositoriesContainerVersionsApi.md#read) | **GET** {container_repository_version_href} | Inspect a repository version
132
132
  *PulpContainerClient::RepositoriesContainerVersionsApi* | [**repair**](docs/RepositoriesContainerVersionsApi.md#repair) | **POST** {container_repository_version_href}repair/ |
133
+ *PulpContainerClient::V2Api* | [**list**](docs/V2Api.md#list) | **GET** /v2/ |
134
+ *PulpContainerClient::V2BlobsApi* | [**partial_update**](docs/V2BlobsApi.md#partial_update) | **PATCH** /v2/{path}/blobs/uploads//{upload_pk} | Partially update an upload
135
+ *PulpContainerClient::V2CatalogApi* | [**list**](docs/V2CatalogApi.md#list) | **GET** /v2/_catalog |
136
+ *PulpContainerClient::V2ListApi* | [**list**](docs/V2ListApi.md#list) | **GET** /v2/{path}/tags/list |
137
+ *PulpContainerClient::V2UploadsApi* | [**create**](docs/V2UploadsApi.md#create) | **POST** /v2/{path}/blobs/uploads/ | Create an upload
133
138
 
134
139
 
135
140
  ## Documentation for Models
136
141
 
137
142
  - [PulpContainerClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
138
- - [PulpContainerClient::ContainerBlob](docs/ContainerBlob.md)
143
+ - [PulpContainerClient::ContainerBlobRead](docs/ContainerBlobRead.md)
139
144
  - [PulpContainerClient::ContainerContainerDistribution](docs/ContainerContainerDistribution.md)
145
+ - [PulpContainerClient::ContainerContainerDistributionRead](docs/ContainerContainerDistributionRead.md)
140
146
  - [PulpContainerClient::ContainerContainerRemote](docs/ContainerContainerRemote.md)
147
+ - [PulpContainerClient::ContainerContainerRemoteRead](docs/ContainerContainerRemoteRead.md)
141
148
  - [PulpContainerClient::ContainerContainerRepository](docs/ContainerContainerRepository.md)
142
- - [PulpContainerClient::ContainerManifest](docs/ContainerManifest.md)
143
- - [PulpContainerClient::ContainerTag](docs/ContainerTag.md)
149
+ - [PulpContainerClient::ContainerContainerRepositoryRead](docs/ContainerContainerRepositoryRead.md)
150
+ - [PulpContainerClient::ContainerManifestRead](docs/ContainerManifestRead.md)
151
+ - [PulpContainerClient::ContainerTagRead](docs/ContainerTagRead.md)
144
152
  - [PulpContainerClient::ContentSummary](docs/ContentSummary.md)
145
153
  - [PulpContainerClient::InlineResponse200](docs/InlineResponse200.md)
146
154
  - [PulpContainerClient::InlineResponse2001](docs/InlineResponse2001.md)
@@ -153,6 +161,7 @@ Class | Method | HTTP request | Description
153
161
  - [PulpContainerClient::RecursiveManage](docs/RecursiveManage.md)
154
162
  - [PulpContainerClient::RepositorySyncURL](docs/RepositorySyncURL.md)
155
163
  - [PulpContainerClient::RepositoryVersion](docs/RepositoryVersion.md)
164
+ - [PulpContainerClient::RepositoryVersionRead](docs/RepositoryVersionRead.md)
156
165
  - [PulpContainerClient::TagCopy](docs/TagCopy.md)
157
166
  - [PulpContainerClient::TagImage](docs/TagImage.md)
158
167
  - [PulpContainerClient::UnTagImage](docs/UnTagImage.md)
@@ -1,4 +1,4 @@
1
- # PulpContainerClient::ContainerBlob
1
+ # PulpContainerClient::ContainerBlobRead
2
2
 
3
3
  ## Properties
4
4
 
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
15
15
  ```ruby
16
16
  require 'PulpContainerClient'
17
17
 
18
- instance = PulpContainerClient::ContainerBlob.new(pulp_href: null,
18
+ instance = PulpContainerClient::ContainerBlobRead.new(pulp_href: null,
19
19
  pulp_created: null,
20
20
  artifact: null,
21
21
  digest: null,
@@ -4,13 +4,13 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
7
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
+ **repository_version** | **String** | RepositoryVersion to be served | [optional]
8
9
  **pulp_href** | **String** | | [optional] [readonly]
9
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
10
+ **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
10
11
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
11
- **repository_version** | **String** | RepositoryVersion to be served | [optional]
12
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
13
12
  **content_guard** | **String** | An optional content-guard. | [optional]
13
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
14
14
  **registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
15
15
 
16
16
  ## Code Sample
@@ -18,13 +18,13 @@ Name | Type | Description | Notes
18
18
  ```ruby
19
19
  require 'PulpContainerClient'
20
20
 
21
- instance = PulpContainerClient::ContainerContainerDistribution.new(base_path: null,
21
+ instance = PulpContainerClient::ContainerContainerDistribution.new(repository: null,
22
+ repository_version: null,
22
23
  pulp_href: null,
23
- name: null,
24
+ base_path: null,
24
25
  pulp_created: null,
25
- repository_version: null,
26
- repository: null,
27
26
  content_guard: null,
27
+ name: null,
28
28
  registry_path: null)
29
29
  ```
30
30
 
@@ -0,0 +1,31 @@
1
+ # PulpContainerClient::ContainerContainerDistributionRead
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
+ **repository_version** | **String** | RepositoryVersion to be served | [optional]
9
+ **pulp_href** | **String** | | [optional] [readonly]
10
+ **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
11
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
12
+ **content_guard** | **String** | An optional content-guard. | [optional]
13
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
14
+ **registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
15
+
16
+ ## Code Sample
17
+
18
+ ```ruby
19
+ require 'PulpContainerClient'
20
+
21
+ instance = PulpContainerClient::ContainerContainerDistributionRead.new(repository: null,
22
+ repository_version: null,
23
+ pulp_href: null,
24
+ base_path: null,
25
+ pulp_created: null,
26
+ content_guard: null,
27
+ name: null,
28
+ registry_path: null)
29
+ ```
30
+
31
+
@@ -0,0 +1,47 @@
1
+ # PulpContainerClient::ContainerContainerRemoteRead
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **name** | **String** | A unique name for this remote. |
10
+ **url** | **String** | The URL of an external content source. |
11
+ **ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. | [optional]
12
+ **client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. | [optional]
13
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
14
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
15
+ **proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [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. | [optional]
18
+ **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
19
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
20
+ **policy** | **String** | 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. | [optional] [default to 'immediate']
21
+ **upstream_name** | **String** | Name of the upstream repository |
22
+ **whitelist_tags** | **Array<String>** | A list of whitelisted tags to sync | [optional]
23
+
24
+ ## Code Sample
25
+
26
+ ```ruby
27
+ require 'PulpContainerClient'
28
+
29
+ instance = PulpContainerClient::ContainerContainerRemoteRead.new(pulp_href: null,
30
+ pulp_created: null,
31
+ name: null,
32
+ url: null,
33
+ ca_cert: null,
34
+ client_cert: null,
35
+ client_key: null,
36
+ tls_validation: null,
37
+ proxy_url: null,
38
+ username: null,
39
+ password: null,
40
+ pulp_last_updated: null,
41
+ download_concurrency: null,
42
+ policy: null,
43
+ upstream_name: null,
44
+ whitelist_tags: null)
45
+ ```
46
+
47
+
@@ -0,0 +1,27 @@
1
+ # PulpContainerClient::ContainerContainerRepositoryRead
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **versions_href** | **String** | | [optional] [readonly]
10
+ **latest_version_href** | **String** | | [optional] [readonly]
11
+ **name** | **String** | A unique name for this repository. |
12
+ **description** | **String** | An optional description. | [optional]
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'PulpContainerClient'
18
+
19
+ instance = PulpContainerClient::ContainerContainerRepositoryRead.new(pulp_href: null,
20
+ pulp_created: null,
21
+ versions_href: null,
22
+ latest_version_href: null,
23
+ name: null,
24
+ description: null)
25
+ ```
26
+
27
+
@@ -1,4 +1,4 @@
1
- # PulpContainerClient::ContainerManifest
1
+ # PulpContainerClient::ContainerManifestRead
2
2
 
3
3
  ## Properties
4
4
 
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
19
19
  ```ruby
20
20
  require 'PulpContainerClient'
21
21
 
22
- instance = PulpContainerClient::ContainerManifest.new(pulp_href: null,
22
+ instance = PulpContainerClient::ContainerManifestRead.new(pulp_href: null,
23
23
  pulp_created: null,
24
24
  artifact: null,
25
25
  digest: null,
@@ -1,4 +1,4 @@
1
- # PulpContainerClient::ContainerTag
1
+ # PulpContainerClient::ContainerTagRead
2
2
 
3
3
  ## Properties
4
4
 
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
15
15
  ```ruby
16
16
  require 'PulpContainerClient'
17
17
 
18
- instance = PulpContainerClient::ContainerTag.new(pulp_href: null,
18
+ instance = PulpContainerClient::ContainerTagRead.new(pulp_href: null,
19
19
  pulp_created: null,
20
20
  artifact: null,
21
21
  name: null,
@@ -86,7 +86,7 @@ Name | Type | Description | Notes
86
86
 
87
87
  ## read
88
88
 
89
- > ContainerBlob read(blob_href, opts)
89
+ > ContainerBlobRead read(blob_href, opts)
90
90
 
91
91
  Inspect a blob
92
92
 
@@ -131,7 +131,7 @@ Name | Type | Description | Notes
131
131
 
132
132
  ### Return type
133
133
 
134
- [**ContainerBlob**](ContainerBlob.md)
134
+ [**ContainerBlobRead**](ContainerBlobRead.md)
135
135
 
136
136
  ### Authorization
137
137
 
@@ -86,7 +86,7 @@ Name | Type | Description | Notes
86
86
 
87
87
  ## read
88
88
 
89
- > ContainerManifest read(manifest_href, opts)
89
+ > ContainerManifestRead read(manifest_href, opts)
90
90
 
91
91
  Inspect a manifest
92
92
 
@@ -131,7 +131,7 @@ Name | Type | Description | Notes
131
131
 
132
132
  ### Return type
133
133
 
134
- [**ContainerManifest**](ContainerManifest.md)
134
+ [**ContainerManifestRead**](ContainerManifestRead.md)
135
135
 
136
136
  ### Authorization
137
137
 
@@ -88,7 +88,7 @@ Name | Type | Description | Notes
88
88
 
89
89
  ## read
90
90
 
91
- > ContainerTag read(tag_href, opts)
91
+ > ContainerTagRead read(tag_href, opts)
92
92
 
93
93
  Inspect a tag
94
94
 
@@ -133,7 +133,7 @@ Name | Type | Description | Notes
133
133
 
134
134
  ### Return type
135
135
 
136
- [**ContainerTag**](ContainerTag.md)
136
+ [**ContainerTagRead**](ContainerTagRead.md)
137
137
 
138
138
  ### Authorization
139
139
 
@@ -251,7 +251,7 @@ Name | Type | Description | Notes
251
251
 
252
252
  ## read
253
253
 
254
- > ContainerContainerDistribution read(container_distribution_href, opts)
254
+ > ContainerContainerDistributionRead read(container_distribution_href, opts)
255
255
 
256
256
  Inspect a container distribution
257
257
 
@@ -296,7 +296,7 @@ Name | Type | Description | Notes
296
296
 
297
297
  ### Return type
298
298
 
299
- [**ContainerContainerDistribution**](ContainerContainerDistribution.md)
299
+ [**ContainerContainerDistributionRead**](ContainerContainerDistributionRead.md)
300
300
 
301
301
  ### Authorization
302
302
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<ContainerBlob>**](ContainerBlob.md) | |
10
+ **results** | [**Array<ContainerBlobRead>**](ContainerBlobRead.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<ContainerManifest>**](ContainerManifest.md) | |
10
+ **results** | [**Array<ContainerManifestRead>**](ContainerManifestRead.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<ContainerTag>**](ContainerTag.md) | |
10
+ **results** | [**Array<ContainerTagRead>**](ContainerTagRead.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<ContainerContainerDistribution>**](ContainerContainerDistribution.md) | |
10
+ **results** | [**Array<ContainerContainerDistributionRead>**](ContainerContainerDistributionRead.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<ContainerContainerRemote>**](ContainerContainerRemote.md) | |
10
+ **results** | [**Array<ContainerContainerRemoteRead>**](ContainerContainerRemoteRead.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<ContainerContainerRepository>**](ContainerContainerRepository.md) | |
10
+ **results** | [**Array<ContainerContainerRepositoryRead>**](ContainerContainerRepositoryRead.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<RepositoryVersion>**](RepositoryVersion.md) | |
10
+ **results** | [**Array<RepositoryVersionRead>**](RepositoryVersionRead.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -15,7 +15,7 @@ Method | HTTP request | Description
15
15
 
16
16
  ## create
17
17
 
18
- > ContainerContainerRemote create(data)
18
+ > ContainerContainerRemoteRead create(data)
19
19
 
20
20
  Create a container remote
21
21
 
@@ -54,7 +54,7 @@ Name | Type | Description | Notes
54
54
 
55
55
  ### Return type
56
56
 
57
- [**ContainerContainerRemote**](ContainerContainerRemote.md)
57
+ [**ContainerContainerRemoteRead**](ContainerContainerRemoteRead.md)
58
58
 
59
59
  ### Authorization
60
60
 
@@ -255,7 +255,7 @@ Name | Type | Description | Notes
255
255
 
256
256
  ## read
257
257
 
258
- > ContainerContainerRemote read(container_remote_href, opts)
258
+ > ContainerContainerRemoteRead read(container_remote_href, opts)
259
259
 
260
260
  Inspect a container remote
261
261
 
@@ -300,7 +300,7 @@ Name | Type | Description | Notes
300
300
 
301
301
  ### Return type
302
302
 
303
- [**ContainerContainerRemote**](ContainerContainerRemote.md)
303
+ [**ContainerContainerRemoteRead**](ContainerContainerRemoteRead.md)
304
304
 
305
305
  ### Authorization
306
306
 
@@ -251,7 +251,7 @@ Name | Type | Description | Notes
251
251
 
252
252
  ## create
253
253
 
254
- > ContainerContainerRepository create(data)
254
+ > ContainerContainerRepositoryRead create(data)
255
255
 
256
256
  Create a container repository
257
257
 
@@ -290,7 +290,7 @@ Name | Type | Description | Notes
290
290
 
291
291
  ### Return type
292
292
 
293
- [**ContainerContainerRepository**](ContainerContainerRepository.md)
293
+ [**ContainerContainerRepositoryRead**](ContainerContainerRepositoryRead.md)
294
294
 
295
295
  ### Authorization
296
296
 
@@ -479,7 +479,7 @@ Name | Type | Description | Notes
479
479
 
480
480
  ## read
481
481
 
482
- > ContainerContainerRepository read(container_repository_href, opts)
482
+ > ContainerContainerRepositoryRead read(container_repository_href, opts)
483
483
 
484
484
  Inspect a container repository
485
485
 
@@ -524,7 +524,7 @@ Name | Type | Description | Notes
524
524
 
525
525
  ### Return type
526
526
 
527
- [**ContainerContainerRepository**](ContainerContainerRepository.md)
527
+ [**ContainerContainerRepositoryRead**](ContainerContainerRepositoryRead.md)
528
528
 
529
529
  ### Authorization
530
530
 
@@ -99,9 +99,8 @@ opts = {
99
99
  pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
100
100
  pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
101
101
  pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
102
- pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
103
102
  content: 'content_example', # String | Content Unit referenced by HREF
104
- content__in: 'content__in_example', # String | Content Unit referenced by HREF
103
+ pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
105
104
  limit: 56, # Integer | Number of results to return per page.
106
105
  offset: 56, # Integer | The initial index from which to return the results.
107
106
  fields: 'fields_example', # String | A list of fields to include in the response.
@@ -135,9 +134,8 @@ Name | Type | Description | Notes
135
134
  **pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
136
135
  **pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
137
136
  **pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
138
- **pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
139
137
  **content** | **String**| Content Unit referenced by HREF | [optional]
140
- **content__in** | **String**| Content Unit referenced by HREF | [optional]
138
+ **pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
141
139
  **limit** | **Integer**| Number of results to return per page. | [optional]
142
140
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
143
141
  **fields** | **String**| A list of fields to include in the response. | [optional]
@@ -159,7 +157,7 @@ Name | Type | Description | Notes
159
157
 
160
158
  ## read
161
159
 
162
- > RepositoryVersion read(container_repository_version_href, opts)
160
+ > RepositoryVersionRead read(container_repository_version_href, opts)
163
161
 
164
162
  Inspect a repository version
165
163
 
@@ -204,7 +202,7 @@ Name | Type | Description | Notes
204
202
 
205
203
  ### Return type
206
204
 
207
- [**RepositoryVersion**](RepositoryVersion.md)
205
+ [**RepositoryVersionRead**](RepositoryVersionRead.md)
208
206
 
209
207
  ### Authorization
210
208
 
@@ -0,0 +1,25 @@
1
+ # PulpContainerClient::RepositoryVersionRead
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **number** | **Integer** | | [optional] [readonly]
10
+ **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
11
+ **content_summary** | [**ContentSummary**](ContentSummary.md) | | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'PulpContainerClient'
17
+
18
+ instance = PulpContainerClient::RepositoryVersionRead.new(pulp_href: null,
19
+ pulp_created: null,
20
+ number: null,
21
+ base_version: null,
22
+ content_summary: null)
23
+ ```
24
+
25
+
data/docs/V2Api.md ADDED
@@ -0,0 +1,64 @@
1
+ # PulpContainerClient::V2Api
2
+
3
+ All URIs are relative to *http://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**list**](V2Api.md#list) | **GET** /v2/ |
8
+
9
+
10
+
11
+ ## list
12
+
13
+ > list(opts)
14
+
15
+
16
+
17
+ Handles GET requests for the /v2/ endpoint.
18
+
19
+ ### Example
20
+
21
+ ```ruby
22
+ # load the gem
23
+ require 'pulp_container_client'
24
+ # setup authorization
25
+ PulpContainerClient.configure do |config|
26
+ # Configure HTTP basic authorization: Basic
27
+ config.username = 'YOUR USERNAME'
28
+ config.password = 'YOUR PASSWORD'
29
+ end
30
+
31
+ api_instance = PulpContainerClient::V2Api.new
32
+ opts = {
33
+ fields: 'fields_example', # String | A list of fields to include in the response.
34
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
35
+ }
36
+
37
+ begin
38
+ api_instance.list(opts)
39
+ rescue PulpContainerClient::ApiError => e
40
+ puts "Exception when calling V2Api->list: #{e}"
41
+ end
42
+ ```
43
+
44
+ ### Parameters
45
+
46
+
47
+ Name | Type | Description | Notes
48
+ ------------- | ------------- | ------------- | -------------
49
+ **fields** | **String**| A list of fields to include in the response. | [optional]
50
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
51
+
52
+ ### Return type
53
+
54
+ nil (empty response body)
55
+
56
+ ### Authorization
57
+
58
+ [Basic](../README.md#Basic)
59
+
60
+ ### HTTP request headers
61
+
62
+ - **Content-Type**: Not defined
63
+ - **Accept**: Not defined
64
+