pulp_container_client 2.0.0b3 → 2.0.0
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 +4 -4
- data/README.md +69 -57
- data/docs/{ContainerBlob.md → ContainerBlobResponse.md} +2 -2
- data/docs/ContainerContainerDistribution.md +6 -12
- data/docs/ContainerContainerDistributionResponse.md +31 -0
- data/docs/ContainerContainerPushRepository.md +4 -10
- data/docs/ContainerContainerPushRepositoryResponse.md +29 -0
- data/docs/ContainerContainerRemote.md +8 -12
- data/docs/ContainerContainerRemoteResponse.md +49 -0
- data/docs/ContainerContainerRepository.md +4 -10
- data/docs/ContainerContainerRepositoryResponse.md +29 -0
- data/docs/ContainerContentRedirectContentGuard.md +1 -5
- data/docs/ContainerContentRedirectContentGuardResponse.md +23 -0
- data/docs/{ContainerManifest.md → ContainerManifestResponse.md} +2 -2
- data/docs/{ContainerTag.md → ContainerTagResponse.md} +2 -4
- data/docs/ContentBlobsApi.md +24 -24
- data/docs/ContentManifestsApi.md +24 -24
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/ContentTagsApi.md +26 -26
- data/docs/ContentguardsContentRedirectApi.md +55 -55
- data/docs/DistributionsContainerApi.md +108 -60
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/InlineResponse2008.md +3 -3
- data/docs/ManifestCopy.md +1 -1
- data/docs/OCIBuildImage.md +23 -0
- data/docs/PatchedcontainerContainerDistribution.md +25 -0
- data/docs/PatchedcontainerContainerRemote.md +43 -0
- data/docs/PatchedcontainerContainerRepository.md +21 -0
- data/docs/PatchedcontainerContentRedirectContentGuard.md +19 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/RecursiveManage.md +1 -1
- data/docs/RemotesContainerApi.md +125 -65
- data/docs/RepositoriesContainerApi.md +158 -134
- data/docs/RepositoriesContainerPushApi.md +44 -148
- data/docs/RepositoriesContainerVersionsApi.md +190 -126
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/docs/TagCopy.md +1 -1
- data/docs/TokenApi.md +8 -16
- data/lib/pulp_container_client/api/content_blobs_api.rb +38 -34
- data/lib/pulp_container_client/api/content_manifests_api.rb +38 -34
- data/lib/pulp_container_client/api/content_tags_api.rb +41 -37
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +90 -90
- data/lib/pulp_container_client/api/distributions_container_api.rb +153 -90
- data/lib/pulp_container_client/api/remotes_container_api.rb +181 -100
- data/lib/pulp_container_client/api/repositories_container_api.rb +245 -222
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +66 -197
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +278 -188
- data/lib/pulp_container_client/api/token_api.rb +8 -14
- data/lib/pulp_container_client/api_client.rb +2 -2
- data/lib/pulp_container_client/api_error.rb +2 -2
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_container_client/models/{container_blob.rb → container_blob_response.rb} +6 -43
- data/lib/pulp_container_client/models/container_container_distribution.rb +29 -110
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +289 -0
- data/lib/pulp_container_client/models/container_container_push_repository.rb +18 -78
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +271 -0
- data/lib/pulp_container_client/models/container_container_remote.rb +29 -227
- data/lib/pulp_container_client/models/container_container_remote_response.rb +409 -0
- data/lib/pulp_container_client/models/container_container_repository.rb +18 -78
- data/lib/pulp_container_client/models/container_container_repository_response.rb +271 -0
- data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +4 -56
- data/lib/pulp_container_client/models/container_content_redirect_content_guard_response.rb +243 -0
- data/lib/pulp_container_client/models/{container_manifest.rb → container_manifest_response.rb} +6 -43
- data/lib/pulp_container_client/models/{container_tag.rb → container_tag_response.rb} +7 -40
- data/lib/pulp_container_client/models/content_summary.rb +9 -15
- data/lib/pulp_container_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_container_client/models/inline_response200.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2006.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2007.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2008.rb +3 -13
- data/lib/pulp_container_client/models/manifest_copy.rb +4 -3
- data/lib/pulp_container_client/models/oci_build_image.rb +240 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +250 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +365 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +229 -0
- data/lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb +219 -0
- data/lib/pulp_container_client/models/policy_enum.rb +37 -0
- data/lib/pulp_container_client/models/recursive_manage.rb +4 -3
- data/lib/pulp_container_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_container_client/models/repository_version.rb +7 -43
- data/lib/pulp_container_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_container_client/models/tag_copy.rb +4 -3
- data/lib/pulp_container_client/models/tag_image.rb +3 -40
- data/lib/pulp_container_client/models/un_tag_image.rb +3 -21
- data/lib/pulp_container_client/version.rb +3 -3
- data/lib/pulp_container_client.rb +18 -5
- data/pulp_container_client.gemspec +4 -4
- data/spec/api/content_blobs_api_spec.rb +11 -11
- data/spec/api/content_manifests_api_spec.rb +11 -11
- data/spec/api/content_tags_api_spec.rb +12 -12
- data/spec/api/contentguards_content_redirect_api_spec.rb +17 -17
- data/spec/api/distributions_container_api_spec.rb +39 -18
- data/spec/api/remotes_container_api_spec.rb +48 -21
- data/spec/api/repositories_container_api_spec.rb +41 -32
- data/spec/api/repositories_container_push_api_spec.rb +17 -40
- data/spec/api/repositories_container_versions_api_spec.rb +76 -46
- data/spec/api/token_api_spec.rb +4 -6
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/{container_blob_spec.rb → container_blob_response_spec.rb} +8 -8
- data/spec/models/container_container_distribution_response_spec.rb +83 -0
- data/spec/models/container_container_distribution_spec.rb +5 -23
- data/spec/models/container_container_push_repository_response_spec.rb +77 -0
- data/spec/models/container_container_push_repository_spec.rb +5 -23
- data/spec/models/container_container_remote_response_spec.rb +137 -0
- data/spec/models/container_container_remote_spec.rb +7 -23
- data/spec/models/container_container_repository_response_spec.rb +77 -0
- data/spec/models/container_container_repository_spec.rb +5 -23
- data/spec/models/container_content_redirect_content_guard_response_spec.rb +59 -0
- data/spec/models/container_content_redirect_content_guard_spec.rb +2 -14
- data/spec/models/{container_manifest_spec.rb → container_manifest_response_spec.rb} +8 -8
- data/spec/models/{container_tag_spec.rb → container_tag_response_spec.rb} +8 -14
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response2008_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/manifest_copy_spec.rb +2 -2
- data/spec/models/oci_build_image_spec.rb +59 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +65 -0
- data/spec/models/patchedcontainer_container_remote_spec.rb +119 -0
- data/spec/models/patchedcontainer_container_repository_spec.rb +53 -0
- data/spec/models/patchedcontainer_content_redirect_content_guard_spec.rb +47 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/recursive_manage_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/models/tag_copy_spec.rb +2 -2
- data/spec/models/tag_image_spec.rb +2 -2
- data/spec/models/un_tag_image_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +93 -41
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# PulpContainerClient::
|
|
1
|
+
# PulpContainerClient::ContainerTagResponse
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
-
**artifact** | **String** | Artifact file representing the physical content |
|
|
10
9
|
**name** | **String** | Tag name |
|
|
11
10
|
**tagged_manifest** | **String** | Manifest that is tagged |
|
|
12
11
|
|
|
@@ -15,9 +14,8 @@ Name | Type | Description | Notes
|
|
|
15
14
|
```ruby
|
|
16
15
|
require 'PulpContainerClient'
|
|
17
16
|
|
|
18
|
-
instance = PulpContainerClient::
|
|
17
|
+
instance = PulpContainerClient::ContainerTagResponse.new(pulp_href: null,
|
|
19
18
|
pulp_created: null,
|
|
20
|
-
artifact: null,
|
|
21
19
|
name: null,
|
|
22
20
|
tagged_manifest: null)
|
|
23
21
|
```
|
data/docs/ContentBlobsApi.md
CHANGED
|
@@ -5,7 +5,7 @@ All URIs are relative to *http://pulp*
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
7
|
[**list**](ContentBlobsApi.md#list) | **GET** /pulp/api/v3/content/container/blobs/ | List blobs
|
|
8
|
-
[**read**](ContentBlobsApi.md#read) | **GET** {
|
|
8
|
+
[**read**](ContentBlobsApi.md#read) | **GET** {container_blob_href} | Inspect a blob
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -24,22 +24,22 @@ ViewSet for Blobs.
|
|
|
24
24
|
require 'pulp_container_client'
|
|
25
25
|
# setup authorization
|
|
26
26
|
PulpContainerClient.configure do |config|
|
|
27
|
-
# Configure HTTP basic authorization:
|
|
27
|
+
# Configure HTTP basic authorization: basicAuth
|
|
28
28
|
config.username = 'YOUR USERNAME'
|
|
29
29
|
config.password = 'YOUR PASSWORD'
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
api_instance = PulpContainerClient::ContentBlobsApi.new
|
|
33
33
|
opts = {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
digest__in: 'digest__in_example', # String | Filter results where digest is in a comma-separated list of values
|
|
37
|
-
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
|
38
|
-
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
|
39
|
-
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
|
40
|
-
media_type: 'media_type_example', # String |
|
|
34
|
+
digest: 'digest_example', # String | digest
|
|
35
|
+
digest__in: 'digest__in_example', # String | digest__in
|
|
41
36
|
limit: 56, # Integer | Number of results to return per page.
|
|
37
|
+
media_type: 'media_type_example', # String | media_type
|
|
42
38
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
39
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
40
|
+
repository_version: 'repository_version_example', # String | repository_version
|
|
41
|
+
repository_version_added: 'repository_version_added_example', # String | repository_version_added
|
|
42
|
+
repository_version_removed: 'repository_version_removed_example', # String | repository_version_removed
|
|
43
43
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
44
44
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
45
45
|
}
|
|
@@ -58,15 +58,15 @@ end
|
|
|
58
58
|
|
|
59
59
|
Name | Type | Description | Notes
|
|
60
60
|
------------- | ------------- | ------------- | -------------
|
|
61
|
-
**
|
|
62
|
-
**
|
|
63
|
-
**digest__in** | **String**| Filter results where digest is in a comma-separated list of values | [optional]
|
|
64
|
-
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
|
65
|
-
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
|
66
|
-
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
|
67
|
-
**media_type** | **String**| | [optional]
|
|
61
|
+
**digest** | **String**| digest | [optional]
|
|
62
|
+
**digest__in** | **String**| digest__in | [optional]
|
|
68
63
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
64
|
+
**media_type** | **String**| media_type | [optional]
|
|
69
65
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
66
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
67
|
+
**repository_version** | **String**| repository_version | [optional]
|
|
68
|
+
**repository_version_added** | **String**| repository_version_added | [optional]
|
|
69
|
+
**repository_version_removed** | **String**| repository_version_removed | [optional]
|
|
70
70
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
71
71
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
72
72
|
|
|
@@ -76,7 +76,7 @@ Name | Type | Description | Notes
|
|
|
76
76
|
|
|
77
77
|
### Authorization
|
|
78
78
|
|
|
79
|
-
[
|
|
79
|
+
[basicAuth](../README.md#basicAuth)
|
|
80
80
|
|
|
81
81
|
### HTTP request headers
|
|
82
82
|
|
|
@@ -86,7 +86,7 @@ Name | Type | Description | Notes
|
|
|
86
86
|
|
|
87
87
|
## read
|
|
88
88
|
|
|
89
|
-
>
|
|
89
|
+
> ContainerBlobResponse read(container_blob_href, opts)
|
|
90
90
|
|
|
91
91
|
Inspect a blob
|
|
92
92
|
|
|
@@ -99,13 +99,13 @@ ViewSet for Blobs.
|
|
|
99
99
|
require 'pulp_container_client'
|
|
100
100
|
# setup authorization
|
|
101
101
|
PulpContainerClient.configure do |config|
|
|
102
|
-
# Configure HTTP basic authorization:
|
|
102
|
+
# Configure HTTP basic authorization: basicAuth
|
|
103
103
|
config.username = 'YOUR USERNAME'
|
|
104
104
|
config.password = 'YOUR PASSWORD'
|
|
105
105
|
end
|
|
106
106
|
|
|
107
107
|
api_instance = PulpContainerClient::ContentBlobsApi.new
|
|
108
|
-
|
|
108
|
+
container_blob_href = 'container_blob_href_example' # String |
|
|
109
109
|
opts = {
|
|
110
110
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
111
111
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
@@ -113,7 +113,7 @@ opts = {
|
|
|
113
113
|
|
|
114
114
|
begin
|
|
115
115
|
#Inspect a blob
|
|
116
|
-
result = api_instance.read(
|
|
116
|
+
result = api_instance.read(container_blob_href, opts)
|
|
117
117
|
p result
|
|
118
118
|
rescue PulpContainerClient::ApiError => e
|
|
119
119
|
puts "Exception when calling ContentBlobsApi->read: #{e}"
|
|
@@ -125,17 +125,17 @@ end
|
|
|
125
125
|
|
|
126
126
|
Name | Type | Description | Notes
|
|
127
127
|
------------- | ------------- | ------------- | -------------
|
|
128
|
-
**
|
|
128
|
+
**container_blob_href** | **String**| |
|
|
129
129
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
130
130
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
131
131
|
|
|
132
132
|
### Return type
|
|
133
133
|
|
|
134
|
-
[**
|
|
134
|
+
[**ContainerBlobResponse**](ContainerBlobResponse.md)
|
|
135
135
|
|
|
136
136
|
### Authorization
|
|
137
137
|
|
|
138
|
-
[
|
|
138
|
+
[basicAuth](../README.md#basicAuth)
|
|
139
139
|
|
|
140
140
|
### HTTP request headers
|
|
141
141
|
|
data/docs/ContentManifestsApi.md
CHANGED
|
@@ -5,7 +5,7 @@ All URIs are relative to *http://pulp*
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
7
|
[**list**](ContentManifestsApi.md#list) | **GET** /pulp/api/v3/content/container/manifests/ | List manifests
|
|
8
|
-
[**read**](ContentManifestsApi.md#read) | **GET** {
|
|
8
|
+
[**read**](ContentManifestsApi.md#read) | **GET** {container_manifest_href} | Inspect a manifest
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -24,22 +24,22 @@ ViewSet for Manifest.
|
|
|
24
24
|
require 'pulp_container_client'
|
|
25
25
|
# setup authorization
|
|
26
26
|
PulpContainerClient.configure do |config|
|
|
27
|
-
# Configure HTTP basic authorization:
|
|
27
|
+
# Configure HTTP basic authorization: basicAuth
|
|
28
28
|
config.username = 'YOUR USERNAME'
|
|
29
29
|
config.password = 'YOUR PASSWORD'
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
api_instance = PulpContainerClient::ContentManifestsApi.new
|
|
33
33
|
opts = {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
digest__in: 'digest__in_example', # String | Filter results where digest is in a comma-separated list of values
|
|
37
|
-
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
|
38
|
-
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
|
39
|
-
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
|
40
|
-
media_type: 'media_type_example', # String |
|
|
34
|
+
digest: 'digest_example', # String | digest
|
|
35
|
+
digest__in: 'digest__in_example', # String | digest__in
|
|
41
36
|
limit: 56, # Integer | Number of results to return per page.
|
|
37
|
+
media_type: 'media_type_example', # String | media_type
|
|
42
38
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
39
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
40
|
+
repository_version: 'repository_version_example', # String | repository_version
|
|
41
|
+
repository_version_added: 'repository_version_added_example', # String | repository_version_added
|
|
42
|
+
repository_version_removed: 'repository_version_removed_example', # String | repository_version_removed
|
|
43
43
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
44
44
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
45
45
|
}
|
|
@@ -58,15 +58,15 @@ end
|
|
|
58
58
|
|
|
59
59
|
Name | Type | Description | Notes
|
|
60
60
|
------------- | ------------- | ------------- | -------------
|
|
61
|
-
**
|
|
62
|
-
**
|
|
63
|
-
**digest__in** | **String**| Filter results where digest is in a comma-separated list of values | [optional]
|
|
64
|
-
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
|
65
|
-
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
|
66
|
-
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
|
67
|
-
**media_type** | **String**| | [optional]
|
|
61
|
+
**digest** | **String**| digest | [optional]
|
|
62
|
+
**digest__in** | **String**| digest__in | [optional]
|
|
68
63
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
64
|
+
**media_type** | **String**| media_type | [optional]
|
|
69
65
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
66
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
67
|
+
**repository_version** | **String**| repository_version | [optional]
|
|
68
|
+
**repository_version_added** | **String**| repository_version_added | [optional]
|
|
69
|
+
**repository_version_removed** | **String**| repository_version_removed | [optional]
|
|
70
70
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
71
71
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
72
72
|
|
|
@@ -76,7 +76,7 @@ Name | Type | Description | Notes
|
|
|
76
76
|
|
|
77
77
|
### Authorization
|
|
78
78
|
|
|
79
|
-
[
|
|
79
|
+
[basicAuth](../README.md#basicAuth)
|
|
80
80
|
|
|
81
81
|
### HTTP request headers
|
|
82
82
|
|
|
@@ -86,7 +86,7 @@ Name | Type | Description | Notes
|
|
|
86
86
|
|
|
87
87
|
## read
|
|
88
88
|
|
|
89
|
-
>
|
|
89
|
+
> ContainerManifestResponse read(container_manifest_href, opts)
|
|
90
90
|
|
|
91
91
|
Inspect a manifest
|
|
92
92
|
|
|
@@ -99,13 +99,13 @@ ViewSet for Manifest.
|
|
|
99
99
|
require 'pulp_container_client'
|
|
100
100
|
# setup authorization
|
|
101
101
|
PulpContainerClient.configure do |config|
|
|
102
|
-
# Configure HTTP basic authorization:
|
|
102
|
+
# Configure HTTP basic authorization: basicAuth
|
|
103
103
|
config.username = 'YOUR USERNAME'
|
|
104
104
|
config.password = 'YOUR PASSWORD'
|
|
105
105
|
end
|
|
106
106
|
|
|
107
107
|
api_instance = PulpContainerClient::ContentManifestsApi.new
|
|
108
|
-
|
|
108
|
+
container_manifest_href = 'container_manifest_href_example' # String |
|
|
109
109
|
opts = {
|
|
110
110
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
111
111
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
@@ -113,7 +113,7 @@ opts = {
|
|
|
113
113
|
|
|
114
114
|
begin
|
|
115
115
|
#Inspect a manifest
|
|
116
|
-
result = api_instance.read(
|
|
116
|
+
result = api_instance.read(container_manifest_href, opts)
|
|
117
117
|
p result
|
|
118
118
|
rescue PulpContainerClient::ApiError => e
|
|
119
119
|
puts "Exception when calling ContentManifestsApi->read: #{e}"
|
|
@@ -125,17 +125,17 @@ end
|
|
|
125
125
|
|
|
126
126
|
Name | Type | Description | Notes
|
|
127
127
|
------------- | ------------- | ------------- | -------------
|
|
128
|
-
**
|
|
128
|
+
**container_manifest_href** | **String**| |
|
|
129
129
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
130
130
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
131
131
|
|
|
132
132
|
### Return type
|
|
133
133
|
|
|
134
|
-
[**
|
|
134
|
+
[**ContainerManifestResponse**](ContainerManifestResponse.md)
|
|
135
135
|
|
|
136
136
|
### Authorization
|
|
137
137
|
|
|
138
|
-
[
|
|
138
|
+
[basicAuth](../README.md#basicAuth)
|
|
139
139
|
|
|
140
140
|
### HTTP request headers
|
|
141
141
|
|
data/docs/ContentSummary.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**added** | **
|
|
8
|
-
**removed** | **
|
|
9
|
-
**present** | **
|
|
7
|
+
**added** | [**Object**](.md) | |
|
|
8
|
+
**removed** | [**Object**](.md) | |
|
|
9
|
+
**present** | [**Object**](.md) | |
|
|
10
10
|
|
|
11
11
|
## Code Sample
|
|
12
12
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# PulpContainerClient::ContentSummaryResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**added** | [**Object**](.md) | |
|
|
8
|
+
**removed** | [**Object**](.md) | |
|
|
9
|
+
**present** | [**Object**](.md) | |
|
|
10
|
+
|
|
11
|
+
## Code Sample
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'PulpContainerClient'
|
|
15
|
+
|
|
16
|
+
instance = PulpContainerClient::ContentSummaryResponse.new(added: null,
|
|
17
|
+
removed: null,
|
|
18
|
+
present: null)
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
|
data/docs/ContentTagsApi.md
CHANGED
|
@@ -5,7 +5,7 @@ All URIs are relative to *http://pulp*
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
7
|
[**list**](ContentTagsApi.md#list) | **GET** /pulp/api/v3/content/container/tags/ | List tags
|
|
8
|
-
[**read**](ContentTagsApi.md#read) | **GET** {
|
|
8
|
+
[**read**](ContentTagsApi.md#read) | **GET** {container_tag_href} | Inspect a tag
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -24,23 +24,23 @@ ViewSet for Tag.
|
|
|
24
24
|
require 'pulp_container_client'
|
|
25
25
|
# setup authorization
|
|
26
26
|
PulpContainerClient.configure do |config|
|
|
27
|
-
# Configure HTTP basic authorization:
|
|
27
|
+
# Configure HTTP basic authorization: basicAuth
|
|
28
28
|
config.username = 'YOUR USERNAME'
|
|
29
29
|
config.password = 'YOUR PASSWORD'
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
api_instance = PulpContainerClient::ContentTagsApi.new
|
|
33
33
|
opts = {
|
|
34
|
-
|
|
35
|
-
name: 'name_example', # String | Filter results where name matches value
|
|
36
|
-
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
|
37
|
-
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
|
38
|
-
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
|
39
|
-
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
|
40
|
-
media_type: 'media_type_example', # String |
|
|
41
|
-
digest: 'digest_example', # String | Multiple values may be separated by commas.
|
|
34
|
+
digest: 'digest_example', # String | digest
|
|
42
35
|
limit: 56, # Integer | Number of results to return per page.
|
|
36
|
+
media_type: 'media_type_example', # String | media_type
|
|
37
|
+
name: 'name_example', # String | name
|
|
38
|
+
name__in: 'name__in_example', # String | name__in
|
|
43
39
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
40
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
41
|
+
repository_version: 'repository_version_example', # String | repository_version
|
|
42
|
+
repository_version_added: 'repository_version_added_example', # String | repository_version_added
|
|
43
|
+
repository_version_removed: 'repository_version_removed_example', # String | repository_version_removed
|
|
44
44
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
45
45
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
46
46
|
}
|
|
@@ -59,16 +59,16 @@ end
|
|
|
59
59
|
|
|
60
60
|
Name | Type | Description | Notes
|
|
61
61
|
------------- | ------------- | ------------- | -------------
|
|
62
|
-
**
|
|
63
|
-
**name** | **String**| Filter results where name matches value | [optional]
|
|
64
|
-
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
|
65
|
-
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
|
66
|
-
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
|
67
|
-
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
|
68
|
-
**media_type** | **String**| | [optional]
|
|
69
|
-
**digest** | **String**| Multiple values may be separated by commas. | [optional]
|
|
62
|
+
**digest** | **String**| digest | [optional]
|
|
70
63
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
64
|
+
**media_type** | **String**| media_type | [optional]
|
|
65
|
+
**name** | **String**| name | [optional]
|
|
66
|
+
**name__in** | **String**| name__in | [optional]
|
|
71
67
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
68
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
69
|
+
**repository_version** | **String**| repository_version | [optional]
|
|
70
|
+
**repository_version_added** | **String**| repository_version_added | [optional]
|
|
71
|
+
**repository_version_removed** | **String**| repository_version_removed | [optional]
|
|
72
72
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
73
73
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
74
74
|
|
|
@@ -78,7 +78,7 @@ Name | Type | Description | Notes
|
|
|
78
78
|
|
|
79
79
|
### Authorization
|
|
80
80
|
|
|
81
|
-
[
|
|
81
|
+
[basicAuth](../README.md#basicAuth)
|
|
82
82
|
|
|
83
83
|
### HTTP request headers
|
|
84
84
|
|
|
@@ -88,7 +88,7 @@ Name | Type | Description | Notes
|
|
|
88
88
|
|
|
89
89
|
## read
|
|
90
90
|
|
|
91
|
-
>
|
|
91
|
+
> ContainerTagResponse read(container_tag_href, opts)
|
|
92
92
|
|
|
93
93
|
Inspect a tag
|
|
94
94
|
|
|
@@ -101,13 +101,13 @@ ViewSet for Tag.
|
|
|
101
101
|
require 'pulp_container_client'
|
|
102
102
|
# setup authorization
|
|
103
103
|
PulpContainerClient.configure do |config|
|
|
104
|
-
# Configure HTTP basic authorization:
|
|
104
|
+
# Configure HTTP basic authorization: basicAuth
|
|
105
105
|
config.username = 'YOUR USERNAME'
|
|
106
106
|
config.password = 'YOUR PASSWORD'
|
|
107
107
|
end
|
|
108
108
|
|
|
109
109
|
api_instance = PulpContainerClient::ContentTagsApi.new
|
|
110
|
-
|
|
110
|
+
container_tag_href = 'container_tag_href_example' # String |
|
|
111
111
|
opts = {
|
|
112
112
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
113
113
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
@@ -115,7 +115,7 @@ opts = {
|
|
|
115
115
|
|
|
116
116
|
begin
|
|
117
117
|
#Inspect a tag
|
|
118
|
-
result = api_instance.read(
|
|
118
|
+
result = api_instance.read(container_tag_href, opts)
|
|
119
119
|
p result
|
|
120
120
|
rescue PulpContainerClient::ApiError => e
|
|
121
121
|
puts "Exception when calling ContentTagsApi->read: #{e}"
|
|
@@ -127,17 +127,17 @@ end
|
|
|
127
127
|
|
|
128
128
|
Name | Type | Description | Notes
|
|
129
129
|
------------- | ------------- | ------------- | -------------
|
|
130
|
-
**
|
|
130
|
+
**container_tag_href** | **String**| |
|
|
131
131
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
132
132
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
133
133
|
|
|
134
134
|
### Return type
|
|
135
135
|
|
|
136
|
-
[**
|
|
136
|
+
[**ContainerTagResponse**](ContainerTagResponse.md)
|
|
137
137
|
|
|
138
138
|
### Authorization
|
|
139
139
|
|
|
140
|
-
[
|
|
140
|
+
[basicAuth](../README.md#basicAuth)
|
|
141
141
|
|
|
142
142
|
### HTTP request headers
|
|
143
143
|
|