pulp_container_client 1.5.0.dev01591292410 → 2.0.0b2

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: 76b14be59e52d3655931e835b8d3d11f30a5ee1ce37ea32c08ba258494d2581f
4
- data.tar.gz: ab79656242d9abb43002bf174821597fa8ddab0ef0652f678ec8158f10c2f037
3
+ metadata.gz: 7c1a6ec5c5e4e9a1f1013b19ceef90e28f93f41a30faa770924ac482a6cb61dc
4
+ data.tar.gz: d766e13aabd2920e88e0fa957b6d6d1b8beeae8cdbfc88b9c199afaf94379730
5
5
  SHA512:
6
- metadata.gz: a3c714e9ee9fd8874d476323314361338fb5d96567549233640d0c5850127c92599824d44f00684291ae5de6d01fe758f774ecdcade492d5423a19e87fe1dcea
7
- data.tar.gz: 0c4e6f41ad0af992ea5dbea34100241ef552888d4210e4f4023efcd7e49075efff3f1dd5fdb841c7303a7699915b4d110b79cb77d81ade5d64d2dabc8e4a9447
6
+ metadata.gz: 578013747f0407d927c1636e338fc7b3255ddf5bf386255ac57d587d7da001f5c87e14aaa5a1a528f1f8c5d1b356eb6cf367eef942b68374d40ef8250bd3fbce
7
+ data.tar.gz: a2362c033b98d0c790b0033228c83645e16819896a2b73539ac0ee175fce7484ebc6e4d16d48b9ac45634cbf4a4f566b0dc741468fa0702009cf1f94fcd4e823
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.5.0.dev01591292410
10
+ - Package version: 2.0.0b2
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.5.0.dev01591292410.gem
26
+ gem install ./pulp_container_client-2.0.0b2.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_container_client-1.5.0.dev01591292410.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_container_client-2.0.0b2.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.5.0.dev01591292410'
35
+ gem 'pulp_container_client', '~> 2.0.0b2'
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
@@ -4,11 +4,11 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **repository_version** | **String** | RepositoryVersion to be served | [optional]
8
+ **content_guard** | **String** | An optional content-guard. | [optional]
7
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\") |
8
10
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
9
- **content_guard** | **String** | An optional content-guard. | [optional]
10
11
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
11
- **repository_version** | **String** | RepositoryVersion to be served | [optional]
12
12
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
13
13
  **pulp_href** | **String** | | [optional] [readonly]
14
14
  **registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
18
18
  ```ruby
19
19
  require 'PulpContainerClient'
20
20
 
21
- instance = PulpContainerClient::ContainerContainerDistribution.new(base_path: null,
22
- repository: null,
21
+ instance = PulpContainerClient::ContainerContainerDistribution.new(repository_version: null,
23
22
  content_guard: null,
23
+ base_path: null,
24
+ repository: null,
24
25
  pulp_created: null,
25
- repository_version: null,
26
26
  name: null,
27
27
  pulp_href: null,
28
28
  registry_path: null)
@@ -4,11 +4,11 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **repository_version** | **String** | RepositoryVersion to be served | [optional]
8
+ **content_guard** | **String** | An optional content-guard. | [optional]
7
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\") |
8
10
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
9
- **content_guard** | **String** | An optional content-guard. | [optional]
10
11
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
11
- **repository_version** | **String** | RepositoryVersion to be served | [optional]
12
12
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
13
13
  **pulp_href** | **String** | | [optional] [readonly]
14
14
  **registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
18
18
  ```ruby
19
19
  require 'PulpContainerClient'
20
20
 
21
- instance = PulpContainerClient::ContainerContainerDistributionRead.new(base_path: null,
22
- repository: null,
21
+ instance = PulpContainerClient::ContainerContainerDistributionRead.new(repository_version: null,
23
22
  content_guard: null,
23
+ base_path: null,
24
+ repository: null,
24
25
  pulp_created: null,
25
- repository_version: null,
26
26
  name: null,
27
27
  pulp_href: null,
28
28
  registry_path: null)
@@ -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