pulp_docker_client 4.0.0b5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/Gemfile.lock +79 -0
  4. data/README.md +131 -0
  5. data/Rakefile +10 -0
  6. data/docs/AsyncOperationResponse.md +17 -0
  7. data/docs/Blob.md +29 -0
  8. data/docs/ContentBlobsApi.md +182 -0
  9. data/docs/ContentManifestTagsApi.md +182 -0
  10. data/docs/ContentManifestsApi.md +180 -0
  11. data/docs/DistributionsDockerApi.md +352 -0
  12. data/docs/DockerDistribution.md +31 -0
  13. data/docs/DockerRemote.md +49 -0
  14. data/docs/InlineResponse200.md +23 -0
  15. data/docs/InlineResponse2001.md +23 -0
  16. data/docs/InlineResponse2002.md +23 -0
  17. data/docs/InlineResponse2003.md +23 -0
  18. data/docs/InlineResponse2004.md +23 -0
  19. data/docs/Manifest.md +37 -0
  20. data/docs/ManifestTag.md +29 -0
  21. data/docs/RemotesDockerApi.md +411 -0
  22. data/docs/RepositorySyncURL.md +19 -0
  23. data/git_push.sh +55 -0
  24. data/lib/pulp_docker_client/api/content_blobs_api.rb +222 -0
  25. data/lib/pulp_docker_client/api/content_manifest_tags_api.rb +222 -0
  26. data/lib/pulp_docker_client/api/content_manifests_api.rb +219 -0
  27. data/lib/pulp_docker_client/api/distributions_docker_api.rb +430 -0
  28. data/lib/pulp_docker_client/api/remotes_docker_api.rb +504 -0
  29. data/lib/pulp_docker_client/api_client.rb +387 -0
  30. data/lib/pulp_docker_client/api_error.rb +57 -0
  31. data/lib/pulp_docker_client/configuration.rb +251 -0
  32. data/lib/pulp_docker_client/models/async_operation_response.rb +202 -0
  33. data/lib/pulp_docker_client/models/blob.rb +347 -0
  34. data/lib/pulp_docker_client/models/docker_distribution.rb +347 -0
  35. data/lib/pulp_docker_client/models/docker_remote.rb +598 -0
  36. data/lib/pulp_docker_client/models/inline_response200.rb +235 -0
  37. data/lib/pulp_docker_client/models/inline_response2001.rb +235 -0
  38. data/lib/pulp_docker_client/models/inline_response2002.rb +235 -0
  39. data/lib/pulp_docker_client/models/inline_response2003.rb +235 -0
  40. data/lib/pulp_docker_client/models/inline_response2004.rb +235 -0
  41. data/lib/pulp_docker_client/models/manifest.rb +411 -0
  42. data/lib/pulp_docker_client/models/manifest_tag.rb +328 -0
  43. data/lib/pulp_docker_client/models/repository_sync_url.rb +214 -0
  44. data/lib/pulp_docker_client/version.rb +15 -0
  45. data/lib/pulp_docker_client.rb +56 -0
  46. data/pulp_docker_client.gemspec +45 -0
  47. data/spec/api/content_blobs_api_spec.rb +76 -0
  48. data/spec/api/content_manifest_tags_api_spec.rb +76 -0
  49. data/spec/api/content_manifests_api_spec.rb +75 -0
  50. data/spec/api/distributions_docker_api_spec.rb +116 -0
  51. data/spec/api/remotes_docker_api_spec.rb +130 -0
  52. data/spec/api_client_spec.rb +226 -0
  53. data/spec/configuration_spec.rb +42 -0
  54. data/spec/models/async_operation_response_spec.rb +41 -0
  55. data/spec/models/blob_spec.rb +77 -0
  56. data/spec/models/docker_distribution_spec.rb +83 -0
  57. data/spec/models/docker_remote_spec.rb +141 -0
  58. data/spec/models/inline_response2001_spec.rb +59 -0
  59. data/spec/models/inline_response2002_spec.rb +59 -0
  60. data/spec/models/inline_response2003_spec.rb +59 -0
  61. data/spec/models/inline_response2004_spec.rb +59 -0
  62. data/spec/models/inline_response200_spec.rb +59 -0
  63. data/spec/models/manifest_spec.rb +101 -0
  64. data/spec/models/manifest_tag_spec.rb +77 -0
  65. data/spec/models/repository_sync_url_spec.rb +47 -0
  66. data/spec/spec_helper.rb +111 -0
  67. metadata +309 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 125dd64f710c4589126e5416a1c0ab8b7646420fd76c252c25e8f1add9a83ea5
4
+ data.tar.gz: 17b22e32b7313a95afcae9dd483f4f9afbdda65395b559bab76d72d1f0c814d0
5
+ SHA512:
6
+ metadata.gz: c269fdb51e0508bb6a3ecd0bab90d4e1be42c721f0f2eb6fe79792a4e1e1e6e116cbe56f17d0fadcdaa604b320b1391299c76efe14bbf0180255753ea3b0788d
7
+ data.tar.gz: f464415406cd7d48eac0b1c0c7319d6468073b6de7c21fae9b0f2c703b482dd223891b0ff65c6726fb8dc4cceb0cbeec68273a46fb01098c7c0f397871034071
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development, :test do
6
+ gem 'rake', '~> 12.0.0'
7
+ gem 'pry-byebug'
8
+ gem 'rubocop', '~> 0.66.0'
9
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,79 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ pulp_docker_client (4.0.0b5)
5
+ json (~> 2.1, >= 2.1.0)
6
+ typhoeus (~> 1.0, >= 1.0.1)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ ZenTest (4.11.2)
12
+ addressable (2.5.2)
13
+ public_suffix (>= 2.0.2, < 4.0)
14
+ autotest (4.4.6)
15
+ ZenTest (>= 4.4.1)
16
+ autotest-fsevent (0.2.14)
17
+ sys-uname
18
+ autotest-growl (0.2.16)
19
+ autotest-rails-pure (4.1.2)
20
+ byebug (10.0.2)
21
+ coderay (1.1.2)
22
+ crack (0.4.3)
23
+ safe_yaml (~> 1.0.0)
24
+ diff-lcs (1.3)
25
+ ethon (0.11.0)
26
+ ffi (>= 1.3.0)
27
+ ffi (1.9.25)
28
+ hashdiff (0.3.7)
29
+ json (2.1.0)
30
+ method_source (0.9.0)
31
+ pry (0.11.3)
32
+ coderay (~> 1.1.0)
33
+ method_source (~> 0.9.0)
34
+ pry-byebug (3.6.0)
35
+ byebug (~> 10.0)
36
+ pry (~> 0.10)
37
+ public_suffix (3.0.3)
38
+ rake (12.0.0)
39
+ rspec (3.8.0)
40
+ rspec-core (~> 3.8.0)
41
+ rspec-expectations (~> 3.8.0)
42
+ rspec-mocks (~> 3.8.0)
43
+ rspec-core (3.8.0)
44
+ rspec-support (~> 3.8.0)
45
+ rspec-expectations (3.8.1)
46
+ diff-lcs (>= 1.2.0, < 2.0)
47
+ rspec-support (~> 3.8.0)
48
+ rspec-mocks (3.8.0)
49
+ diff-lcs (>= 1.2.0, < 2.0)
50
+ rspec-support (~> 3.8.0)
51
+ rspec-support (3.8.0)
52
+ safe_yaml (1.0.4)
53
+ sys-uname (1.0.3)
54
+ ffi (>= 1.0.0)
55
+ typhoeus (1.3.0)
56
+ ethon (>= 0.9.0)
57
+ vcr (3.0.3)
58
+ webmock (1.24.6)
59
+ addressable (>= 2.3.6)
60
+ crack (>= 0.3.2)
61
+ hashdiff
62
+
63
+ PLATFORMS
64
+ ruby
65
+
66
+ DEPENDENCIES
67
+ autotest (~> 4.4, >= 4.4.6)
68
+ autotest-fsevent (~> 0.2, >= 0.2.12)
69
+ autotest-growl (~> 0.2, >= 0.2.16)
70
+ autotest-rails-pure (~> 4.1, >= 4.1.2)
71
+ pulp_docker_client!
72
+ pry-byebug
73
+ rake (~> 12.0.0)
74
+ rspec (~> 3.6, >= 3.6.0)
75
+ vcr (~> 3.0, >= 3.0.1)
76
+ webmock (~> 1.24, >= 1.24.3)
77
+
78
+ BUNDLED WITH
79
+ 1.16.1
data/README.md ADDED
@@ -0,0 +1,131 @@
1
+ # pulp_docker_client
2
+
3
+ PulpDockerClient - the Ruby gem for the Pulp 3 API
4
+
5
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+
7
+ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
+
9
+ - API version: v3
10
+ - Package version: 4.0.0b5
11
+ - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
+
13
+ ## Installation
14
+
15
+ ### Build a gem
16
+
17
+ To build the Ruby code into a gem:
18
+
19
+ ```shell
20
+ gem build pulp_docker_client.gemspec
21
+ ```
22
+
23
+ Then either install the gem locally:
24
+
25
+ ```shell
26
+ gem install ./pulp_docker_client-4.0.0b5.gem
27
+ ```
28
+
29
+ (for development, run `gem install --dev ./pulp_docker_client-4.0.0b5.gem` to install the development dependencies)
30
+
31
+ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
+
33
+ Finally add this to the Gemfile:
34
+
35
+ gem 'pulp_docker_client', '~> 4.0.0b5'
36
+
37
+ ### Install from Git
38
+
39
+ If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
40
+
41
+ gem 'pulp_docker_client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
42
+
43
+ ### Include the Ruby code directly
44
+
45
+ Include the Ruby code directly using `-I` as follows:
46
+
47
+ ```shell
48
+ ruby -Ilib script.rb
49
+ ```
50
+
51
+ ## Getting Started
52
+
53
+ Please follow the [installation](#installation) procedure and then run the following code:
54
+
55
+ ```ruby
56
+ # Load the gem
57
+ require 'pulp_docker_client'
58
+
59
+ # Setup authorization
60
+ PulpDockerClient.configure do |config|
61
+ # Configure HTTP basic authorization: Basic
62
+ config.username = 'YOUR USERNAME'
63
+ config.password = 'YOUR PASSWORD'
64
+ end
65
+
66
+ api_instance = PulpDockerClient::ContentBlobsApi.new
67
+ data = PulpDockerClient::Blob.new # Blob |
68
+
69
+ begin
70
+ #Create a manifest blob
71
+ result = api_instance.create(data)
72
+ p result
73
+ rescue PulpDockerClient::ApiError => e
74
+ puts "Exception when calling ContentBlobsApi->create: #{e}"
75
+ end
76
+
77
+ ```
78
+
79
+ ## Documentation for API Endpoints
80
+
81
+ All URIs are relative to *http://localhost:24817*
82
+
83
+ Class | Method | HTTP request | Description
84
+ ------------ | ------------- | ------------- | -------------
85
+ *PulpDockerClient::ContentBlobsApi* | [**create**](docs/ContentBlobsApi.md#create) | **POST** /pulp/api/v3/content/docker/blobs/ | Create a manifest blob
86
+ *PulpDockerClient::ContentBlobsApi* | [**list**](docs/ContentBlobsApi.md#list) | **GET** /pulp/api/v3/content/docker/blobs/ | List manifest blobs
87
+ *PulpDockerClient::ContentBlobsApi* | [**read**](docs/ContentBlobsApi.md#read) | **GET** {manifest_blob_href} | Inspect a manifest blob
88
+ *PulpDockerClient::ContentManifestTagsApi* | [**create**](docs/ContentManifestTagsApi.md#create) | **POST** /pulp/api/v3/content/docker/manifest-tags/ | Create a manifest tag
89
+ *PulpDockerClient::ContentManifestTagsApi* | [**list**](docs/ContentManifestTagsApi.md#list) | **GET** /pulp/api/v3/content/docker/manifest-tags/ | List manifest tags
90
+ *PulpDockerClient::ContentManifestTagsApi* | [**read**](docs/ContentManifestTagsApi.md#read) | **GET** {manifest_tag_href} | Inspect a manifest tag
91
+ *PulpDockerClient::ContentManifestsApi* | [**create**](docs/ContentManifestsApi.md#create) | **POST** /pulp/api/v3/content/docker/manifests/ | Create a manifest
92
+ *PulpDockerClient::ContentManifestsApi* | [**list**](docs/ContentManifestsApi.md#list) | **GET** /pulp/api/v3/content/docker/manifests/ | List manifests
93
+ *PulpDockerClient::ContentManifestsApi* | [**read**](docs/ContentManifestsApi.md#read) | **GET** {manifest_href} | Inspect a manifest
94
+ *PulpDockerClient::DistributionsDockerApi* | [**create**](docs/DistributionsDockerApi.md#create) | **POST** /pulp/api/v3/distributions/docker/docker/ | Create a docker distribution
95
+ *PulpDockerClient::DistributionsDockerApi* | [**delete**](docs/DistributionsDockerApi.md#delete) | **DELETE** {docker_distribution_href} | Delete a docker distribution
96
+ *PulpDockerClient::DistributionsDockerApi* | [**list**](docs/DistributionsDockerApi.md#list) | **GET** /pulp/api/v3/distributions/docker/docker/ | List docker distributions
97
+ *PulpDockerClient::DistributionsDockerApi* | [**partial_update**](docs/DistributionsDockerApi.md#partial_update) | **PATCH** {docker_distribution_href} | Partially update a docker distribution
98
+ *PulpDockerClient::DistributionsDockerApi* | [**read**](docs/DistributionsDockerApi.md#read) | **GET** {docker_distribution_href} | Inspect a docker distribution
99
+ *PulpDockerClient::DistributionsDockerApi* | [**update**](docs/DistributionsDockerApi.md#update) | **PUT** {docker_distribution_href} | Update a docker distribution
100
+ *PulpDockerClient::RemotesDockerApi* | [**create**](docs/RemotesDockerApi.md#create) | **POST** /pulp/api/v3/remotes/docker/docker/ | Create a docker remote
101
+ *PulpDockerClient::RemotesDockerApi* | [**delete**](docs/RemotesDockerApi.md#delete) | **DELETE** {docker_remote_href} | Delete a docker remote
102
+ *PulpDockerClient::RemotesDockerApi* | [**list**](docs/RemotesDockerApi.md#list) | **GET** /pulp/api/v3/remotes/docker/docker/ | List docker remotes
103
+ *PulpDockerClient::RemotesDockerApi* | [**partial_update**](docs/RemotesDockerApi.md#partial_update) | **PATCH** {docker_remote_href} | Partially update a docker remote
104
+ *PulpDockerClient::RemotesDockerApi* | [**read**](docs/RemotesDockerApi.md#read) | **GET** {docker_remote_href} | Inspect a docker remote
105
+ *PulpDockerClient::RemotesDockerApi* | [**sync**](docs/RemotesDockerApi.md#sync) | **POST** {docker_remote_href}sync/ |
106
+ *PulpDockerClient::RemotesDockerApi* | [**update**](docs/RemotesDockerApi.md#update) | **PUT** {docker_remote_href} | Update a docker remote
107
+
108
+
109
+ ## Documentation for Models
110
+
111
+ - [PulpDockerClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
112
+ - [PulpDockerClient::Blob](docs/Blob.md)
113
+ - [PulpDockerClient::DockerDistribution](docs/DockerDistribution.md)
114
+ - [PulpDockerClient::DockerRemote](docs/DockerRemote.md)
115
+ - [PulpDockerClient::InlineResponse200](docs/InlineResponse200.md)
116
+ - [PulpDockerClient::InlineResponse2001](docs/InlineResponse2001.md)
117
+ - [PulpDockerClient::InlineResponse2002](docs/InlineResponse2002.md)
118
+ - [PulpDockerClient::InlineResponse2003](docs/InlineResponse2003.md)
119
+ - [PulpDockerClient::InlineResponse2004](docs/InlineResponse2004.md)
120
+ - [PulpDockerClient::Manifest](docs/Manifest.md)
121
+ - [PulpDockerClient::ManifestTag](docs/ManifestTag.md)
122
+ - [PulpDockerClient::RepositorySyncURL](docs/RepositorySyncURL.md)
123
+
124
+
125
+ ## Documentation for Authorization
126
+
127
+
128
+ ### Basic
129
+
130
+ - **Type**: HTTP basic authentication
131
+
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+
3
+ begin
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+ task default: :spec
8
+ rescue LoadError
9
+ # no rspec available
10
+ end
@@ -0,0 +1,17 @@
1
+ # PulpDockerClient::AsyncOperationResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **task** | **String** | The href of the task. |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpDockerClient'
13
+
14
+ instance = PulpDockerClient::AsyncOperationResponse.new(task: null)
15
+ ```
16
+
17
+
data/docs/Blob.md ADDED
@@ -0,0 +1,29 @@
1
+ # PulpDockerClient::Blob
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **_href** | **String** | | [optional]
8
+ **_created** | **DateTime** | Timestamp of creation. | [optional]
9
+ **_type** | **String** | | [optional]
10
+ **_artifact** | **String** | Artifact file representing the physical content |
11
+ **_relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
12
+ **digest** | **String** | sha256 of the Blob file |
13
+ **media_type** | **String** | Docker media type of the file |
14
+
15
+ ## Code Sample
16
+
17
+ ```ruby
18
+ require 'PulpDockerClient'
19
+
20
+ instance = PulpDockerClient::Blob.new(_href: null,
21
+ _created: null,
22
+ _type: null,
23
+ _artifact: null,
24
+ _relative_path: null,
25
+ digest: null,
26
+ media_type: null)
27
+ ```
28
+
29
+
@@ -0,0 +1,182 @@
1
+ # PulpDockerClient::ContentBlobsApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](ContentBlobsApi.md#create) | **POST** /pulp/api/v3/content/docker/blobs/ | Create a manifest blob
8
+ [**list**](ContentBlobsApi.md#list) | **GET** /pulp/api/v3/content/docker/blobs/ | List manifest blobs
9
+ [**read**](ContentBlobsApi.md#read) | **GET** {manifest_blob_href} | Inspect a manifest blob
10
+
11
+
12
+
13
+ ## create
14
+
15
+ > Blob create(data)
16
+
17
+ Create a manifest blob
18
+
19
+ Create a new ManifestBlob from a request.
20
+
21
+ ### Example
22
+
23
+ ```ruby
24
+ # load the gem
25
+ require 'pulp_docker_client'
26
+ # setup authorization
27
+ PulpDockerClient.configure do |config|
28
+ # Configure HTTP basic authorization: Basic
29
+ config.username = 'YOUR USERNAME'
30
+ config.password = 'YOUR PASSWORD'
31
+ end
32
+
33
+ api_instance = PulpDockerClient::ContentBlobsApi.new
34
+ data = PulpDockerClient::Blob.new # Blob |
35
+
36
+ begin
37
+ #Create a manifest blob
38
+ result = api_instance.create(data)
39
+ p result
40
+ rescue PulpDockerClient::ApiError => e
41
+ puts "Exception when calling ContentBlobsApi->create: #{e}"
42
+ end
43
+ ```
44
+
45
+ ### Parameters
46
+
47
+
48
+ Name | Type | Description | Notes
49
+ ------------- | ------------- | ------------- | -------------
50
+ **data** | [**Blob**](Blob.md)| |
51
+
52
+ ### Return type
53
+
54
+ [**Blob**](Blob.md)
55
+
56
+ ### Authorization
57
+
58
+ [Basic](../README.md#Basic)
59
+
60
+ ### HTTP request headers
61
+
62
+ - **Content-Type**: application/json
63
+ - **Accept**: application/json
64
+
65
+
66
+ ## list
67
+
68
+ > InlineResponse200 list(opts)
69
+
70
+ List manifest blobs
71
+
72
+ ViewSet for ManifestBlobs.
73
+
74
+ ### Example
75
+
76
+ ```ruby
77
+ # load the gem
78
+ require 'pulp_docker_client'
79
+ # setup authorization
80
+ PulpDockerClient.configure do |config|
81
+ # Configure HTTP basic authorization: Basic
82
+ config.username = 'YOUR USERNAME'
83
+ config.password = 'YOUR PASSWORD'
84
+ end
85
+
86
+ api_instance = PulpDockerClient::ContentBlobsApi.new
87
+ opts = {
88
+ digest: 'digest_example', # String | Filter results where digest matches value
89
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
90
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
91
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
92
+ page: 56, # Integer | A page number within the paginated result set.
93
+ page_size: 56 # Integer | Number of results to return per page.
94
+ }
95
+
96
+ begin
97
+ #List manifest blobs
98
+ result = api_instance.list(opts)
99
+ p result
100
+ rescue PulpDockerClient::ApiError => e
101
+ puts "Exception when calling ContentBlobsApi->list: #{e}"
102
+ end
103
+ ```
104
+
105
+ ### Parameters
106
+
107
+
108
+ Name | Type | Description | Notes
109
+ ------------- | ------------- | ------------- | -------------
110
+ **digest** | **String**| Filter results where digest matches value | [optional]
111
+ **repository_version** | **String**| Repository Version referenced by HREF | [optional]
112
+ **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
113
+ **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
114
+ **page** | **Integer**| A page number within the paginated result set. | [optional]
115
+ **page_size** | **Integer**| Number of results to return per page. | [optional]
116
+
117
+ ### Return type
118
+
119
+ [**InlineResponse200**](InlineResponse200.md)
120
+
121
+ ### Authorization
122
+
123
+ [Basic](../README.md#Basic)
124
+
125
+ ### HTTP request headers
126
+
127
+ - **Content-Type**: Not defined
128
+ - **Accept**: application/json
129
+
130
+
131
+ ## read
132
+
133
+ > Blob read(manifest_blob_href)
134
+
135
+ Inspect a manifest blob
136
+
137
+ ViewSet for ManifestBlobs.
138
+
139
+ ### Example
140
+
141
+ ```ruby
142
+ # load the gem
143
+ require 'pulp_docker_client'
144
+ # setup authorization
145
+ PulpDockerClient.configure do |config|
146
+ # Configure HTTP basic authorization: Basic
147
+ config.username = 'YOUR USERNAME'
148
+ config.password = 'YOUR PASSWORD'
149
+ end
150
+
151
+ api_instance = PulpDockerClient::ContentBlobsApi.new
152
+ manifest_blob_href = 'manifest_blob_href_example' # String | URI of Manifest Blob. e.g.: /pulp/api/v3/content/docker/blobs/1/
153
+
154
+ begin
155
+ #Inspect a manifest blob
156
+ result = api_instance.read(manifest_blob_href)
157
+ p result
158
+ rescue PulpDockerClient::ApiError => e
159
+ puts "Exception when calling ContentBlobsApi->read: #{e}"
160
+ end
161
+ ```
162
+
163
+ ### Parameters
164
+
165
+
166
+ Name | Type | Description | Notes
167
+ ------------- | ------------- | ------------- | -------------
168
+ **manifest_blob_href** | **String**| URI of Manifest Blob. e.g.: /pulp/api/v3/content/docker/blobs/1/ |
169
+
170
+ ### Return type
171
+
172
+ [**Blob**](Blob.md)
173
+
174
+ ### Authorization
175
+
176
+ [Basic](../README.md#Basic)
177
+
178
+ ### HTTP request headers
179
+
180
+ - **Content-Type**: Not defined
181
+ - **Accept**: application/json
182
+
@@ -0,0 +1,182 @@
1
+ # PulpDockerClient::ContentManifestTagsApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](ContentManifestTagsApi.md#create) | **POST** /pulp/api/v3/content/docker/manifest-tags/ | Create a manifest tag
8
+ [**list**](ContentManifestTagsApi.md#list) | **GET** /pulp/api/v3/content/docker/manifest-tags/ | List manifest tags
9
+ [**read**](ContentManifestTagsApi.md#read) | **GET** {manifest_tag_href} | Inspect a manifest tag
10
+
11
+
12
+
13
+ ## create
14
+
15
+ > ManifestTag create(data)
16
+
17
+ Create a manifest tag
18
+
19
+ Create a new ManifestTag from a request.
20
+
21
+ ### Example
22
+
23
+ ```ruby
24
+ # load the gem
25
+ require 'pulp_docker_client'
26
+ # setup authorization
27
+ PulpDockerClient.configure do |config|
28
+ # Configure HTTP basic authorization: Basic
29
+ config.username = 'YOUR USERNAME'
30
+ config.password = 'YOUR PASSWORD'
31
+ end
32
+
33
+ api_instance = PulpDockerClient::ContentManifestTagsApi.new
34
+ data = PulpDockerClient::ManifestTag.new # ManifestTag |
35
+
36
+ begin
37
+ #Create a manifest tag
38
+ result = api_instance.create(data)
39
+ p result
40
+ rescue PulpDockerClient::ApiError => e
41
+ puts "Exception when calling ContentManifestTagsApi->create: #{e}"
42
+ end
43
+ ```
44
+
45
+ ### Parameters
46
+
47
+
48
+ Name | Type | Description | Notes
49
+ ------------- | ------------- | ------------- | -------------
50
+ **data** | [**ManifestTag**](ManifestTag.md)| |
51
+
52
+ ### Return type
53
+
54
+ [**ManifestTag**](ManifestTag.md)
55
+
56
+ ### Authorization
57
+
58
+ [Basic](../README.md#Basic)
59
+
60
+ ### HTTP request headers
61
+
62
+ - **Content-Type**: application/json
63
+ - **Accept**: application/json
64
+
65
+
66
+ ## list
67
+
68
+ > InlineResponse2001 list(opts)
69
+
70
+ List manifest tags
71
+
72
+ ViewSet for ManifestTag.
73
+
74
+ ### Example
75
+
76
+ ```ruby
77
+ # load the gem
78
+ require 'pulp_docker_client'
79
+ # setup authorization
80
+ PulpDockerClient.configure do |config|
81
+ # Configure HTTP basic authorization: Basic
82
+ config.username = 'YOUR USERNAME'
83
+ config.password = 'YOUR PASSWORD'
84
+ end
85
+
86
+ api_instance = PulpDockerClient::ContentManifestTagsApi.new
87
+ opts = {
88
+ name: 'name_example', # String | Filter results where name matches value
89
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
90
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
91
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
92
+ page: 56, # Integer | A page number within the paginated result set.
93
+ page_size: 56 # Integer | Number of results to return per page.
94
+ }
95
+
96
+ begin
97
+ #List manifest tags
98
+ result = api_instance.list(opts)
99
+ p result
100
+ rescue PulpDockerClient::ApiError => e
101
+ puts "Exception when calling ContentManifestTagsApi->list: #{e}"
102
+ end
103
+ ```
104
+
105
+ ### Parameters
106
+
107
+
108
+ Name | Type | Description | Notes
109
+ ------------- | ------------- | ------------- | -------------
110
+ **name** | **String**| Filter results where name matches value | [optional]
111
+ **repository_version** | **String**| Repository Version referenced by HREF | [optional]
112
+ **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
113
+ **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
114
+ **page** | **Integer**| A page number within the paginated result set. | [optional]
115
+ **page_size** | **Integer**| Number of results to return per page. | [optional]
116
+
117
+ ### Return type
118
+
119
+ [**InlineResponse2001**](InlineResponse2001.md)
120
+
121
+ ### Authorization
122
+
123
+ [Basic](../README.md#Basic)
124
+
125
+ ### HTTP request headers
126
+
127
+ - **Content-Type**: Not defined
128
+ - **Accept**: application/json
129
+
130
+
131
+ ## read
132
+
133
+ > ManifestTag read(manifest_tag_href)
134
+
135
+ Inspect a manifest tag
136
+
137
+ ViewSet for ManifestTag.
138
+
139
+ ### Example
140
+
141
+ ```ruby
142
+ # load the gem
143
+ require 'pulp_docker_client'
144
+ # setup authorization
145
+ PulpDockerClient.configure do |config|
146
+ # Configure HTTP basic authorization: Basic
147
+ config.username = 'YOUR USERNAME'
148
+ config.password = 'YOUR PASSWORD'
149
+ end
150
+
151
+ api_instance = PulpDockerClient::ContentManifestTagsApi.new
152
+ manifest_tag_href = 'manifest_tag_href_example' # String | URI of Manifest Tag. e.g.: /pulp/api/v3/content/docker/manifest-tags/1/
153
+
154
+ begin
155
+ #Inspect a manifest tag
156
+ result = api_instance.read(manifest_tag_href)
157
+ p result
158
+ rescue PulpDockerClient::ApiError => e
159
+ puts "Exception when calling ContentManifestTagsApi->read: #{e}"
160
+ end
161
+ ```
162
+
163
+ ### Parameters
164
+
165
+
166
+ Name | Type | Description | Notes
167
+ ------------- | ------------- | ------------- | -------------
168
+ **manifest_tag_href** | **String**| URI of Manifest Tag. e.g.: /pulp/api/v3/content/docker/manifest-tags/1/ |
169
+
170
+ ### Return type
171
+
172
+ [**ManifestTag**](ManifestTag.md)
173
+
174
+ ### Authorization
175
+
176
+ [Basic](../README.md#Basic)
177
+
178
+ ### HTTP request headers
179
+
180
+ - **Content-Type**: Not defined
181
+ - **Accept**: application/json
182
+