pulp_container_client 2.14.18 → 2.15.0.dev1661401897
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.
Potentially problematic release.
This version of pulp_container_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +7 -8
- data/docs/ContainerContainerDistribution.md +3 -3
- data/docs/ContainerContainerDistributionResponse.md +7 -7
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +10 -10
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -3
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentBlobsApi.md +9 -9
- data/docs/ContentManifestsApi.md +9 -9
- data/docs/ContentSignaturesApi.md +9 -9
- data/docs/ContentTagsApi.md +9 -9
- data/docs/DistributionsContainerApi.md +21 -21
- data/docs/PatchedcontainerContainerDistribution.md +3 -3
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/PulpContainerNamespacesApi.md +17 -17
- data/docs/RemotesContainerApi.md +21 -21
- data/docs/RepositoriesContainerApi.md +20 -20
- data/docs/RepositoriesContainerPushApi.md +20 -20
- data/docs/RepositoriesContainerPushVersionsApi.md +13 -13
- data/docs/RepositoriesContainerVersionsApi.md +13 -13
- data/docs/TokenApi.md +1 -1
- 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 +29 -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 +27 -27
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +27 -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/configuration.rb +3 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +13 -15
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +29 -31
- data/lib/pulp_container_client/models/container_container_push_repository.rb +24 -26
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +42 -44
- data/lib/pulp_container_client/models/container_container_remote.rb +2 -4
- data/lib/pulp_container_client/models/container_container_remote_response.rb +3 -17
- data/lib/pulp_container_client/models/container_container_repository.rb +2 -4
- data/lib/pulp_container_client/models/container_container_repository_response.rb +2 -4
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +13 -15
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +24 -26
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +2 -4
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +2 -4
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -1
- 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 +10 -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 +9 -9
- data/spec/api/repositories_container_push_api_spec.rb +9 -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/configuration_spec.rb +3 -3
- data/spec/models/container_container_distribution_response_spec.rb +5 -5
- data/spec/models/container_container_distribution_spec.rb +3 -3
- data/spec/models/container_container_push_repository_response_spec.rb +7 -7
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/container_container_remote_response_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +64 -68
- data/docs/ContainerContainerRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +0 -225
- data/spec/models/container_container_remote_response_hidden_fields_spec.rb +0 -47
@@ -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' => :'Object',
|
51
51
|
:'name' => :'String',
|
52
52
|
:'description' => :'String',
|
53
53
|
:'retain_repo_versions' => :'Integer',
|
@@ -82,9 +82,7 @@ module PulpContainerClient
|
|
82
82
|
}
|
83
83
|
|
84
84
|
if attributes.key?(:'pulp_labels')
|
85
|
-
|
86
|
-
self.pulp_labels = value
|
87
|
-
end
|
85
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
88
86
|
end
|
89
87
|
|
90
88
|
if attributes.key?(:'name')
|
@@ -27,7 +27,6 @@ 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'
|
31
30
|
require 'pulp_container_client/models/container_container_repository'
|
32
31
|
require 'pulp_container_client/models/container_container_repository_response'
|
33
32
|
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 [
|
48
|
-
# @option opts [
|
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.
|
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 [
|
62
|
-
# @option opts [
|
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.
|
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 [
|
49
|
-
# @option opts [
|
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.
|
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 [
|
63
|
-
# @option opts [
|
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.
|
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 [
|
56
|
-
# @option opts [
|
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.
|
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 [
|
70
|
-
# @option opts [
|
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.
|
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 [
|
50
|
-
# @option opts [
|
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.
|
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 [
|
64
|
-
# @option opts [
|
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.
|
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
|
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
|
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
|
@@ -87,8 +87,8 @@ describe 'DistributionsContainerApi' do
|
|
87
87
|
# @option opts [Array<String>] :ordering Ordering
|
88
88
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
89
89
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
90
|
-
# @option opts [
|
91
|
-
# @option opts [
|
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
92
|
# @return [PaginatedcontainerContainerDistributionResponseList]
|
93
93
|
describe 'list test' do
|
94
94
|
it 'should work' do
|
@@ -100,8 +100,8 @@ describe 'DistributionsContainerApi' do
|
|
100
100
|
# List roles assigned to this object.
|
101
101
|
# @param container_container_distribution_href
|
102
102
|
# @param [Hash] opts the optional parameters
|
103
|
-
# @option opts [
|
104
|
-
# @option opts [
|
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
105
|
# @return [ObjectRolesResponse]
|
106
106
|
describe 'list_roles test' do
|
107
107
|
it 'should work' do
|
@@ -113,8 +113,8 @@ describe 'DistributionsContainerApi' do
|
|
113
113
|
# List permissions available to the current user on this object.
|
114
114
|
# @param container_container_distribution_href
|
115
115
|
# @param [Hash] opts the optional parameters
|
116
|
-
# @option opts [
|
117
|
-
# @option opts [
|
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
118
|
# @return [MyPermissionsResponse]
|
119
119
|
describe 'my_permissions test' do
|
120
120
|
it 'should work' do
|
@@ -140,8 +140,8 @@ describe 'DistributionsContainerApi' do
|
|
140
140
|
# 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
141
|
# @param container_container_distribution_href
|
142
142
|
# @param [Hash] opts the optional parameters
|
143
|
-
# @option opts [
|
144
|
-
# @option opts [
|
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
145
|
# @return [ContainerContainerDistributionResponse]
|
146
146
|
describe 'read test' do
|
147
147
|
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 [
|
84
|
-
# @option opts [
|
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.
|
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 [
|
97
|
-
# @option opts [
|
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.
|
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 [
|
110
|
-
# @option opts [
|
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.
|
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 [
|
124
|
-
# @option opts [
|
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.
|
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
|
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 ISO 8601 formatted dates are supported
|
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 [
|
91
|
-
# @option opts [
|
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
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 [
|
104
|
-
# @option opts [
|
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
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 [
|
117
|
-
# @option opts [
|
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
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 [
|
144
|
-
# @option opts [
|
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
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
|
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,8 @@ 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 [String] :fields A list of fields to include in the response.
|
141
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
142
142
|
# @return [PaginatedcontainerContainerRepositoryResponseList]
|
143
143
|
describe 'list test' do
|
144
144
|
it 'should work' do
|
@@ -150,8 +150,8 @@ describe 'RepositoriesContainerApi' do
|
|
150
150
|
# List roles assigned to this object.
|
151
151
|
# @param container_container_repository_href
|
152
152
|
# @param [Hash] opts the optional parameters
|
153
|
-
# @option opts [
|
154
|
-
# @option opts [
|
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.
|
155
155
|
# @return [ObjectRolesResponse]
|
156
156
|
describe 'list_roles test' do
|
157
157
|
it 'should work' do
|
@@ -163,8 +163,8 @@ describe 'RepositoriesContainerApi' do
|
|
163
163
|
# List permissions available to the current user on this object.
|
164
164
|
# @param container_container_repository_href
|
165
165
|
# @param [Hash] opts the optional parameters
|
166
|
-
# @option opts [
|
167
|
-
# @option opts [
|
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.
|
168
168
|
# @return [MyPermissionsResponse]
|
169
169
|
describe 'my_permissions test' do
|
170
170
|
it 'should work' do
|
@@ -190,8 +190,8 @@ describe 'RepositoriesContainerApi' do
|
|
190
190
|
# ViewSet for container repo.
|
191
191
|
# @param container_container_repository_href
|
192
192
|
# @param [Hash] opts the optional parameters
|
193
|
-
# @option opts [
|
194
|
-
# @option opts [
|
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.
|
195
195
|
# @return [ContainerContainerRepositoryResponse]
|
196
196
|
describe 'read test' do
|
197
197
|
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
|
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,8 @@ 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 [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.
|
63
63
|
# @return [PaginatedcontainerContainerPushRepositoryResponseList]
|
64
64
|
describe 'list test' do
|
65
65
|
it 'should work' do
|
@@ -71,8 +71,8 @@ describe 'RepositoriesContainerPushApi' do
|
|
71
71
|
# List roles assigned to this object.
|
72
72
|
# @param container_container_push_repository_href
|
73
73
|
# @param [Hash] opts the optional parameters
|
74
|
-
# @option opts [
|
75
|
-
# @option opts [
|
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.
|
76
76
|
# @return [ObjectRolesResponse]
|
77
77
|
describe 'list_roles test' do
|
78
78
|
it 'should work' do
|
@@ -84,8 +84,8 @@ describe 'RepositoriesContainerPushApi' do
|
|
84
84
|
# List permissions available to the current user on this object.
|
85
85
|
# @param container_container_push_repository_href
|
86
86
|
# @param [Hash] opts the optional parameters
|
87
|
-
# @option opts [
|
88
|
-
# @option opts [
|
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.
|
89
89
|
# @return [MyPermissionsResponse]
|
90
90
|
describe 'my_permissions test' do
|
91
91
|
it 'should work' do
|
@@ -111,8 +111,8 @@ describe 'RepositoriesContainerPushApi' do
|
|
111
111
|
# 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
112
|
# @param container_container_push_repository_href
|
113
113
|
# @param [Hash] opts the optional parameters
|
114
|
-
# @option opts [
|
115
|
-
# @option opts [
|
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.
|
116
116
|
# @return [ContainerContainerPushRepositoryResponse]
|
117
117
|
describe 'read test' do
|
118
118
|
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
|
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 ISO 8601 formatted dates are supported
|
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 [
|
70
|
-
# @option opts [
|
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.
|
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 [
|
84
|
-
# @option opts [
|
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.
|
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
|
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 ISO 8601 formatted dates are supported
|
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 [
|
70
|
-
# @option opts [
|
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.
|
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 [
|
84
|
-
# @option opts [
|
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.
|
85
85
|
# @return [RepositoryVersionResponse]
|
86
86
|
describe 'read test' do
|
87
87
|
it 'should work' do
|
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe PulpContainerClient::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
# require 'URI'
|
21
|
-
# uri = URI.parse("
|
21
|
+
# uri = URI.parse("https://pulp")
|
22
22
|
# PulpContainerClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe PulpContainerClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("
|
31
|
+
# expect(config.base_url).to eq("https://pulp")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("
|
38
|
+
# expect(config.base_url).to eq("https://pulp")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -38,13 +38,13 @@ describe 'ContainerContainerDistributionResponse' do
|
|
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
|
@@ -56,19 +56,19 @@ describe 'ContainerContainerDistributionResponse' do
|
|
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
|
@@ -38,19 +38,19 @@ describe 'ContainerContainerDistribution' do
|
|
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
|
@@ -32,19 +32,19 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepositoryResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "manifest_signing_service"' 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 "retain_repo_versions"' 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 "versions_href"' 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
|
@@ -56,7 +56,7 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "description"' 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
|
@@ -68,19 +68,19 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "latest_version_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 "pulp_href"' 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
|
81
81
|
end
|
82
82
|
|
83
|
-
describe 'test attribute "
|
83
|
+
describe 'test attribute "pulp_created"' do
|
84
84
|
it 'should work' do
|
85
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
86
|
end
|