pulpcore_client 3.34.0 → 3.35.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 +9 -9
- 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 +46 -46
- 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
|
@@ -15,53 +15,53 @@ require 'date'
|
|
|
15
15
|
module PulpcoreClient
|
|
16
16
|
# A serializer for ArtifactDistribution.
|
|
17
17
|
class ArtifactDistributionResponse
|
|
18
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
19
|
+
attr_accessor :name
|
|
20
|
+
|
|
18
21
|
# An optional content-guard.
|
|
19
22
|
attr_accessor :content_guard
|
|
20
23
|
|
|
24
|
+
# Whether this distribution should be shown in the content app.
|
|
25
|
+
attr_accessor :hidden
|
|
26
|
+
|
|
21
27
|
# The URL for accessing the publication as defined by this distribution.
|
|
22
28
|
attr_accessor :base_url
|
|
23
29
|
|
|
24
|
-
attr_accessor :
|
|
25
|
-
|
|
26
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
27
|
-
attr_accessor :base_path
|
|
30
|
+
attr_accessor :pulp_labels
|
|
28
31
|
|
|
29
|
-
|
|
30
|
-
attr_accessor :name
|
|
32
|
+
attr_accessor :pulp_href
|
|
31
33
|
|
|
32
34
|
# Timestamp of creation.
|
|
33
35
|
attr_accessor :pulp_created
|
|
34
36
|
|
|
35
|
-
#
|
|
36
|
-
attr_accessor :
|
|
37
|
-
|
|
38
|
-
attr_accessor :pulp_labels
|
|
37
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
38
|
+
attr_accessor :base_path
|
|
39
39
|
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
41
41
|
def self.attribute_map
|
|
42
42
|
{
|
|
43
|
+
:'name' => :'name',
|
|
43
44
|
:'content_guard' => :'content_guard',
|
|
45
|
+
:'hidden' => :'hidden',
|
|
44
46
|
:'base_url' => :'base_url',
|
|
47
|
+
:'pulp_labels' => :'pulp_labels',
|
|
45
48
|
:'pulp_href' => :'pulp_href',
|
|
46
|
-
:'base_path' => :'base_path',
|
|
47
|
-
:'name' => :'name',
|
|
48
49
|
:'pulp_created' => :'pulp_created',
|
|
49
|
-
:'
|
|
50
|
-
:'pulp_labels' => :'pulp_labels'
|
|
50
|
+
:'base_path' => :'base_path'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# Attribute type mapping.
|
|
55
55
|
def self.openapi_types
|
|
56
56
|
{
|
|
57
|
+
:'name' => :'String',
|
|
57
58
|
:'content_guard' => :'String',
|
|
59
|
+
:'hidden' => :'Boolean',
|
|
58
60
|
:'base_url' => :'String',
|
|
61
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
59
62
|
:'pulp_href' => :'String',
|
|
60
|
-
:'base_path' => :'String',
|
|
61
|
-
:'name' => :'String',
|
|
62
63
|
:'pulp_created' => :'DateTime',
|
|
63
|
-
:'
|
|
64
|
-
:'pulp_labels' => :'Hash<String, String>'
|
|
64
|
+
:'base_path' => :'String'
|
|
65
65
|
}
|
|
66
66
|
end
|
|
67
67
|
|
|
@@ -87,28 +87,12 @@ module PulpcoreClient
|
|
|
87
87
|
h[k.to_sym] = v
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
if attributes.key?(:'content_guard')
|
|
91
|
-
self.content_guard = attributes[:'content_guard']
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
if attributes.key?(:'base_url')
|
|
95
|
-
self.base_url = attributes[:'base_url']
|
|
96
|
-
end
|
|
97
|
-
|
|
98
|
-
if attributes.key?(:'pulp_href')
|
|
99
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
100
|
-
end
|
|
101
|
-
|
|
102
|
-
if attributes.key?(:'base_path')
|
|
103
|
-
self.base_path = attributes[:'base_path']
|
|
104
|
-
end
|
|
105
|
-
|
|
106
90
|
if attributes.key?(:'name')
|
|
107
91
|
self.name = attributes[:'name']
|
|
108
92
|
end
|
|
109
93
|
|
|
110
|
-
if attributes.key?(:'
|
|
111
|
-
self.
|
|
94
|
+
if attributes.key?(:'content_guard')
|
|
95
|
+
self.content_guard = attributes[:'content_guard']
|
|
112
96
|
end
|
|
113
97
|
|
|
114
98
|
if attributes.key?(:'hidden')
|
|
@@ -117,33 +101,49 @@ module PulpcoreClient
|
|
|
117
101
|
self.hidden = false
|
|
118
102
|
end
|
|
119
103
|
|
|
104
|
+
if attributes.key?(:'base_url')
|
|
105
|
+
self.base_url = attributes[:'base_url']
|
|
106
|
+
end
|
|
107
|
+
|
|
120
108
|
if attributes.key?(:'pulp_labels')
|
|
121
109
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
122
110
|
self.pulp_labels = value
|
|
123
111
|
end
|
|
124
112
|
end
|
|
113
|
+
|
|
114
|
+
if attributes.key?(:'pulp_href')
|
|
115
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
if attributes.key?(:'pulp_created')
|
|
119
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
if attributes.key?(:'base_path')
|
|
123
|
+
self.base_path = attributes[:'base_path']
|
|
124
|
+
end
|
|
125
125
|
end
|
|
126
126
|
|
|
127
127
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
128
128
|
# @return Array for valid properties with the reasons
|
|
129
129
|
def list_invalid_properties
|
|
130
130
|
invalid_properties = Array.new
|
|
131
|
-
if @base_path.nil?
|
|
132
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
133
|
-
end
|
|
134
|
-
|
|
135
131
|
if @name.nil?
|
|
136
132
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
137
133
|
end
|
|
138
134
|
|
|
135
|
+
if @base_path.nil?
|
|
136
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
137
|
+
end
|
|
138
|
+
|
|
139
139
|
invalid_properties
|
|
140
140
|
end
|
|
141
141
|
|
|
142
142
|
# Check to see if the all the properties in the model are valid
|
|
143
143
|
# @return true if the model is valid
|
|
144
144
|
def valid?
|
|
145
|
-
return false if @base_path.nil?
|
|
146
145
|
return false if @name.nil?
|
|
146
|
+
return false if @base_path.nil?
|
|
147
147
|
true
|
|
148
148
|
end
|
|
149
149
|
|
|
@@ -152,14 +152,14 @@ module PulpcoreClient
|
|
|
152
152
|
def ==(o)
|
|
153
153
|
return true if self.equal?(o)
|
|
154
154
|
self.class == o.class &&
|
|
155
|
+
name == o.name &&
|
|
155
156
|
content_guard == o.content_guard &&
|
|
157
|
+
hidden == o.hidden &&
|
|
156
158
|
base_url == o.base_url &&
|
|
159
|
+
pulp_labels == o.pulp_labels &&
|
|
157
160
|
pulp_href == o.pulp_href &&
|
|
158
|
-
base_path == o.base_path &&
|
|
159
|
-
name == o.name &&
|
|
160
161
|
pulp_created == o.pulp_created &&
|
|
161
|
-
|
|
162
|
-
pulp_labels == o.pulp_labels
|
|
162
|
+
base_path == o.base_path
|
|
163
163
|
end
|
|
164
164
|
|
|
165
165
|
# @see the `==` method
|
|
@@ -171,7 +171,7 @@ module PulpcoreClient
|
|
|
171
171
|
# Calculates hash code according to all attributes.
|
|
172
172
|
# @return [Integer] Hash code
|
|
173
173
|
def hash
|
|
174
|
-
[content_guard,
|
|
174
|
+
[name, content_guard, hidden, base_url, pulp_labels, pulp_href, pulp_created, base_path].hash
|
|
175
175
|
end
|
|
176
176
|
|
|
177
177
|
# Builds the object from hash
|
|
@@ -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 "name"' 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 "content_guard"' 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 "hidden"' 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 "base_url"' 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 "pulp_labels"' 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 "pulp_href"' 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_created"' 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 "base_path"' 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
|