pulp_container_client 2.4.0.dev01613445646 → 2.4.0.dev01614050467
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 +17 -16
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +7 -7
- data/docs/ContentBlobsApi.md +12 -12
- data/docs/ContentManifestsApi.md +12 -12
- data/docs/ContentTagsApi.md +14 -14
- data/docs/{ContentGuardsContentRedirectApi.md → ContentguardsContentRedirectApi.md} +29 -29
- data/docs/DistributionsContainerApi.md +22 -22
- data/docs/ManifestCopy.md +1 -1
- data/docs/MediaTypesEnum.md +16 -0
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PulpContainerNamespacesApi.md +10 -10
- data/docs/RemotesContainerApi.md +24 -24
- data/docs/RepositoriesContainerApi.md +12 -12
- data/docs/RepositoriesContainerPushApi.md +12 -12
- data/docs/RepositoriesContainerVersionsApi.md +56 -56
- data/lib/pulp_container_client.rb +2 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +14 -14
- data/lib/pulp_container_client/api/content_manifests_api.rb +14 -14
- data/lib/pulp_container_client/api/content_tags_api.rb +17 -17
- data/lib/pulp_container_client/api/{content_guards_content_redirect_api.rb → contentguards_content_redirect_api.rb} +33 -33
- data/lib/pulp_container_client/api/distributions_container_api.rb +24 -24
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +11 -11
- data/lib/pulp_container_client/api/remotes_container_api.rb +26 -26
- data/lib/pulp_container_client/api/repositories_container_api.rb +13 -13
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +13 -13
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +100 -60
- data/lib/pulp_container_client/models/container_container_distribution.rb +27 -27
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +30 -30
- data/lib/pulp_container_client/models/manifest_copy.rb +1 -23
- data/lib/pulp_container_client/models/media_types_enum.rb +39 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +27 -27
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_blobs_api_spec.rb +6 -6
- data/spec/api/content_manifests_api_spec.rb +6 -6
- data/spec/api/content_tags_api_spec.rb +7 -7
- data/spec/api/{content_guards_content_redirect_api_spec.rb → contentguards_content_redirect_api_spec.rb} +11 -11
- data/spec/api/distributions_container_api_spec.rb +11 -11
- data/spec/api/pulp_container_namespaces_api_spec.rb +5 -5
- data/spec/api/remotes_container_api_spec.rb +12 -12
- data/spec/api/repositories_container_api_spec.rb +6 -6
- data/spec/api/repositories_container_push_api_spec.rb +6 -6
- data/spec/api/repositories_container_versions_api_spec.rb +28 -28
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/manifest_copy_spec.rb +0 -4
- data/spec/models/media_types_enum_spec.rb +35 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- metadata +10 -6
@@ -36,15 +36,15 @@ describe 'ContentBlobsApi' do
|
|
36
36
|
# List blobs
|
37
37
|
# ViewSet for Blobs.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [String] :digest digest
|
40
|
-
# @option opts [String] :digest__in
|
39
|
+
# @option opts [String] :digest Filter results where digest matches value
|
40
|
+
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
41
41
|
# @option opts [Integer] :limit Number of results to return per page.
|
42
|
-
# @option opts [String] :media_type
|
42
|
+
# @option opts [String] :media_type
|
43
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
44
44
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
45
|
-
# @option opts [String] :repository_version
|
46
|
-
# @option opts [String] :repository_version_added
|
47
|
-
# @option opts [String] :repository_version_removed
|
45
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
46
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
47
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
48
48
|
# @option opts [String] :fields A list of fields to include in the response.
|
49
49
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
50
50
|
# @return [PaginatedcontainerBlobResponseList]
|
@@ -36,15 +36,15 @@ describe 'ContentManifestsApi' do
|
|
36
36
|
# List manifests
|
37
37
|
# ViewSet for Manifest.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [String] :digest digest
|
40
|
-
# @option opts [String] :digest__in
|
39
|
+
# @option opts [String] :digest Filter results where digest matches value
|
40
|
+
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
41
41
|
# @option opts [Integer] :limit Number of results to return per page.
|
42
|
-
# @option opts [String] :media_type
|
42
|
+
# @option opts [String] :media_type
|
43
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
44
44
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
45
|
-
# @option opts [String] :repository_version
|
46
|
-
# @option opts [String] :repository_version_added
|
47
|
-
# @option opts [String] :repository_version_removed
|
45
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
46
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
47
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
48
48
|
# @option opts [String] :fields A list of fields to include in the response.
|
49
49
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
50
50
|
# @return [PaginatedcontainerManifestResponseList]
|
@@ -36,16 +36,16 @@ describe 'ContentTagsApi' do
|
|
36
36
|
# List tags
|
37
37
|
# ViewSet for Tag.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [String] :digest
|
39
|
+
# @option opts [Array<String>] :digest Multiple values may be separated by commas.
|
40
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
41
|
-
# @option opts [String] :media_type
|
42
|
-
# @option opts [String] :name name
|
43
|
-
# @option opts [String] :name__in
|
41
|
+
# @option opts [String] :media_type
|
42
|
+
# @option opts [String] :name Filter results where name matches value
|
43
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
44
44
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
45
45
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
46
|
-
# @option opts [String] :repository_version
|
47
|
-
# @option opts [String] :repository_version_added
|
48
|
-
# @option opts [String] :repository_version_removed
|
46
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
47
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
48
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
49
49
|
# @option opts [String] :fields A list of fields to include in the response.
|
50
50
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
51
51
|
# @return [PaginatedcontainerTagResponseList]
|
@@ -13,22 +13,22 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for PulpContainerClient::
|
16
|
+
# Unit tests for PulpContainerClient::ContentguardsContentRedirectApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
|
-
describe '
|
19
|
+
describe 'ContentguardsContentRedirectApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@api_instance = PulpContainerClient::
|
22
|
+
@api_instance = PulpContainerClient::ContentguardsContentRedirectApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
26
26
|
# run after each test
|
27
27
|
end
|
28
28
|
|
29
|
-
describe 'test an instance of
|
30
|
-
it 'should create an instance of
|
31
|
-
expect(@api_instance).to be_instance_of(PulpContainerClient::
|
29
|
+
describe 'test an instance of ContentguardsContentRedirectApi' do
|
30
|
+
it 'should create an instance of ContentguardsContentRedirectApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpContainerClient::ContentguardsContentRedirectApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
@@ -61,11 +61,11 @@ describe 'ContentGuardsContentRedirectApi' do
|
|
61
61
|
# Content guard to protect preauthenticated redirects to the content app.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
|
-
# @option opts [String] :name
|
65
|
-
# @option opts [String] :name__contains
|
66
|
-
# @option opts [String] :name__icontains
|
67
|
-
# @option opts [String] :name__in
|
68
|
-
# @option opts [String] :name__startswith
|
64
|
+
# @option opts [String] :name
|
65
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
66
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
67
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
68
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
70
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
71
71
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -60,20 +60,20 @@ describe 'DistributionsContainerApi' do
|
|
60
60
|
# List container distributions
|
61
61
|
# 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.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :base_path
|
64
|
-
# @option opts [String] :base_path__contains
|
65
|
-
# @option opts [String] :base_path__icontains
|
66
|
-
# @option opts [String] :base_path__in
|
63
|
+
# @option opts [String] :base_path
|
64
|
+
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
65
|
+
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
66
|
+
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
67
67
|
# @option opts [Integer] :limit Number of results to return per page.
|
68
|
-
# @option opts [String] :name
|
69
|
-
# @option opts [String] :name__contains
|
70
|
-
# @option opts [String] :name__icontains
|
71
|
-
# @option opts [String] :name__in
|
72
|
-
# @option opts [String] :name__startswith
|
73
|
-
# @option opts [String] :namespace__name
|
68
|
+
# @option opts [String] :name
|
69
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
70
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
71
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
72
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
73
|
+
# @option opts [String] :namespace__name
|
74
74
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
75
75
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
76
|
-
# @option opts [String] :pulp_label_select
|
76
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
77
77
|
# @option opts [String] :fields A list of fields to include in the response.
|
78
78
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
79
79
|
# @return [PaginatedcontainerContainerDistributionResponseList]
|
@@ -61,11 +61,11 @@ describe 'PulpContainerNamespacesApi' do
|
|
61
61
|
# ViewSet for ContainerNamespaces.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
|
-
# @option opts [String] :name name
|
65
|
-
# @option opts [String] :name__contains
|
66
|
-
# @option opts [String] :name__icontains
|
67
|
-
# @option opts [String] :name__in
|
68
|
-
# @option opts [String] :name__startswith
|
64
|
+
# @option opts [String] :name Filter results where name matches value
|
65
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
66
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
67
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
68
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
70
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
71
71
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -61,20 +61,20 @@ describe 'RemotesContainerApi' do
|
|
61
61
|
# 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.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
|
-
# @option opts [String] :name
|
65
|
-
# @option opts [String] :name__contains
|
66
|
-
# @option opts [String] :name__icontains
|
67
|
-
# @option opts [String] :name__in
|
68
|
-
# @option opts [String] :name__startswith
|
64
|
+
# @option opts [String] :name
|
65
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
66
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
67
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
68
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
70
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
71
|
-
# @option opts [String] :pulp_label_select
|
72
|
-
# @option opts [
|
73
|
-
# @option opts [
|
74
|
-
# @option opts [
|
75
|
-
# @option opts [
|
76
|
-
# @option opts [
|
77
|
-
# @option opts [
|
71
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
73
|
+
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
74
|
+
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
75
|
+
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
76
|
+
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
77
|
+
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
78
78
|
# @option opts [String] :fields A list of fields to include in the response.
|
79
79
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
80
80
|
# @return [PaginatedcontainerContainerRemoteResponseList]
|
@@ -116,14 +116,14 @@ describe 'RepositoriesContainerApi' do
|
|
116
116
|
# ViewSet for container repo.
|
117
117
|
# @param [Hash] opts the optional parameters
|
118
118
|
# @option opts [Integer] :limit Number of results to return per page.
|
119
|
-
# @option opts [String] :name
|
120
|
-
# @option opts [String] :name__contains
|
121
|
-
# @option opts [String] :name__icontains
|
122
|
-
# @option opts [String] :name__in
|
123
|
-
# @option opts [String] :name__startswith
|
119
|
+
# @option opts [String] :name
|
120
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
121
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
122
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
123
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
124
124
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
125
125
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
126
|
-
# @option opts [String] :pulp_label_select
|
126
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
127
127
|
# @option opts [String] :fields A list of fields to include in the response.
|
128
128
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
129
129
|
# @return [PaginatedcontainerContainerRepositoryResponseList]
|
@@ -37,14 +37,14 @@ describe 'RepositoriesContainerPushApi' do
|
|
37
37
|
# 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.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
|
-
# @option opts [String] :name
|
41
|
-
# @option opts [String] :name__contains
|
42
|
-
# @option opts [String] :name__icontains
|
43
|
-
# @option opts [String] :name__in
|
44
|
-
# @option opts [String] :name__startswith
|
40
|
+
# @option opts [String] :name
|
41
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
42
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
43
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
44
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
45
45
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
46
46
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
47
|
-
# @option opts [String] :pulp_label_select
|
47
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
48
48
|
# @option opts [String] :fields A list of fields to include in the response.
|
49
49
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
50
50
|
# @return [PaginatedcontainerContainerPushRepositoryResponseList]
|
@@ -61,23 +61,23 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
61
61
|
# 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.
|
62
62
|
# @param container_container_push_repository_href
|
63
63
|
# @param [Hash] opts the optional parameters
|
64
|
-
# @option opts [String] :content
|
65
|
-
# @option opts [String] :content__in
|
64
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
65
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
66
66
|
# @option opts [Integer] :limit Number of results to return per page.
|
67
|
-
# @option opts [
|
68
|
-
# @option opts [
|
69
|
-
# @option opts [
|
70
|
-
# @option opts [
|
71
|
-
# @option opts [
|
72
|
-
# @option opts [
|
67
|
+
# @option opts [Integer] :number
|
68
|
+
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
69
|
+
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
70
|
+
# @option opts [Integer] :number__lt Filter results where number is less than value
|
71
|
+
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
72
|
+
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
74
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
75
|
-
# @option opts [
|
76
|
-
# @option opts [
|
77
|
-
# @option opts [
|
78
|
-
# @option opts [
|
79
|
-
# @option opts [
|
80
|
-
# @option opts [
|
75
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
76
|
+
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
77
|
+
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
78
|
+
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
79
|
+
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
80
|
+
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
81
81
|
# @option opts [String] :fields A list of fields to include in the response.
|
82
82
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
83
83
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -92,23 +92,23 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
92
92
|
# ContainerRepositoryVersion represents a single container repository version.
|
93
93
|
# @param container_container_repository_href
|
94
94
|
# @param [Hash] opts the optional parameters
|
95
|
-
# @option opts [String] :content
|
96
|
-
# @option opts [String] :content__in
|
95
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
96
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
97
97
|
# @option opts [Integer] :limit Number of results to return per page.
|
98
|
-
# @option opts [
|
99
|
-
# @option opts [
|
100
|
-
# @option opts [
|
101
|
-
# @option opts [
|
102
|
-
# @option opts [
|
103
|
-
# @option opts [
|
98
|
+
# @option opts [Integer] :number
|
99
|
+
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
100
|
+
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
101
|
+
# @option opts [Integer] :number__lt Filter results where number is less than value
|
102
|
+
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
103
|
+
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
104
104
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
105
105
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
106
|
-
# @option opts [
|
107
|
-
# @option opts [
|
108
|
-
# @option opts [
|
109
|
-
# @option opts [
|
110
|
-
# @option opts [
|
111
|
-
# @option opts [
|
106
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
107
|
+
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
108
|
+
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
109
|
+
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
110
|
+
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
111
|
+
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
112
112
|
# @option opts [String] :fields A list of fields to include in the response.
|
113
113
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
114
114
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -32,25 +32,25 @@ 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 "pulp_created"' 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 "name"' 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_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
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "repository_version"' 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
|
@@ -62,19 +62,19 @@ describe 'ContainerContainerDistributionResponse' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "content_guard"' 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 "repository"' 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_labels"' 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
|
@@ -32,37 +32,37 @@ 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 "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 "repository_version"' 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 "base_path"' 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 "content_guard"' 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_labels"' 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
|
@@ -53,10 +53,6 @@ describe 'ManifestCopy' do
|
|
53
53
|
describe 'test attribute "media_types"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["application/vnd.docker.distribution.manifest.v1+json", "application/vnd.docker.distribution.manifest.v2+json", "application/vnd.docker.distribution.manifest.list.v2+json", "application/vnd.oci.image.manifest.v1+json", "application/vnd.oci.image.index.v1+json"])
|
57
|
-
# validator.allowable_values.each do |value|
|
58
|
-
# expect { @instance.media_types = value }.not_to raise_error
|
59
|
-
# end
|
60
56
|
end
|
61
57
|
end
|
62
58
|
|
@@ -0,0 +1,35 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpContainerClient::MediaTypesEnum
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'MediaTypesEnum' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpContainerClient::MediaTypesEnum.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of MediaTypesEnum' do
|
31
|
+
it 'should create an instance of MediaTypesEnum' do
|
32
|
+
expect(@instance).to be_instance_of(PulpContainerClient::MediaTypesEnum)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|