pulp_container_client 2.14.14 → 2.14.16
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -24,8 +24,8 @@ module PulpContainerClient
|
|
24
24
|
# @param nested_role [NestedRole]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [NestedRoleResponse]
|
27
|
-
def
|
28
|
-
data, _status_code, _headers =
|
27
|
+
def repositories_container_container_push_add_role(container_container_push_repository_href, nested_role, opts = {})
|
28
|
+
data, _status_code, _headers = repositories_container_container_push_add_role_with_http_info(container_container_push_repository_href, nested_role, opts)
|
29
29
|
data
|
30
30
|
end
|
31
31
|
|
@@ -34,17 +34,17 @@ module PulpContainerClient
|
|
34
34
|
# @param nested_role [NestedRole]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
37
|
-
def
|
37
|
+
def repositories_container_container_push_add_role_with_http_info(container_container_push_repository_href, nested_role, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.
|
39
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.repositories_container_container_push_add_role ...'
|
40
40
|
end
|
41
41
|
# verify the required parameter 'container_container_push_repository_href' is set
|
42
42
|
if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.
|
43
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.repositories_container_container_push_add_role"
|
44
44
|
end
|
45
45
|
# verify the required parameter 'nested_role' is set
|
46
46
|
if @api_client.config.client_side_validation && nested_role.nil?
|
47
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling RepositoriesContainerPushApi.
|
47
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling RepositoriesContainerPushApi.repositories_container_container_push_add_role"
|
48
48
|
end
|
49
49
|
# resource path
|
50
50
|
local_var_path = '{container_container_push_repository_href}add_role/'.sub('{' + 'container_container_push_repository_href' + '}', CGI.escape(container_container_push_repository_href.to_s).gsub('%2F', '/'))
|
@@ -82,7 +82,7 @@ module PulpContainerClient
|
|
82
82
|
|
83
83
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
84
84
|
if @api_client.config.debugging
|
85
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#
|
85
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#repositories_container_container_push_add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
86
86
|
end
|
87
87
|
return data, status_code, headers
|
88
88
|
end
|
@@ -97,24 +97,14 @@ module PulpContainerClient
|
|
97
97
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
98
98
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
99
99
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
100
|
-
# @option opts [Array<String>] :ordering Ordering
|
101
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
102
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
100
|
+
# @option opts [Array<String>] :ordering Ordering
|
103
101
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
104
102
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
105
|
-
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
106
|
-
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
107
|
-
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
108
|
-
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
109
|
-
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
110
|
-
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
111
|
-
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
112
|
-
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
113
103
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
114
104
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
115
105
|
# @return [PaginatedcontainerContainerPushRepositoryResponseList]
|
116
|
-
def
|
117
|
-
data, _status_code, _headers =
|
106
|
+
def repositories_container_container_push_list(opts = {})
|
107
|
+
data, _status_code, _headers = repositories_container_container_push_list_with_http_info(opts)
|
118
108
|
data
|
119
109
|
end
|
120
110
|
|
@@ -128,25 +118,15 @@ module PulpContainerClient
|
|
128
118
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
129
119
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
130
120
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
131
|
-
# @option opts [Array<String>] :ordering Ordering
|
132
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
133
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
121
|
+
# @option opts [Array<String>] :ordering Ordering
|
134
122
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
135
123
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
136
|
-
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
137
|
-
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
138
|
-
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
139
|
-
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
140
|
-
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
141
|
-
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
142
|
-
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
143
|
-
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
144
124
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
145
125
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
146
126
|
# @return [Array<(PaginatedcontainerContainerPushRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerPushRepositoryResponseList data, response status code and response headers
|
147
|
-
def
|
127
|
+
def repositories_container_container_push_list_with_http_info(opts = {})
|
148
128
|
if @api_client.config.debugging
|
149
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.
|
129
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.repositories_container_container_push_list ...'
|
150
130
|
end
|
151
131
|
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"]
|
152
132
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -165,18 +145,8 @@ module PulpContainerClient
|
|
165
145
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
166
146
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
167
147
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
168
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
169
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
170
148
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
171
149
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
172
|
-
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
173
|
-
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
174
|
-
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
175
|
-
query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
|
176
|
-
query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
|
177
|
-
query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
|
178
|
-
query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
|
179
|
-
query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
|
180
150
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
181
151
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
182
152
|
|
@@ -208,7 +178,7 @@ module PulpContainerClient
|
|
208
178
|
|
209
179
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
210
180
|
if @api_client.config.debugging
|
211
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#
|
181
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#repositories_container_container_push_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
212
182
|
end
|
213
183
|
return data, status_code, headers
|
214
184
|
end
|
@@ -219,8 +189,8 @@ module PulpContainerClient
|
|
219
189
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
220
190
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
221
191
|
# @return [ObjectRolesResponse]
|
222
|
-
def
|
223
|
-
data, _status_code, _headers =
|
192
|
+
def repositories_container_container_push_list_roles(container_container_push_repository_href, opts = {})
|
193
|
+
data, _status_code, _headers = repositories_container_container_push_list_roles_with_http_info(container_container_push_repository_href, opts)
|
224
194
|
data
|
225
195
|
end
|
226
196
|
|
@@ -230,13 +200,13 @@ module PulpContainerClient
|
|
230
200
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
231
201
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
232
202
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
233
|
-
def
|
203
|
+
def repositories_container_container_push_list_roles_with_http_info(container_container_push_repository_href, opts = {})
|
234
204
|
if @api_client.config.debugging
|
235
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.
|
205
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.repositories_container_container_push_list_roles ...'
|
236
206
|
end
|
237
207
|
# verify the required parameter 'container_container_push_repository_href' is set
|
238
208
|
if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
|
239
|
-
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.
|
209
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.repositories_container_container_push_list_roles"
|
240
210
|
end
|
241
211
|
# resource path
|
242
212
|
local_var_path = '{container_container_push_repository_href}list_roles/'.sub('{' + 'container_container_push_repository_href' + '}', CGI.escape(container_container_push_repository_href.to_s).gsub('%2F', '/'))
|
@@ -274,7 +244,7 @@ module PulpContainerClient
|
|
274
244
|
|
275
245
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
276
246
|
if @api_client.config.debugging
|
277
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#
|
247
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#repositories_container_container_push_list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
278
248
|
end
|
279
249
|
return data, status_code, headers
|
280
250
|
end
|
@@ -285,8 +255,8 @@ module PulpContainerClient
|
|
285
255
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
286
256
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
287
257
|
# @return [MyPermissionsResponse]
|
288
|
-
def
|
289
|
-
data, _status_code, _headers =
|
258
|
+
def repositories_container_container_push_my_permissions(container_container_push_repository_href, opts = {})
|
259
|
+
data, _status_code, _headers = repositories_container_container_push_my_permissions_with_http_info(container_container_push_repository_href, opts)
|
290
260
|
data
|
291
261
|
end
|
292
262
|
|
@@ -296,13 +266,13 @@ module PulpContainerClient
|
|
296
266
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
297
267
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
298
268
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
299
|
-
def
|
269
|
+
def repositories_container_container_push_my_permissions_with_http_info(container_container_push_repository_href, opts = {})
|
300
270
|
if @api_client.config.debugging
|
301
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.
|
271
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.repositories_container_container_push_my_permissions ...'
|
302
272
|
end
|
303
273
|
# verify the required parameter 'container_container_push_repository_href' is set
|
304
274
|
if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
|
305
|
-
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.
|
275
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.repositories_container_container_push_my_permissions"
|
306
276
|
end
|
307
277
|
# resource path
|
308
278
|
local_var_path = '{container_container_push_repository_href}my_permissions/'.sub('{' + 'container_container_push_repository_href' + '}', CGI.escape(container_container_push_repository_href.to_s).gsub('%2F', '/'))
|
@@ -340,7 +310,7 @@ module PulpContainerClient
|
|
340
310
|
|
341
311
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
342
312
|
if @api_client.config.debugging
|
343
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#
|
313
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#repositories_container_container_push_my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
344
314
|
end
|
345
315
|
return data, status_code, headers
|
346
316
|
end
|
@@ -351,8 +321,8 @@ module PulpContainerClient
|
|
351
321
|
# @param patchedcontainer_container_push_repository [PatchedcontainerContainerPushRepository]
|
352
322
|
# @param [Hash] opts the optional parameters
|
353
323
|
# @return [AsyncOperationResponse]
|
354
|
-
def
|
355
|
-
data, _status_code, _headers =
|
324
|
+
def repositories_container_container_push_partial_update(container_container_push_repository_href, patchedcontainer_container_push_repository, opts = {})
|
325
|
+
data, _status_code, _headers = repositories_container_container_push_partial_update_with_http_info(container_container_push_repository_href, patchedcontainer_container_push_repository, opts)
|
356
326
|
data
|
357
327
|
end
|
358
328
|
|
@@ -362,17 +332,17 @@ module PulpContainerClient
|
|
362
332
|
# @param patchedcontainer_container_push_repository [PatchedcontainerContainerPushRepository]
|
363
333
|
# @param [Hash] opts the optional parameters
|
364
334
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
365
|
-
def
|
335
|
+
def repositories_container_container_push_partial_update_with_http_info(container_container_push_repository_href, patchedcontainer_container_push_repository, opts = {})
|
366
336
|
if @api_client.config.debugging
|
367
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.
|
337
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.repositories_container_container_push_partial_update ...'
|
368
338
|
end
|
369
339
|
# verify the required parameter 'container_container_push_repository_href' is set
|
370
340
|
if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
|
371
|
-
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.
|
341
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.repositories_container_container_push_partial_update"
|
372
342
|
end
|
373
343
|
# verify the required parameter 'patchedcontainer_container_push_repository' is set
|
374
344
|
if @api_client.config.client_side_validation && patchedcontainer_container_push_repository.nil?
|
375
|
-
fail ArgumentError, "Missing the required parameter 'patchedcontainer_container_push_repository' when calling RepositoriesContainerPushApi.
|
345
|
+
fail ArgumentError, "Missing the required parameter 'patchedcontainer_container_push_repository' when calling RepositoriesContainerPushApi.repositories_container_container_push_partial_update"
|
376
346
|
end
|
377
347
|
# resource path
|
378
348
|
local_var_path = '{container_container_push_repository_href}'.sub('{' + 'container_container_push_repository_href' + '}', CGI.escape(container_container_push_repository_href.to_s).gsub('%2F', '/'))
|
@@ -410,7 +380,7 @@ module PulpContainerClient
|
|
410
380
|
|
411
381
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
412
382
|
if @api_client.config.debugging
|
413
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#
|
383
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#repositories_container_container_push_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
414
384
|
end
|
415
385
|
return data, status_code, headers
|
416
386
|
end
|
@@ -422,8 +392,8 @@ module PulpContainerClient
|
|
422
392
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
423
393
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
424
394
|
# @return [ContainerContainerPushRepositoryResponse]
|
425
|
-
def
|
426
|
-
data, _status_code, _headers =
|
395
|
+
def repositories_container_container_push_read(container_container_push_repository_href, opts = {})
|
396
|
+
data, _status_code, _headers = repositories_container_container_push_read_with_http_info(container_container_push_repository_href, opts)
|
427
397
|
data
|
428
398
|
end
|
429
399
|
|
@@ -434,13 +404,13 @@ module PulpContainerClient
|
|
434
404
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
435
405
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
436
406
|
# @return [Array<(ContainerContainerPushRepositoryResponse, Integer, Hash)>] ContainerContainerPushRepositoryResponse data, response status code and response headers
|
437
|
-
def
|
407
|
+
def repositories_container_container_push_read_with_http_info(container_container_push_repository_href, opts = {})
|
438
408
|
if @api_client.config.debugging
|
439
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.
|
409
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.repositories_container_container_push_read ...'
|
440
410
|
end
|
441
411
|
# verify the required parameter 'container_container_push_repository_href' is set
|
442
412
|
if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
|
443
|
-
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.
|
413
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.repositories_container_container_push_read"
|
444
414
|
end
|
445
415
|
# resource path
|
446
416
|
local_var_path = '{container_container_push_repository_href}'.sub('{' + 'container_container_push_repository_href' + '}', CGI.escape(container_container_push_repository_href.to_s).gsub('%2F', '/'))
|
@@ -478,7 +448,7 @@ module PulpContainerClient
|
|
478
448
|
|
479
449
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
480
450
|
if @api_client.config.debugging
|
481
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#
|
451
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#repositories_container_container_push_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
482
452
|
end
|
483
453
|
return data, status_code, headers
|
484
454
|
end
|
@@ -489,8 +459,8 @@ module PulpContainerClient
|
|
489
459
|
# @param remove_image [RemoveImage]
|
490
460
|
# @param [Hash] opts the optional parameters
|
491
461
|
# @return [AsyncOperationResponse]
|
492
|
-
def
|
493
|
-
data, _status_code, _headers =
|
462
|
+
def repositories_container_container_push_remove_image(container_container_push_repository_href, remove_image, opts = {})
|
463
|
+
data, _status_code, _headers = repositories_container_container_push_remove_image_with_http_info(container_container_push_repository_href, remove_image, opts)
|
494
464
|
data
|
495
465
|
end
|
496
466
|
|
@@ -500,17 +470,17 @@ module PulpContainerClient
|
|
500
470
|
# @param remove_image [RemoveImage]
|
501
471
|
# @param [Hash] opts the optional parameters
|
502
472
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
503
|
-
def
|
473
|
+
def repositories_container_container_push_remove_image_with_http_info(container_container_push_repository_href, remove_image, opts = {})
|
504
474
|
if @api_client.config.debugging
|
505
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.
|
475
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.repositories_container_container_push_remove_image ...'
|
506
476
|
end
|
507
477
|
# verify the required parameter 'container_container_push_repository_href' is set
|
508
478
|
if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
|
509
|
-
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.
|
479
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.repositories_container_container_push_remove_image"
|
510
480
|
end
|
511
481
|
# verify the required parameter 'remove_image' is set
|
512
482
|
if @api_client.config.client_side_validation && remove_image.nil?
|
513
|
-
fail ArgumentError, "Missing the required parameter 'remove_image' when calling RepositoriesContainerPushApi.
|
483
|
+
fail ArgumentError, "Missing the required parameter 'remove_image' when calling RepositoriesContainerPushApi.repositories_container_container_push_remove_image"
|
514
484
|
end
|
515
485
|
# resource path
|
516
486
|
local_var_path = '{container_container_push_repository_href}remove_image/'.sub('{' + 'container_container_push_repository_href' + '}', CGI.escape(container_container_push_repository_href.to_s).gsub('%2F', '/'))
|
@@ -548,7 +518,7 @@ module PulpContainerClient
|
|
548
518
|
|
549
519
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
550
520
|
if @api_client.config.debugging
|
551
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#
|
521
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#repositories_container_container_push_remove_image\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
552
522
|
end
|
553
523
|
return data, status_code, headers
|
554
524
|
end
|
@@ -558,8 +528,8 @@ module PulpContainerClient
|
|
558
528
|
# @param nested_role [NestedRole]
|
559
529
|
# @param [Hash] opts the optional parameters
|
560
530
|
# @return [NestedRoleResponse]
|
561
|
-
def
|
562
|
-
data, _status_code, _headers =
|
531
|
+
def repositories_container_container_push_remove_role(container_container_push_repository_href, nested_role, opts = {})
|
532
|
+
data, _status_code, _headers = repositories_container_container_push_remove_role_with_http_info(container_container_push_repository_href, nested_role, opts)
|
563
533
|
data
|
564
534
|
end
|
565
535
|
|
@@ -568,17 +538,17 @@ module PulpContainerClient
|
|
568
538
|
# @param nested_role [NestedRole]
|
569
539
|
# @param [Hash] opts the optional parameters
|
570
540
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
571
|
-
def
|
541
|
+
def repositories_container_container_push_remove_role_with_http_info(container_container_push_repository_href, nested_role, opts = {})
|
572
542
|
if @api_client.config.debugging
|
573
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.
|
543
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.repositories_container_container_push_remove_role ...'
|
574
544
|
end
|
575
545
|
# verify the required parameter 'container_container_push_repository_href' is set
|
576
546
|
if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
|
577
|
-
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.
|
547
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.repositories_container_container_push_remove_role"
|
578
548
|
end
|
579
549
|
# verify the required parameter 'nested_role' is set
|
580
550
|
if @api_client.config.client_side_validation && nested_role.nil?
|
581
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling RepositoriesContainerPushApi.
|
551
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling RepositoriesContainerPushApi.repositories_container_container_push_remove_role"
|
582
552
|
end
|
583
553
|
# resource path
|
584
554
|
local_var_path = '{container_container_push_repository_href}remove_role/'.sub('{' + 'container_container_push_repository_href' + '}', CGI.escape(container_container_push_repository_href.to_s).gsub('%2F', '/'))
|
@@ -616,7 +586,7 @@ module PulpContainerClient
|
|
616
586
|
|
617
587
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
618
588
|
if @api_client.config.debugging
|
619
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#
|
589
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#repositories_container_container_push_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
620
590
|
end
|
621
591
|
return data, status_code, headers
|
622
592
|
end
|
@@ -626,8 +596,8 @@ module PulpContainerClient
|
|
626
596
|
# @param remove_signatures [RemoveSignatures]
|
627
597
|
# @param [Hash] opts the optional parameters
|
628
598
|
# @return [RemoveSignaturesResponse]
|
629
|
-
def
|
630
|
-
data, _status_code, _headers =
|
599
|
+
def repositories_container_container_push_remove_signatures(container_container_push_repository_href, remove_signatures, opts = {})
|
600
|
+
data, _status_code, _headers = repositories_container_container_push_remove_signatures_with_http_info(container_container_push_repository_href, remove_signatures, opts)
|
631
601
|
data
|
632
602
|
end
|
633
603
|
|
@@ -636,17 +606,17 @@ module PulpContainerClient
|
|
636
606
|
# @param remove_signatures [RemoveSignatures]
|
637
607
|
# @param [Hash] opts the optional parameters
|
638
608
|
# @return [Array<(RemoveSignaturesResponse, Integer, Hash)>] RemoveSignaturesResponse data, response status code and response headers
|
639
|
-
def
|
609
|
+
def repositories_container_container_push_remove_signatures_with_http_info(container_container_push_repository_href, remove_signatures, opts = {})
|
640
610
|
if @api_client.config.debugging
|
641
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.
|
611
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.repositories_container_container_push_remove_signatures ...'
|
642
612
|
end
|
643
613
|
# verify the required parameter 'container_container_push_repository_href' is set
|
644
614
|
if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
|
645
|
-
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.
|
615
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.repositories_container_container_push_remove_signatures"
|
646
616
|
end
|
647
617
|
# verify the required parameter 'remove_signatures' is set
|
648
618
|
if @api_client.config.client_side_validation && remove_signatures.nil?
|
649
|
-
fail ArgumentError, "Missing the required parameter 'remove_signatures' when calling RepositoriesContainerPushApi.
|
619
|
+
fail ArgumentError, "Missing the required parameter 'remove_signatures' when calling RepositoriesContainerPushApi.repositories_container_container_push_remove_signatures"
|
650
620
|
end
|
651
621
|
# resource path
|
652
622
|
local_var_path = '{container_container_push_repository_href}remove_signatures/'.sub('{' + 'container_container_push_repository_href' + '}', CGI.escape(container_container_push_repository_href.to_s).gsub('%2F', '/'))
|
@@ -684,7 +654,7 @@ module PulpContainerClient
|
|
684
654
|
|
685
655
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
686
656
|
if @api_client.config.debugging
|
687
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#
|
657
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#repositories_container_container_push_remove_signatures\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
688
658
|
end
|
689
659
|
return data, status_code, headers
|
690
660
|
end
|
@@ -695,8 +665,8 @@ module PulpContainerClient
|
|
695
665
|
# @param repository_sign [RepositorySign]
|
696
666
|
# @param [Hash] opts the optional parameters
|
697
667
|
# @return [AsyncOperationResponse]
|
698
|
-
def
|
699
|
-
data, _status_code, _headers =
|
668
|
+
def repositories_container_container_push_sign(container_container_push_repository_href, repository_sign, opts = {})
|
669
|
+
data, _status_code, _headers = repositories_container_container_push_sign_with_http_info(container_container_push_repository_href, repository_sign, opts)
|
700
670
|
data
|
701
671
|
end
|
702
672
|
|
@@ -706,17 +676,17 @@ module PulpContainerClient
|
|
706
676
|
# @param repository_sign [RepositorySign]
|
707
677
|
# @param [Hash] opts the optional parameters
|
708
678
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
709
|
-
def
|
679
|
+
def repositories_container_container_push_sign_with_http_info(container_container_push_repository_href, repository_sign, opts = {})
|
710
680
|
if @api_client.config.debugging
|
711
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.
|
681
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.repositories_container_container_push_sign ...'
|
712
682
|
end
|
713
683
|
# verify the required parameter 'container_container_push_repository_href' is set
|
714
684
|
if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
|
715
|
-
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.
|
685
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.repositories_container_container_push_sign"
|
716
686
|
end
|
717
687
|
# verify the required parameter 'repository_sign' is set
|
718
688
|
if @api_client.config.client_side_validation && repository_sign.nil?
|
719
|
-
fail ArgumentError, "Missing the required parameter 'repository_sign' when calling RepositoriesContainerPushApi.
|
689
|
+
fail ArgumentError, "Missing the required parameter 'repository_sign' when calling RepositoriesContainerPushApi.repositories_container_container_push_sign"
|
720
690
|
end
|
721
691
|
# resource path
|
722
692
|
local_var_path = '{container_container_push_repository_href}sign/'.sub('{' + 'container_container_push_repository_href' + '}', CGI.escape(container_container_push_repository_href.to_s).gsub('%2F', '/'))
|
@@ -754,7 +724,7 @@ module PulpContainerClient
|
|
754
724
|
|
755
725
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
756
726
|
if @api_client.config.debugging
|
757
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#
|
727
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#repositories_container_container_push_sign\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
758
728
|
end
|
759
729
|
return data, status_code, headers
|
760
730
|
end
|
@@ -765,8 +735,8 @@ module PulpContainerClient
|
|
765
735
|
# @param tag_image [TagImage]
|
766
736
|
# @param [Hash] opts the optional parameters
|
767
737
|
# @return [AsyncOperationResponse]
|
768
|
-
def
|
769
|
-
data, _status_code, _headers =
|
738
|
+
def repositories_container_container_push_tag(container_container_push_repository_href, tag_image, opts = {})
|
739
|
+
data, _status_code, _headers = repositories_container_container_push_tag_with_http_info(container_container_push_repository_href, tag_image, opts)
|
770
740
|
data
|
771
741
|
end
|
772
742
|
|
@@ -776,17 +746,17 @@ module PulpContainerClient
|
|
776
746
|
# @param tag_image [TagImage]
|
777
747
|
# @param [Hash] opts the optional parameters
|
778
748
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
779
|
-
def
|
749
|
+
def repositories_container_container_push_tag_with_http_info(container_container_push_repository_href, tag_image, opts = {})
|
780
750
|
if @api_client.config.debugging
|
781
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.
|
751
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.repositories_container_container_push_tag ...'
|
782
752
|
end
|
783
753
|
# verify the required parameter 'container_container_push_repository_href' is set
|
784
754
|
if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
|
785
|
-
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.
|
755
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.repositories_container_container_push_tag"
|
786
756
|
end
|
787
757
|
# verify the required parameter 'tag_image' is set
|
788
758
|
if @api_client.config.client_side_validation && tag_image.nil?
|
789
|
-
fail ArgumentError, "Missing the required parameter 'tag_image' when calling RepositoriesContainerPushApi.
|
759
|
+
fail ArgumentError, "Missing the required parameter 'tag_image' when calling RepositoriesContainerPushApi.repositories_container_container_push_tag"
|
790
760
|
end
|
791
761
|
# resource path
|
792
762
|
local_var_path = '{container_container_push_repository_href}tag/'.sub('{' + 'container_container_push_repository_href' + '}', CGI.escape(container_container_push_repository_href.to_s).gsub('%2F', '/'))
|
@@ -824,7 +794,7 @@ module PulpContainerClient
|
|
824
794
|
|
825
795
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
826
796
|
if @api_client.config.debugging
|
827
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#
|
797
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#repositories_container_container_push_tag\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
828
798
|
end
|
829
799
|
return data, status_code, headers
|
830
800
|
end
|
@@ -835,8 +805,8 @@ module PulpContainerClient
|
|
835
805
|
# @param un_tag_image [UnTagImage]
|
836
806
|
# @param [Hash] opts the optional parameters
|
837
807
|
# @return [AsyncOperationResponse]
|
838
|
-
def
|
839
|
-
data, _status_code, _headers =
|
808
|
+
def repositories_container_container_push_untag(container_container_push_repository_href, un_tag_image, opts = {})
|
809
|
+
data, _status_code, _headers = repositories_container_container_push_untag_with_http_info(container_container_push_repository_href, un_tag_image, opts)
|
840
810
|
data
|
841
811
|
end
|
842
812
|
|
@@ -846,17 +816,17 @@ module PulpContainerClient
|
|
846
816
|
# @param un_tag_image [UnTagImage]
|
847
817
|
# @param [Hash] opts the optional parameters
|
848
818
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
849
|
-
def
|
819
|
+
def repositories_container_container_push_untag_with_http_info(container_container_push_repository_href, un_tag_image, opts = {})
|
850
820
|
if @api_client.config.debugging
|
851
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.
|
821
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.repositories_container_container_push_untag ...'
|
852
822
|
end
|
853
823
|
# verify the required parameter 'container_container_push_repository_href' is set
|
854
824
|
if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
|
855
|
-
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.
|
825
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.repositories_container_container_push_untag"
|
856
826
|
end
|
857
827
|
# verify the required parameter 'un_tag_image' is set
|
858
828
|
if @api_client.config.client_side_validation && un_tag_image.nil?
|
859
|
-
fail ArgumentError, "Missing the required parameter 'un_tag_image' when calling RepositoriesContainerPushApi.
|
829
|
+
fail ArgumentError, "Missing the required parameter 'un_tag_image' when calling RepositoriesContainerPushApi.repositories_container_container_push_untag"
|
860
830
|
end
|
861
831
|
# resource path
|
862
832
|
local_var_path = '{container_container_push_repository_href}untag/'.sub('{' + 'container_container_push_repository_href' + '}', CGI.escape(container_container_push_repository_href.to_s).gsub('%2F', '/'))
|
@@ -894,7 +864,7 @@ module PulpContainerClient
|
|
894
864
|
|
895
865
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
896
866
|
if @api_client.config.debugging
|
897
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#
|
867
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#repositories_container_container_push_untag\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 container_container_push_repository [ContainerContainerPushRepository]
|
906
876
|
# @param [Hash] opts the optional parameters
|
907
877
|
# @return [AsyncOperationResponse]
|
908
|
-
def
|
909
|
-
data, _status_code, _headers =
|
878
|
+
def repositories_container_container_push_update(container_container_push_repository_href, container_container_push_repository, opts = {})
|
879
|
+
data, _status_code, _headers = repositories_container_container_push_update_with_http_info(container_container_push_repository_href, container_container_push_repository, opts)
|
910
880
|
data
|
911
881
|
end
|
912
882
|
|
@@ -916,17 +886,17 @@ module PulpContainerClient
|
|
916
886
|
# @param container_container_push_repository [ContainerContainerPushRepository]
|
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_push_update_with_http_info(container_container_push_repository_href, container_container_push_repository, opts = {})
|
920
890
|
if @api_client.config.debugging
|
921
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.
|
891
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.repositories_container_container_push_update ...'
|
922
892
|
end
|
923
893
|
# verify the required parameter 'container_container_push_repository_href' is set
|
924
894
|
if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
|
925
|
-
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.
|
895
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.repositories_container_container_push_update"
|
926
896
|
end
|
927
897
|
# verify the required parameter 'container_container_push_repository' is set
|
928
898
|
if @api_client.config.client_side_validation && container_container_push_repository.nil?
|
929
|
-
fail ArgumentError, "Missing the required parameter 'container_container_push_repository' when calling RepositoriesContainerPushApi.
|
899
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository' when calling RepositoriesContainerPushApi.repositories_container_container_push_update"
|
930
900
|
end
|
931
901
|
# resource path
|
932
902
|
local_var_path = '{container_container_push_repository_href}'.sub('{' + 'container_container_push_repository_href' + '}', CGI.escape(container_container_push_repository_href.to_s).gsub('%2F', '/'))
|
@@ -964,7 +934,7 @@ module PulpContainerClient
|
|
964
934
|
|
965
935
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
966
936
|
if @api_client.config.debugging
|
967
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#
|
937
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#repositories_container_container_push_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
968
938
|
end
|
969
939
|
return data, status_code, headers
|
970
940
|
end
|