pulp_ansible_client 0.19.0 → 0.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +44 -32
- data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +1 -1
- data/docs/AnsibleCollectionVersion.md +6 -6
- data/docs/AnsibleCollectionsApi.md +15 -9
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/CollectionVersionListResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +1 -1
- data/docs/ContentCollectionDeprecationsApi.md +3 -1
- data/docs/ContentCollectionMarksApi.md +4 -2
- data/docs/ContentCollectionSignaturesApi.md +5 -3
- data/docs/ContentCollectionVersionsApi.md +7 -7
- data/docs/ContentNamespacesApi.md +19 -1
- data/docs/ContentRolesApi.md +3 -1
- data/docs/DistributionsAnsibleApi.md +136 -10
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/PatchedansibleGitRemote.md +24 -24
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3Api.md +1 -1
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +3 -1
- data/docs/PulpAnsibleApiV3CollectionsApi.md +3 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +19 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +3 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +3 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +23 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md +1 -1
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +3 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +3 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +19 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +3 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +3 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +23 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +1 -1
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +135 -9
- data/docs/RemotesGitApi.md +135 -9
- data/docs/RemotesRoleApi.md +135 -9
- data/docs/RepositoriesAnsibleApi.md +136 -10
- data/docs/RepositoriesAnsibleVersionsApi.md +3 -1
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/UnpaginatedCollectionVersionResponse.md +1 -1
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +11 -0
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +27 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +3 -0
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +163 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +27 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +35 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +27 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +35 -8
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +163 -0
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +163 -0
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +163 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +163 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +3 -0
- data/lib/pulp_ansible_client/configuration.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +25 -25
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +195 -195
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +130 -130
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +24 -0
- data/lib/pulp_ansible_client/models/collection_version_response.rb +24 -0
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +186 -186
- data/lib/pulp_ansible_client/models/{progress_report_response.rb → set_label.rb} +52 -59
- data/lib/pulp_ansible_client/models/set_label_response.rb +243 -0
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +24 -0
- data/lib/pulp_ansible_client/models/{task.rb → unset_label.rb} +31 -55
- data/lib/pulp_ansible_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +4 -3
- data/spec/api/ansible_collections_api_spec.rb +5 -0
- data/spec/api/content_collection_deprecations_api_spec.rb +1 -0
- data/spec/api/content_collection_marks_api_spec.rb +1 -0
- data/spec/api/content_collection_signatures_api_spec.rb +1 -0
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/api/content_namespaces_api_spec.rb +9 -0
- data/spec/api/content_roles_api_spec.rb +1 -0
- data/spec/api/distributions_ansible_api_spec.rb +35 -0
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +9 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +13 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +9 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +13 -4
- data/spec/api/remotes_collection_api_spec.rb +35 -0
- data/spec/api/remotes_git_api_spec.rb +35 -0
- data/spec/api/remotes_role_api_spec.rb +35 -0
- data/spec/api/repositories_ansible_api_spec.rb +35 -0
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_version_spec.rb +4 -4
- data/spec/models/ansible_git_remote_response_spec.rb +17 -17
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/{task_spec.rb → set_label_spec.rb} +8 -8
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +147 -143
- data/docs/ProgressReportResponse.md +0 -27
- data/docs/Task.md +0 -19
- data/docs/TaskResponse.md +0 -47
- data/lib/pulp_ansible_client/models/task_response.rb +0 -376
- data/spec/models/progress_report_response_spec.rb +0 -71
- data/spec/models/task_response_spec.rb +0 -131
@@ -38,7 +38,11 @@ describe 'PulpAnsibleDefaultApiV3NamespacesApi' do
|
|
38
38
|
# @option opts [String] :company Filter results where company matches value
|
39
39
|
# @option opts [String] :company__contains Filter results where company contains value
|
40
40
|
# @option opts [String] :company__icontains Filter results where company contains value
|
41
|
+
# @option opts [String] :company__iexact Filter results where company matches value
|
41
42
|
# @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
|
43
|
+
# @option opts [String] :company__iregex Filter results where company matches regex value
|
44
|
+
# @option opts [String] :company__istartswith Filter results where company starts with value
|
45
|
+
# @option opts [String] :company__regex Filter results where company matches regex value
|
42
46
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
43
47
|
# @option opts [Integer] :limit Number of results to return per page.
|
44
48
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -46,12 +50,17 @@ describe 'PulpAnsibleDefaultApiV3NamespacesApi' do
|
|
46
50
|
# @option opts [String] :name Filter results where name matches value
|
47
51
|
# @option opts [String] :name__contains Filter results where name contains value
|
48
52
|
# @option opts [String] :name__icontains Filter results where name contains value
|
53
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
49
54
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
55
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
56
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
57
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
50
58
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
51
59
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
52
60
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
53
61
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
54
62
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
63
|
+
# @option opts [String] :q
|
55
64
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
56
65
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
57
66
|
# @return [PaginatedansibleAnsibleNamespaceMetadataResponseList]
|
@@ -42,6 +42,7 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsAp
|
|
42
42
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
43
43
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
44
44
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
45
|
+
# @option opts [String] :q
|
45
46
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
46
47
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
47
48
|
# @return [Array<CollectionResponse>]
|
data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb
CHANGED
@@ -57,6 +57,7 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi' do
|
|
57
57
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
58
58
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
59
59
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
60
|
+
# @option opts [String] :q
|
60
61
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
61
62
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
62
63
|
# @return [PaginatedCollectionResponseList]
|
@@ -33,7 +33,7 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for create
|
36
|
-
#
|
36
|
+
# Provides the authentication and permission classes from settings.
|
37
37
|
# @param distro_base_path
|
38
38
|
# @param name Required named, only accepts lowercase, numbers and underscores.
|
39
39
|
# @param [Hash] opts the optional parameters
|
@@ -63,13 +63,17 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi' do
|
|
63
63
|
end
|
64
64
|
|
65
65
|
# unit tests for list
|
66
|
-
#
|
66
|
+
# Provides the authentication and permission classes from settings.
|
67
67
|
# @param distro_base_path
|
68
68
|
# @param [Hash] opts the optional parameters
|
69
69
|
# @option opts [String] :company Filter results where company matches value
|
70
70
|
# @option opts [String] :company__contains Filter results where company contains value
|
71
71
|
# @option opts [String] :company__icontains Filter results where company contains value
|
72
|
+
# @option opts [String] :company__iexact Filter results where company matches value
|
72
73
|
# @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
|
74
|
+
# @option opts [String] :company__iregex Filter results where company matches regex value
|
75
|
+
# @option opts [String] :company__istartswith Filter results where company starts with value
|
76
|
+
# @option opts [String] :company__regex Filter results where company matches regex value
|
73
77
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
74
78
|
# @option opts [Integer] :limit Number of results to return per page.
|
75
79
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -77,12 +81,17 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi' do
|
|
77
81
|
# @option opts [String] :name Filter results where name matches value
|
78
82
|
# @option opts [String] :name__contains Filter results where name contains value
|
79
83
|
# @option opts [String] :name__icontains Filter results where name contains value
|
84
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
80
85
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
86
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
87
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
88
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
81
89
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
82
90
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
83
91
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
84
92
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
85
93
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
94
|
+
# @option opts [String] :q
|
86
95
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
87
96
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
88
97
|
# @return [PaginatedansibleAnsibleNamespaceMetadataResponseList]
|
@@ -93,7 +102,7 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi' do
|
|
93
102
|
end
|
94
103
|
|
95
104
|
# unit tests for partial_update
|
96
|
-
#
|
105
|
+
# Provides the authentication and permission classes from settings.
|
97
106
|
# @param distro_base_path
|
98
107
|
# @param name
|
99
108
|
# @param [Hash] opts the optional parameters
|
@@ -112,7 +121,7 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi' do
|
|
112
121
|
end
|
113
122
|
|
114
123
|
# unit tests for read
|
115
|
-
#
|
124
|
+
# Provides the authentication and permission classes from settings.
|
116
125
|
# @param distro_base_path
|
117
126
|
# @param name
|
118
127
|
# @param [Hash] opts the optional parameters
|
@@ -33,6 +33,7 @@ describe 'RemotesCollectionApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for add_role
|
36
|
+
# Add a role
|
36
37
|
# Add a role for this object to users/groups.
|
37
38
|
# @param ansible_collection_remote_href
|
38
39
|
# @param nested_role
|
@@ -76,7 +77,11 @@ describe 'RemotesCollectionApi' do
|
|
76
77
|
# @option opts [String] :name Filter results where name matches value
|
77
78
|
# @option opts [String] :name__contains Filter results where name contains value
|
78
79
|
# @option opts [String] :name__icontains Filter results where name contains value
|
80
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
79
81
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
82
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
83
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
84
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
80
85
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
81
86
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
87
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -89,6 +94,7 @@ describe 'RemotesCollectionApi' do
|
|
89
94
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
90
95
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
91
96
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
97
|
+
# @option opts [String] :q
|
92
98
|
# @option opts [String] :url Filter results where url matches value
|
93
99
|
# @option opts [String] :url__contains Filter results where url contains value
|
94
100
|
# @option opts [String] :url__icontains Filter results where url contains value
|
@@ -103,6 +109,7 @@ describe 'RemotesCollectionApi' do
|
|
103
109
|
end
|
104
110
|
|
105
111
|
# unit tests for list_roles
|
112
|
+
# List roles
|
106
113
|
# List roles assigned to this object.
|
107
114
|
# @param ansible_collection_remote_href
|
108
115
|
# @param [Hash] opts the optional parameters
|
@@ -116,6 +123,7 @@ describe 'RemotesCollectionApi' do
|
|
116
123
|
end
|
117
124
|
|
118
125
|
# unit tests for my_permissions
|
126
|
+
# List user permissions
|
119
127
|
# List permissions available to the current user on this object.
|
120
128
|
# @param ansible_collection_remote_href
|
121
129
|
# @param [Hash] opts the optional parameters
|
@@ -156,6 +164,7 @@ describe 'RemotesCollectionApi' do
|
|
156
164
|
end
|
157
165
|
|
158
166
|
# unit tests for remove_role
|
167
|
+
# Remove a role
|
159
168
|
# Remove a role for this object from users/groups.
|
160
169
|
# @param ansible_collection_remote_href
|
161
170
|
# @param nested_role
|
@@ -167,6 +176,32 @@ describe 'RemotesCollectionApi' do
|
|
167
176
|
end
|
168
177
|
end
|
169
178
|
|
179
|
+
# unit tests for set_label
|
180
|
+
# Set a label
|
181
|
+
# Set a single pulp_label on the object to a specific value or null.
|
182
|
+
# @param ansible_collection_remote_href
|
183
|
+
# @param set_label
|
184
|
+
# @param [Hash] opts the optional parameters
|
185
|
+
# @return [SetLabelResponse]
|
186
|
+
describe 'set_label test' do
|
187
|
+
it 'should work' do
|
188
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
# unit tests for unset_label
|
193
|
+
# Unset a label
|
194
|
+
# Unset a single pulp_label on the object.
|
195
|
+
# @param ansible_collection_remote_href
|
196
|
+
# @param unset_label
|
197
|
+
# @param [Hash] opts the optional parameters
|
198
|
+
# @return [UnsetLabelResponse]
|
199
|
+
describe 'unset_label test' do
|
200
|
+
it 'should work' do
|
201
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
170
205
|
# unit tests for update
|
171
206
|
# Update a collection remote
|
172
207
|
# Trigger an asynchronous update task
|
@@ -33,6 +33,7 @@ describe 'RemotesGitApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for add_role
|
36
|
+
# Add a role
|
36
37
|
# Add a role for this object to users/groups.
|
37
38
|
# @param ansible_git_remote_href
|
38
39
|
# @param nested_role
|
@@ -76,7 +77,11 @@ describe 'RemotesGitApi' do
|
|
76
77
|
# @option opts [String] :name Filter results where name matches value
|
77
78
|
# @option opts [String] :name__contains Filter results where name contains value
|
78
79
|
# @option opts [String] :name__icontains Filter results where name contains value
|
80
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
79
81
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
82
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
83
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
84
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
80
85
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
81
86
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
87
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -89,6 +94,7 @@ describe 'RemotesGitApi' do
|
|
89
94
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
90
95
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
91
96
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
97
|
+
# @option opts [String] :q
|
92
98
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
93
99
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
94
100
|
# @return [PaginatedansibleGitRemoteResponseList]
|
@@ -99,6 +105,7 @@ describe 'RemotesGitApi' do
|
|
99
105
|
end
|
100
106
|
|
101
107
|
# unit tests for list_roles
|
108
|
+
# List roles
|
102
109
|
# List roles assigned to this object.
|
103
110
|
# @param ansible_git_remote_href
|
104
111
|
# @param [Hash] opts the optional parameters
|
@@ -112,6 +119,7 @@ describe 'RemotesGitApi' do
|
|
112
119
|
end
|
113
120
|
|
114
121
|
# unit tests for my_permissions
|
122
|
+
# List user permissions
|
115
123
|
# List permissions available to the current user on this object.
|
116
124
|
# @param ansible_git_remote_href
|
117
125
|
# @param [Hash] opts the optional parameters
|
@@ -152,6 +160,7 @@ describe 'RemotesGitApi' do
|
|
152
160
|
end
|
153
161
|
|
154
162
|
# unit tests for remove_role
|
163
|
+
# Remove a role
|
155
164
|
# Remove a role for this object from users/groups.
|
156
165
|
# @param ansible_git_remote_href
|
157
166
|
# @param nested_role
|
@@ -163,6 +172,32 @@ describe 'RemotesGitApi' do
|
|
163
172
|
end
|
164
173
|
end
|
165
174
|
|
175
|
+
# unit tests for set_label
|
176
|
+
# Set a label
|
177
|
+
# Set a single pulp_label on the object to a specific value or null.
|
178
|
+
# @param ansible_git_remote_href
|
179
|
+
# @param set_label
|
180
|
+
# @param [Hash] opts the optional parameters
|
181
|
+
# @return [SetLabelResponse]
|
182
|
+
describe 'set_label test' do
|
183
|
+
it 'should work' do
|
184
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
188
|
+
# unit tests for unset_label
|
189
|
+
# Unset a label
|
190
|
+
# Unset a single pulp_label on the object.
|
191
|
+
# @param ansible_git_remote_href
|
192
|
+
# @param unset_label
|
193
|
+
# @param [Hash] opts the optional parameters
|
194
|
+
# @return [UnsetLabelResponse]
|
195
|
+
describe 'unset_label test' do
|
196
|
+
it 'should work' do
|
197
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
166
201
|
# unit tests for update
|
167
202
|
# Update a git remote
|
168
203
|
# Trigger an asynchronous update task
|
@@ -33,6 +33,7 @@ describe 'RemotesRoleApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for add_role
|
36
|
+
# Add a role
|
36
37
|
# Add a role for this object to users/groups.
|
37
38
|
# @param ansible_role_remote_href
|
38
39
|
# @param nested_role
|
@@ -76,7 +77,11 @@ describe 'RemotesRoleApi' do
|
|
76
77
|
# @option opts [String] :name Filter results where name matches value
|
77
78
|
# @option opts [String] :name__contains Filter results where name contains value
|
78
79
|
# @option opts [String] :name__icontains Filter results where name contains value
|
80
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
79
81
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
82
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
83
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
84
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
80
85
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
81
86
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
87
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -89,6 +94,7 @@ describe 'RemotesRoleApi' do
|
|
89
94
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
90
95
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
91
96
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
97
|
+
# @option opts [String] :q
|
92
98
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
93
99
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
94
100
|
# @return [PaginatedansibleRoleRemoteResponseList]
|
@@ -99,6 +105,7 @@ describe 'RemotesRoleApi' do
|
|
99
105
|
end
|
100
106
|
|
101
107
|
# unit tests for list_roles
|
108
|
+
# List roles
|
102
109
|
# List roles assigned to this object.
|
103
110
|
# @param ansible_role_remote_href
|
104
111
|
# @param [Hash] opts the optional parameters
|
@@ -112,6 +119,7 @@ describe 'RemotesRoleApi' do
|
|
112
119
|
end
|
113
120
|
|
114
121
|
# unit tests for my_permissions
|
122
|
+
# List user permissions
|
115
123
|
# List permissions available to the current user on this object.
|
116
124
|
# @param ansible_role_remote_href
|
117
125
|
# @param [Hash] opts the optional parameters
|
@@ -152,6 +160,7 @@ describe 'RemotesRoleApi' do
|
|
152
160
|
end
|
153
161
|
|
154
162
|
# unit tests for remove_role
|
163
|
+
# Remove a role
|
155
164
|
# Remove a role for this object from users/groups.
|
156
165
|
# @param ansible_role_remote_href
|
157
166
|
# @param nested_role
|
@@ -163,6 +172,32 @@ describe 'RemotesRoleApi' do
|
|
163
172
|
end
|
164
173
|
end
|
165
174
|
|
175
|
+
# unit tests for set_label
|
176
|
+
# Set a label
|
177
|
+
# Set a single pulp_label on the object to a specific value or null.
|
178
|
+
# @param ansible_role_remote_href
|
179
|
+
# @param set_label
|
180
|
+
# @param [Hash] opts the optional parameters
|
181
|
+
# @return [SetLabelResponse]
|
182
|
+
describe 'set_label test' do
|
183
|
+
it 'should work' do
|
184
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
188
|
+
# unit tests for unset_label
|
189
|
+
# Unset a label
|
190
|
+
# Unset a single pulp_label on the object.
|
191
|
+
# @param ansible_role_remote_href
|
192
|
+
# @param unset_label
|
193
|
+
# @param [Hash] opts the optional parameters
|
194
|
+
# @return [UnsetLabelResponse]
|
195
|
+
describe 'unset_label test' do
|
196
|
+
it 'should work' do
|
197
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
166
201
|
# unit tests for update
|
167
202
|
# Update a role remote
|
168
203
|
# Trigger an asynchronous update task
|
@@ -33,6 +33,7 @@ describe 'RepositoriesAnsibleApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for add_role
|
36
|
+
# Add a role
|
36
37
|
# Add a role for this object to users/groups.
|
37
38
|
# @param ansible_ansible_repository_href
|
38
39
|
# @param nested_role
|
@@ -89,13 +90,18 @@ describe 'RepositoriesAnsibleApi' do
|
|
89
90
|
# @option opts [String] :name Filter results where name matches value
|
90
91
|
# @option opts [String] :name__contains Filter results where name contains value
|
91
92
|
# @option opts [String] :name__icontains Filter results where name contains value
|
93
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
92
94
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
95
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
96
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
97
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
93
98
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
94
99
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
95
100
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
96
101
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
97
102
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
98
103
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
104
|
+
# @option opts [String] :q
|
99
105
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
100
106
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
101
107
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -116,6 +122,7 @@ describe 'RepositoriesAnsibleApi' do
|
|
116
122
|
end
|
117
123
|
|
118
124
|
# unit tests for list_roles
|
125
|
+
# List roles
|
119
126
|
# List roles assigned to this object.
|
120
127
|
# @param ansible_ansible_repository_href
|
121
128
|
# @param [Hash] opts the optional parameters
|
@@ -166,6 +173,7 @@ describe 'RepositoriesAnsibleApi' do
|
|
166
173
|
end
|
167
174
|
|
168
175
|
# unit tests for my_permissions
|
176
|
+
# List user permissions
|
169
177
|
# List permissions available to the current user on this object.
|
170
178
|
# @param ansible_ansible_repository_href
|
171
179
|
# @param [Hash] opts the optional parameters
|
@@ -218,6 +226,7 @@ describe 'RepositoriesAnsibleApi' do
|
|
218
226
|
end
|
219
227
|
|
220
228
|
# unit tests for remove_role
|
229
|
+
# Remove a role
|
221
230
|
# Remove a role for this object from users/groups.
|
222
231
|
# @param ansible_ansible_repository_href
|
223
232
|
# @param nested_role
|
@@ -229,6 +238,19 @@ describe 'RepositoriesAnsibleApi' do
|
|
229
238
|
end
|
230
239
|
end
|
231
240
|
|
241
|
+
# unit tests for set_label
|
242
|
+
# Set a label
|
243
|
+
# Set a single pulp_label on the object to a specific value or null.
|
244
|
+
# @param ansible_ansible_repository_href
|
245
|
+
# @param set_label
|
246
|
+
# @param [Hash] opts the optional parameters
|
247
|
+
# @return [SetLabelResponse]
|
248
|
+
describe 'set_label test' do
|
249
|
+
it 'should work' do
|
250
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
232
254
|
# unit tests for sign
|
233
255
|
# Trigger an asynchronous task to sign Ansible content.
|
234
256
|
# @param ansible_ansible_repository_href
|
@@ -265,6 +287,19 @@ describe 'RepositoriesAnsibleApi' do
|
|
265
287
|
end
|
266
288
|
end
|
267
289
|
|
290
|
+
# unit tests for unset_label
|
291
|
+
# Unset a label
|
292
|
+
# Unset a single pulp_label on the object.
|
293
|
+
# @param ansible_ansible_repository_href
|
294
|
+
# @param unset_label
|
295
|
+
# @param [Hash] opts the optional parameters
|
296
|
+
# @return [UnsetLabelResponse]
|
297
|
+
describe 'unset_label test' do
|
298
|
+
it 'should work' do
|
299
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
268
303
|
# unit tests for update
|
269
304
|
# Update an ansible repository
|
270
305
|
# Trigger an asynchronous update task
|
@@ -67,6 +67,7 @@ describe 'RepositoriesAnsibleVersionsApi' do
|
|
67
67
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
68
68
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
69
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
70
|
+
# @option opts [String] :q
|
70
71
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
71
72
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
72
73
|
# @return [PaginatedRepositoryVersionResponseList]
|
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe PulpAnsibleClient::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
# require 'URI'
|
21
|
-
# uri = URI.parse("
|
21
|
+
# uri = URI.parse("http://pulp")
|
22
22
|
# PulpAnsibleClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe PulpAnsibleClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("
|
31
|
+
# expect(config.base_url).to eq("http://pulp")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("
|
38
|
+
# expect(config.base_url).to eq("http://pulp")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -32,25 +32,25 @@ describe 'AnsibleCollectionVersion' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleCollectionVersion)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "file"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "artifact"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "repository"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "upload"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|