pulp_container_client 2.19.3 → 2.19.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -7
- data/docs/ContainerBlobResponse.md +2 -0
- data/docs/ContainerContainerDistribution.md +9 -9
- data/docs/ContainerContainerDistributionResponse.md +12 -10
- data/docs/ContainerContainerNamespaceResponse.md +2 -0
- data/docs/ContainerContainerPullThroughDistribution.md +9 -9
- data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -10
- data/docs/ContainerContainerPullThroughRemoteResponse.md +2 -2
- data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +2 -2
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -10
- data/docs/ContainerContainerRemoteResponse.md +2 -2
- data/docs/ContainerContainerRepositoryResponse.md +2 -0
- data/docs/ContainerManifestResponse.md +2 -0
- data/docs/ContainerManifestSignatureResponse.md +2 -0
- data/docs/ContainerTagResponse.md +2 -0
- data/docs/ContentBlobsApi.md +1 -1
- data/docs/ContentManifestsApi.md +1 -1
- data/docs/ContentSignaturesApi.md +1 -1
- data/docs/ContentTagsApi.md +1 -1
- data/docs/DistributionsContainerApi.md +1 -1
- data/docs/DistributionsPullThroughApi.md +1 -1
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedcontainerBlobResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerDistributionResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerNamespaceResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPushRepositoryResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerRemoteResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerRepositoryResponseList.md +2 -2
- data/docs/PaginatedcontainerManifestResponseList.md +2 -2
- data/docs/PaginatedcontainerManifestSignatureResponseList.md +2 -2
- data/docs/PaginatedcontainerTagResponseList.md +2 -2
- data/docs/PatchedcontainerContainerDistribution.md +9 -9
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +9 -9
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PulpContainerNamespacesApi.md +1 -1
- data/docs/RemotesContainerApi.md +1 -1
- data/docs/RemotesPullThroughApi.md +1 -1
- data/docs/RepositoriesContainerApi.md +1 -1
- data/docs/RepositoriesContainerPushApi.md +1 -1
- data/docs/RepositoriesContainerPushVersionsApi.md +1 -1
- data/docs/RepositoriesContainerVersionsApi.md +1 -1
- data/docs/RepositoryVersionResponse.md +2 -0
- data/docs/TokenApi.md +1 -1
- data/lib/pulp_container_client/configuration.rb +2 -2
- data/lib/pulp_container_client/models/container_blob_response.rb +11 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +52 -42
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +11 -1
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +36 -36
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +52 -42
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +11 -11
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_container_client/models/container_container_push_repository.rb +39 -39
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +49 -39
- data/lib/pulp_container_client/models/container_container_remote_response.rb +11 -11
- data/lib/pulp_container_client/models/container_container_repository_response.rb +11 -1
- data/lib/pulp_container_client/models/container_manifest_response.rb +11 -1
- data/lib/pulp_container_client/models/container_manifest_signature_response.rb +11 -1
- data/lib/pulp_container_client/models/container_tag_response.rb +11 -1
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +10 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +36 -36
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +39 -39
- data/lib/pulp_container_client/models/repository_version_response.rb +11 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_blob_response_spec.rb +6 -0
- data/spec/models/container_container_distribution_response_spec.rb +12 -6
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_namespace_response_spec.rb +6 -0
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +12 -6
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/container_container_pull_through_remote_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +12 -6
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/container_container_remote_response_spec.rb +6 -6
- data/spec/models/container_container_repository_response_spec.rb +6 -0
- data/spec/models/container_manifest_response_spec.rb +6 -0
- data/spec/models/container_manifest_signature_response_spec.rb +6 -0
- data/spec/models/container_tag_response_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +76 -84
- data/docs/IndexDynamicApi.md +0 -50
- data/docs/IndexStaticApi.md +0 -50
- data/lib/pulp_container_client/api/index_dynamic_api.rb +0 -74
- data/lib/pulp_container_client/api/index_static_api.rb +0 -74
- data/spec/api/index_dynamic_api_spec.rb +0 -45
- data/spec/api/index_static_api_spec.rb +0 -45
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_container_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.19.
|
4
|
+
version: 2.19.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -34,42 +34,42 @@ dependencies:
|
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 2.1.0
|
40
37
|
- - "~>"
|
41
38
|
- !ruby/object:Gem::Version
|
42
39
|
version: '2.1'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 2.1.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - ">="
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 2.1.0
|
50
47
|
- - "~>"
|
51
48
|
- !ruby/object:Gem::Version
|
52
49
|
version: '2.1'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 2.1.0
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: rspec
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - ">="
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: 3.6.0
|
60
57
|
- - "~>"
|
61
58
|
- !ruby/object:Gem::Version
|
62
59
|
version: '3.6'
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 3.6.0
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - ">="
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: 3.6.0
|
70
67
|
- - "~>"
|
71
68
|
- !ruby/object:Gem::Version
|
72
69
|
version: '3.6'
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 3.6.0
|
73
73
|
description: Fetch, Upload, Organize, and Distribute Software Packages
|
74
74
|
email:
|
75
75
|
- pulp-list@redhat.com
|
@@ -108,8 +108,6 @@ files:
|
|
108
108
|
- docs/ContentTagsApi.md
|
109
109
|
- docs/DistributionsContainerApi.md
|
110
110
|
- docs/DistributionsPullThroughApi.md
|
111
|
-
- docs/IndexDynamicApi.md
|
112
|
-
- docs/IndexStaticApi.md
|
113
111
|
- docs/ManifestCopy.md
|
114
112
|
- docs/MediaTypesEnum.md
|
115
113
|
- docs/MyPermissionsResponse.md
|
@@ -166,8 +164,6 @@ files:
|
|
166
164
|
- lib/pulp_container_client/api/content_tags_api.rb
|
167
165
|
- lib/pulp_container_client/api/distributions_container_api.rb
|
168
166
|
- lib/pulp_container_client/api/distributions_pull_through_api.rb
|
169
|
-
- lib/pulp_container_client/api/index_dynamic_api.rb
|
170
|
-
- lib/pulp_container_client/api/index_static_api.rb
|
171
167
|
- lib/pulp_container_client/api/pulp_container_namespaces_api.rb
|
172
168
|
- lib/pulp_container_client/api/remotes_container_api.rb
|
173
169
|
- lib/pulp_container_client/api/remotes_pull_through_api.rb
|
@@ -250,8 +246,6 @@ files:
|
|
250
246
|
- spec/api/content_tags_api_spec.rb
|
251
247
|
- spec/api/distributions_container_api_spec.rb
|
252
248
|
- spec/api/distributions_pull_through_api_spec.rb
|
253
|
-
- spec/api/index_dynamic_api_spec.rb
|
254
|
-
- spec/api/index_static_api_spec.rb
|
255
249
|
- spec/api/pulp_container_namespaces_api_spec.rb
|
256
250
|
- spec/api/remotes_container_api_spec.rb
|
257
251
|
- spec/api/remotes_pull_through_api_spec.rb
|
@@ -330,7 +324,7 @@ homepage: https://github.com/pulp/pulp_container
|
|
330
324
|
licenses:
|
331
325
|
- GPLv2+
|
332
326
|
metadata: {}
|
333
|
-
post_install_message:
|
327
|
+
post_install_message:
|
334
328
|
rdoc_options: []
|
335
329
|
require_paths:
|
336
330
|
- lib
|
@@ -345,90 +339,88 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
345
339
|
- !ruby/object:Gem::Version
|
346
340
|
version: '0'
|
347
341
|
requirements: []
|
348
|
-
rubygems_version: 3.
|
349
|
-
signing_key:
|
342
|
+
rubygems_version: 3.4.20
|
343
|
+
signing_key:
|
350
344
|
specification_version: 4
|
351
345
|
summary: Pulp 3 API Ruby Gem
|
352
346
|
test_files:
|
347
|
+
- spec/api/distributions_container_api_spec.rb
|
348
|
+
- spec/api/content_signatures_api_spec.rb
|
349
|
+
- spec/api/content_tags_api_spec.rb
|
353
350
|
- spec/api/repositories_container_push_versions_api_spec.rb
|
354
|
-
- spec/api/
|
355
|
-
- spec/api/content_blobs_api_spec.rb
|
356
|
-
- spec/api/remotes_pull_through_api_spec.rb
|
357
|
-
- spec/api/pulp_container_namespaces_api_spec.rb
|
351
|
+
- spec/api/content_manifests_api_spec.rb
|
358
352
|
- spec/api/repositories_container_push_api_spec.rb
|
353
|
+
- spec/api/pulp_container_namespaces_api_spec.rb
|
354
|
+
- spec/api/repositories_container_versions_api_spec.rb
|
359
355
|
- spec/api/distributions_pull_through_api_spec.rb
|
360
|
-
- spec/api/content_manifests_api_spec.rb
|
361
|
-
- spec/api/content_tags_api_spec.rb
|
362
356
|
- spec/api/remotes_container_api_spec.rb
|
363
|
-
- spec/api/
|
364
|
-
- spec/api/
|
365
|
-
- spec/api/index_dynamic_api_spec.rb
|
357
|
+
- spec/api/remotes_pull_through_api_spec.rb
|
358
|
+
- spec/api/content_blobs_api_spec.rb
|
366
359
|
- spec/api/token_api_spec.rb
|
367
|
-
- spec/api/
|
368
|
-
- spec/api/repositories_container_versions_api_spec.rb
|
360
|
+
- spec/api/repositories_container_api_spec.rb
|
369
361
|
- spec/api_client_spec.rb
|
370
362
|
- spec/configuration_spec.rb
|
371
|
-
- spec/models/
|
363
|
+
- spec/models/container_container_distribution_spec.rb
|
364
|
+
- spec/models/container_container_repository_response_spec.rb
|
365
|
+
- spec/models/container_container_distribution_response_spec.rb
|
366
|
+
- spec/models/set_label_response_spec.rb
|
367
|
+
- spec/models/remove_image_spec.rb
|
368
|
+
- spec/models/patchedcontainer_container_distribution_spec.rb
|
369
|
+
- spec/models/repository_sign_spec.rb
|
370
|
+
- spec/models/remove_signatures_spec.rb
|
371
|
+
- spec/models/set_label_spec.rb
|
372
|
+
- spec/models/container_blob_response_spec.rb
|
373
|
+
- spec/models/paginatedcontainer_manifest_signature_response_list_spec.rb
|
374
|
+
- spec/models/patchedcontainer_container_pull_through_remote_spec.rb
|
375
|
+
- spec/models/patchedcontainer_container_push_repository_spec.rb
|
372
376
|
- spec/models/recursive_manage_spec.rb
|
377
|
+
- spec/models/async_operation_response_spec.rb
|
378
|
+
- spec/models/paginatedcontainer_container_distribution_response_list_spec.rb
|
379
|
+
- spec/models/paginatedcontainer_tag_response_list_spec.rb
|
380
|
+
- spec/models/container_container_repository_spec.rb
|
373
381
|
- spec/models/object_roles_response_spec.rb
|
382
|
+
- spec/models/container_container_push_repository_response_spec.rb
|
383
|
+
- spec/models/container_container_namespace_response_spec.rb
|
384
|
+
- spec/models/oci_build_image_spec.rb
|
374
385
|
- spec/models/container_container_pull_through_remote_spec.rb
|
375
|
-
- spec/models/
|
376
|
-
- spec/models/
|
386
|
+
- spec/models/paginatedcontainer_container_namespace_response_list_spec.rb
|
387
|
+
- spec/models/manifest_copy_spec.rb
|
388
|
+
- spec/models/nested_role_response_spec.rb
|
389
|
+
- spec/models/repair_spec.rb
|
390
|
+
- spec/models/policy8e2_enum_spec.rb
|
391
|
+
- spec/models/media_types_enum_spec.rb
|
392
|
+
- spec/models/container_container_remote_response_spec.rb
|
393
|
+
- spec/models/content_summary_response_spec.rb
|
394
|
+
- spec/models/container_container_namespace_spec.rb
|
377
395
|
- spec/models/container_manifest_response_spec.rb
|
378
|
-
- spec/models/unset_label_spec.rb
|
379
|
-
- spec/models/my_permissions_response_spec.rb
|
380
|
-
- spec/models/paginatedcontainer_blob_response_list_spec.rb
|
381
|
-
- spec/models/container_tag_response_spec.rb
|
382
|
-
- spec/models/patchedcontainer_container_repository_spec.rb
|
383
|
-
- spec/models/policy762_enum_spec.rb
|
384
396
|
- spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb
|
385
|
-
- spec/models/
|
386
|
-
- spec/models/tag_copy_spec.rb
|
397
|
+
- spec/models/container_container_pull_through_distribution_response_spec.rb
|
387
398
|
- spec/models/remove_signatures_response_spec.rb
|
388
|
-
- spec/models/container_container_distribution_response_spec.rb
|
389
|
-
- spec/models/un_tag_image_spec.rb
|
390
|
-
- spec/models/nested_role_response_spec.rb
|
391
|
-
- spec/models/patchedcontainer_container_push_repository_spec.rb
|
392
|
-
- spec/models/container_container_push_repository_response_spec.rb
|
393
|
-
- spec/models/repository_version_response_spec.rb
|
394
|
-
- spec/models/container_container_remote_response_spec.rb
|
395
|
-
- spec/models/paginatedcontainer_manifest_signature_response_list_spec.rb
|
396
|
-
- spec/models/unset_label_response_spec.rb
|
397
|
-
- spec/models/container_container_namespace_response_spec.rb
|
398
|
-
- spec/models/set_label_response_spec.rb
|
399
|
-
- spec/models/paginatedcontainer_container_distribution_response_list_spec.rb
|
400
|
-
- spec/models/container_repository_sync_url_spec.rb
|
401
399
|
- spec/models/nested_role_spec.rb
|
402
|
-
- spec/models/
|
403
|
-
- spec/models/paginatedcontainer_tag_response_list_spec.rb
|
404
|
-
- spec/models/repair_spec.rb
|
405
|
-
- spec/models/remove_signatures_spec.rb
|
406
|
-
- spec/models/policy8e2_enum_spec.rb
|
400
|
+
- spec/models/repository_version_response_spec.rb
|
407
401
|
- spec/models/paginatedcontainer_container_pull_through_remote_response_list_spec.rb
|
408
|
-
- spec/models/
|
409
|
-
- spec/models/container_container_namespace_spec.rb
|
402
|
+
- spec/models/container_container_push_repository_spec.rb
|
410
403
|
- spec/models/patchedcontainer_container_pull_through_distribution_spec.rb
|
411
|
-
- spec/models/container_container_pull_through_remote_response_spec.rb
|
412
|
-
- spec/models/remove_image_spec.rb
|
413
|
-
- spec/models/patchedcontainer_container_distribution_spec.rb
|
414
|
-
- spec/models/container_container_distribution_spec.rb
|
415
|
-
- spec/models/paginatedcontainer_container_remote_response_list_spec.rb
|
416
|
-
- spec/models/container_container_pull_through_distribution_response_spec.rb
|
417
404
|
- spec/models/paginatedcontainer_manifest_response_list_spec.rb
|
418
|
-
- spec/models/
|
419
|
-
- spec/models/
|
420
|
-
- spec/models/
|
405
|
+
- spec/models/paginatedcontainer_container_remote_response_list_spec.rb
|
406
|
+
- spec/models/paginatedcontainer_blob_response_list_spec.rb
|
407
|
+
- spec/models/unset_label_spec.rb
|
408
|
+
- spec/models/patchedcontainer_container_repository_spec.rb
|
409
|
+
- spec/models/container_container_pull_through_remote_response_spec.rb
|
421
410
|
- spec/models/container_container_pull_through_distribution_spec.rb
|
422
|
-
- spec/models/paginatedcontainer_container_namespace_response_list_spec.rb
|
423
411
|
- spec/models/container_manifest_signature_response_spec.rb
|
424
|
-
- spec/models/
|
425
|
-
- spec/models/
|
426
|
-
- spec/models/
|
427
|
-
- spec/models/oci_build_image_spec.rb
|
428
|
-
- spec/models/container_container_remote_spec.rb
|
412
|
+
- spec/models/un_tag_image_spec.rb
|
413
|
+
- spec/models/container_container_pull_through_remote_response_hidden_fields_spec.rb
|
414
|
+
- spec/models/tag_copy_spec.rb
|
429
415
|
- spec/models/paginatedcontainer_container_repository_response_list_spec.rb
|
430
|
-
- spec/models/
|
416
|
+
- spec/models/container_repository_sync_url_spec.rb
|
431
417
|
- spec/models/tag_image_spec.rb
|
432
|
-
- spec/models/
|
433
|
-
- spec/models/
|
418
|
+
- spec/models/unset_label_response_spec.rb
|
419
|
+
- spec/models/container_container_remote_spec.rb
|
420
|
+
- spec/models/my_permissions_response_spec.rb
|
421
|
+
- spec/models/container_tag_response_spec.rb
|
422
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
423
|
+
- spec/models/policy762_enum_spec.rb
|
424
|
+
- spec/models/paginatedcontainer_container_pull_through_distribution_response_list_spec.rb
|
425
|
+
- spec/models/patchedcontainer_container_remote_spec.rb
|
434
426
|
- spec/spec_helper.rb
|
data/docs/IndexDynamicApi.md
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
# PulpContainerClient::IndexDynamicApi
|
2
|
-
|
3
|
-
All URIs are relative to *http://pulp*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**get**](IndexDynamicApi.md#get) | **GET** /index/dynamic |
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
## get
|
12
|
-
|
13
|
-
> get
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
Handles requests to the /index/dynamic endpoint
|
18
|
-
|
19
|
-
### Example
|
20
|
-
|
21
|
-
```ruby
|
22
|
-
# load the gem
|
23
|
-
require 'pulp_container_client'
|
24
|
-
|
25
|
-
api_instance = PulpContainerClient::IndexDynamicApi.new
|
26
|
-
|
27
|
-
begin
|
28
|
-
api_instance.get
|
29
|
-
rescue PulpContainerClient::ApiError => e
|
30
|
-
puts "Exception when calling IndexDynamicApi->get: #{e}"
|
31
|
-
end
|
32
|
-
```
|
33
|
-
|
34
|
-
### Parameters
|
35
|
-
|
36
|
-
This endpoint does not need any parameter.
|
37
|
-
|
38
|
-
### Return type
|
39
|
-
|
40
|
-
nil (empty response body)
|
41
|
-
|
42
|
-
### Authorization
|
43
|
-
|
44
|
-
No authorization required
|
45
|
-
|
46
|
-
### HTTP request headers
|
47
|
-
|
48
|
-
- **Content-Type**: Not defined
|
49
|
-
- **Accept**: Not defined
|
50
|
-
|
data/docs/IndexStaticApi.md
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
# PulpContainerClient::IndexStaticApi
|
2
|
-
|
3
|
-
All URIs are relative to *http://pulp*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**get**](IndexStaticApi.md#get) | **GET** /index/static |
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
## get
|
12
|
-
|
13
|
-
> get
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
Handles requests to the /index/static endpoint
|
18
|
-
|
19
|
-
### Example
|
20
|
-
|
21
|
-
```ruby
|
22
|
-
# load the gem
|
23
|
-
require 'pulp_container_client'
|
24
|
-
|
25
|
-
api_instance = PulpContainerClient::IndexStaticApi.new
|
26
|
-
|
27
|
-
begin
|
28
|
-
api_instance.get
|
29
|
-
rescue PulpContainerClient::ApiError => e
|
30
|
-
puts "Exception when calling IndexStaticApi->get: #{e}"
|
31
|
-
end
|
32
|
-
```
|
33
|
-
|
34
|
-
### Parameters
|
35
|
-
|
36
|
-
This endpoint does not need any parameter.
|
37
|
-
|
38
|
-
### Return type
|
39
|
-
|
40
|
-
nil (empty response body)
|
41
|
-
|
42
|
-
### Authorization
|
43
|
-
|
44
|
-
No authorization required
|
45
|
-
|
46
|
-
### HTTP request headers
|
47
|
-
|
48
|
-
- **Content-Type**: Not defined
|
49
|
-
- **Accept**: Not defined
|
50
|
-
|
@@ -1,74 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Pulp 3 API
|
3
|
-
|
4
|
-
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
-
|
6
|
-
The version of the OpenAPI document: v3
|
7
|
-
Contact: pulp-list@redhat.com
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'cgi'
|
14
|
-
|
15
|
-
module PulpContainerClient
|
16
|
-
class IndexDynamicApi
|
17
|
-
attr_accessor :api_client
|
18
|
-
|
19
|
-
def initialize(api_client = ApiClient.default)
|
20
|
-
@api_client = api_client
|
21
|
-
end
|
22
|
-
# Handles requests to the /index/dynamic endpoint
|
23
|
-
# @param [Hash] opts the optional parameters
|
24
|
-
# @return [nil]
|
25
|
-
def get(opts = {})
|
26
|
-
get_with_http_info(opts)
|
27
|
-
nil
|
28
|
-
end
|
29
|
-
|
30
|
-
# Handles requests to the /index/dynamic endpoint
|
31
|
-
# @param [Hash] opts the optional parameters
|
32
|
-
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
33
|
-
def get_with_http_info(opts = {})
|
34
|
-
if @api_client.config.debugging
|
35
|
-
@api_client.config.logger.debug 'Calling API: IndexDynamicApi.get ...'
|
36
|
-
end
|
37
|
-
# resource path
|
38
|
-
local_var_path = '/index/dynamic'
|
39
|
-
|
40
|
-
# query parameters
|
41
|
-
query_params = opts[:query_params] || {}
|
42
|
-
|
43
|
-
# header parameters
|
44
|
-
header_params = opts[:header_params] || {}
|
45
|
-
|
46
|
-
# form parameters
|
47
|
-
form_params = opts[:form_params] || {}
|
48
|
-
|
49
|
-
# http body (model)
|
50
|
-
post_body = opts[:body]
|
51
|
-
|
52
|
-
# return_type
|
53
|
-
return_type = opts[:return_type]
|
54
|
-
|
55
|
-
# auth_names
|
56
|
-
auth_names = opts[:auth_names] || []
|
57
|
-
|
58
|
-
new_options = opts.merge(
|
59
|
-
:header_params => header_params,
|
60
|
-
:query_params => query_params,
|
61
|
-
:form_params => form_params,
|
62
|
-
:body => post_body,
|
63
|
-
:auth_names => auth_names,
|
64
|
-
:return_type => return_type
|
65
|
-
)
|
66
|
-
|
67
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
68
|
-
if @api_client.config.debugging
|
69
|
-
@api_client.config.logger.debug "API called: IndexDynamicApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
70
|
-
end
|
71
|
-
return data, status_code, headers
|
72
|
-
end
|
73
|
-
end
|
74
|
-
end
|
@@ -1,74 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Pulp 3 API
|
3
|
-
|
4
|
-
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
-
|
6
|
-
The version of the OpenAPI document: v3
|
7
|
-
Contact: pulp-list@redhat.com
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'cgi'
|
14
|
-
|
15
|
-
module PulpContainerClient
|
16
|
-
class IndexStaticApi
|
17
|
-
attr_accessor :api_client
|
18
|
-
|
19
|
-
def initialize(api_client = ApiClient.default)
|
20
|
-
@api_client = api_client
|
21
|
-
end
|
22
|
-
# Handles requests to the /index/static endpoint
|
23
|
-
# @param [Hash] opts the optional parameters
|
24
|
-
# @return [nil]
|
25
|
-
def get(opts = {})
|
26
|
-
get_with_http_info(opts)
|
27
|
-
nil
|
28
|
-
end
|
29
|
-
|
30
|
-
# Handles requests to the /index/static endpoint
|
31
|
-
# @param [Hash] opts the optional parameters
|
32
|
-
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
33
|
-
def get_with_http_info(opts = {})
|
34
|
-
if @api_client.config.debugging
|
35
|
-
@api_client.config.logger.debug 'Calling API: IndexStaticApi.get ...'
|
36
|
-
end
|
37
|
-
# resource path
|
38
|
-
local_var_path = '/index/static'
|
39
|
-
|
40
|
-
# query parameters
|
41
|
-
query_params = opts[:query_params] || {}
|
42
|
-
|
43
|
-
# header parameters
|
44
|
-
header_params = opts[:header_params] || {}
|
45
|
-
|
46
|
-
# form parameters
|
47
|
-
form_params = opts[:form_params] || {}
|
48
|
-
|
49
|
-
# http body (model)
|
50
|
-
post_body = opts[:body]
|
51
|
-
|
52
|
-
# return_type
|
53
|
-
return_type = opts[:return_type]
|
54
|
-
|
55
|
-
# auth_names
|
56
|
-
auth_names = opts[:auth_names] || []
|
57
|
-
|
58
|
-
new_options = opts.merge(
|
59
|
-
:header_params => header_params,
|
60
|
-
:query_params => query_params,
|
61
|
-
:form_params => form_params,
|
62
|
-
:body => post_body,
|
63
|
-
:auth_names => auth_names,
|
64
|
-
:return_type => return_type
|
65
|
-
)
|
66
|
-
|
67
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
68
|
-
if @api_client.config.debugging
|
69
|
-
@api_client.config.logger.debug "API called: IndexStaticApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
70
|
-
end
|
71
|
-
return data, status_code, headers
|
72
|
-
end
|
73
|
-
end
|
74
|
-
end
|
@@ -1,45 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Pulp 3 API
|
3
|
-
|
4
|
-
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
-
|
6
|
-
The version of the OpenAPI document: v3
|
7
|
-
Contact: pulp-list@redhat.com
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
|
16
|
-
# Unit tests for PulpContainerClient::IndexDynamicApi
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'IndexDynamicApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@api_instance = PulpContainerClient::IndexDynamicApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of IndexDynamicApi' do
|
30
|
-
it 'should create an instance of IndexDynamicApi' do
|
31
|
-
expect(@api_instance).to be_instance_of(PulpContainerClient::IndexDynamicApi)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for get
|
36
|
-
# Handles requests to the /index/dynamic endpoint
|
37
|
-
# @param [Hash] opts the optional parameters
|
38
|
-
# @return [nil]
|
39
|
-
describe 'get test' do
|
40
|
-
it 'should work' do
|
41
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
end
|
@@ -1,45 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Pulp 3 API
|
3
|
-
|
4
|
-
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
-
|
6
|
-
The version of the OpenAPI document: v3
|
7
|
-
Contact: pulp-list@redhat.com
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
|
16
|
-
# Unit tests for PulpContainerClient::IndexStaticApi
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'IndexStaticApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@api_instance = PulpContainerClient::IndexStaticApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of IndexStaticApi' do
|
30
|
-
it 'should create an instance of IndexStaticApi' do
|
31
|
-
expect(@api_instance).to be_instance_of(PulpContainerClient::IndexStaticApi)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for get
|
36
|
-
# Handles requests to the /index/static endpoint
|
37
|
-
# @param [Hash] opts the optional parameters
|
38
|
-
# @return [nil]
|
39
|
-
describe 'get test' do
|
40
|
-
it 'should work' do
|
41
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
end
|