pulp_container_client 2.14.14 → 2.14.16
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 +222 -246
- data/docs/AccessPoliciesApi.md +28 -32
- data/docs/ArtifactDistributionResponse.md +7 -7
- data/docs/ArtifactsApi.md +23 -27
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +8 -8
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentApi.md +8 -14
- data/docs/ContentBlobsApi.md +13 -17
- data/docs/ContentManifestsApi.md +15 -19
- data/docs/ContentSignaturesApi.md +13 -17
- data/docs/ContentTagsApi.md +15 -19
- data/docs/ContentguardsApi.md +8 -14
- data/docs/ContentguardsContentRedirectApi.md +53 -57
- data/docs/ContentguardsRbacApi.md +53 -57
- data/docs/DistributionsApi.md +8 -18
- data/docs/DistributionsArtifactsApi.md +13 -21
- data/docs/DistributionsContainerApi.md +53 -61
- data/docs/DocsApiJsonApi.md +6 -6
- data/docs/DocsApiYamlApi.md +6 -6
- data/docs/ExportersFilesystemApi.md +36 -40
- data/docs/ExportersFilesystemExportsApi.md +24 -24
- data/docs/ExportersPulpApi.md +33 -37
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/FilesystemExporter.md +1 -1
- data/docs/FilesystemExporterResponse.md +1 -1
- data/docs/GroupRole.md +1 -3
- data/docs/GroupRoleResponse.md +1 -3
- data/docs/GroupsApi.md +59 -63
- data/docs/GroupsRolesApi.md +27 -33
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +33 -37
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PatchedFilesystemExporter.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/PublicationsApi.md +9 -15
- data/docs/PulpContainerNamespacesApi.md +43 -47
- data/docs/RemoteResponse.md +1 -1
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +8 -14
- data/docs/RemotesContainerApi.md +53 -57
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +8 -30
- data/docs/RepositoriesContainerApi.md +102 -122
- data/docs/RepositoriesContainerPushApi.md +68 -88
- data/docs/RepositoriesContainerPushVersionsApi.md +23 -25
- data/docs/RepositoriesContainerVersionsApi.md +23 -25
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +8 -12
- data/docs/RolesApi.md +39 -43
- data/docs/SigningServicesApi.md +13 -17
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +1 -3
- data/docs/TaskGroupsApi.md +11 -11
- data/docs/TaskSchedulesApi.md +35 -39
- data/docs/TasksApi.md +101 -105
- data/docs/TokenApi.md +6 -6
- data/docs/UploadsApi.md +53 -57
- data/docs/UserRole.md +2 -4
- data/docs/UserRoleResponse.md +2 -4
- data/docs/UsersApi.md +39 -43
- data/docs/UsersRolesApi.md +27 -33
- data/docs/VersionResponse.md +1 -3
- data/docs/WorkersApi.md +13 -17
- data/lib/pulp_container_client/api/access_policies_api.rb +33 -39
- data/lib/pulp_container_client/api/artifacts_api.rb +31 -37
- data/lib/pulp_container_client/api/content_api.rb +7 -20
- data/lib/pulp_container_client/api/content_blobs_api.rb +13 -19
- data/lib/pulp_container_client/api/content_manifests_api.rb +15 -21
- data/lib/pulp_container_client/api/content_signatures_api.rb +13 -19
- data/lib/pulp_container_client/api/content_tags_api.rb +15 -21
- data/lib/pulp_container_client/api/contentguards_api.rb +7 -20
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +65 -71
- data/lib/pulp_container_client/api/contentguards_rbac_api.rb +65 -71
- data/lib/pulp_container_client/api/distributions_api.rb +7 -26
- data/lib/pulp_container_client/api/distributions_artifacts_api.rb +13 -25
- data/lib/pulp_container_client/api/distributions_container_api.rb +65 -77
- data/lib/pulp_container_client/api/docs_api_json_api.rb +5 -5
- data/lib/pulp_container_client/api/docs_api_yaml_api.rb +5 -5
- data/lib/pulp_container_client/api/exporters_filesystem_api.rb +45 -51
- data/lib/pulp_container_client/api/exporters_filesystem_exports_api.rb +31 -31
- data/lib/pulp_container_client/api/exporters_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulp_container_client/api/groups_api.rb +77 -83
- data/lib/pulp_container_client/api/groups_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/groups_users_api.rb +19 -19
- data/lib/pulp_container_client/api/importers_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulp_container_client/api/orphans_api.rb +5 -5
- data/lib/pulp_container_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulp_container_client/api/publications_api.rb +9 -18
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +51 -57
- data/lib/pulp_container_client/api/remotes_api.rb +7 -20
- data/lib/pulp_container_client/api/remotes_container_api.rb +65 -71
- data/lib/pulp_container_client/api/repair_api.rb +6 -6
- data/lib/pulp_container_client/api/repositories_api.rb +7 -44
- data/lib/pulp_container_client/api/repositories_container_api.rb +128 -158
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +88 -118
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulp_container_client/api/repository_versions_api.rb +7 -12
- data/lib/pulp_container_client/api/roles_api.rb +51 -57
- data/lib/pulp_container_client/api/signing_services_api.rb +13 -19
- data/lib/pulp_container_client/api/task_groups_api.rb +11 -11
- data/lib/pulp_container_client/api/task_schedules_api.rb +43 -49
- data/lib/pulp_container_client/api/tasks_api.rb +125 -131
- data/lib/pulp_container_client/api/token_api.rb +5 -5
- data/lib/pulp_container_client/api/uploads_api.rb +67 -73
- data/lib/pulp_container_client/api/users_api.rb +51 -57
- data/lib/pulp_container_client/api/users_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/workers_api.rb +14 -20
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/artifact_distribution_response.rb +35 -35
- data/lib/pulp_container_client/models/container_container_distribution.rb +45 -45
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
- data/lib/pulp_container_client/models/container_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -33
- data/lib/pulp_container_client/models/container_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -21
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter_response.rb +1 -1
- data/lib/pulp_container_client/models/group_role.rb +5 -16
- data/lib/pulp_container_client/models/group_role_response.rb +4 -15
- data/lib/pulp_container_client/models/nested_role.rb +0 -19
- data/lib/pulp_container_client/models/patched_filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/remote_response.rb +21 -21
- data/lib/pulp_container_client/models/remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_container_client/models/repository_response.rb +1 -1
- data/lib/pulp_container_client/models/status_response.rb +4 -19
- data/lib/pulp_container_client/models/user_role.rb +6 -17
- data/lib/pulp_container_client/models/user_role_response.rb +5 -16
- data/lib/pulp_container_client/models/version_response.rb +4 -19
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -11
- data/spec/api/access_policies_api_spec.rb +11 -13
- data/spec/api/artifacts_api_spec.rb +9 -11
- data/spec/api/content_api_spec.rb +3 -6
- data/spec/api/content_blobs_api_spec.rb +5 -7
- data/spec/api/content_manifests_api_spec.rb +6 -8
- data/spec/api/content_signatures_api_spec.rb +5 -7
- data/spec/api/content_tags_api_spec.rb +6 -8
- data/spec/api/contentguards_api_spec.rb +3 -6
- data/spec/api/contentguards_content_redirect_api_spec.rb +21 -23
- data/spec/api/contentguards_rbac_api_spec.rb +21 -23
- data/spec/api/distributions_api_spec.rb +3 -8
- data/spec/api/distributions_artifacts_api_spec.rb +5 -9
- data/spec/api/distributions_container_api_spec.rb +21 -25
- data/spec/api/docs_api_json_api_spec.rb +2 -2
- data/spec/api/docs_api_yaml_api_spec.rb +2 -2
- data/spec/api/exporters_filesystem_api_spec.rb +16 -18
- data/spec/api/exporters_filesystem_exports_api_spec.rb +11 -11
- data/spec/api/exporters_pulp_api_spec.rb +13 -15
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +27 -29
- data/spec/api/groups_roles_api_spec.rb +13 -16
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +13 -15
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +4 -7
- data/spec/api/pulp_container_namespaces_api_spec.rb +17 -19
- data/spec/api/remotes_api_spec.rb +3 -6
- data/spec/api/remotes_container_api_spec.rb +21 -23
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -14
- data/spec/api/repositories_container_api_spec.rb +39 -49
- data/spec/api/repositories_container_push_api_spec.rb +27 -37
- data/spec/api/repositories_container_push_versions_api_spec.rb +9 -10
- data/spec/api/repositories_container_versions_api_spec.rb +9 -10
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +3 -5
- data/spec/api/roles_api_spec.rb +19 -21
- data/spec/api/signing_services_api_spec.rb +5 -7
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +15 -17
- data/spec/api/tasks_api_spec.rb +32 -34
- data/spec/api/token_api_spec.rb +2 -2
- data/spec/api/uploads_api_spec.rb +21 -23
- data/spec/api/users_api_spec.rb +19 -21
- data/spec/api/users_roles_api_spec.rb +13 -16
- data/spec/api/workers_api_spec.rb +5 -7
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/group_role_response_spec.rb +0 -6
- data/spec/models/group_role_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/status_response_spec.rb +0 -6
- data/spec/models/user_role_response_spec.rb +0 -6
- data/spec/models/user_role_spec.rb +0 -6
- data/spec/models/version_response_spec.rb +0 -6
- metadata +196 -240
- data/docs/Domain.md +0 -27
- data/docs/DomainResponse.md +0 -31
- data/docs/DomainsApi.md +0 -366
- data/docs/PaginatedDomainResponseList.md +0 -23
- data/docs/PaginatedUpstreamPulpResponseList.md +0 -23
- data/docs/PatchedDomain.md +0 -27
- data/docs/PatchedUpstreamPulp.md +0 -37
- data/docs/StorageClassEnum.md +0 -16
- data/docs/UpstreamPulp.md +0 -37
- data/docs/UpstreamPulpResponse.md +0 -39
- data/docs/UpstreamPulpsApi.md +0 -405
- data/lib/pulp_container_client/api/domains_api.rb +0 -452
- data/lib/pulp_container_client/api/upstream_pulps_api.rb +0 -492
- data/lib/pulp_container_client/models/domain.rb +0 -323
- data/lib/pulp_container_client/models/domain_response.rb +0 -318
- data/lib/pulp_container_client/models/paginated_domain_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_upstream_pulp_response_list.rb +0 -237
- data/lib/pulp_container_client/models/patched_domain.rb +0 -304
- data/lib/pulp_container_client/models/patched_upstream_pulp.rb +0 -450
- data/lib/pulp_container_client/models/storage_class_enum.rb +0 -37
- data/lib/pulp_container_client/models/upstream_pulp.rb +0 -477
- data/lib/pulp_container_client/models/upstream_pulp_response.rb +0 -338
- data/spec/api/domains_api_spec.rb +0 -122
- data/spec/api/upstream_pulps_api_spec.rb +0 -127
- data/spec/models/domain_response_spec.rb +0 -83
- data/spec/models/domain_spec.rb +0 -71
- data/spec/models/paginated_domain_response_list_spec.rb +0 -59
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +0 -59
- data/spec/models/patched_domain_spec.rb +0 -71
- data/spec/models/patched_upstream_pulp_spec.rb +0 -101
- data/spec/models/storage_class_enum_spec.rb +0 -35
- data/spec/models/upstream_pulp_response_spec.rb +0 -107
- data/spec/models/upstream_pulp_spec.rb +0 -101
|
@@ -31,8 +31,8 @@ module PulpContainerClient
|
|
|
31
31
|
# @option opts [String] :sha384 The SHA-384 checksum of the file if available.
|
|
32
32
|
# @option opts [String] :sha512 The SHA-512 checksum of the file if available.
|
|
33
33
|
# @return [ArtifactResponse]
|
|
34
|
-
def
|
|
35
|
-
data, _status_code, _headers =
|
|
34
|
+
def artifacts_create(file, opts = {})
|
|
35
|
+
data, _status_code, _headers = artifacts_create_with_http_info(file, opts)
|
|
36
36
|
data
|
|
37
37
|
end
|
|
38
38
|
|
|
@@ -48,36 +48,36 @@ module PulpContainerClient
|
|
|
48
48
|
# @option opts [String] :sha384 The SHA-384 checksum of the file if available.
|
|
49
49
|
# @option opts [String] :sha512 The SHA-512 checksum of the file if available.
|
|
50
50
|
# @return [Array<(ArtifactResponse, Integer, Hash)>] ArtifactResponse data, response status code and response headers
|
|
51
|
-
def
|
|
51
|
+
def artifacts_create_with_http_info(file, opts = {})
|
|
52
52
|
if @api_client.config.debugging
|
|
53
|
-
@api_client.config.logger.debug 'Calling API: ArtifactsApi.
|
|
53
|
+
@api_client.config.logger.debug 'Calling API: ArtifactsApi.artifacts_create ...'
|
|
54
54
|
end
|
|
55
55
|
# verify the required parameter 'file' is set
|
|
56
56
|
if @api_client.config.client_side_validation && file.nil?
|
|
57
|
-
fail ArgumentError, "Missing the required parameter 'file' when calling ArtifactsApi.
|
|
57
|
+
fail ArgumentError, "Missing the required parameter 'file' when calling ArtifactsApi.artifacts_create"
|
|
58
58
|
end
|
|
59
59
|
if @api_client.config.client_side_validation && !opts[:'md5'].nil? && opts[:'md5'].to_s.length < 1
|
|
60
|
-
fail ArgumentError, 'invalid value for "opts[:"md5"]" when calling ArtifactsApi.
|
|
60
|
+
fail ArgumentError, 'invalid value for "opts[:"md5"]" when calling ArtifactsApi.artifacts_create, the character length must be great than or equal to 1.'
|
|
61
61
|
end
|
|
62
62
|
|
|
63
63
|
if @api_client.config.client_side_validation && !opts[:'sha1'].nil? && opts[:'sha1'].to_s.length < 1
|
|
64
|
-
fail ArgumentError, 'invalid value for "opts[:"sha1"]" when calling ArtifactsApi.
|
|
64
|
+
fail ArgumentError, 'invalid value for "opts[:"sha1"]" when calling ArtifactsApi.artifacts_create, the character length must be great than or equal to 1.'
|
|
65
65
|
end
|
|
66
66
|
|
|
67
67
|
if @api_client.config.client_side_validation && !opts[:'sha224'].nil? && opts[:'sha224'].to_s.length < 1
|
|
68
|
-
fail ArgumentError, 'invalid value for "opts[:"sha224"]" when calling ArtifactsApi.
|
|
68
|
+
fail ArgumentError, 'invalid value for "opts[:"sha224"]" when calling ArtifactsApi.artifacts_create, the character length must be great than or equal to 1.'
|
|
69
69
|
end
|
|
70
70
|
|
|
71
71
|
if @api_client.config.client_side_validation && !opts[:'sha256'].nil? && opts[:'sha256'].to_s.length < 1
|
|
72
|
-
fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling ArtifactsApi.
|
|
72
|
+
fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling ArtifactsApi.artifacts_create, the character length must be great than or equal to 1.'
|
|
73
73
|
end
|
|
74
74
|
|
|
75
75
|
if @api_client.config.client_side_validation && !opts[:'sha384'].nil? && opts[:'sha384'].to_s.length < 1
|
|
76
|
-
fail ArgumentError, 'invalid value for "opts[:"sha384"]" when calling ArtifactsApi.
|
|
76
|
+
fail ArgumentError, 'invalid value for "opts[:"sha384"]" when calling ArtifactsApi.artifacts_create, the character length must be great than or equal to 1.'
|
|
77
77
|
end
|
|
78
78
|
|
|
79
79
|
if @api_client.config.client_side_validation && !opts[:'sha512'].nil? && opts[:'sha512'].to_s.length < 1
|
|
80
|
-
fail ArgumentError, 'invalid value for "opts[:"sha512"]" when calling ArtifactsApi.
|
|
80
|
+
fail ArgumentError, 'invalid value for "opts[:"sha512"]" when calling ArtifactsApi.artifacts_create, the character length must be great than or equal to 1.'
|
|
81
81
|
end
|
|
82
82
|
|
|
83
83
|
# resource path
|
|
@@ -124,7 +124,7 @@ module PulpContainerClient
|
|
|
124
124
|
|
|
125
125
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
126
126
|
if @api_client.config.debugging
|
|
127
|
-
@api_client.config.logger.debug "API called: ArtifactsApi#
|
|
127
|
+
@api_client.config.logger.debug "API called: ArtifactsApi#artifacts_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
128
128
|
end
|
|
129
129
|
return data, status_code, headers
|
|
130
130
|
end
|
|
@@ -134,8 +134,8 @@ module PulpContainerClient
|
|
|
134
134
|
# @param artifact_href [String]
|
|
135
135
|
# @param [Hash] opts the optional parameters
|
|
136
136
|
# @return [nil]
|
|
137
|
-
def
|
|
138
|
-
|
|
137
|
+
def artifacts_delete(artifact_href, opts = {})
|
|
138
|
+
artifacts_delete_with_http_info(artifact_href, opts)
|
|
139
139
|
nil
|
|
140
140
|
end
|
|
141
141
|
|
|
@@ -144,13 +144,13 @@ module PulpContainerClient
|
|
|
144
144
|
# @param artifact_href [String]
|
|
145
145
|
# @param [Hash] opts the optional parameters
|
|
146
146
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
147
|
-
def
|
|
147
|
+
def artifacts_delete_with_http_info(artifact_href, opts = {})
|
|
148
148
|
if @api_client.config.debugging
|
|
149
|
-
@api_client.config.logger.debug 'Calling API: ArtifactsApi.
|
|
149
|
+
@api_client.config.logger.debug 'Calling API: ArtifactsApi.artifacts_delete ...'
|
|
150
150
|
end
|
|
151
151
|
# verify the required parameter 'artifact_href' is set
|
|
152
152
|
if @api_client.config.client_side_validation && artifact_href.nil?
|
|
153
|
-
fail ArgumentError, "Missing the required parameter 'artifact_href' when calling ArtifactsApi.
|
|
153
|
+
fail ArgumentError, "Missing the required parameter 'artifact_href' when calling ArtifactsApi.artifacts_delete"
|
|
154
154
|
end
|
|
155
155
|
# resource path
|
|
156
156
|
local_var_path = '{artifact_href}'.sub('{' + 'artifact_href' + '}', CGI.escape(artifact_href.to_s).gsub('%2F', '/'))
|
|
@@ -184,7 +184,7 @@ module PulpContainerClient
|
|
|
184
184
|
|
|
185
185
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
186
186
|
if @api_client.config.debugging
|
|
187
|
-
@api_client.config.logger.debug "API called: ArtifactsApi#
|
|
187
|
+
@api_client.config.logger.debug "API called: ArtifactsApi#artifacts_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
188
188
|
end
|
|
189
189
|
return data, status_code, headers
|
|
190
190
|
end
|
|
@@ -195,9 +195,7 @@ module PulpContainerClient
|
|
|
195
195
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
196
196
|
# @option opts [String] :md5 Filter results where md5 matches value
|
|
197
197
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
198
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
199
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
200
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
198
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
201
199
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
202
200
|
# @option opts [String] :sha1 Filter results where sha1 matches value
|
|
203
201
|
# @option opts [String] :sha224 Filter results where sha224 matches value
|
|
@@ -207,8 +205,8 @@ module PulpContainerClient
|
|
|
207
205
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
208
206
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
209
207
|
# @return [PaginatedArtifactResponseList]
|
|
210
|
-
def
|
|
211
|
-
data, _status_code, _headers =
|
|
208
|
+
def artifacts_list(opts = {})
|
|
209
|
+
data, _status_code, _headers = artifacts_list_with_http_info(opts)
|
|
212
210
|
data
|
|
213
211
|
end
|
|
214
212
|
|
|
@@ -218,9 +216,7 @@ module PulpContainerClient
|
|
|
218
216
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
219
217
|
# @option opts [String] :md5 Filter results where md5 matches value
|
|
220
218
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
221
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
222
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
223
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
219
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
224
220
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
225
221
|
# @option opts [String] :sha1 Filter results where sha1 matches value
|
|
226
222
|
# @option opts [String] :sha224 Filter results where sha224 matches value
|
|
@@ -230,9 +226,9 @@ module PulpContainerClient
|
|
|
230
226
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
231
227
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
232
228
|
# @return [Array<(PaginatedArtifactResponseList, Integer, Hash)>] PaginatedArtifactResponseList data, response status code and response headers
|
|
233
|
-
def
|
|
229
|
+
def artifacts_list_with_http_info(opts = {})
|
|
234
230
|
if @api_client.config.debugging
|
|
235
|
-
@api_client.config.logger.debug 'Calling API: ArtifactsApi.
|
|
231
|
+
@api_client.config.logger.debug 'Calling API: ArtifactsApi.artifacts_list ...'
|
|
236
232
|
end
|
|
237
233
|
allowable_values = ["-file", "-md5", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-sha1", "-sha224", "-sha256", "-sha384", "-sha512", "-size", "-timestamp_of_interest", "file", "md5", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "sha1", "sha224", "sha256", "sha384", "sha512", "size", "timestamp_of_interest"]
|
|
238
234
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
@@ -247,8 +243,6 @@ module PulpContainerClient
|
|
|
247
243
|
query_params[:'md5'] = opts[:'md5'] if !opts[:'md5'].nil?
|
|
248
244
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
249
245
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
250
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
251
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
252
246
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
253
247
|
query_params[:'sha1'] = opts[:'sha1'] if !opts[:'sha1'].nil?
|
|
254
248
|
query_params[:'sha224'] = opts[:'sha224'] if !opts[:'sha224'].nil?
|
|
@@ -286,7 +280,7 @@ module PulpContainerClient
|
|
|
286
280
|
|
|
287
281
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
288
282
|
if @api_client.config.debugging
|
|
289
|
-
@api_client.config.logger.debug "API called: ArtifactsApi#
|
|
283
|
+
@api_client.config.logger.debug "API called: ArtifactsApi#artifacts_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
290
284
|
end
|
|
291
285
|
return data, status_code, headers
|
|
292
286
|
end
|
|
@@ -298,8 +292,8 @@ module PulpContainerClient
|
|
|
298
292
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
299
293
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
300
294
|
# @return [ArtifactResponse]
|
|
301
|
-
def
|
|
302
|
-
data, _status_code, _headers =
|
|
295
|
+
def artifacts_read(artifact_href, opts = {})
|
|
296
|
+
data, _status_code, _headers = artifacts_read_with_http_info(artifact_href, opts)
|
|
303
297
|
data
|
|
304
298
|
end
|
|
305
299
|
|
|
@@ -310,13 +304,13 @@ module PulpContainerClient
|
|
|
310
304
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
311
305
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
312
306
|
# @return [Array<(ArtifactResponse, Integer, Hash)>] ArtifactResponse data, response status code and response headers
|
|
313
|
-
def
|
|
307
|
+
def artifacts_read_with_http_info(artifact_href, opts = {})
|
|
314
308
|
if @api_client.config.debugging
|
|
315
|
-
@api_client.config.logger.debug 'Calling API: ArtifactsApi.
|
|
309
|
+
@api_client.config.logger.debug 'Calling API: ArtifactsApi.artifacts_read ...'
|
|
316
310
|
end
|
|
317
311
|
# verify the required parameter 'artifact_href' is set
|
|
318
312
|
if @api_client.config.client_side_validation && artifact_href.nil?
|
|
319
|
-
fail ArgumentError, "Missing the required parameter 'artifact_href' when calling ArtifactsApi.
|
|
313
|
+
fail ArgumentError, "Missing the required parameter 'artifact_href' when calling ArtifactsApi.artifacts_read"
|
|
320
314
|
end
|
|
321
315
|
# resource path
|
|
322
316
|
local_var_path = '{artifact_href}'.sub('{' + 'artifact_href' + '}', CGI.escape(artifact_href.to_s).gsub('%2F', '/'))
|
|
@@ -354,7 +348,7 @@ module PulpContainerClient
|
|
|
354
348
|
|
|
355
349
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
356
350
|
if @api_client.config.debugging
|
|
357
|
-
@api_client.config.logger.debug "API called: ArtifactsApi#
|
|
351
|
+
@api_client.config.logger.debug "API called: ArtifactsApi#artifacts_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
358
352
|
end
|
|
359
353
|
return data, status_code, headers
|
|
360
354
|
end
|
|
@@ -24,18 +24,15 @@ module PulpContainerClient
|
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
27
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
28
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
29
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
30
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `core.publishedmetadata` - core.publishedmetadata * `container.blob` - container.blob * `container.manifest` - container.manifest * `container.tag` - container.tag * `container.signature` - container.signature
|
|
27
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
31
28
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
32
29
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
33
30
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
34
31
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
35
32
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
36
33
|
# @return [PaginatedMultipleArtifactContentResponseList]
|
|
37
|
-
def
|
|
38
|
-
data, _status_code, _headers =
|
|
34
|
+
def content_list(opts = {})
|
|
35
|
+
data, _status_code, _headers = content_list_with_http_info(opts)
|
|
39
36
|
data
|
|
40
37
|
end
|
|
41
38
|
|
|
@@ -44,28 +41,21 @@ module PulpContainerClient
|
|
|
44
41
|
# @param [Hash] opts the optional parameters
|
|
45
42
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
46
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
47
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
48
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
49
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
50
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `core.publishedmetadata` - core.publishedmetadata * `container.blob` - container.blob * `container.manifest` - container.manifest * `container.tag` - container.tag * `container.signature` - container.signature
|
|
44
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
51
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
52
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
53
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
54
48
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
55
49
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
56
50
|
# @return [Array<(PaginatedMultipleArtifactContentResponseList, Integer, Hash)>] PaginatedMultipleArtifactContentResponseList data, response status code and response headers
|
|
57
|
-
def
|
|
51
|
+
def content_list_with_http_info(opts = {})
|
|
58
52
|
if @api_client.config.debugging
|
|
59
|
-
@api_client.config.logger.debug 'Calling API: ContentApi.
|
|
53
|
+
@api_client.config.logger.debug 'Calling API: ContentApi.content_list ...'
|
|
60
54
|
end
|
|
61
55
|
allowable_values = ["-pk", "pk"]
|
|
62
56
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
63
57
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
64
58
|
end
|
|
65
|
-
allowable_values = ["container.blob", "container.manifest", "container.signature", "container.tag", "core.publishedmetadata"]
|
|
66
|
-
if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
|
|
67
|
-
fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
|
|
68
|
-
end
|
|
69
59
|
# resource path
|
|
70
60
|
local_var_path = '/pulp/api/v3/content/'
|
|
71
61
|
|
|
@@ -74,9 +64,6 @@ module PulpContainerClient
|
|
|
74
64
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
75
65
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
76
66
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
77
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
78
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
79
|
-
query_params[:'pulp_type__in'] = @api_client.build_collection_param(opts[:'pulp_type__in'], :csv) if !opts[:'pulp_type__in'].nil?
|
|
80
67
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
81
68
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
82
69
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -111,7 +98,7 @@ module PulpContainerClient
|
|
|
111
98
|
|
|
112
99
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
113
100
|
if @api_client.config.debugging
|
|
114
|
-
@api_client.config.logger.debug "API called: ContentApi#
|
|
101
|
+
@api_client.config.logger.debug "API called: ContentApi#content_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
115
102
|
end
|
|
116
103
|
return data, status_code, headers
|
|
117
104
|
end
|
|
@@ -26,17 +26,15 @@ module PulpContainerClient
|
|
|
26
26
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
27
27
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
28
28
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
29
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
30
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
31
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
29
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
32
30
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
33
31
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
34
32
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
35
33
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
36
34
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
37
35
|
# @return [PaginatedcontainerBlobResponseList]
|
|
38
|
-
def
|
|
39
|
-
data, _status_code, _headers =
|
|
36
|
+
def content_container_blobs_list(opts = {})
|
|
37
|
+
data, _status_code, _headers = content_container_blobs_list_with_http_info(opts)
|
|
40
38
|
data
|
|
41
39
|
end
|
|
42
40
|
|
|
@@ -47,18 +45,16 @@ module PulpContainerClient
|
|
|
47
45
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
48
46
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
49
47
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
50
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
51
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
52
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
48
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
53
49
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
54
50
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
55
51
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
56
52
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
57
53
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
58
54
|
# @return [Array<(PaginatedcontainerBlobResponseList, Integer, Hash)>] PaginatedcontainerBlobResponseList data, response status code and response headers
|
|
59
|
-
def
|
|
55
|
+
def content_container_blobs_list_with_http_info(opts = {})
|
|
60
56
|
if @api_client.config.debugging
|
|
61
|
-
@api_client.config.logger.debug 'Calling API: ContentBlobsApi.
|
|
57
|
+
@api_client.config.logger.debug 'Calling API: ContentBlobsApi.content_container_blobs_list ...'
|
|
62
58
|
end
|
|
63
59
|
allowable_values = ["-digest", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "digest", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
|
|
64
60
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
@@ -74,8 +70,6 @@ module PulpContainerClient
|
|
|
74
70
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
75
71
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
76
72
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
77
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
78
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
79
73
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
80
74
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
81
75
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -110,7 +104,7 @@ module PulpContainerClient
|
|
|
110
104
|
|
|
111
105
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
112
106
|
if @api_client.config.debugging
|
|
113
|
-
@api_client.config.logger.debug "API called: ContentBlobsApi#
|
|
107
|
+
@api_client.config.logger.debug "API called: ContentBlobsApi#content_container_blobs_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
114
108
|
end
|
|
115
109
|
return data, status_code, headers
|
|
116
110
|
end
|
|
@@ -122,8 +116,8 @@ module PulpContainerClient
|
|
|
122
116
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
123
117
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
124
118
|
# @return [ContainerBlobResponse]
|
|
125
|
-
def
|
|
126
|
-
data, _status_code, _headers =
|
|
119
|
+
def content_container_blobs_read(container_blob_href, opts = {})
|
|
120
|
+
data, _status_code, _headers = content_container_blobs_read_with_http_info(container_blob_href, opts)
|
|
127
121
|
data
|
|
128
122
|
end
|
|
129
123
|
|
|
@@ -134,13 +128,13 @@ module PulpContainerClient
|
|
|
134
128
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
135
129
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
136
130
|
# @return [Array<(ContainerBlobResponse, Integer, Hash)>] ContainerBlobResponse data, response status code and response headers
|
|
137
|
-
def
|
|
131
|
+
def content_container_blobs_read_with_http_info(container_blob_href, opts = {})
|
|
138
132
|
if @api_client.config.debugging
|
|
139
|
-
@api_client.config.logger.debug 'Calling API: ContentBlobsApi.
|
|
133
|
+
@api_client.config.logger.debug 'Calling API: ContentBlobsApi.content_container_blobs_read ...'
|
|
140
134
|
end
|
|
141
135
|
# verify the required parameter 'container_blob_href' is set
|
|
142
136
|
if @api_client.config.client_side_validation && container_blob_href.nil?
|
|
143
|
-
fail ArgumentError, "Missing the required parameter 'container_blob_href' when calling ContentBlobsApi.
|
|
137
|
+
fail ArgumentError, "Missing the required parameter 'container_blob_href' when calling ContentBlobsApi.content_container_blobs_read"
|
|
144
138
|
end
|
|
145
139
|
# resource path
|
|
146
140
|
local_var_path = '{container_blob_href}'.sub('{' + 'container_blob_href' + '}', CGI.escape(container_blob_href.to_s).gsub('%2F', '/'))
|
|
@@ -178,7 +172,7 @@ module PulpContainerClient
|
|
|
178
172
|
|
|
179
173
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
180
174
|
if @api_client.config.debugging
|
|
181
|
-
@api_client.config.logger.debug "API called: ContentBlobsApi#
|
|
175
|
+
@api_client.config.logger.debug "API called: ContentBlobsApi#content_container_blobs_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
182
176
|
end
|
|
183
177
|
return data, status_code, headers
|
|
184
178
|
end
|
|
@@ -25,19 +25,17 @@ module PulpContainerClient
|
|
|
25
25
|
# @option opts [String] :digest Filter results where digest matches value
|
|
26
26
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
27
27
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
28
|
-
# @option opts [Array<String>] :media_type
|
|
28
|
+
# @option opts [Array<String>] :media_type
|
|
29
29
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
30
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
31
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
32
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
30
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
33
31
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
34
32
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
35
33
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
36
34
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
37
35
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
38
36
|
# @return [PaginatedcontainerManifestResponseList]
|
|
39
|
-
def
|
|
40
|
-
data, _status_code, _headers =
|
|
37
|
+
def content_container_manifests_list(opts = {})
|
|
38
|
+
data, _status_code, _headers = content_container_manifests_list_with_http_info(opts)
|
|
41
39
|
data
|
|
42
40
|
end
|
|
43
41
|
|
|
@@ -47,20 +45,18 @@ module PulpContainerClient
|
|
|
47
45
|
# @option opts [String] :digest Filter results where digest matches value
|
|
48
46
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
49
47
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
50
|
-
# @option opts [Array<String>] :media_type
|
|
48
|
+
# @option opts [Array<String>] :media_type
|
|
51
49
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
52
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
53
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
54
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
50
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
55
51
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
56
52
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
57
53
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
58
54
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
59
55
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
60
56
|
# @return [Array<(PaginatedcontainerManifestResponseList, Integer, Hash)>] PaginatedcontainerManifestResponseList data, response status code and response headers
|
|
61
|
-
def
|
|
57
|
+
def content_container_manifests_list_with_http_info(opts = {})
|
|
62
58
|
if @api_client.config.debugging
|
|
63
|
-
@api_client.config.logger.debug 'Calling API: ContentManifestsApi.
|
|
59
|
+
@api_client.config.logger.debug 'Calling API: ContentManifestsApi.content_container_manifests_list ...'
|
|
64
60
|
end
|
|
65
61
|
allowable_values = ["application/vnd.docker.distribution.manifest.list.v2+json", "application/vnd.docker.distribution.manifest.v1+json", "application/vnd.docker.distribution.manifest.v2+json", "application/vnd.oci.image.index.v1+json", "application/vnd.oci.image.manifest.v1+json"]
|
|
66
62
|
if @api_client.config.client_side_validation && opts[:'media_type'] && !opts[:'media_type'].all? { |item| allowable_values.include?(item) }
|
|
@@ -81,8 +77,6 @@ module PulpContainerClient
|
|
|
81
77
|
query_params[:'media_type'] = @api_client.build_collection_param(opts[:'media_type'], :multi) if !opts[:'media_type'].nil?
|
|
82
78
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
83
79
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
84
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
85
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
86
80
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
87
81
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
88
82
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -117,7 +111,7 @@ module PulpContainerClient
|
|
|
117
111
|
|
|
118
112
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
119
113
|
if @api_client.config.debugging
|
|
120
|
-
@api_client.config.logger.debug "API called: ContentManifestsApi#
|
|
114
|
+
@api_client.config.logger.debug "API called: ContentManifestsApi#content_container_manifests_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
121
115
|
end
|
|
122
116
|
return data, status_code, headers
|
|
123
117
|
end
|
|
@@ -129,8 +123,8 @@ module PulpContainerClient
|
|
|
129
123
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
130
124
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
131
125
|
# @return [ContainerManifestResponse]
|
|
132
|
-
def
|
|
133
|
-
data, _status_code, _headers =
|
|
126
|
+
def content_container_manifests_read(container_manifest_href, opts = {})
|
|
127
|
+
data, _status_code, _headers = content_container_manifests_read_with_http_info(container_manifest_href, opts)
|
|
134
128
|
data
|
|
135
129
|
end
|
|
136
130
|
|
|
@@ -141,13 +135,13 @@ module PulpContainerClient
|
|
|
141
135
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
142
136
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
143
137
|
# @return [Array<(ContainerManifestResponse, Integer, Hash)>] ContainerManifestResponse data, response status code and response headers
|
|
144
|
-
def
|
|
138
|
+
def content_container_manifests_read_with_http_info(container_manifest_href, opts = {})
|
|
145
139
|
if @api_client.config.debugging
|
|
146
|
-
@api_client.config.logger.debug 'Calling API: ContentManifestsApi.
|
|
140
|
+
@api_client.config.logger.debug 'Calling API: ContentManifestsApi.content_container_manifests_read ...'
|
|
147
141
|
end
|
|
148
142
|
# verify the required parameter 'container_manifest_href' is set
|
|
149
143
|
if @api_client.config.client_side_validation && container_manifest_href.nil?
|
|
150
|
-
fail ArgumentError, "Missing the required parameter 'container_manifest_href' when calling ContentManifestsApi.
|
|
144
|
+
fail ArgumentError, "Missing the required parameter 'container_manifest_href' when calling ContentManifestsApi.content_container_manifests_read"
|
|
151
145
|
end
|
|
152
146
|
# resource path
|
|
153
147
|
local_var_path = '{container_manifest_href}'.sub('{' + 'container_manifest_href' + '}', CGI.escape(container_manifest_href.to_s).gsub('%2F', '/'))
|
|
@@ -185,7 +179,7 @@ module PulpContainerClient
|
|
|
185
179
|
|
|
186
180
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
187
181
|
if @api_client.config.debugging
|
|
188
|
-
@api_client.config.logger.debug "API called: ContentManifestsApi#
|
|
182
|
+
@api_client.config.logger.debug "API called: ContentManifestsApi#content_container_manifests_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
189
183
|
end
|
|
190
184
|
return data, status_code, headers
|
|
191
185
|
end
|
|
@@ -34,17 +34,15 @@ module PulpContainerClient
|
|
|
34
34
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
35
35
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
36
36
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
37
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
38
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
39
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
37
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
40
38
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
41
39
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
42
40
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
43
41
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
44
42
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
45
43
|
# @return [PaginatedcontainerManifestSignatureResponseList]
|
|
46
|
-
def
|
|
47
|
-
data, _status_code, _headers =
|
|
44
|
+
def content_container_signatures_list(opts = {})
|
|
45
|
+
data, _status_code, _headers = content_container_signatures_list_with_http_info(opts)
|
|
48
46
|
data
|
|
49
47
|
end
|
|
50
48
|
|
|
@@ -63,18 +61,16 @@ module PulpContainerClient
|
|
|
63
61
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
64
62
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
65
63
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
66
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
67
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
68
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
64
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
69
65
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
70
66
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
71
67
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
72
68
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
73
69
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
74
70
|
# @return [Array<(PaginatedcontainerManifestSignatureResponseList, Integer, Hash)>] PaginatedcontainerManifestSignatureResponseList data, response status code and response headers
|
|
75
|
-
def
|
|
71
|
+
def content_container_signatures_list_with_http_info(opts = {})
|
|
76
72
|
if @api_client.config.debugging
|
|
77
|
-
@api_client.config.logger.debug 'Calling API: ContentSignaturesApi.
|
|
73
|
+
@api_client.config.logger.debug 'Calling API: ContentSignaturesApi.content_container_signatures_list ...'
|
|
78
74
|
end
|
|
79
75
|
allowable_values = ["-creator", "-data", "-digest", "-key_id", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp", "-timestamp_of_interest", "-type", "-upstream_id", "creator", "data", "digest", "key_id", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp", "timestamp_of_interest", "type", "upstream_id"]
|
|
80
76
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
@@ -98,8 +94,6 @@ module PulpContainerClient
|
|
|
98
94
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
|
99
95
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
100
96
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
101
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
102
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
103
97
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
104
98
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
105
99
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -134,7 +128,7 @@ module PulpContainerClient
|
|
|
134
128
|
|
|
135
129
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
136
130
|
if @api_client.config.debugging
|
|
137
|
-
@api_client.config.logger.debug "API called: ContentSignaturesApi#
|
|
131
|
+
@api_client.config.logger.debug "API called: ContentSignaturesApi#content_container_signatures_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
138
132
|
end
|
|
139
133
|
return data, status_code, headers
|
|
140
134
|
end
|
|
@@ -146,8 +140,8 @@ module PulpContainerClient
|
|
|
146
140
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
147
141
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
148
142
|
# @return [ContainerManifestSignatureResponse]
|
|
149
|
-
def
|
|
150
|
-
data, _status_code, _headers =
|
|
143
|
+
def content_container_signatures_read(container_manifest_signature_href, opts = {})
|
|
144
|
+
data, _status_code, _headers = content_container_signatures_read_with_http_info(container_manifest_signature_href, opts)
|
|
151
145
|
data
|
|
152
146
|
end
|
|
153
147
|
|
|
@@ -158,13 +152,13 @@ module PulpContainerClient
|
|
|
158
152
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
159
153
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
160
154
|
# @return [Array<(ContainerManifestSignatureResponse, Integer, Hash)>] ContainerManifestSignatureResponse data, response status code and response headers
|
|
161
|
-
def
|
|
155
|
+
def content_container_signatures_read_with_http_info(container_manifest_signature_href, opts = {})
|
|
162
156
|
if @api_client.config.debugging
|
|
163
|
-
@api_client.config.logger.debug 'Calling API: ContentSignaturesApi.
|
|
157
|
+
@api_client.config.logger.debug 'Calling API: ContentSignaturesApi.content_container_signatures_read ...'
|
|
164
158
|
end
|
|
165
159
|
# verify the required parameter 'container_manifest_signature_href' is set
|
|
166
160
|
if @api_client.config.client_side_validation && container_manifest_signature_href.nil?
|
|
167
|
-
fail ArgumentError, "Missing the required parameter 'container_manifest_signature_href' when calling ContentSignaturesApi.
|
|
161
|
+
fail ArgumentError, "Missing the required parameter 'container_manifest_signature_href' when calling ContentSignaturesApi.content_container_signatures_read"
|
|
168
162
|
end
|
|
169
163
|
# resource path
|
|
170
164
|
local_var_path = '{container_manifest_signature_href}'.sub('{' + 'container_manifest_signature_href' + '}', CGI.escape(container_manifest_signature_href.to_s).gsub('%2F', '/'))
|
|
@@ -202,7 +196,7 @@ module PulpContainerClient
|
|
|
202
196
|
|
|
203
197
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
204
198
|
if @api_client.config.debugging
|
|
205
|
-
@api_client.config.logger.debug "API called: ContentSignaturesApi#
|
|
199
|
+
@api_client.config.logger.debug "API called: ContentSignaturesApi#content_container_signatures_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
206
200
|
end
|
|
207
201
|
return data, status_code, headers
|
|
208
202
|
end
|