pulp_container_client 1.4.0.dev01590601231 → 2.0.0b1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3b26e85b5a3cf957df366a7db071182b253e45c4574ce63e1bfd0d0df57ea6ab
4
- data.tar.gz: 542297085b4637e2a4f2d5fcc4e18a3a8d001d7bef94b2704c12a2008cccd7b6
3
+ metadata.gz: e9a89bdb3e49dbe1e50fb45fe8de2bc7e63d098cfae8d1dada6228ace21089cb
4
+ data.tar.gz: 78cc6f11a5eff0b34a2f8b33cbbdb9c9a749adfff0599694d52f2e4a7aa24af0
5
5
  SHA512:
6
- metadata.gz: 911c60d43fa14ad2766679ea4735b572ae3d5fdcb244265fe23a38b3835d75d54c27256b1976e0823662605270df648d3a6adf7315971e47d070fd075db2997a
7
- data.tar.gz: ece58975e65862ba6abd6db582350d621cd28117b284772588372c08f76cd8a86b13b216bd945371aa25b4e683e19bb34b277e6e48e44f0a55078398e3534103
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.0.dev01590601231
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.0.dev01590601231.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.0.dev01590601231.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.0.dev01590601231'
35
+ gem 'pulp_container_client', '~> 2.0.0b1'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -130,6 +130,11 @@ 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
@@ -5,12 +5,12 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
- **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
9
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
10
8
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
11
- **content_guard** | **String** | An optional content-guard. | [optional]
12
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
13
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
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
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
19
19
  require 'PulpContainerClient'
20
20
 
21
21
  instance = PulpContainerClient::ContainerContainerDistribution.new(repository: null,
22
- base_path: null,
23
- name: null,
24
22
  repository_version: null,
25
- content_guard: null,
26
- pulp_created: null,
27
23
  pulp_href: null,
24
+ base_path: null,
25
+ pulp_created: null,
26
+ content_guard: null,
27
+ name: null,
28
28
  registry_path: null)
29
29
  ```
30
30
 
@@ -5,12 +5,12 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
- **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
9
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
10
8
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
11
- **content_guard** | **String** | An optional content-guard. | [optional]
12
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
13
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
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
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
19
19
  require 'PulpContainerClient'
20
20
 
21
21
  instance = PulpContainerClient::ContainerContainerDistributionRead.new(repository: null,
22
- base_path: null,
23
- name: null,
24
22
  repository_version: null,
25
- content_guard: null,
26
- pulp_created: null,
27
23
  pulp_href: null,
24
+ base_path: null,
25
+ pulp_created: null,
26
+ content_guard: null,
27
+ name: null,
28
28
  registry_path: null)
29
29
  ```
30
30
 
@@ -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
+
@@ -0,0 +1,63 @@
1
+ # PulpContainerClient::V2BlobsApi
2
+
3
+ All URIs are relative to *http://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**partial_update**](V2BlobsApi.md#partial_update) | **PATCH** /v2/{path}/blobs/uploads//{upload_pk} | Partially update an upload
8
+
9
+
10
+
11
+ ## partial_update
12
+
13
+ > partial_update(path, upload_pk)
14
+
15
+ Partially update an upload
16
+
17
+ This methods handles uploading of a chunk to an existing upload.
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::V2BlobsApi.new
32
+ path = 'path_example' # String |
33
+ upload_pk = 'upload_pk_example' # String |
34
+
35
+ begin
36
+ #Partially update an upload
37
+ api_instance.partial_update(path, upload_pk)
38
+ rescue PulpContainerClient::ApiError => e
39
+ puts "Exception when calling V2BlobsApi->partial_update: #{e}"
40
+ end
41
+ ```
42
+
43
+ ### Parameters
44
+
45
+
46
+ Name | Type | Description | Notes
47
+ ------------- | ------------- | ------------- | -------------
48
+ **path** | **String**| |
49
+ **upload_pk** | **String**| |
50
+
51
+ ### Return type
52
+
53
+ nil (empty response body)
54
+
55
+ ### Authorization
56
+
57
+ [Basic](../README.md#Basic)
58
+
59
+ ### HTTP request headers
60
+
61
+ - **Content-Type**: Not defined
62
+ - **Accept**: Not defined
63
+
@@ -0,0 +1,64 @@
1
+ # PulpContainerClient::V2CatalogApi
2
+
3
+ All URIs are relative to *http://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**list**](V2CatalogApi.md#list) | **GET** /v2/_catalog |
8
+
9
+
10
+
11
+ ## list
12
+
13
+ > list(opts)
14
+
15
+
16
+
17
+ Handles GET requests for the /v2/_catalog 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::V2CatalogApi.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 V2CatalogApi->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
+
@@ -0,0 +1,66 @@
1
+ # PulpContainerClient::V2ListApi
2
+
3
+ All URIs are relative to *http://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**list**](V2ListApi.md#list) | **GET** /v2/{path}/tags/list |
8
+
9
+
10
+
11
+ ## list
12
+
13
+ > list(path, opts)
14
+
15
+
16
+
17
+ Handles GET requests to the /v2//tags/list 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::V2ListApi.new
32
+ path = 'path_example' # String |
33
+ opts = {
34
+ fields: 'fields_example', # String | A list of fields to include in the response.
35
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
36
+ }
37
+
38
+ begin
39
+ api_instance.list(path, opts)
40
+ rescue PulpContainerClient::ApiError => e
41
+ puts "Exception when calling V2ListApi->list: #{e}"
42
+ end
43
+ ```
44
+
45
+ ### Parameters
46
+
47
+
48
+ Name | Type | Description | Notes
49
+ ------------- | ------------- | ------------- | -------------
50
+ **path** | **String**| |
51
+ **fields** | **String**| A list of fields to include in the response. | [optional]
52
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
53
+
54
+ ### Return type
55
+
56
+ nil (empty response body)
57
+
58
+ ### Authorization
59
+
60
+ [Basic](../README.md#Basic)
61
+
62
+ ### HTTP request headers
63
+
64
+ - **Content-Type**: Not defined
65
+ - **Accept**: Not defined
66
+
@@ -0,0 +1,61 @@
1
+ # PulpContainerClient::V2UploadsApi
2
+
3
+ All URIs are relative to *http://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](V2UploadsApi.md#create) | **POST** /v2/{path}/blobs/uploads/ | Create an upload
8
+
9
+
10
+
11
+ ## create
12
+
13
+ > create(path)
14
+
15
+ Create an upload
16
+
17
+ This methods handles the creation of an upload.
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::V2UploadsApi.new
32
+ path = 'path_example' # String |
33
+
34
+ begin
35
+ #Create an upload
36
+ api_instance.create(path)
37
+ rescue PulpContainerClient::ApiError => e
38
+ puts "Exception when calling V2UploadsApi->create: #{e}"
39
+ end
40
+ ```
41
+
42
+ ### Parameters
43
+
44
+
45
+ Name | Type | Description | Notes
46
+ ------------- | ------------- | ------------- | -------------
47
+ **path** | **String**| |
48
+
49
+ ### Return type
50
+
51
+ nil (empty response body)
52
+
53
+ ### Authorization
54
+
55
+ [Basic](../README.md#Basic)
56
+
57
+ ### HTTP request headers
58
+
59
+ - **Content-Type**: Not defined
60
+ - **Accept**: Not defined
61
+
@@ -52,6 +52,11 @@ require 'pulp_container_client/api/distributions_container_api'
52
52
  require 'pulp_container_client/api/remotes_container_api'
53
53
  require 'pulp_container_client/api/repositories_container_api'
54
54
  require 'pulp_container_client/api/repositories_container_versions_api'
55
+ require 'pulp_container_client/api/v2_api'
56
+ require 'pulp_container_client/api/v2_blobs_api'
57
+ require 'pulp_container_client/api/v2_catalog_api'
58
+ require 'pulp_container_client/api/v2_list_api'
59
+ require 'pulp_container_client/api/v2_uploads_api'
55
60
 
56
61
  module PulpContainerClient
57
62
  class << self