pulp_container_client 2.14.2 → 2.14.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -6
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +3 -1
- data/docs/ContainerContainerRemoteResponseHiddenFields.md +19 -0
- data/docs/ContainerContainerRepository.md +2 -2
- data/docs/ContainerContainerRepositoryResponse.md +2 -2
- data/docs/ContentBlobsApi.md +8 -8
- data/docs/ContentManifestsApi.md +8 -8
- data/docs/ContentSignaturesApi.md +8 -8
- data/docs/ContentTagsApi.md +8 -8
- data/docs/DistributionsContainerApi.md +24 -20
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +2 -2
- data/docs/PulpContainerNamespacesApi.md +16 -16
- data/docs/RemotesContainerApi.md +20 -20
- data/docs/RepositoriesContainerApi.md +35 -19
- data/docs/RepositoriesContainerPushApi.md +35 -19
- data/docs/RepositoriesContainerPushVersionsApi.md +12 -12
- data/docs/RepositoriesContainerVersionsApi.md +12 -12
- data/lib/pulp_container_client/api/content_blobs_api.rb +13 -13
- data/lib/pulp_container_client/api/content_manifests_api.rb +13 -13
- data/lib/pulp_container_client/api/content_signatures_api.rb +13 -13
- data/lib/pulp_container_client/api/content_tags_api.rb +13 -13
- data/lib/pulp_container_client/api/distributions_container_api.rb +35 -29
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +25 -25
- data/lib/pulp_container_client/api/remotes_container_api.rb +29 -29
- data/lib/pulp_container_client/api/repositories_container_api.rb +51 -27
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +51 -27
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +17 -17
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +17 -17
- data/lib/pulp_container_client/models/container_container_distribution.rb +53 -51
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +48 -46
- data/lib/pulp_container_client/models/container_container_push_repository.rb +40 -38
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +52 -50
- data/lib/pulp_container_client/models/container_container_remote.rb +4 -2
- data/lib/pulp_container_client/models/container_container_remote_response.rb +17 -3
- data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +215 -0
- data/lib/pulp_container_client/models/container_container_repository.rb +5 -3
- data/lib/pulp_container_client/models/container_container_repository_response.rb +5 -3
- data/lib/pulp_container_client/models/nested_role.rb +19 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +44 -42
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +40 -38
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +4 -2
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +5 -3
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +1 -0
- data/spec/api/content_blobs_api_spec.rb +4 -4
- data/spec/api/content_manifests_api_spec.rb +4 -4
- data/spec/api/content_signatures_api_spec.rb +4 -4
- data/spec/api/content_tags_api_spec.rb +4 -4
- data/spec/api/distributions_container_api_spec.rb +12 -10
- data/spec/api/pulp_container_namespaces_api_spec.rb +8 -8
- data/spec/api/remotes_container_api_spec.rb +10 -10
- data/spec/api/repositories_container_api_spec.rb +17 -9
- data/spec/api/repositories_container_push_api_spec.rb +17 -9
- data/spec/api/repositories_container_push_versions_api_spec.rb +6 -6
- data/spec/api/repositories_container_versions_api_spec.rb +6 -6
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/container_container_remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/container_container_remote_response_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +51 -47
@@ -23,7 +23,7 @@ module PulpContainerClient
|
|
23
23
|
# An optional description.
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions.
|
27
27
|
attr_accessor :retain_repo_versions
|
28
28
|
|
29
29
|
# An optional remote to use by default when syncing.
|
@@ -47,7 +47,7 @@ module PulpContainerClient
|
|
47
47
|
# Attribute type mapping.
|
48
48
|
def self.openapi_types
|
49
49
|
{
|
50
|
-
:'pulp_labels' => :'
|
50
|
+
:'pulp_labels' => :'Hash<String, String>',
|
51
51
|
:'name' => :'String',
|
52
52
|
:'description' => :'String',
|
53
53
|
:'retain_repo_versions' => :'Integer',
|
@@ -82,7 +82,9 @@ module PulpContainerClient
|
|
82
82
|
}
|
83
83
|
|
84
84
|
if attributes.key?(:'pulp_labels')
|
85
|
-
|
85
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
86
|
+
self.pulp_labels = value
|
87
|
+
end
|
86
88
|
end
|
87
89
|
|
88
90
|
if attributes.key?(:'name')
|
@@ -27,6 +27,7 @@ require 'pulp_container_client/models/container_container_push_repository'
|
|
27
27
|
require 'pulp_container_client/models/container_container_push_repository_response'
|
28
28
|
require 'pulp_container_client/models/container_container_remote'
|
29
29
|
require 'pulp_container_client/models/container_container_remote_response'
|
30
|
+
require 'pulp_container_client/models/container_container_remote_response_hidden_fields'
|
30
31
|
require 'pulp_container_client/models/container_container_repository'
|
31
32
|
require 'pulp_container_client/models/container_container_repository_response'
|
32
33
|
require 'pulp_container_client/models/container_manifest_response'
|
@@ -44,8 +44,8 @@ describe 'ContentBlobsApi' do
|
|
44
44
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
45
45
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
46
46
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
47
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
48
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
47
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
48
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
49
49
|
# @return [PaginatedcontainerBlobResponseList]
|
50
50
|
describe 'list test' do
|
51
51
|
it 'should work' do
|
@@ -58,8 +58,8 @@ describe 'ContentBlobsApi' do
|
|
58
58
|
# ViewSet for Blobs.
|
59
59
|
# @param container_blob_href
|
60
60
|
# @param [Hash] opts the optional parameters
|
61
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
62
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
61
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
62
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
63
63
|
# @return [ContainerBlobResponse]
|
64
64
|
describe 'read test' do
|
65
65
|
it 'should work' do
|
@@ -45,8 +45,8 @@ describe 'ContentManifestsApi' do
|
|
45
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
46
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
47
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
48
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
49
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
48
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
49
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
50
50
|
# @return [PaginatedcontainerManifestResponseList]
|
51
51
|
describe 'list test' do
|
52
52
|
it 'should work' do
|
@@ -59,8 +59,8 @@ describe 'ContentManifestsApi' do
|
|
59
59
|
# ViewSet for Manifest.
|
60
60
|
# @param container_manifest_href
|
61
61
|
# @param [Hash] opts the optional parameters
|
62
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
63
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
62
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
63
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
64
64
|
# @return [ContainerManifestResponse]
|
65
65
|
describe 'read test' do
|
66
66
|
it 'should work' do
|
@@ -52,8 +52,8 @@ describe 'ContentSignaturesApi' do
|
|
52
52
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
53
53
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
54
54
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
55
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
56
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
55
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
56
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
57
57
|
# @return [PaginatedcontainerManifestSignatureResponseList]
|
58
58
|
describe 'list test' do
|
59
59
|
it 'should work' do
|
@@ -66,8 +66,8 @@ describe 'ContentSignaturesApi' do
|
|
66
66
|
# ViewSet for image signatures.
|
67
67
|
# @param container_manifest_signature_href
|
68
68
|
# @param [Hash] opts the optional parameters
|
69
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
70
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
69
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
70
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
71
71
|
# @return [ContainerManifestSignatureResponse]
|
72
72
|
describe 'read test' do
|
73
73
|
it 'should work' do
|
@@ -46,8 +46,8 @@ describe 'ContentTagsApi' do
|
|
46
46
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
47
47
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
48
48
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
49
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
50
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
49
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
50
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
51
51
|
# @return [PaginatedcontainerTagResponseList]
|
52
52
|
describe 'list test' do
|
53
53
|
it 'should work' do
|
@@ -60,8 +60,8 @@ describe 'ContentTagsApi' do
|
|
60
60
|
# ViewSet for Tag.
|
61
61
|
# @param container_tag_href
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
64
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
63
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
64
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
65
65
|
# @return [ContainerTagResponse]
|
66
66
|
describe 'read test' do
|
67
67
|
it 'should work' do
|
@@ -72,12 +72,12 @@ describe 'DistributionsContainerApi' do
|
|
72
72
|
# List container distributions
|
73
73
|
# The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
|
74
74
|
# @param [Hash] opts the optional parameters
|
75
|
-
# @option opts [String] :base_path
|
75
|
+
# @option opts [String] :base_path Filter results where base_path matches value
|
76
76
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
77
77
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
78
78
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
79
79
|
# @option opts [Integer] :limit Number of results to return per page.
|
80
|
-
# @option opts [String] :name
|
80
|
+
# @option opts [String] :name Filter results where name matches value
|
81
81
|
# @option opts [String] :name__contains Filter results where name contains value
|
82
82
|
# @option opts [String] :name__icontains Filter results where name contains value
|
83
83
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -86,9 +86,11 @@ describe 'DistributionsContainerApi' do
|
|
86
86
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
87
87
|
# @option opts [Array<String>] :ordering Ordering
|
88
88
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
89
|
+
# @option opts [String] :repository Filter results where repository matches value
|
90
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
89
91
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
90
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
91
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
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.
|
92
94
|
# @return [PaginatedcontainerContainerDistributionResponseList]
|
93
95
|
describe 'list test' do
|
94
96
|
it 'should work' do
|
@@ -100,8 +102,8 @@ describe 'DistributionsContainerApi' do
|
|
100
102
|
# List roles assigned to this object.
|
101
103
|
# @param container_container_distribution_href
|
102
104
|
# @param [Hash] opts the optional parameters
|
103
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
104
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
105
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
106
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
105
107
|
# @return [ObjectRolesResponse]
|
106
108
|
describe 'list_roles test' do
|
107
109
|
it 'should work' do
|
@@ -113,8 +115,8 @@ describe 'DistributionsContainerApi' do
|
|
113
115
|
# List permissions available to the current user on this object.
|
114
116
|
# @param container_container_distribution_href
|
115
117
|
# @param [Hash] opts the optional parameters
|
116
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
117
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
118
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
119
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
118
120
|
# @return [MyPermissionsResponse]
|
119
121
|
describe 'my_permissions test' do
|
120
122
|
it 'should work' do
|
@@ -140,8 +142,8 @@ describe 'DistributionsContainerApi' do
|
|
140
142
|
# The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
|
141
143
|
# @param container_container_distribution_href
|
142
144
|
# @param [Hash] opts the optional parameters
|
143
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
144
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
145
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
146
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
145
147
|
# @return [ContainerContainerDistributionResponse]
|
146
148
|
describe 'read test' do
|
147
149
|
it 'should work' do
|
@@ -80,8 +80,8 @@ describe 'PulpContainerNamespacesApi' do
|
|
80
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
81
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
82
|
# @option opts [Array<String>] :ordering Ordering
|
83
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
84
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
83
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
84
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
85
85
|
# @return [PaginatedcontainerContainerNamespaceResponseList]
|
86
86
|
describe 'list test' do
|
87
87
|
it 'should work' do
|
@@ -93,8 +93,8 @@ describe 'PulpContainerNamespacesApi' do
|
|
93
93
|
# List roles assigned to this object.
|
94
94
|
# @param container_container_namespace_href
|
95
95
|
# @param [Hash] opts the optional parameters
|
96
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
97
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
96
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
97
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
98
98
|
# @return [ObjectRolesResponse]
|
99
99
|
describe 'list_roles test' do
|
100
100
|
it 'should work' do
|
@@ -106,8 +106,8 @@ describe 'PulpContainerNamespacesApi' do
|
|
106
106
|
# List permissions available to the current user on this object.
|
107
107
|
# @param container_container_namespace_href
|
108
108
|
# @param [Hash] opts the optional parameters
|
109
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
110
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
109
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
110
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
111
111
|
# @return [MyPermissionsResponse]
|
112
112
|
describe 'my_permissions test' do
|
113
113
|
it 'should work' do
|
@@ -120,8 +120,8 @@ describe 'PulpContainerNamespacesApi' do
|
|
120
120
|
# ViewSet for ContainerNamespaces.
|
121
121
|
# @param container_container_namespace_href
|
122
122
|
# @param [Hash] opts the optional parameters
|
123
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
124
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
123
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
124
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
125
125
|
# @return [ContainerContainerNamespaceResponse]
|
126
126
|
describe 'read test' do
|
127
127
|
it 'should work' do
|
@@ -73,7 +73,7 @@ describe 'RemotesContainerApi' do
|
|
73
73
|
# Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
74
74
|
# @param [Hash] opts the optional parameters
|
75
75
|
# @option opts [Integer] :limit Number of results to return per page.
|
76
|
-
# @option opts [String] :name
|
76
|
+
# @option opts [String] :name Filter results where name matches value
|
77
77
|
# @option opts [String] :name__contains Filter results where name contains value
|
78
78
|
# @option opts [String] :name__icontains Filter results where name contains value
|
79
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -81,14 +81,14 @@ describe 'RemotesContainerApi' do
|
|
81
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
82
|
# @option opts [Array<String>] :ordering Ordering
|
83
83
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
84
|
-
# @option opts [DateTime] :pulp_last_updated
|
84
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
85
85
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
86
86
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
87
87
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
88
88
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
89
89
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
90
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
91
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
90
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
91
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
92
92
|
# @return [PaginatedcontainerContainerRemoteResponseList]
|
93
93
|
describe 'list test' do
|
94
94
|
it 'should work' do
|
@@ -100,8 +100,8 @@ describe 'RemotesContainerApi' do
|
|
100
100
|
# List roles assigned to this object.
|
101
101
|
# @param container_container_remote_href
|
102
102
|
# @param [Hash] opts the optional parameters
|
103
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
104
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
103
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
104
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
105
105
|
# @return [ObjectRolesResponse]
|
106
106
|
describe 'list_roles test' do
|
107
107
|
it 'should work' do
|
@@ -113,8 +113,8 @@ describe 'RemotesContainerApi' do
|
|
113
113
|
# List permissions available to the current user on this object.
|
114
114
|
# @param container_container_remote_href
|
115
115
|
# @param [Hash] opts the optional parameters
|
116
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
117
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
116
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
117
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
118
118
|
# @return [MyPermissionsResponse]
|
119
119
|
describe 'my_permissions test' do
|
120
120
|
it 'should work' do
|
@@ -140,8 +140,8 @@ describe 'RemotesContainerApi' do
|
|
140
140
|
# Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
141
141
|
# @param container_container_remote_href
|
142
142
|
# @param [Hash] opts the optional parameters
|
143
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
144
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
143
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
144
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
145
145
|
# @return [ContainerContainerRemoteResponse]
|
146
146
|
describe 'read test' do
|
147
147
|
it 'should work' do
|
@@ -128,7 +128,7 @@ describe 'RepositoriesContainerApi' do
|
|
128
128
|
# ViewSet for container repo.
|
129
129
|
# @param [Hash] opts the optional parameters
|
130
130
|
# @option opts [Integer] :limit Number of results to return per page.
|
131
|
-
# @option opts [String] :name
|
131
|
+
# @option opts [String] :name Filter results where name matches value
|
132
132
|
# @option opts [String] :name__contains Filter results where name contains value
|
133
133
|
# @option opts [String] :name__icontains Filter results where name contains value
|
134
134
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -137,8 +137,16 @@ describe 'RepositoriesContainerApi' do
|
|
137
137
|
# @option opts [Array<String>] :ordering Ordering
|
138
138
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
139
139
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
140
|
-
# @option opts [
|
141
|
-
# @option opts [
|
140
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
141
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
142
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
143
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
144
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
145
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
146
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
147
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
148
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
149
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
142
150
|
# @return [PaginatedcontainerContainerRepositoryResponseList]
|
143
151
|
describe 'list test' do
|
144
152
|
it 'should work' do
|
@@ -150,8 +158,8 @@ describe 'RepositoriesContainerApi' do
|
|
150
158
|
# List roles assigned to this object.
|
151
159
|
# @param container_container_repository_href
|
152
160
|
# @param [Hash] opts the optional parameters
|
153
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
154
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
161
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
162
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
155
163
|
# @return [ObjectRolesResponse]
|
156
164
|
describe 'list_roles test' do
|
157
165
|
it 'should work' do
|
@@ -163,8 +171,8 @@ describe 'RepositoriesContainerApi' do
|
|
163
171
|
# List permissions available to the current user on this object.
|
164
172
|
# @param container_container_repository_href
|
165
173
|
# @param [Hash] opts the optional parameters
|
166
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
167
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
174
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
175
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
168
176
|
# @return [MyPermissionsResponse]
|
169
177
|
describe 'my_permissions test' do
|
170
178
|
it 'should work' do
|
@@ -190,8 +198,8 @@ describe 'RepositoriesContainerApi' do
|
|
190
198
|
# ViewSet for container repo.
|
191
199
|
# @param container_container_repository_href
|
192
200
|
# @param [Hash] opts the optional parameters
|
193
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
194
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
201
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
202
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
195
203
|
# @return [ContainerContainerRepositoryResponse]
|
196
204
|
describe 'read test' do
|
197
205
|
it 'should work' do
|
@@ -49,7 +49,7 @@ describe 'RepositoriesContainerPushApi' do
|
|
49
49
|
# ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
51
|
# @option opts [Integer] :limit Number of results to return per page.
|
52
|
-
# @option opts [String] :name
|
52
|
+
# @option opts [String] :name Filter results where name matches value
|
53
53
|
# @option opts [String] :name__contains Filter results where name contains value
|
54
54
|
# @option opts [String] :name__icontains Filter results where name contains value
|
55
55
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -58,8 +58,16 @@ describe 'RepositoriesContainerPushApi' do
|
|
58
58
|
# @option opts [Array<String>] :ordering Ordering
|
59
59
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
60
60
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
61
|
-
# @option opts [
|
62
|
-
# @option opts [
|
61
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
62
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
63
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
64
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
65
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
66
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
67
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
68
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
69
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
70
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
63
71
|
# @return [PaginatedcontainerContainerPushRepositoryResponseList]
|
64
72
|
describe 'list test' do
|
65
73
|
it 'should work' do
|
@@ -71,8 +79,8 @@ describe 'RepositoriesContainerPushApi' do
|
|
71
79
|
# List roles assigned to this object.
|
72
80
|
# @param container_container_push_repository_href
|
73
81
|
# @param [Hash] opts the optional parameters
|
74
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
75
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
82
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
83
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
76
84
|
# @return [ObjectRolesResponse]
|
77
85
|
describe 'list_roles test' do
|
78
86
|
it 'should work' do
|
@@ -84,8 +92,8 @@ describe 'RepositoriesContainerPushApi' do
|
|
84
92
|
# List permissions available to the current user on this object.
|
85
93
|
# @param container_container_push_repository_href
|
86
94
|
# @param [Hash] opts the optional parameters
|
87
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
88
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
95
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
96
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
89
97
|
# @return [MyPermissionsResponse]
|
90
98
|
describe 'my_permissions test' do
|
91
99
|
it 'should work' do
|
@@ -111,8 +119,8 @@ describe 'RepositoriesContainerPushApi' do
|
|
111
119
|
# ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
112
120
|
# @param container_container_push_repository_href
|
113
121
|
# @param [Hash] opts the optional parameters
|
114
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
115
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
122
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
123
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
116
124
|
# @return [ContainerContainerPushRepositoryResponse]
|
117
125
|
describe 'read test' do
|
118
126
|
it 'should work' do
|
@@ -52,7 +52,7 @@ describe 'RepositoriesContainerPushVersionsApi' do
|
|
52
52
|
# @option opts [String] :content Content Unit referenced by HREF
|
53
53
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
54
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
|
-
# @option opts [Integer] :number
|
55
|
+
# @option opts [Integer] :number Filter results where number matches value
|
56
56
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
57
57
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
58
58
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
@@ -60,14 +60,14 @@ describe 'RepositoriesContainerPushVersionsApi' do
|
|
60
60
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
62
|
# @option opts [Array<String>] :ordering Ordering
|
63
|
-
# @option opts [DateTime] :pulp_created
|
63
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
64
64
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
65
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
66
66
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
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
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
70
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
69
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
70
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
71
71
|
# @return [PaginatedRepositoryVersionResponseList]
|
72
72
|
describe 'list test' do
|
73
73
|
it 'should work' do
|
@@ -80,8 +80,8 @@ describe 'RepositoriesContainerPushVersionsApi' do
|
|
80
80
|
# ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
81
81
|
# @param container_container_push_repository_version_href
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
84
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
83
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
84
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
85
85
|
# @return [RepositoryVersionResponse]
|
86
86
|
describe 'read test' do
|
87
87
|
it 'should work' do
|
@@ -52,7 +52,7 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
52
52
|
# @option opts [String] :content Content Unit referenced by HREF
|
53
53
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
54
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
|
-
# @option opts [Integer] :number
|
55
|
+
# @option opts [Integer] :number Filter results where number matches value
|
56
56
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
57
57
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
58
58
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
@@ -60,14 +60,14 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
60
60
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
62
|
# @option opts [Array<String>] :ordering Ordering
|
63
|
-
# @option opts [DateTime] :pulp_created
|
63
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
64
64
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
65
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
66
66
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
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
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
70
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
69
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
70
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
71
71
|
# @return [PaginatedRepositoryVersionResponseList]
|
72
72
|
describe 'list test' do
|
73
73
|
it 'should work' do
|
@@ -80,8 +80,8 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
80
80
|
# ContainerRepositoryVersion represents a single container repository version.
|
81
81
|
# @param container_container_repository_version_href
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
84
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
83
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
84
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
85
85
|
# @return [RepositoryVersionResponse]
|
86
86
|
describe 'read test' do
|
87
87
|
it 'should work' do
|
@@ -32,43 +32,43 @@ describe 'ContainerContainerDistributionResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionResponse)
|
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 "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 "pulp_labels"' 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 "name"' 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 "repository"' 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
|
@@ -32,31 +32,31 @@ describe 'ContainerContainerDistribution' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistribution)
|
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 "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 "pulp_labels"' 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 "name"' 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 "repository"' 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
|