pulpcore_client 3.34.0 → 3.36.0
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 +10 -4
- data/docs/AccessPoliciesApi.md +4 -0
- data/docs/ArtifactDistributionResponse.md +10 -10
- data/docs/ContentguardsApi.md +4 -0
- data/docs/ContentguardsContentRedirectApi.md +4 -0
- data/docs/ContentguardsRbacApi.md +4 -0
- data/docs/DistributionsApi.md +4 -0
- data/docs/DistributionsArtifactsApi.md +4 -0
- data/docs/DomainsApi.md +4 -0
- data/docs/ExportersFilesystemApi.md +4 -0
- data/docs/ExportersPulpApi.md +4 -0
- data/docs/ImportersPulpApi.md +4 -0
- data/docs/RemotesApi.md +4 -0
- data/docs/RepositoriesApi.md +4 -0
- data/docs/RolesApi.md +4 -0
- data/docs/TasksApi.md +2 -2
- data/docs/UpstreamPulpsApi.md +232 -0
- data/docs/WorkersApi.md +4 -0
- data/lib/pulpcore_client/api/access_policies_api.rb +6 -0
- data/lib/pulpcore_client/api/contentguards_api.rb +6 -0
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +6 -0
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +6 -0
- data/lib/pulpcore_client/api/distributions_api.rb +6 -0
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -0
- data/lib/pulpcore_client/api/domains_api.rb +6 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +6 -0
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +6 -0
- data/lib/pulpcore_client/api/importers_pulp_api.rb +6 -0
- data/lib/pulpcore_client/api/remotes_api.rb +6 -0
- data/lib/pulpcore_client/api/repositories_api.rb +6 -0
- data/lib/pulpcore_client/api/roles_api.rb +6 -0
- data/lib/pulpcore_client/api/tasks_api.rb +3 -3
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +276 -0
- data/lib/pulpcore_client/api/workers_api.rb +6 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +47 -47
- data/lib/pulpcore_client/models/storage_response.rb +3 -27
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/access_policies_api_spec.rb +2 -0
- data/spec/api/contentguards_api_spec.rb +2 -0
- data/spec/api/contentguards_content_redirect_api_spec.rb +2 -0
- data/spec/api/contentguards_rbac_api_spec.rb +2 -0
- data/spec/api/distributions_api_spec.rb +2 -0
- data/spec/api/distributions_artifacts_api_spec.rb +2 -0
- data/spec/api/domains_api_spec.rb +2 -0
- data/spec/api/exporters_filesystem_api_spec.rb +2 -0
- data/spec/api/exporters_pulp_api_spec.rb +2 -0
- data/spec/api/importers_pulp_api_spec.rb +2 -0
- data/spec/api/remotes_api_spec.rb +2 -0
- data/spec/api/repositories_api_spec.rb +2 -0
- data/spec/api/roles_api_spec.rb +2 -0
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/api/upstream_pulps_api_spec.rb +54 -0
- data/spec/api/workers_api_spec.rb +2 -0
- data/spec/models/artifact_distribution_response_spec.rb +8 -8
- metadata +143 -143
@@ -45,6 +45,9 @@ module PulpcoreClient
|
|
45
45
|
# List of attributes with nullable: true
|
46
46
|
def self.openapi_nullable
|
47
47
|
Set.new([
|
48
|
+
:'total',
|
49
|
+
:'used',
|
50
|
+
:'free'
|
48
51
|
])
|
49
52
|
end
|
50
53
|
|
@@ -80,26 +83,14 @@ module PulpcoreClient
|
|
80
83
|
# @return Array for valid properties with the reasons
|
81
84
|
def list_invalid_properties
|
82
85
|
invalid_properties = Array.new
|
83
|
-
if @total.nil?
|
84
|
-
invalid_properties.push('invalid value for "total", total cannot be nil.')
|
85
|
-
end
|
86
|
-
|
87
86
|
if @total < 0
|
88
87
|
invalid_properties.push('invalid value for "total", must be greater than or equal to 0.')
|
89
88
|
end
|
90
89
|
|
91
|
-
if @used.nil?
|
92
|
-
invalid_properties.push('invalid value for "used", used cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
90
|
if @used < 0
|
96
91
|
invalid_properties.push('invalid value for "used", must be greater than or equal to 0.')
|
97
92
|
end
|
98
93
|
|
99
|
-
if @free.nil?
|
100
|
-
invalid_properties.push('invalid value for "free", free cannot be nil.')
|
101
|
-
end
|
102
|
-
|
103
94
|
if @free < 0
|
104
95
|
invalid_properties.push('invalid value for "free", must be greater than or equal to 0.')
|
105
96
|
end
|
@@ -110,11 +101,8 @@ module PulpcoreClient
|
|
110
101
|
# Check to see if the all the properties in the model are valid
|
111
102
|
# @return true if the model is valid
|
112
103
|
def valid?
|
113
|
-
return false if @total.nil?
|
114
104
|
return false if @total < 0
|
115
|
-
return false if @used.nil?
|
116
105
|
return false if @used < 0
|
117
|
-
return false if @free.nil?
|
118
106
|
return false if @free < 0
|
119
107
|
true
|
120
108
|
end
|
@@ -122,10 +110,6 @@ module PulpcoreClient
|
|
122
110
|
# Custom attribute writer method with validation
|
123
111
|
# @param [Object] total Value to be assigned
|
124
112
|
def total=(total)
|
125
|
-
if total.nil?
|
126
|
-
fail ArgumentError, 'total cannot be nil'
|
127
|
-
end
|
128
|
-
|
129
113
|
if total < 0
|
130
114
|
fail ArgumentError, 'invalid value for "total", must be greater than or equal to 0.'
|
131
115
|
end
|
@@ -136,10 +120,6 @@ module PulpcoreClient
|
|
136
120
|
# Custom attribute writer method with validation
|
137
121
|
# @param [Object] used Value to be assigned
|
138
122
|
def used=(used)
|
139
|
-
if used.nil?
|
140
|
-
fail ArgumentError, 'used cannot be nil'
|
141
|
-
end
|
142
|
-
|
143
123
|
if used < 0
|
144
124
|
fail ArgumentError, 'invalid value for "used", must be greater than or equal to 0.'
|
145
125
|
end
|
@@ -150,10 +130,6 @@ module PulpcoreClient
|
|
150
130
|
# Custom attribute writer method with validation
|
151
131
|
# @param [Object] free Value to be assigned
|
152
132
|
def free=(free)
|
153
|
-
if free.nil?
|
154
|
-
fail ArgumentError, 'free cannot be nil'
|
155
|
-
end
|
156
|
-
|
157
133
|
if free < 0
|
158
134
|
fail ArgumentError, 'invalid value for "free", must be greater than or equal to 0.'
|
159
135
|
end
|
@@ -48,7 +48,9 @@ describe 'AccessPoliciesApi' do
|
|
48
48
|
# @option opts [String] :viewset_name__icontains Filter results where viewset_name contains value
|
49
49
|
# @option opts [String] :viewset_name__iexact Filter results where viewset_name matches value
|
50
50
|
# @option opts [Array<String>] :viewset_name__in Filter results where viewset_name is in a comma-separated list of values
|
51
|
+
# @option opts [String] :viewset_name__iregex Filter results where viewset_name matches regex value
|
51
52
|
# @option opts [String] :viewset_name__istartswith Filter results where viewset_name starts with value
|
53
|
+
# @option opts [String] :viewset_name__regex Filter results where viewset_name matches regex value
|
52
54
|
# @option opts [String] :viewset_name__startswith Filter results where viewset_name starts with value
|
53
55
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
54
56
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -42,7 +42,9 @@ describe 'ContentguardsApi' do
|
|
42
42
|
# @option opts [String] :name__icontains Filter results where name contains value
|
43
43
|
# @option opts [String] :name__iexact Filter results where name matches value
|
44
44
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
45
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
45
46
|
# @option opts [String] :name__istartswith Filter results where name starts with value
|
47
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
46
48
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
47
49
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
48
50
|
# @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) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -79,7 +79,9 @@ describe 'ContentguardsContentRedirectApi' do
|
|
79
79
|
# @option opts [String] :name__icontains Filter results where name contains value
|
80
80
|
# @option opts [String] :name__iexact Filter results where name matches value
|
81
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
|
82
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
|
83
85
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
84
86
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
85
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) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -79,7 +79,9 @@ describe 'ContentguardsRbacApi' do
|
|
79
79
|
# @option opts [String] :name__icontains Filter results where name contains value
|
80
80
|
# @option opts [String] :name__iexact Filter results where name matches value
|
81
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
|
82
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
|
83
85
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
84
86
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
85
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) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -46,7 +46,9 @@ describe 'DistributionsApi' do
|
|
46
46
|
# @option opts [String] :name__icontains Filter results where name contains value
|
47
47
|
# @option opts [String] :name__iexact Filter results where name matches value
|
48
48
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
49
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
49
50
|
# @option opts [String] :name__istartswith Filter results where name starts with value
|
51
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
50
52
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
51
53
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
52
54
|
# @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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -46,7 +46,9 @@ describe 'DistributionsArtifactsApi' do
|
|
46
46
|
# @option opts [String] :name__icontains Filter results where name contains value
|
47
47
|
# @option opts [String] :name__iexact Filter results where name matches value
|
48
48
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
49
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
49
50
|
# @option opts [String] :name__istartswith Filter results where name starts with value
|
51
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
50
52
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
51
53
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
52
54
|
# @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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -66,7 +66,9 @@ describe 'DomainsApi' do
|
|
66
66
|
# @option opts [String] :name__icontains Filter results where name contains value
|
67
67
|
# @option opts [String] :name__iexact Filter results where name matches value
|
68
68
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
69
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
69
70
|
# @option opts [String] :name__istartswith Filter results where name starts with value
|
71
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
70
72
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
71
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
72
74
|
# @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) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `storage_class` - Storage class * `-storage_class` - Storage class (descending) * `storage_settings` - Storage settings * `-storage_settings` - Storage settings (descending) * `redirect_to_object_storage` - Redirect to object storage * `-redirect_to_object_storage` - Redirect to object storage (descending) * `hide_guarded_distributions` - Hide guarded distributions * `-hide_guarded_distributions` - Hide guarded distributions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -66,7 +66,9 @@ describe 'ExportersFilesystemApi' do
|
|
66
66
|
# @option opts [String] :name__icontains Filter results where name contains value
|
67
67
|
# @option opts [String] :name__iexact Filter results where name matches value
|
68
68
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
69
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
69
70
|
# @option opts [String] :name__istartswith Filter results where name starts with value
|
71
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
70
72
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
71
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
72
74
|
# @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) * `path` - Path * `-path` - Path (descending) * `method` - Method * `-method` - Method (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -66,7 +66,9 @@ describe 'ExportersPulpApi' do
|
|
66
66
|
# @option opts [String] :name__icontains Filter results where name contains value
|
67
67
|
# @option opts [String] :name__iexact Filter results where name matches value
|
68
68
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
69
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
69
70
|
# @option opts [String] :name__istartswith Filter results where name starts with value
|
71
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
70
72
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
71
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
72
74
|
# @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) * `path` - Path * `-path` - Path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -66,7 +66,9 @@ describe 'ImportersPulpApi' do
|
|
66
66
|
# @option opts [String] :name__icontains Filter results where name contains value
|
67
67
|
# @option opts [String] :name__iexact Filter results where name matches value
|
68
68
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
69
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
69
70
|
# @option opts [String] :name__istartswith Filter results where name starts with value
|
71
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
70
72
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
71
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
72
74
|
# @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) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -42,7 +42,9 @@ describe 'RemotesApi' do
|
|
42
42
|
# @option opts [String] :name__icontains Filter results where name contains value
|
43
43
|
# @option opts [String] :name__iexact Filter results where name matches value
|
44
44
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
45
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
45
46
|
# @option opts [String] :name__istartswith Filter results where name starts with value
|
47
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
46
48
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
47
49
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
48
50
|
# @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)
|
@@ -43,7 +43,9 @@ describe 'RepositoriesApi' do
|
|
43
43
|
# @option opts [String] :name__icontains Filter results where name contains value
|
44
44
|
# @option opts [String] :name__iexact Filter results where name matches value
|
45
45
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
46
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
46
47
|
# @option opts [String] :name__istartswith Filter results where name starts with value
|
48
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
47
49
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
48
50
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
49
51
|
# @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)
|
data/spec/api/roles_api_spec.rb
CHANGED
@@ -73,7 +73,9 @@ describe 'RolesApi' do
|
|
73
73
|
# @option opts [String] :name__icontains Filter results where name contains value
|
74
74
|
# @option opts [String] :name__iexact Filter results where name matches value
|
75
75
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
76
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
76
77
|
# @option opts [String] :name__istartswith Filter results where name starts with value
|
78
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
77
79
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
78
80
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
79
81
|
# @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) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `locked` - Locked * `-locked` - Locked (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
data/spec/api/tasks_api_spec.rb
CHANGED
@@ -79,7 +79,7 @@ describe 'TasksApi' do
|
|
79
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
80
80
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
81
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
|
-
# @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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
82
|
+
# @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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
83
83
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
84
84
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
85
85
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -32,6 +32,19 @@ describe 'UpstreamPulpsApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for add_role
|
36
|
+
# Add a role
|
37
|
+
# Add a role for this object to users/groups.
|
38
|
+
# @param upstream_pulp_href
|
39
|
+
# @param nested_role
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @return [NestedRoleResponse]
|
42
|
+
describe 'add_role test' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
35
48
|
# unit tests for create
|
36
49
|
# Create an upstream pulp
|
37
50
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
@@ -71,6 +84,34 @@ describe 'UpstreamPulpsApi' do
|
|
71
84
|
end
|
72
85
|
end
|
73
86
|
|
87
|
+
# unit tests for list_roles
|
88
|
+
# List roles
|
89
|
+
# List roles assigned to this object.
|
90
|
+
# @param upstream_pulp_href
|
91
|
+
# @param [Hash] opts the optional parameters
|
92
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
93
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
94
|
+
# @return [ObjectRolesResponse]
|
95
|
+
describe 'list_roles test' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
# unit tests for my_permissions
|
102
|
+
# List user permissions
|
103
|
+
# List permissions available to the current user on this object.
|
104
|
+
# @param upstream_pulp_href
|
105
|
+
# @param [Hash] opts the optional parameters
|
106
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
107
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
108
|
+
# @return [MyPermissionsResponse]
|
109
|
+
describe 'my_permissions test' do
|
110
|
+
it 'should work' do
|
111
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
74
115
|
# unit tests for partial_update
|
75
116
|
# Update an upstream pulp
|
76
117
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
@@ -98,6 +139,19 @@ describe 'UpstreamPulpsApi' do
|
|
98
139
|
end
|
99
140
|
end
|
100
141
|
|
142
|
+
# unit tests for remove_role
|
143
|
+
# Remove a role
|
144
|
+
# Remove a role for this object from users/groups.
|
145
|
+
# @param upstream_pulp_href
|
146
|
+
# @param nested_role
|
147
|
+
# @param [Hash] opts the optional parameters
|
148
|
+
# @return [NestedRoleResponse]
|
149
|
+
describe 'remove_role test' do
|
150
|
+
it 'should work' do
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
101
155
|
# unit tests for replicate
|
102
156
|
# Replicate
|
103
157
|
# Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
@@ -49,7 +49,9 @@ describe 'WorkersApi' do
|
|
49
49
|
# @option opts [String] :name__icontains Filter results where name contains value
|
50
50
|
# @option opts [String] :name__iexact Filter results where name matches value
|
51
51
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
52
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
52
53
|
# @option opts [String] :name__istartswith Filter results where name starts with value
|
54
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
53
55
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
54
56
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
57
|
# @option opts [Boolean] :online
|
@@ -32,49 +32,49 @@ describe 'ArtifactDistributionResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "base_path"' 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 "hidden"' 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 "pulp_created"' 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 "pulp_labels"' 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
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "content_guard"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "base_url"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "pulp_href"' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "name"' do
|
78
78
|
it 'should work' do
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
80
|
end
|