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
|
@@ -25,8 +25,8 @@ module PulpContainerClient
|
|
|
25
25
|
# @param recursive_manage [RecursiveManage]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
27
|
# @return [AsyncOperationResponse]
|
|
28
|
-
def
|
|
29
|
-
data, _status_code, _headers =
|
|
28
|
+
def repositories_container_container_add(container_container_repository_href, recursive_manage, opts = {})
|
|
29
|
+
data, _status_code, _headers = repositories_container_container_add_with_http_info(container_container_repository_href, recursive_manage, opts)
|
|
30
30
|
data
|
|
31
31
|
end
|
|
32
32
|
|
|
@@ -36,17 +36,17 @@ module PulpContainerClient
|
|
|
36
36
|
# @param recursive_manage [RecursiveManage]
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
39
|
-
def
|
|
39
|
+
def repositories_container_container_add_with_http_info(container_container_repository_href, recursive_manage, opts = {})
|
|
40
40
|
if @api_client.config.debugging
|
|
41
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
|
41
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.repositories_container_container_add ...'
|
|
42
42
|
end
|
|
43
43
|
# verify the required parameter 'container_container_repository_href' is set
|
|
44
44
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
|
45
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
|
45
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.repositories_container_container_add"
|
|
46
46
|
end
|
|
47
47
|
# verify the required parameter 'recursive_manage' is set
|
|
48
48
|
if @api_client.config.client_side_validation && recursive_manage.nil?
|
|
49
|
-
fail ArgumentError, "Missing the required parameter 'recursive_manage' when calling RepositoriesContainerApi.
|
|
49
|
+
fail ArgumentError, "Missing the required parameter 'recursive_manage' when calling RepositoriesContainerApi.repositories_container_container_add"
|
|
50
50
|
end
|
|
51
51
|
# resource path
|
|
52
52
|
local_var_path = '{container_container_repository_href}add/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
|
@@ -84,7 +84,7 @@ module PulpContainerClient
|
|
|
84
84
|
|
|
85
85
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
86
86
|
if @api_client.config.debugging
|
|
87
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
|
87
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#repositories_container_container_add\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
88
88
|
end
|
|
89
89
|
return data, status_code, headers
|
|
90
90
|
end
|
|
@@ -94,8 +94,8 @@ module PulpContainerClient
|
|
|
94
94
|
# @param nested_role [NestedRole]
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
96
|
# @return [NestedRoleResponse]
|
|
97
|
-
def
|
|
98
|
-
data, _status_code, _headers =
|
|
97
|
+
def repositories_container_container_add_role(container_container_repository_href, nested_role, opts = {})
|
|
98
|
+
data, _status_code, _headers = repositories_container_container_add_role_with_http_info(container_container_repository_href, nested_role, opts)
|
|
99
99
|
data
|
|
100
100
|
end
|
|
101
101
|
|
|
@@ -104,17 +104,17 @@ module PulpContainerClient
|
|
|
104
104
|
# @param nested_role [NestedRole]
|
|
105
105
|
# @param [Hash] opts the optional parameters
|
|
106
106
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
107
|
-
def
|
|
107
|
+
def repositories_container_container_add_role_with_http_info(container_container_repository_href, nested_role, opts = {})
|
|
108
108
|
if @api_client.config.debugging
|
|
109
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
|
109
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.repositories_container_container_add_role ...'
|
|
110
110
|
end
|
|
111
111
|
# verify the required parameter 'container_container_repository_href' is set
|
|
112
112
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
|
113
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
|
113
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.repositories_container_container_add_role"
|
|
114
114
|
end
|
|
115
115
|
# verify the required parameter 'nested_role' is set
|
|
116
116
|
if @api_client.config.client_side_validation && nested_role.nil?
|
|
117
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling RepositoriesContainerApi.
|
|
117
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling RepositoriesContainerApi.repositories_container_container_add_role"
|
|
118
118
|
end
|
|
119
119
|
# resource path
|
|
120
120
|
local_var_path = '{container_container_repository_href}add_role/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
|
@@ -152,7 +152,7 @@ module PulpContainerClient
|
|
|
152
152
|
|
|
153
153
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
154
154
|
if @api_client.config.debugging
|
|
155
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
|
155
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#repositories_container_container_add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
156
156
|
end
|
|
157
157
|
return data, status_code, headers
|
|
158
158
|
end
|
|
@@ -166,8 +166,8 @@ module PulpContainerClient
|
|
|
166
166
|
# @option opts [String] :tag A tag name for the new image being built. (default to 'latest')
|
|
167
167
|
# @option opts [Object] :artifacts A JSON string where each key is an artifact href and the value is it's relative path (name) inside the /pulp_working_directory of the build container executing the Containerfile.
|
|
168
168
|
# @return [AsyncOperationResponse]
|
|
169
|
-
def
|
|
170
|
-
data, _status_code, _headers =
|
|
169
|
+
def repositories_container_container_build_image(container_container_repository_href, opts = {})
|
|
170
|
+
data, _status_code, _headers = repositories_container_container_build_image_with_http_info(container_container_repository_href, opts)
|
|
171
171
|
data
|
|
172
172
|
end
|
|
173
173
|
|
|
@@ -180,16 +180,16 @@ module PulpContainerClient
|
|
|
180
180
|
# @option opts [String] :tag A tag name for the new image being built.
|
|
181
181
|
# @option opts [Object] :artifacts A JSON string where each key is an artifact href and the value is it's relative path (name) inside the /pulp_working_directory of the build container executing the Containerfile.
|
|
182
182
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
183
|
-
def
|
|
183
|
+
def repositories_container_container_build_image_with_http_info(container_container_repository_href, opts = {})
|
|
184
184
|
if @api_client.config.debugging
|
|
185
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
|
185
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.repositories_container_container_build_image ...'
|
|
186
186
|
end
|
|
187
187
|
# verify the required parameter 'container_container_repository_href' is set
|
|
188
188
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
|
189
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
|
189
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.repositories_container_container_build_image"
|
|
190
190
|
end
|
|
191
191
|
if @api_client.config.client_side_validation && !opts[:'tag'].nil? && opts[:'tag'].to_s.length < 1
|
|
192
|
-
fail ArgumentError, 'invalid value for "opts[:"tag"]" when calling RepositoriesContainerApi.
|
|
192
|
+
fail ArgumentError, 'invalid value for "opts[:"tag"]" when calling RepositoriesContainerApi.repositories_container_container_build_image, the character length must be great than or equal to 1.'
|
|
193
193
|
end
|
|
194
194
|
|
|
195
195
|
# resource path
|
|
@@ -232,7 +232,7 @@ module PulpContainerClient
|
|
|
232
232
|
|
|
233
233
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
234
234
|
if @api_client.config.debugging
|
|
235
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
|
235
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#repositories_container_container_build_image\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
236
236
|
end
|
|
237
237
|
return data, status_code, headers
|
|
238
238
|
end
|
|
@@ -243,8 +243,8 @@ module PulpContainerClient
|
|
|
243
243
|
# @param manifest_copy [ManifestCopy]
|
|
244
244
|
# @param [Hash] opts the optional parameters
|
|
245
245
|
# @return [AsyncOperationResponse]
|
|
246
|
-
def
|
|
247
|
-
data, _status_code, _headers =
|
|
246
|
+
def repositories_container_container_copy_manifests(container_container_repository_href, manifest_copy, opts = {})
|
|
247
|
+
data, _status_code, _headers = repositories_container_container_copy_manifests_with_http_info(container_container_repository_href, manifest_copy, opts)
|
|
248
248
|
data
|
|
249
249
|
end
|
|
250
250
|
|
|
@@ -254,17 +254,17 @@ module PulpContainerClient
|
|
|
254
254
|
# @param manifest_copy [ManifestCopy]
|
|
255
255
|
# @param [Hash] opts the optional parameters
|
|
256
256
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
257
|
-
def
|
|
257
|
+
def repositories_container_container_copy_manifests_with_http_info(container_container_repository_href, manifest_copy, opts = {})
|
|
258
258
|
if @api_client.config.debugging
|
|
259
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
|
259
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.repositories_container_container_copy_manifests ...'
|
|
260
260
|
end
|
|
261
261
|
# verify the required parameter 'container_container_repository_href' is set
|
|
262
262
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
|
263
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
|
263
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.repositories_container_container_copy_manifests"
|
|
264
264
|
end
|
|
265
265
|
# verify the required parameter 'manifest_copy' is set
|
|
266
266
|
if @api_client.config.client_side_validation && manifest_copy.nil?
|
|
267
|
-
fail ArgumentError, "Missing the required parameter 'manifest_copy' when calling RepositoriesContainerApi.
|
|
267
|
+
fail ArgumentError, "Missing the required parameter 'manifest_copy' when calling RepositoriesContainerApi.repositories_container_container_copy_manifests"
|
|
268
268
|
end
|
|
269
269
|
# resource path
|
|
270
270
|
local_var_path = '{container_container_repository_href}copy_manifests/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
|
@@ -302,7 +302,7 @@ module PulpContainerClient
|
|
|
302
302
|
|
|
303
303
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
304
304
|
if @api_client.config.debugging
|
|
305
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
|
305
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#repositories_container_container_copy_manifests\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
306
306
|
end
|
|
307
307
|
return data, status_code, headers
|
|
308
308
|
end
|
|
@@ -313,8 +313,8 @@ module PulpContainerClient
|
|
|
313
313
|
# @param tag_copy [TagCopy]
|
|
314
314
|
# @param [Hash] opts the optional parameters
|
|
315
315
|
# @return [AsyncOperationResponse]
|
|
316
|
-
def
|
|
317
|
-
data, _status_code, _headers =
|
|
316
|
+
def repositories_container_container_copy_tags(container_container_repository_href, tag_copy, opts = {})
|
|
317
|
+
data, _status_code, _headers = repositories_container_container_copy_tags_with_http_info(container_container_repository_href, tag_copy, opts)
|
|
318
318
|
data
|
|
319
319
|
end
|
|
320
320
|
|
|
@@ -324,17 +324,17 @@ module PulpContainerClient
|
|
|
324
324
|
# @param tag_copy [TagCopy]
|
|
325
325
|
# @param [Hash] opts the optional parameters
|
|
326
326
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
327
|
-
def
|
|
327
|
+
def repositories_container_container_copy_tags_with_http_info(container_container_repository_href, tag_copy, opts = {})
|
|
328
328
|
if @api_client.config.debugging
|
|
329
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
|
329
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.repositories_container_container_copy_tags ...'
|
|
330
330
|
end
|
|
331
331
|
# verify the required parameter 'container_container_repository_href' is set
|
|
332
332
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
|
333
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
|
333
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.repositories_container_container_copy_tags"
|
|
334
334
|
end
|
|
335
335
|
# verify the required parameter 'tag_copy' is set
|
|
336
336
|
if @api_client.config.client_side_validation && tag_copy.nil?
|
|
337
|
-
fail ArgumentError, "Missing the required parameter 'tag_copy' when calling RepositoriesContainerApi.
|
|
337
|
+
fail ArgumentError, "Missing the required parameter 'tag_copy' when calling RepositoriesContainerApi.repositories_container_container_copy_tags"
|
|
338
338
|
end
|
|
339
339
|
# resource path
|
|
340
340
|
local_var_path = '{container_container_repository_href}copy_tags/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
|
@@ -372,7 +372,7 @@ module PulpContainerClient
|
|
|
372
372
|
|
|
373
373
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
374
374
|
if @api_client.config.debugging
|
|
375
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
|
375
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#repositories_container_container_copy_tags\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
376
376
|
end
|
|
377
377
|
return data, status_code, headers
|
|
378
378
|
end
|
|
@@ -382,8 +382,8 @@ module PulpContainerClient
|
|
|
382
382
|
# @param container_container_repository [ContainerContainerRepository]
|
|
383
383
|
# @param [Hash] opts the optional parameters
|
|
384
384
|
# @return [ContainerContainerRepositoryResponse]
|
|
385
|
-
def
|
|
386
|
-
data, _status_code, _headers =
|
|
385
|
+
def repositories_container_container_create(container_container_repository, opts = {})
|
|
386
|
+
data, _status_code, _headers = repositories_container_container_create_with_http_info(container_container_repository, opts)
|
|
387
387
|
data
|
|
388
388
|
end
|
|
389
389
|
|
|
@@ -392,13 +392,13 @@ module PulpContainerClient
|
|
|
392
392
|
# @param container_container_repository [ContainerContainerRepository]
|
|
393
393
|
# @param [Hash] opts the optional parameters
|
|
394
394
|
# @return [Array<(ContainerContainerRepositoryResponse, Integer, Hash)>] ContainerContainerRepositoryResponse data, response status code and response headers
|
|
395
|
-
def
|
|
395
|
+
def repositories_container_container_create_with_http_info(container_container_repository, opts = {})
|
|
396
396
|
if @api_client.config.debugging
|
|
397
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
|
397
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.repositories_container_container_create ...'
|
|
398
398
|
end
|
|
399
399
|
# verify the required parameter 'container_container_repository' is set
|
|
400
400
|
if @api_client.config.client_side_validation && container_container_repository.nil?
|
|
401
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository' when calling RepositoriesContainerApi.
|
|
401
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository' when calling RepositoriesContainerApi.repositories_container_container_create"
|
|
402
402
|
end
|
|
403
403
|
# resource path
|
|
404
404
|
local_var_path = '/pulp/api/v3/repositories/container/container/'
|
|
@@ -436,7 +436,7 @@ module PulpContainerClient
|
|
|
436
436
|
|
|
437
437
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
438
438
|
if @api_client.config.debugging
|
|
439
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
|
439
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#repositories_container_container_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
440
440
|
end
|
|
441
441
|
return data, status_code, headers
|
|
442
442
|
end
|
|
@@ -446,8 +446,8 @@ module PulpContainerClient
|
|
|
446
446
|
# @param container_container_repository_href [String]
|
|
447
447
|
# @param [Hash] opts the optional parameters
|
|
448
448
|
# @return [AsyncOperationResponse]
|
|
449
|
-
def
|
|
450
|
-
data, _status_code, _headers =
|
|
449
|
+
def repositories_container_container_delete(container_container_repository_href, opts = {})
|
|
450
|
+
data, _status_code, _headers = repositories_container_container_delete_with_http_info(container_container_repository_href, opts)
|
|
451
451
|
data
|
|
452
452
|
end
|
|
453
453
|
|
|
@@ -456,13 +456,13 @@ module PulpContainerClient
|
|
|
456
456
|
# @param container_container_repository_href [String]
|
|
457
457
|
# @param [Hash] opts the optional parameters
|
|
458
458
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
459
|
-
def
|
|
459
|
+
def repositories_container_container_delete_with_http_info(container_container_repository_href, opts = {})
|
|
460
460
|
if @api_client.config.debugging
|
|
461
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
|
461
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.repositories_container_container_delete ...'
|
|
462
462
|
end
|
|
463
463
|
# verify the required parameter 'container_container_repository_href' is set
|
|
464
464
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
|
465
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
|
465
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.repositories_container_container_delete"
|
|
466
466
|
end
|
|
467
467
|
# resource path
|
|
468
468
|
local_var_path = '{container_container_repository_href}'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
|
@@ -498,7 +498,7 @@ module PulpContainerClient
|
|
|
498
498
|
|
|
499
499
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
500
500
|
if @api_client.config.debugging
|
|
501
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
|
501
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#repositories_container_container_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
502
502
|
end
|
|
503
503
|
return data, status_code, headers
|
|
504
504
|
end
|
|
@@ -513,24 +513,14 @@ module PulpContainerClient
|
|
|
513
513
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
514
514
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
515
515
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
516
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
517
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
518
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
516
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
519
517
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
520
518
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
|
521
|
-
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
522
|
-
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
523
|
-
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
524
|
-
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
|
525
|
-
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
|
526
|
-
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
|
527
|
-
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
|
528
|
-
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
|
529
519
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
530
520
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
531
521
|
# @return [PaginatedcontainerContainerRepositoryResponseList]
|
|
532
|
-
def
|
|
533
|
-
data, _status_code, _headers =
|
|
522
|
+
def repositories_container_container_list(opts = {})
|
|
523
|
+
data, _status_code, _headers = repositories_container_container_list_with_http_info(opts)
|
|
534
524
|
data
|
|
535
525
|
end
|
|
536
526
|
|
|
@@ -544,25 +534,15 @@ module PulpContainerClient
|
|
|
544
534
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
545
535
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
546
536
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
547
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
548
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
549
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
537
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
550
538
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
551
539
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
|
552
|
-
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
553
|
-
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
554
|
-
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
555
|
-
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
|
556
|
-
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
|
557
|
-
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
|
558
|
-
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
|
559
|
-
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
|
560
540
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
561
541
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
562
542
|
# @return [Array<(PaginatedcontainerContainerRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerRepositoryResponseList data, response status code and response headers
|
|
563
|
-
def
|
|
543
|
+
def repositories_container_container_list_with_http_info(opts = {})
|
|
564
544
|
if @api_client.config.debugging
|
|
565
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
|
545
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.repositories_container_container_list ...'
|
|
566
546
|
end
|
|
567
547
|
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
|
568
548
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
@@ -581,18 +561,8 @@ module PulpContainerClient
|
|
|
581
561
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
|
582
562
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
583
563
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
584
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
585
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
586
564
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
587
565
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
|
588
|
-
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
|
589
|
-
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
|
590
|
-
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
|
591
|
-
query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
|
|
592
|
-
query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
|
|
593
|
-
query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
|
|
594
|
-
query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
|
|
595
|
-
query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
|
|
596
566
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
597
567
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
598
568
|
|
|
@@ -624,7 +594,7 @@ module PulpContainerClient
|
|
|
624
594
|
|
|
625
595
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
626
596
|
if @api_client.config.debugging
|
|
627
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
|
597
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#repositories_container_container_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
628
598
|
end
|
|
629
599
|
return data, status_code, headers
|
|
630
600
|
end
|
|
@@ -635,8 +605,8 @@ module PulpContainerClient
|
|
|
635
605
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
636
606
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
637
607
|
# @return [ObjectRolesResponse]
|
|
638
|
-
def
|
|
639
|
-
data, _status_code, _headers =
|
|
608
|
+
def repositories_container_container_list_roles(container_container_repository_href, opts = {})
|
|
609
|
+
data, _status_code, _headers = repositories_container_container_list_roles_with_http_info(container_container_repository_href, opts)
|
|
640
610
|
data
|
|
641
611
|
end
|
|
642
612
|
|
|
@@ -646,13 +616,13 @@ module PulpContainerClient
|
|
|
646
616
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
647
617
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
648
618
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
649
|
-
def
|
|
619
|
+
def repositories_container_container_list_roles_with_http_info(container_container_repository_href, opts = {})
|
|
650
620
|
if @api_client.config.debugging
|
|
651
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
|
621
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.repositories_container_container_list_roles ...'
|
|
652
622
|
end
|
|
653
623
|
# verify the required parameter 'container_container_repository_href' is set
|
|
654
624
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
|
655
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
|
625
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.repositories_container_container_list_roles"
|
|
656
626
|
end
|
|
657
627
|
# resource path
|
|
658
628
|
local_var_path = '{container_container_repository_href}list_roles/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
|
@@ -690,7 +660,7 @@ module PulpContainerClient
|
|
|
690
660
|
|
|
691
661
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
692
662
|
if @api_client.config.debugging
|
|
693
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
|
663
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#repositories_container_container_list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
694
664
|
end
|
|
695
665
|
return data, status_code, headers
|
|
696
666
|
end
|
|
@@ -701,8 +671,8 @@ module PulpContainerClient
|
|
|
701
671
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
702
672
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
703
673
|
# @return [MyPermissionsResponse]
|
|
704
|
-
def
|
|
705
|
-
data, _status_code, _headers =
|
|
674
|
+
def repositories_container_container_my_permissions(container_container_repository_href, opts = {})
|
|
675
|
+
data, _status_code, _headers = repositories_container_container_my_permissions_with_http_info(container_container_repository_href, opts)
|
|
706
676
|
data
|
|
707
677
|
end
|
|
708
678
|
|
|
@@ -712,13 +682,13 @@ module PulpContainerClient
|
|
|
712
682
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
713
683
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
714
684
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
715
|
-
def
|
|
685
|
+
def repositories_container_container_my_permissions_with_http_info(container_container_repository_href, opts = {})
|
|
716
686
|
if @api_client.config.debugging
|
|
717
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
|
687
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.repositories_container_container_my_permissions ...'
|
|
718
688
|
end
|
|
719
689
|
# verify the required parameter 'container_container_repository_href' is set
|
|
720
690
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
|
721
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
|
691
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.repositories_container_container_my_permissions"
|
|
722
692
|
end
|
|
723
693
|
# resource path
|
|
724
694
|
local_var_path = '{container_container_repository_href}my_permissions/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
|
@@ -756,7 +726,7 @@ module PulpContainerClient
|
|
|
756
726
|
|
|
757
727
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
758
728
|
if @api_client.config.debugging
|
|
759
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
|
729
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#repositories_container_container_my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
760
730
|
end
|
|
761
731
|
return data, status_code, headers
|
|
762
732
|
end
|
|
@@ -767,8 +737,8 @@ module PulpContainerClient
|
|
|
767
737
|
# @param patchedcontainer_container_repository [PatchedcontainerContainerRepository]
|
|
768
738
|
# @param [Hash] opts the optional parameters
|
|
769
739
|
# @return [AsyncOperationResponse]
|
|
770
|
-
def
|
|
771
|
-
data, _status_code, _headers =
|
|
740
|
+
def repositories_container_container_partial_update(container_container_repository_href, patchedcontainer_container_repository, opts = {})
|
|
741
|
+
data, _status_code, _headers = repositories_container_container_partial_update_with_http_info(container_container_repository_href, patchedcontainer_container_repository, opts)
|
|
772
742
|
data
|
|
773
743
|
end
|
|
774
744
|
|
|
@@ -778,17 +748,17 @@ module PulpContainerClient
|
|
|
778
748
|
# @param patchedcontainer_container_repository [PatchedcontainerContainerRepository]
|
|
779
749
|
# @param [Hash] opts the optional parameters
|
|
780
750
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
781
|
-
def
|
|
751
|
+
def repositories_container_container_partial_update_with_http_info(container_container_repository_href, patchedcontainer_container_repository, opts = {})
|
|
782
752
|
if @api_client.config.debugging
|
|
783
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
|
753
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.repositories_container_container_partial_update ...'
|
|
784
754
|
end
|
|
785
755
|
# verify the required parameter 'container_container_repository_href' is set
|
|
786
756
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
|
787
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
|
757
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.repositories_container_container_partial_update"
|
|
788
758
|
end
|
|
789
759
|
# verify the required parameter 'patchedcontainer_container_repository' is set
|
|
790
760
|
if @api_client.config.client_side_validation && patchedcontainer_container_repository.nil?
|
|
791
|
-
fail ArgumentError, "Missing the required parameter 'patchedcontainer_container_repository' when calling RepositoriesContainerApi.
|
|
761
|
+
fail ArgumentError, "Missing the required parameter 'patchedcontainer_container_repository' when calling RepositoriesContainerApi.repositories_container_container_partial_update"
|
|
792
762
|
end
|
|
793
763
|
# resource path
|
|
794
764
|
local_var_path = '{container_container_repository_href}'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
|
@@ -826,7 +796,7 @@ module PulpContainerClient
|
|
|
826
796
|
|
|
827
797
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
828
798
|
if @api_client.config.debugging
|
|
829
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
|
799
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#repositories_container_container_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
830
800
|
end
|
|
831
801
|
return data, status_code, headers
|
|
832
802
|
end
|
|
@@ -838,8 +808,8 @@ module PulpContainerClient
|
|
|
838
808
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
839
809
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
840
810
|
# @return [ContainerContainerRepositoryResponse]
|
|
841
|
-
def
|
|
842
|
-
data, _status_code, _headers =
|
|
811
|
+
def repositories_container_container_read(container_container_repository_href, opts = {})
|
|
812
|
+
data, _status_code, _headers = repositories_container_container_read_with_http_info(container_container_repository_href, opts)
|
|
843
813
|
data
|
|
844
814
|
end
|
|
845
815
|
|
|
@@ -850,13 +820,13 @@ module PulpContainerClient
|
|
|
850
820
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
851
821
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
852
822
|
# @return [Array<(ContainerContainerRepositoryResponse, Integer, Hash)>] ContainerContainerRepositoryResponse data, response status code and response headers
|
|
853
|
-
def
|
|
823
|
+
def repositories_container_container_read_with_http_info(container_container_repository_href, opts = {})
|
|
854
824
|
if @api_client.config.debugging
|
|
855
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
|
825
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.repositories_container_container_read ...'
|
|
856
826
|
end
|
|
857
827
|
# verify the required parameter 'container_container_repository_href' is set
|
|
858
828
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
|
859
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
|
829
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.repositories_container_container_read"
|
|
860
830
|
end
|
|
861
831
|
# resource path
|
|
862
832
|
local_var_path = '{container_container_repository_href}'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
|
@@ -894,7 +864,7 @@ module PulpContainerClient
|
|
|
894
864
|
|
|
895
865
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
896
866
|
if @api_client.config.debugging
|
|
897
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
|
867
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#repositories_container_container_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
898
868
|
end
|
|
899
869
|
return data, status_code, headers
|
|
900
870
|
end
|
|
@@ -905,8 +875,8 @@ module PulpContainerClient
|
|
|
905
875
|
# @param recursive_manage [RecursiveManage]
|
|
906
876
|
# @param [Hash] opts the optional parameters
|
|
907
877
|
# @return [AsyncOperationResponse]
|
|
908
|
-
def
|
|
909
|
-
data, _status_code, _headers =
|
|
878
|
+
def repositories_container_container_remove(container_container_repository_href, recursive_manage, opts = {})
|
|
879
|
+
data, _status_code, _headers = repositories_container_container_remove_with_http_info(container_container_repository_href, recursive_manage, opts)
|
|
910
880
|
data
|
|
911
881
|
end
|
|
912
882
|
|
|
@@ -916,17 +886,17 @@ module PulpContainerClient
|
|
|
916
886
|
# @param recursive_manage [RecursiveManage]
|
|
917
887
|
# @param [Hash] opts the optional parameters
|
|
918
888
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
919
|
-
def
|
|
889
|
+
def repositories_container_container_remove_with_http_info(container_container_repository_href, recursive_manage, opts = {})
|
|
920
890
|
if @api_client.config.debugging
|
|
921
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
|
891
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.repositories_container_container_remove ...'
|
|
922
892
|
end
|
|
923
893
|
# verify the required parameter 'container_container_repository_href' is set
|
|
924
894
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
|
925
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
|
895
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.repositories_container_container_remove"
|
|
926
896
|
end
|
|
927
897
|
# verify the required parameter 'recursive_manage' is set
|
|
928
898
|
if @api_client.config.client_side_validation && recursive_manage.nil?
|
|
929
|
-
fail ArgumentError, "Missing the required parameter 'recursive_manage' when calling RepositoriesContainerApi.
|
|
899
|
+
fail ArgumentError, "Missing the required parameter 'recursive_manage' when calling RepositoriesContainerApi.repositories_container_container_remove"
|
|
930
900
|
end
|
|
931
901
|
# resource path
|
|
932
902
|
local_var_path = '{container_container_repository_href}remove/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
|
@@ -964,7 +934,7 @@ module PulpContainerClient
|
|
|
964
934
|
|
|
965
935
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
966
936
|
if @api_client.config.debugging
|
|
967
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
|
937
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#repositories_container_container_remove\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
968
938
|
end
|
|
969
939
|
return data, status_code, headers
|
|
970
940
|
end
|
|
@@ -974,8 +944,8 @@ module PulpContainerClient
|
|
|
974
944
|
# @param nested_role [NestedRole]
|
|
975
945
|
# @param [Hash] opts the optional parameters
|
|
976
946
|
# @return [NestedRoleResponse]
|
|
977
|
-
def
|
|
978
|
-
data, _status_code, _headers =
|
|
947
|
+
def repositories_container_container_remove_role(container_container_repository_href, nested_role, opts = {})
|
|
948
|
+
data, _status_code, _headers = repositories_container_container_remove_role_with_http_info(container_container_repository_href, nested_role, opts)
|
|
979
949
|
data
|
|
980
950
|
end
|
|
981
951
|
|
|
@@ -984,17 +954,17 @@ module PulpContainerClient
|
|
|
984
954
|
# @param nested_role [NestedRole]
|
|
985
955
|
# @param [Hash] opts the optional parameters
|
|
986
956
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
987
|
-
def
|
|
957
|
+
def repositories_container_container_remove_role_with_http_info(container_container_repository_href, nested_role, opts = {})
|
|
988
958
|
if @api_client.config.debugging
|
|
989
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
|
959
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.repositories_container_container_remove_role ...'
|
|
990
960
|
end
|
|
991
961
|
# verify the required parameter 'container_container_repository_href' is set
|
|
992
962
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
|
993
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
|
963
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.repositories_container_container_remove_role"
|
|
994
964
|
end
|
|
995
965
|
# verify the required parameter 'nested_role' is set
|
|
996
966
|
if @api_client.config.client_side_validation && nested_role.nil?
|
|
997
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling RepositoriesContainerApi.
|
|
967
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling RepositoriesContainerApi.repositories_container_container_remove_role"
|
|
998
968
|
end
|
|
999
969
|
# resource path
|
|
1000
970
|
local_var_path = '{container_container_repository_href}remove_role/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
|
@@ -1032,7 +1002,7 @@ module PulpContainerClient
|
|
|
1032
1002
|
|
|
1033
1003
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1034
1004
|
if @api_client.config.debugging
|
|
1035
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
|
1005
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#repositories_container_container_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1036
1006
|
end
|
|
1037
1007
|
return data, status_code, headers
|
|
1038
1008
|
end
|
|
@@ -1043,8 +1013,8 @@ module PulpContainerClient
|
|
|
1043
1013
|
# @param repository_sign [RepositorySign]
|
|
1044
1014
|
# @param [Hash] opts the optional parameters
|
|
1045
1015
|
# @return [AsyncOperationResponse]
|
|
1046
|
-
def
|
|
1047
|
-
data, _status_code, _headers =
|
|
1016
|
+
def repositories_container_container_sign(container_container_repository_href, repository_sign, opts = {})
|
|
1017
|
+
data, _status_code, _headers = repositories_container_container_sign_with_http_info(container_container_repository_href, repository_sign, opts)
|
|
1048
1018
|
data
|
|
1049
1019
|
end
|
|
1050
1020
|
|
|
@@ -1054,17 +1024,17 @@ module PulpContainerClient
|
|
|
1054
1024
|
# @param repository_sign [RepositorySign]
|
|
1055
1025
|
# @param [Hash] opts the optional parameters
|
|
1056
1026
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
1057
|
-
def
|
|
1027
|
+
def repositories_container_container_sign_with_http_info(container_container_repository_href, repository_sign, opts = {})
|
|
1058
1028
|
if @api_client.config.debugging
|
|
1059
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
|
1029
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.repositories_container_container_sign ...'
|
|
1060
1030
|
end
|
|
1061
1031
|
# verify the required parameter 'container_container_repository_href' is set
|
|
1062
1032
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
|
1063
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
|
1033
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.repositories_container_container_sign"
|
|
1064
1034
|
end
|
|
1065
1035
|
# verify the required parameter 'repository_sign' is set
|
|
1066
1036
|
if @api_client.config.client_side_validation && repository_sign.nil?
|
|
1067
|
-
fail ArgumentError, "Missing the required parameter 'repository_sign' when calling RepositoriesContainerApi.
|
|
1037
|
+
fail ArgumentError, "Missing the required parameter 'repository_sign' when calling RepositoriesContainerApi.repositories_container_container_sign"
|
|
1068
1038
|
end
|
|
1069
1039
|
# resource path
|
|
1070
1040
|
local_var_path = '{container_container_repository_href}sign/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
|
@@ -1102,7 +1072,7 @@ module PulpContainerClient
|
|
|
1102
1072
|
|
|
1103
1073
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1104
1074
|
if @api_client.config.debugging
|
|
1105
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
|
1075
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#repositories_container_container_sign\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1106
1076
|
end
|
|
1107
1077
|
return data, status_code, headers
|
|
1108
1078
|
end
|
|
@@ -1113,8 +1083,8 @@ module PulpContainerClient
|
|
|
1113
1083
|
# @param container_repository_sync_url [ContainerRepositorySyncURL]
|
|
1114
1084
|
# @param [Hash] opts the optional parameters
|
|
1115
1085
|
# @return [AsyncOperationResponse]
|
|
1116
|
-
def
|
|
1117
|
-
data, _status_code, _headers =
|
|
1086
|
+
def repositories_container_container_sync(container_container_repository_href, container_repository_sync_url, opts = {})
|
|
1087
|
+
data, _status_code, _headers = repositories_container_container_sync_with_http_info(container_container_repository_href, container_repository_sync_url, opts)
|
|
1118
1088
|
data
|
|
1119
1089
|
end
|
|
1120
1090
|
|
|
@@ -1124,17 +1094,17 @@ module PulpContainerClient
|
|
|
1124
1094
|
# @param container_repository_sync_url [ContainerRepositorySyncURL]
|
|
1125
1095
|
# @param [Hash] opts the optional parameters
|
|
1126
1096
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
1127
|
-
def
|
|
1097
|
+
def repositories_container_container_sync_with_http_info(container_container_repository_href, container_repository_sync_url, opts = {})
|
|
1128
1098
|
if @api_client.config.debugging
|
|
1129
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
|
1099
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.repositories_container_container_sync ...'
|
|
1130
1100
|
end
|
|
1131
1101
|
# verify the required parameter 'container_container_repository_href' is set
|
|
1132
1102
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
|
1133
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
|
1103
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.repositories_container_container_sync"
|
|
1134
1104
|
end
|
|
1135
1105
|
# verify the required parameter 'container_repository_sync_url' is set
|
|
1136
1106
|
if @api_client.config.client_side_validation && container_repository_sync_url.nil?
|
|
1137
|
-
fail ArgumentError, "Missing the required parameter 'container_repository_sync_url' when calling RepositoriesContainerApi.
|
|
1107
|
+
fail ArgumentError, "Missing the required parameter 'container_repository_sync_url' when calling RepositoriesContainerApi.repositories_container_container_sync"
|
|
1138
1108
|
end
|
|
1139
1109
|
# resource path
|
|
1140
1110
|
local_var_path = '{container_container_repository_href}sync/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
|
@@ -1172,7 +1142,7 @@ module PulpContainerClient
|
|
|
1172
1142
|
|
|
1173
1143
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1174
1144
|
if @api_client.config.debugging
|
|
1175
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
|
1145
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#repositories_container_container_sync\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1176
1146
|
end
|
|
1177
1147
|
return data, status_code, headers
|
|
1178
1148
|
end
|
|
@@ -1183,8 +1153,8 @@ module PulpContainerClient
|
|
|
1183
1153
|
# @param tag_image [TagImage]
|
|
1184
1154
|
# @param [Hash] opts the optional parameters
|
|
1185
1155
|
# @return [AsyncOperationResponse]
|
|
1186
|
-
def
|
|
1187
|
-
data, _status_code, _headers =
|
|
1156
|
+
def repositories_container_container_tag(container_container_repository_href, tag_image, opts = {})
|
|
1157
|
+
data, _status_code, _headers = repositories_container_container_tag_with_http_info(container_container_repository_href, tag_image, opts)
|
|
1188
1158
|
data
|
|
1189
1159
|
end
|
|
1190
1160
|
|
|
@@ -1194,17 +1164,17 @@ module PulpContainerClient
|
|
|
1194
1164
|
# @param tag_image [TagImage]
|
|
1195
1165
|
# @param [Hash] opts the optional parameters
|
|
1196
1166
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
1197
|
-
def
|
|
1167
|
+
def repositories_container_container_tag_with_http_info(container_container_repository_href, tag_image, opts = {})
|
|
1198
1168
|
if @api_client.config.debugging
|
|
1199
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
|
1169
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.repositories_container_container_tag ...'
|
|
1200
1170
|
end
|
|
1201
1171
|
# verify the required parameter 'container_container_repository_href' is set
|
|
1202
1172
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
|
1203
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
|
1173
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.repositories_container_container_tag"
|
|
1204
1174
|
end
|
|
1205
1175
|
# verify the required parameter 'tag_image' is set
|
|
1206
1176
|
if @api_client.config.client_side_validation && tag_image.nil?
|
|
1207
|
-
fail ArgumentError, "Missing the required parameter 'tag_image' when calling RepositoriesContainerApi.
|
|
1177
|
+
fail ArgumentError, "Missing the required parameter 'tag_image' when calling RepositoriesContainerApi.repositories_container_container_tag"
|
|
1208
1178
|
end
|
|
1209
1179
|
# resource path
|
|
1210
1180
|
local_var_path = '{container_container_repository_href}tag/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
|
@@ -1242,7 +1212,7 @@ module PulpContainerClient
|
|
|
1242
1212
|
|
|
1243
1213
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1244
1214
|
if @api_client.config.debugging
|
|
1245
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
|
1215
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#repositories_container_container_tag\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1246
1216
|
end
|
|
1247
1217
|
return data, status_code, headers
|
|
1248
1218
|
end
|
|
@@ -1253,8 +1223,8 @@ module PulpContainerClient
|
|
|
1253
1223
|
# @param un_tag_image [UnTagImage]
|
|
1254
1224
|
# @param [Hash] opts the optional parameters
|
|
1255
1225
|
# @return [AsyncOperationResponse]
|
|
1256
|
-
def
|
|
1257
|
-
data, _status_code, _headers =
|
|
1226
|
+
def repositories_container_container_untag(container_container_repository_href, un_tag_image, opts = {})
|
|
1227
|
+
data, _status_code, _headers = repositories_container_container_untag_with_http_info(container_container_repository_href, un_tag_image, opts)
|
|
1258
1228
|
data
|
|
1259
1229
|
end
|
|
1260
1230
|
|
|
@@ -1264,17 +1234,17 @@ module PulpContainerClient
|
|
|
1264
1234
|
# @param un_tag_image [UnTagImage]
|
|
1265
1235
|
# @param [Hash] opts the optional parameters
|
|
1266
1236
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
1267
|
-
def
|
|
1237
|
+
def repositories_container_container_untag_with_http_info(container_container_repository_href, un_tag_image, opts = {})
|
|
1268
1238
|
if @api_client.config.debugging
|
|
1269
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
|
1239
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.repositories_container_container_untag ...'
|
|
1270
1240
|
end
|
|
1271
1241
|
# verify the required parameter 'container_container_repository_href' is set
|
|
1272
1242
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
|
1273
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
|
1243
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.repositories_container_container_untag"
|
|
1274
1244
|
end
|
|
1275
1245
|
# verify the required parameter 'un_tag_image' is set
|
|
1276
1246
|
if @api_client.config.client_side_validation && un_tag_image.nil?
|
|
1277
|
-
fail ArgumentError, "Missing the required parameter 'un_tag_image' when calling RepositoriesContainerApi.
|
|
1247
|
+
fail ArgumentError, "Missing the required parameter 'un_tag_image' when calling RepositoriesContainerApi.repositories_container_container_untag"
|
|
1278
1248
|
end
|
|
1279
1249
|
# resource path
|
|
1280
1250
|
local_var_path = '{container_container_repository_href}untag/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
|
@@ -1312,7 +1282,7 @@ module PulpContainerClient
|
|
|
1312
1282
|
|
|
1313
1283
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1314
1284
|
if @api_client.config.debugging
|
|
1315
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
|
1285
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#repositories_container_container_untag\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1316
1286
|
end
|
|
1317
1287
|
return data, status_code, headers
|
|
1318
1288
|
end
|
|
@@ -1323,8 +1293,8 @@ module PulpContainerClient
|
|
|
1323
1293
|
# @param container_container_repository [ContainerContainerRepository]
|
|
1324
1294
|
# @param [Hash] opts the optional parameters
|
|
1325
1295
|
# @return [AsyncOperationResponse]
|
|
1326
|
-
def
|
|
1327
|
-
data, _status_code, _headers =
|
|
1296
|
+
def repositories_container_container_update(container_container_repository_href, container_container_repository, opts = {})
|
|
1297
|
+
data, _status_code, _headers = repositories_container_container_update_with_http_info(container_container_repository_href, container_container_repository, opts)
|
|
1328
1298
|
data
|
|
1329
1299
|
end
|
|
1330
1300
|
|
|
@@ -1334,17 +1304,17 @@ module PulpContainerClient
|
|
|
1334
1304
|
# @param container_container_repository [ContainerContainerRepository]
|
|
1335
1305
|
# @param [Hash] opts the optional parameters
|
|
1336
1306
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
1337
|
-
def
|
|
1307
|
+
def repositories_container_container_update_with_http_info(container_container_repository_href, container_container_repository, opts = {})
|
|
1338
1308
|
if @api_client.config.debugging
|
|
1339
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.
|
|
1309
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.repositories_container_container_update ...'
|
|
1340
1310
|
end
|
|
1341
1311
|
# verify the required parameter 'container_container_repository_href' is set
|
|
1342
1312
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
|
1343
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.
|
|
1313
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.repositories_container_container_update"
|
|
1344
1314
|
end
|
|
1345
1315
|
# verify the required parameter 'container_container_repository' is set
|
|
1346
1316
|
if @api_client.config.client_side_validation && container_container_repository.nil?
|
|
1347
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository' when calling RepositoriesContainerApi.
|
|
1317
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository' when calling RepositoriesContainerApi.repositories_container_container_update"
|
|
1348
1318
|
end
|
|
1349
1319
|
# resource path
|
|
1350
1320
|
local_var_path = '{container_container_repository_href}'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
|
@@ -1382,7 +1352,7 @@ module PulpContainerClient
|
|
|
1382
1352
|
|
|
1383
1353
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1384
1354
|
if @api_client.config.debugging
|
|
1385
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerApi#
|
|
1355
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerApi#repositories_container_container_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1386
1356
|
end
|
|
1387
1357
|
return data, status_code, headers
|
|
1388
1358
|
end
|