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
data/docs/GroupRole.md
CHANGED
|
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**role** | **String** | |
|
|
8
8
|
**content_object** | **String** | pulp_href of the object for which role permissions should be asserted. If set to 'null', permissions will act on the model-level. |
|
|
9
|
-
**domain** | **String** | Domain this role should be applied on, mutually exclusive with content_object. | [optional]
|
|
10
9
|
|
|
11
10
|
## Code Sample
|
|
12
11
|
|
|
@@ -14,8 +13,7 @@ Name | Type | Description | Notes
|
|
|
14
13
|
require 'PulpContainerClient'
|
|
15
14
|
|
|
16
15
|
instance = PulpContainerClient::GroupRole.new(role: null,
|
|
17
|
-
content_object: null
|
|
18
|
-
domain: null)
|
|
16
|
+
content_object: null)
|
|
19
17
|
```
|
|
20
18
|
|
|
21
19
|
|
data/docs/GroupRoleResponse.md
CHANGED
|
@@ -10,7 +10,6 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**content_object** | **String** | pulp_href of the object for which role permissions should be asserted. If set to 'null', permissions will act on the model-level. |
|
|
11
11
|
**description** | **String** | | [optional] [readonly]
|
|
12
12
|
**permissions** | **Array<String>** | | [optional] [readonly]
|
|
13
|
-
**domain** | **String** | Domain this role should be applied on, mutually exclusive with content_object. | [optional]
|
|
14
13
|
|
|
15
14
|
## Code Sample
|
|
16
15
|
|
|
@@ -22,8 +21,7 @@ instance = PulpContainerClient::GroupRoleResponse.new(pulp_href: null,
|
|
|
22
21
|
role: null,
|
|
23
22
|
content_object: null,
|
|
24
23
|
description: null,
|
|
25
|
-
permissions: null
|
|
26
|
-
domain: null)
|
|
24
|
+
permissions: null)
|
|
27
25
|
```
|
|
28
26
|
|
|
29
27
|
|
data/docs/GroupsApi.md
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
# PulpContainerClient::GroupsApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
8
|
-
[**
|
|
9
|
-
[**
|
|
10
|
-
[**
|
|
11
|
-
[**
|
|
12
|
-
[**
|
|
13
|
-
[**
|
|
14
|
-
[**
|
|
15
|
-
[**
|
|
16
|
-
[**
|
|
7
|
+
[**groups_add_role**](GroupsApi.md#groups_add_role) | **POST** {group_href}add_role/ |
|
|
8
|
+
[**groups_create**](GroupsApi.md#groups_create) | **POST** /pulp/api/v3/groups/ | Create a group
|
|
9
|
+
[**groups_delete**](GroupsApi.md#groups_delete) | **DELETE** {group_href} | Delete a group
|
|
10
|
+
[**groups_list**](GroupsApi.md#groups_list) | **GET** /pulp/api/v3/groups/ | List groups
|
|
11
|
+
[**groups_list_roles**](GroupsApi.md#groups_list_roles) | **GET** {group_href}list_roles/ |
|
|
12
|
+
[**groups_my_permissions**](GroupsApi.md#groups_my_permissions) | **GET** {group_href}my_permissions/ |
|
|
13
|
+
[**groups_partial_update**](GroupsApi.md#groups_partial_update) | **PATCH** {group_href} | Update a group
|
|
14
|
+
[**groups_read**](GroupsApi.md#groups_read) | **GET** {group_href} | Inspect a group
|
|
15
|
+
[**groups_remove_role**](GroupsApi.md#groups_remove_role) | **POST** {group_href}remove_role/ |
|
|
16
|
+
[**groups_update**](GroupsApi.md#groups_update) | **PUT** {group_href} | Update a group
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
##
|
|
20
|
+
## groups_add_role
|
|
21
21
|
|
|
22
|
-
> NestedRoleResponse
|
|
22
|
+
> NestedRoleResponse groups_add_role(group_href, nested_role)
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
@@ -42,10 +42,10 @@ group_href = 'group_href_example' # String |
|
|
|
42
42
|
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
|
43
43
|
|
|
44
44
|
begin
|
|
45
|
-
result = api_instance.
|
|
45
|
+
result = api_instance.groups_add_role(group_href, nested_role)
|
|
46
46
|
p result
|
|
47
47
|
rescue PulpContainerClient::ApiError => e
|
|
48
|
-
puts "Exception when calling GroupsApi->
|
|
48
|
+
puts "Exception when calling GroupsApi->groups_add_role: #{e}"
|
|
49
49
|
end
|
|
50
50
|
```
|
|
51
51
|
|
|
@@ -71,13 +71,13 @@ Name | Type | Description | Notes
|
|
|
71
71
|
- **Accept**: application/json
|
|
72
72
|
|
|
73
73
|
|
|
74
|
-
##
|
|
74
|
+
## groups_create
|
|
75
75
|
|
|
76
|
-
> GroupResponse
|
|
76
|
+
> GroupResponse groups_create(group)
|
|
77
77
|
|
|
78
78
|
Create a group
|
|
79
79
|
|
|
80
|
-
ViewSet for Group.
|
|
80
|
+
ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
81
81
|
|
|
82
82
|
### Example
|
|
83
83
|
|
|
@@ -96,10 +96,10 @@ group = PulpContainerClient::Group.new # Group |
|
|
|
96
96
|
|
|
97
97
|
begin
|
|
98
98
|
#Create a group
|
|
99
|
-
result = api_instance.
|
|
99
|
+
result = api_instance.groups_create(group)
|
|
100
100
|
p result
|
|
101
101
|
rescue PulpContainerClient::ApiError => e
|
|
102
|
-
puts "Exception when calling GroupsApi->
|
|
102
|
+
puts "Exception when calling GroupsApi->groups_create: #{e}"
|
|
103
103
|
end
|
|
104
104
|
```
|
|
105
105
|
|
|
@@ -124,13 +124,13 @@ Name | Type | Description | Notes
|
|
|
124
124
|
- **Accept**: application/json
|
|
125
125
|
|
|
126
126
|
|
|
127
|
-
##
|
|
127
|
+
## groups_delete
|
|
128
128
|
|
|
129
|
-
>
|
|
129
|
+
> groups_delete(group_href)
|
|
130
130
|
|
|
131
131
|
Delete a group
|
|
132
132
|
|
|
133
|
-
ViewSet for Group.
|
|
133
|
+
ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
134
134
|
|
|
135
135
|
### Example
|
|
136
136
|
|
|
@@ -149,9 +149,9 @@ group_href = 'group_href_example' # String |
|
|
|
149
149
|
|
|
150
150
|
begin
|
|
151
151
|
#Delete a group
|
|
152
|
-
api_instance.
|
|
152
|
+
api_instance.groups_delete(group_href)
|
|
153
153
|
rescue PulpContainerClient::ApiError => e
|
|
154
|
-
puts "Exception when calling GroupsApi->
|
|
154
|
+
puts "Exception when calling GroupsApi->groups_delete: #{e}"
|
|
155
155
|
end
|
|
156
156
|
```
|
|
157
157
|
|
|
@@ -176,13 +176,13 @@ nil (empty response body)
|
|
|
176
176
|
- **Accept**: Not defined
|
|
177
177
|
|
|
178
178
|
|
|
179
|
-
##
|
|
179
|
+
## groups_list
|
|
180
180
|
|
|
181
|
-
> PaginatedGroupResponseList
|
|
181
|
+
> PaginatedGroupResponseList groups_list(opts)
|
|
182
182
|
|
|
183
183
|
List groups
|
|
184
184
|
|
|
185
|
-
ViewSet for Group.
|
|
185
|
+
ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
186
186
|
|
|
187
187
|
### Example
|
|
188
188
|
|
|
@@ -207,19 +207,17 @@ opts = {
|
|
|
207
207
|
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
|
208
208
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
209
209
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
210
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
211
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
212
|
-
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
210
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
213
211
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
214
212
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
215
213
|
}
|
|
216
214
|
|
|
217
215
|
begin
|
|
218
216
|
#List groups
|
|
219
|
-
result = api_instance.
|
|
217
|
+
result = api_instance.groups_list(opts)
|
|
220
218
|
p result
|
|
221
219
|
rescue PulpContainerClient::ApiError => e
|
|
222
|
-
puts "Exception when calling GroupsApi->
|
|
220
|
+
puts "Exception when calling GroupsApi->groups_list: #{e}"
|
|
223
221
|
end
|
|
224
222
|
```
|
|
225
223
|
|
|
@@ -237,9 +235,7 @@ Name | Type | Description | Notes
|
|
|
237
235
|
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
|
238
236
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
|
239
237
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
240
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
|
241
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
242
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
238
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
|
243
239
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
244
240
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
245
241
|
|
|
@@ -257,9 +253,9 @@ Name | Type | Description | Notes
|
|
|
257
253
|
- **Accept**: application/json
|
|
258
254
|
|
|
259
255
|
|
|
260
|
-
##
|
|
256
|
+
## groups_list_roles
|
|
261
257
|
|
|
262
|
-
> ObjectRolesResponse
|
|
258
|
+
> ObjectRolesResponse groups_list_roles(group_href, opts)
|
|
263
259
|
|
|
264
260
|
|
|
265
261
|
|
|
@@ -285,10 +281,10 @@ opts = {
|
|
|
285
281
|
}
|
|
286
282
|
|
|
287
283
|
begin
|
|
288
|
-
result = api_instance.
|
|
284
|
+
result = api_instance.groups_list_roles(group_href, opts)
|
|
289
285
|
p result
|
|
290
286
|
rescue PulpContainerClient::ApiError => e
|
|
291
|
-
puts "Exception when calling GroupsApi->
|
|
287
|
+
puts "Exception when calling GroupsApi->groups_list_roles: #{e}"
|
|
292
288
|
end
|
|
293
289
|
```
|
|
294
290
|
|
|
@@ -315,9 +311,9 @@ Name | Type | Description | Notes
|
|
|
315
311
|
- **Accept**: application/json
|
|
316
312
|
|
|
317
313
|
|
|
318
|
-
##
|
|
314
|
+
## groups_my_permissions
|
|
319
315
|
|
|
320
|
-
> MyPermissionsResponse
|
|
316
|
+
> MyPermissionsResponse groups_my_permissions(group_href, opts)
|
|
321
317
|
|
|
322
318
|
|
|
323
319
|
|
|
@@ -343,10 +339,10 @@ opts = {
|
|
|
343
339
|
}
|
|
344
340
|
|
|
345
341
|
begin
|
|
346
|
-
result = api_instance.
|
|
342
|
+
result = api_instance.groups_my_permissions(group_href, opts)
|
|
347
343
|
p result
|
|
348
344
|
rescue PulpContainerClient::ApiError => e
|
|
349
|
-
puts "Exception when calling GroupsApi->
|
|
345
|
+
puts "Exception when calling GroupsApi->groups_my_permissions: #{e}"
|
|
350
346
|
end
|
|
351
347
|
```
|
|
352
348
|
|
|
@@ -373,13 +369,13 @@ Name | Type | Description | Notes
|
|
|
373
369
|
- **Accept**: application/json
|
|
374
370
|
|
|
375
371
|
|
|
376
|
-
##
|
|
372
|
+
## groups_partial_update
|
|
377
373
|
|
|
378
|
-
> GroupResponse
|
|
374
|
+
> GroupResponse groups_partial_update(group_href, patched_group)
|
|
379
375
|
|
|
380
376
|
Update a group
|
|
381
377
|
|
|
382
|
-
ViewSet for Group.
|
|
378
|
+
ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
383
379
|
|
|
384
380
|
### Example
|
|
385
381
|
|
|
@@ -399,10 +395,10 @@ patched_group = PulpContainerClient::PatchedGroup.new # PatchedGroup |
|
|
|
399
395
|
|
|
400
396
|
begin
|
|
401
397
|
#Update a group
|
|
402
|
-
result = api_instance.
|
|
398
|
+
result = api_instance.groups_partial_update(group_href, patched_group)
|
|
403
399
|
p result
|
|
404
400
|
rescue PulpContainerClient::ApiError => e
|
|
405
|
-
puts "Exception when calling GroupsApi->
|
|
401
|
+
puts "Exception when calling GroupsApi->groups_partial_update: #{e}"
|
|
406
402
|
end
|
|
407
403
|
```
|
|
408
404
|
|
|
@@ -428,13 +424,13 @@ Name | Type | Description | Notes
|
|
|
428
424
|
- **Accept**: application/json
|
|
429
425
|
|
|
430
426
|
|
|
431
|
-
##
|
|
427
|
+
## groups_read
|
|
432
428
|
|
|
433
|
-
> GroupResponse
|
|
429
|
+
> GroupResponse groups_read(group_href, opts)
|
|
434
430
|
|
|
435
431
|
Inspect a group
|
|
436
432
|
|
|
437
|
-
ViewSet for Group.
|
|
433
|
+
ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
438
434
|
|
|
439
435
|
### Example
|
|
440
436
|
|
|
@@ -457,10 +453,10 @@ opts = {
|
|
|
457
453
|
|
|
458
454
|
begin
|
|
459
455
|
#Inspect a group
|
|
460
|
-
result = api_instance.
|
|
456
|
+
result = api_instance.groups_read(group_href, opts)
|
|
461
457
|
p result
|
|
462
458
|
rescue PulpContainerClient::ApiError => e
|
|
463
|
-
puts "Exception when calling GroupsApi->
|
|
459
|
+
puts "Exception when calling GroupsApi->groups_read: #{e}"
|
|
464
460
|
end
|
|
465
461
|
```
|
|
466
462
|
|
|
@@ -487,9 +483,9 @@ Name | Type | Description | Notes
|
|
|
487
483
|
- **Accept**: application/json
|
|
488
484
|
|
|
489
485
|
|
|
490
|
-
##
|
|
486
|
+
## groups_remove_role
|
|
491
487
|
|
|
492
|
-
> NestedRoleResponse
|
|
488
|
+
> NestedRoleResponse groups_remove_role(group_href, nested_role)
|
|
493
489
|
|
|
494
490
|
|
|
495
491
|
|
|
@@ -512,10 +508,10 @@ group_href = 'group_href_example' # String |
|
|
|
512
508
|
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
|
513
509
|
|
|
514
510
|
begin
|
|
515
|
-
result = api_instance.
|
|
511
|
+
result = api_instance.groups_remove_role(group_href, nested_role)
|
|
516
512
|
p result
|
|
517
513
|
rescue PulpContainerClient::ApiError => e
|
|
518
|
-
puts "Exception when calling GroupsApi->
|
|
514
|
+
puts "Exception when calling GroupsApi->groups_remove_role: #{e}"
|
|
519
515
|
end
|
|
520
516
|
```
|
|
521
517
|
|
|
@@ -541,13 +537,13 @@ Name | Type | Description | Notes
|
|
|
541
537
|
- **Accept**: application/json
|
|
542
538
|
|
|
543
539
|
|
|
544
|
-
##
|
|
540
|
+
## groups_update
|
|
545
541
|
|
|
546
|
-
> GroupResponse
|
|
542
|
+
> GroupResponse groups_update(group_href, group)
|
|
547
543
|
|
|
548
544
|
Update a group
|
|
549
545
|
|
|
550
|
-
ViewSet for Group.
|
|
546
|
+
ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
551
547
|
|
|
552
548
|
### Example
|
|
553
549
|
|
|
@@ -567,10 +563,10 @@ group = PulpContainerClient::Group.new # Group |
|
|
|
567
563
|
|
|
568
564
|
begin
|
|
569
565
|
#Update a group
|
|
570
|
-
result = api_instance.
|
|
566
|
+
result = api_instance.groups_update(group_href, group)
|
|
571
567
|
p result
|
|
572
568
|
rescue PulpContainerClient::ApiError => e
|
|
573
|
-
puts "Exception when calling GroupsApi->
|
|
569
|
+
puts "Exception when calling GroupsApi->groups_update: #{e}"
|
|
574
570
|
end
|
|
575
571
|
```
|
|
576
572
|
|
data/docs/GroupsRolesApi.md
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
# PulpContainerClient::GroupsRolesApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
8
|
-
[**
|
|
9
|
-
[**
|
|
10
|
-
[**
|
|
7
|
+
[**groups_roles_create**](GroupsRolesApi.md#groups_roles_create) | **POST** {group_href}roles/ | Create a group role
|
|
8
|
+
[**groups_roles_delete**](GroupsRolesApi.md#groups_roles_delete) | **DELETE** {groups_group_role_href} | Delete a group role
|
|
9
|
+
[**groups_roles_list**](GroupsRolesApi.md#groups_roles_list) | **GET** {group_href}roles/ | List group roles
|
|
10
|
+
[**groups_roles_read**](GroupsRolesApi.md#groups_roles_read) | **GET** {groups_group_role_href} | Inspect a group role
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
##
|
|
14
|
+
## groups_roles_create
|
|
15
15
|
|
|
16
|
-
> GroupRoleResponse
|
|
16
|
+
> GroupRoleResponse groups_roles_create(group_href, group_role)
|
|
17
17
|
|
|
18
18
|
Create a group role
|
|
19
19
|
|
|
20
|
-
ViewSet for GroupRole.
|
|
20
|
+
ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
21
21
|
|
|
22
22
|
### Example
|
|
23
23
|
|
|
@@ -37,10 +37,10 @@ group_role = PulpContainerClient::GroupRole.new # GroupRole |
|
|
|
37
37
|
|
|
38
38
|
begin
|
|
39
39
|
#Create a group role
|
|
40
|
-
result = api_instance.
|
|
40
|
+
result = api_instance.groups_roles_create(group_href, group_role)
|
|
41
41
|
p result
|
|
42
42
|
rescue PulpContainerClient::ApiError => e
|
|
43
|
-
puts "Exception when calling GroupsRolesApi->
|
|
43
|
+
puts "Exception when calling GroupsRolesApi->groups_roles_create: #{e}"
|
|
44
44
|
end
|
|
45
45
|
```
|
|
46
46
|
|
|
@@ -66,13 +66,13 @@ Name | Type | Description | Notes
|
|
|
66
66
|
- **Accept**: application/json
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
##
|
|
69
|
+
## groups_roles_delete
|
|
70
70
|
|
|
71
|
-
>
|
|
71
|
+
> groups_roles_delete(groups_group_role_href)
|
|
72
72
|
|
|
73
73
|
Delete a group role
|
|
74
74
|
|
|
75
|
-
ViewSet for GroupRole.
|
|
75
|
+
ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
76
76
|
|
|
77
77
|
### Example
|
|
78
78
|
|
|
@@ -91,9 +91,9 @@ groups_group_role_href = 'groups_group_role_href_example' # String |
|
|
|
91
91
|
|
|
92
92
|
begin
|
|
93
93
|
#Delete a group role
|
|
94
|
-
api_instance.
|
|
94
|
+
api_instance.groups_roles_delete(groups_group_role_href)
|
|
95
95
|
rescue PulpContainerClient::ApiError => e
|
|
96
|
-
puts "Exception when calling GroupsRolesApi->
|
|
96
|
+
puts "Exception when calling GroupsRolesApi->groups_roles_delete: #{e}"
|
|
97
97
|
end
|
|
98
98
|
```
|
|
99
99
|
|
|
@@ -118,13 +118,13 @@ nil (empty response body)
|
|
|
118
118
|
- **Accept**: Not defined
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
##
|
|
121
|
+
## groups_roles_list
|
|
122
122
|
|
|
123
|
-
> PaginatedGroupRoleResponseList
|
|
123
|
+
> PaginatedGroupRoleResponseList groups_roles_list(group_href, opts)
|
|
124
124
|
|
|
125
125
|
List group roles
|
|
126
126
|
|
|
127
|
-
ViewSet for GroupRole.
|
|
127
|
+
ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
128
128
|
|
|
129
129
|
### Example
|
|
130
130
|
|
|
@@ -142,12 +142,9 @@ api_instance = PulpContainerClient::GroupsRolesApi.new
|
|
|
142
142
|
group_href = 'group_href_example' # String |
|
|
143
143
|
opts = {
|
|
144
144
|
content_object: 'content_object_example', # String | content_object
|
|
145
|
-
domain: 'domain_example', # String | Foreign Key referenced by HREF
|
|
146
145
|
limit: 56, # Integer | Number of results to return per page.
|
|
147
146
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
148
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
149
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
150
|
-
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
147
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
151
148
|
role: 'role_example', # String |
|
|
152
149
|
role__contains: 'role__contains_example', # String |
|
|
153
150
|
role__icontains: 'role__icontains_example', # String |
|
|
@@ -159,10 +156,10 @@ opts = {
|
|
|
159
156
|
|
|
160
157
|
begin
|
|
161
158
|
#List group roles
|
|
162
|
-
result = api_instance.
|
|
159
|
+
result = api_instance.groups_roles_list(group_href, opts)
|
|
163
160
|
p result
|
|
164
161
|
rescue PulpContainerClient::ApiError => e
|
|
165
|
-
puts "Exception when calling GroupsRolesApi->
|
|
162
|
+
puts "Exception when calling GroupsRolesApi->groups_roles_list: #{e}"
|
|
166
163
|
end
|
|
167
164
|
```
|
|
168
165
|
|
|
@@ -173,12 +170,9 @@ Name | Type | Description | Notes
|
|
|
173
170
|
------------- | ------------- | ------------- | -------------
|
|
174
171
|
**group_href** | **String**| |
|
|
175
172
|
**content_object** | **String**| content_object | [optional]
|
|
176
|
-
**domain** | **String**| Foreign Key referenced by HREF | [optional]
|
|
177
173
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
178
174
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
179
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
|
180
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
181
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
175
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
|
182
176
|
**role** | **String**| | [optional]
|
|
183
177
|
**role__contains** | **String**| | [optional]
|
|
184
178
|
**role__icontains** | **String**| | [optional]
|
|
@@ -201,13 +195,13 @@ Name | Type | Description | Notes
|
|
|
201
195
|
- **Accept**: application/json
|
|
202
196
|
|
|
203
197
|
|
|
204
|
-
##
|
|
198
|
+
## groups_roles_read
|
|
205
199
|
|
|
206
|
-
> GroupRoleResponse
|
|
200
|
+
> GroupRoleResponse groups_roles_read(groups_group_role_href, opts)
|
|
207
201
|
|
|
208
202
|
Inspect a group role
|
|
209
203
|
|
|
210
|
-
ViewSet for GroupRole.
|
|
204
|
+
ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
211
205
|
|
|
212
206
|
### Example
|
|
213
207
|
|
|
@@ -230,10 +224,10 @@ opts = {
|
|
|
230
224
|
|
|
231
225
|
begin
|
|
232
226
|
#Inspect a group role
|
|
233
|
-
result = api_instance.
|
|
227
|
+
result = api_instance.groups_roles_read(groups_group_role_href, opts)
|
|
234
228
|
p result
|
|
235
229
|
rescue PulpContainerClient::ApiError => e
|
|
236
|
-
puts "Exception when calling GroupsRolesApi->
|
|
230
|
+
puts "Exception when calling GroupsRolesApi->groups_roles_read: #{e}"
|
|
237
231
|
end
|
|
238
232
|
```
|
|
239
233
|
|
data/docs/GroupsUsersApi.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
# PulpContainerClient::GroupsUsersApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
8
|
-
[**
|
|
9
|
-
[**
|
|
7
|
+
[**groups_users_create**](GroupsUsersApi.md#groups_users_create) | **POST** {group_href}users/ | Create an user
|
|
8
|
+
[**groups_users_delete**](GroupsUsersApi.md#groups_users_delete) | **DELETE** {groups_user_href} | Delete an user
|
|
9
|
+
[**groups_users_list**](GroupsUsersApi.md#groups_users_list) | **GET** {group_href}users/ | List users
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## groups_users_create
|
|
14
14
|
|
|
15
|
-
> GroupUserResponse
|
|
15
|
+
> GroupUserResponse groups_users_create(group_href, group_user)
|
|
16
16
|
|
|
17
17
|
Create an user
|
|
18
18
|
|
|
@@ -36,10 +36,10 @@ group_user = PulpContainerClient::GroupUser.new # GroupUser |
|
|
|
36
36
|
|
|
37
37
|
begin
|
|
38
38
|
#Create an user
|
|
39
|
-
result = api_instance.
|
|
39
|
+
result = api_instance.groups_users_create(group_href, group_user)
|
|
40
40
|
p result
|
|
41
41
|
rescue PulpContainerClient::ApiError => e
|
|
42
|
-
puts "Exception when calling GroupsUsersApi->
|
|
42
|
+
puts "Exception when calling GroupsUsersApi->groups_users_create: #{e}"
|
|
43
43
|
end
|
|
44
44
|
```
|
|
45
45
|
|
|
@@ -65,9 +65,9 @@ Name | Type | Description | Notes
|
|
|
65
65
|
- **Accept**: application/json
|
|
66
66
|
|
|
67
67
|
|
|
68
|
-
##
|
|
68
|
+
## groups_users_delete
|
|
69
69
|
|
|
70
|
-
>
|
|
70
|
+
> groups_users_delete(groups_user_href)
|
|
71
71
|
|
|
72
72
|
Delete an user
|
|
73
73
|
|
|
@@ -90,9 +90,9 @@ groups_user_href = 'groups_user_href_example' # String |
|
|
|
90
90
|
|
|
91
91
|
begin
|
|
92
92
|
#Delete an user
|
|
93
|
-
api_instance.
|
|
93
|
+
api_instance.groups_users_delete(groups_user_href)
|
|
94
94
|
rescue PulpContainerClient::ApiError => e
|
|
95
|
-
puts "Exception when calling GroupsUsersApi->
|
|
95
|
+
puts "Exception when calling GroupsUsersApi->groups_users_delete: #{e}"
|
|
96
96
|
end
|
|
97
97
|
```
|
|
98
98
|
|
|
@@ -117,9 +117,9 @@ nil (empty response body)
|
|
|
117
117
|
- **Accept**: Not defined
|
|
118
118
|
|
|
119
119
|
|
|
120
|
-
##
|
|
120
|
+
## groups_users_list
|
|
121
121
|
|
|
122
|
-
> PaginatedGroupUserResponseList
|
|
122
|
+
> PaginatedGroupUserResponseList groups_users_list(group_href, opts)
|
|
123
123
|
|
|
124
124
|
List users
|
|
125
125
|
|
|
@@ -148,10 +148,10 @@ opts = {
|
|
|
148
148
|
|
|
149
149
|
begin
|
|
150
150
|
#List users
|
|
151
|
-
result = api_instance.
|
|
151
|
+
result = api_instance.groups_users_list(group_href, opts)
|
|
152
152
|
p result
|
|
153
153
|
rescue PulpContainerClient::ApiError => e
|
|
154
|
-
puts "Exception when calling GroupsUsersApi->
|
|
154
|
+
puts "Exception when calling GroupsUsersApi->groups_users_list: #{e}"
|
|
155
155
|
end
|
|
156
156
|
```
|
|
157
157
|
|