pulp_container_client 2.14.18 → 2.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +8 -6
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +6 -6
- data/docs/ContainerContainerPushRepository.md +4 -4
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerContainerRemoteResponseHiddenFields.md +2 -2
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentBlobsApi.md +7 -3
- data/docs/ContentManifestsApi.md +9 -5
- data/docs/ContentSignaturesApi.md +7 -3
- data/docs/ContentTagsApi.md +9 -5
- data/docs/DistributionsContainerApi.md +11 -3
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +4 -4
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/PulpContainerNamespacesApi.md +7 -3
- data/docs/RemotesContainerApi.md +7 -3
- data/docs/RepositoriesContainerApi.md +27 -3
- data/docs/RepositoriesContainerPushApi.md +27 -3
- data/docs/RepositoriesContainerPushVersionsApi.md +5 -3
- data/docs/RepositoriesContainerVersionsApi.md +5 -3
- data/docs/TokenApi.md +1 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +8 -2
- data/lib/pulp_container_client/api/content_manifests_api.rb +10 -4
- data/lib/pulp_container_client/api/content_signatures_api.rb +8 -2
- data/lib/pulp_container_client/api/content_tags_api.rb +10 -4
- data/lib/pulp_container_client/api/distributions_container_api.rb +14 -2
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +8 -2
- data/lib/pulp_container_client/api/remotes_container_api.rb +8 -2
- data/lib/pulp_container_client/api/repositories_container_api.rb +38 -2
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +38 -2
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +5 -2
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +5 -2
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +42 -42
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +30 -30
- data/lib/pulp_container_client/models/container_container_push_repository.rb +17 -17
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +42 -42
- data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_remote_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/nested_role.rb +19 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +33 -33
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +17 -17
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_blobs_api_spec.rb +3 -1
- data/spec/api/content_manifests_api_spec.rb +4 -2
- data/spec/api/content_signatures_api_spec.rb +3 -1
- data/spec/api/content_tags_api_spec.rb +4 -2
- data/spec/api/distributions_container_api_spec.rb +5 -1
- data/spec/api/pulp_container_namespaces_api_spec.rb +3 -1
- data/spec/api/remotes_container_api_spec.rb +3 -1
- data/spec/api/repositories_container_api_spec.rb +13 -1
- data/spec/api/repositories_container_push_api_spec.rb +13 -1
- data/spec/api/repositories_container_push_versions_api_spec.rb +2 -1
- data/spec/api/repositories_container_versions_api_spec.rb +2 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_container_distribution_response_spec.rb +4 -4
- data/spec/models/container_container_distribution_spec.rb +3 -3
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- metadata +64 -64
@@ -40,7 +40,9 @@ describe 'ContentBlobsApi' do
|
|
40
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
42
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
43
|
-
# @option opts [Array<String>] :ordering Ordering
|
43
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
44
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
45
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
44
46
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
45
47
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
46
48
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -39,9 +39,11 @@ describe 'ContentManifestsApi' do
|
|
39
39
|
# @option opts [String] :digest Filter results where digest matches value
|
40
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 [Array<String>] :media_type
|
42
|
+
# @option opts [Array<String>] :media_type * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
|
43
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
44
|
-
# @option opts [Array<String>] :ordering Ordering
|
44
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `schema_version` - Schema version * `-schema_version` - Schema version (descending) * `media_type` - Media type * `-media_type` - Media type (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
45
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
46
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
45
47
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
46
48
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
47
49
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -48,7 +48,9 @@ describe 'ContentSignaturesApi' do
|
|
48
48
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
49
49
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
50
50
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
51
|
-
# @option opts [Array<String>] :ordering Ordering
|
51
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `digest` - Digest * `-digest` - Digest (descending) * `type` - Type * `-type` - Type (descending) * `key_id` - Key id * `-key_id` - Key id (descending) * `timestamp` - Timestamp * `-timestamp` - Timestamp (descending) * `creator` - Creator * `-creator` - Creator (descending) * `data` - Data * `-data` - Data (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
52
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
53
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
52
54
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
53
55
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
54
56
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -38,11 +38,13 @@ describe 'ContentTagsApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
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 [Array<String>] :media_type
|
41
|
+
# @option opts [Array<String>] :media_type * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
|
42
42
|
# @option opts [String] :name Filter results where name matches value
|
43
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
|
-
# @option opts [Array<String>] :ordering Ordering
|
45
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
46
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
47
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
46
48
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
47
49
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
48
50
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -84,8 +84,12 @@ describe 'DistributionsContainerApi' do
|
|
84
84
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
85
85
|
# @option opts [String] :namespace__name
|
86
86
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
87
|
-
# @option opts [Array<String>] :ordering Ordering
|
87
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
88
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
89
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
88
90
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
91
|
+
# @option opts [String] :repository Filter results where repository matches value
|
92
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
89
93
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
90
94
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
91
95
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -79,7 +79,9 @@ describe 'PulpContainerNamespacesApi' do
|
|
79
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
80
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
81
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
|
-
# @option opts [Array<String>] :ordering Ordering
|
82
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
83
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
84
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
83
85
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
84
86
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
85
87
|
# @return [PaginatedcontainerContainerNamespaceResponseList]
|
@@ -79,7 +79,9 @@ describe 'RemotesContainerApi' do
|
|
79
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
80
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
81
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
|
-
# @option opts [Array<String>] :ordering Ordering
|
82
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
83
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
84
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
83
85
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
84
86
|
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
85
87
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -127,6 +127,7 @@ describe 'RepositoriesContainerApi' do
|
|
127
127
|
# List container repositorys
|
128
128
|
# ViewSet for container repo.
|
129
129
|
# @param [Hash] opts the optional parameters
|
130
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
130
131
|
# @option opts [Integer] :limit Number of results to return per page.
|
131
132
|
# @option opts [String] :name Filter results where name matches value
|
132
133
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -134,9 +135,20 @@ describe 'RepositoriesContainerApi' do
|
|
134
135
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
135
136
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
136
137
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
137
|
-
# @option opts [Array<String>] :ordering Ordering
|
138
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
139
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
140
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
138
141
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
139
142
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
143
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
144
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
145
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
146
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
147
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
148
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
149
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
150
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
151
|
+
# @option opts [String] :with_content Content Unit referenced by HREF
|
140
152
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
141
153
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
142
154
|
# @return [PaginatedcontainerContainerRepositoryResponseList]
|
@@ -48,6 +48,7 @@ describe 'RepositoriesContainerPushApi' do
|
|
48
48
|
# List container push repositorys
|
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
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
51
52
|
# @option opts [Integer] :limit Number of results to return per page.
|
52
53
|
# @option opts [String] :name Filter results where name matches value
|
53
54
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -55,9 +56,20 @@ describe 'RepositoriesContainerPushApi' do
|
|
55
56
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
56
57
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
57
58
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
58
|
-
# @option opts [Array<String>] :ordering Ordering
|
59
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
60
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
61
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
59
62
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
60
63
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
64
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
65
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
66
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
67
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
68
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
69
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
70
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
71
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
72
|
+
# @option opts [String] :with_content Content Unit referenced by HREF
|
61
73
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
62
74
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
63
75
|
# @return [PaginatedcontainerContainerPushRepositoryResponseList]
|
@@ -59,13 +59,14 @@ describe 'RepositoriesContainerPushVersionsApi' do
|
|
59
59
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
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
|
-
# @option opts [Array<String>] :ordering Ordering
|
62
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
63
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 [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
69
70
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
70
71
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
71
72
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -59,13 +59,14 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
59
59
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
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
|
-
# @option opts [Array<String>] :ordering Ordering
|
62
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
63
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 [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
69
70
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
70
71
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
71
72
|
# @return [PaginatedRepositoryVersionResponseList]
|
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
|
@@ -32,7 +32,7 @@ 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
|
@@ -50,13 +50,13 @@ describe 'ContainerContainerDistributionResponse' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "repository"' 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 "name"' 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,7 +68,7 @@ describe 'ContainerContainerDistributionResponse' do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "base_path"' 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,13 +32,13 @@ 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 "pulp_labels"' 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"' 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
|
@@ -56,7 +56,7 @@ describe 'ContainerContainerDistribution' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "base_path"' 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
|
@@ -32,43 +32,43 @@ 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 "versions_href"' 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 "pulp_created"' 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 "latest_version_href"' 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 "retain_repo_versions"' 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 "description"' 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 "name"' 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
|
@@ -80,7 +80,7 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
-
describe 'test attribute "
|
83
|
+
describe 'test attribute "pulp_labels"' 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
|
@@ -44,19 +44,19 @@ describe 'ContainerContainerPushRepository' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "name"' 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 "manifest_signing_service"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "pulp_labels"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
@@ -32,13 +32,13 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::PatchedcontainerContainerDistribution)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_labels"' 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"' 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
|
@@ -56,7 +56,7 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "base_path"' 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
|
@@ -44,19 +44,19 @@ describe 'PatchedcontainerContainerPushRepository' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "name"' 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 "manifest_signing_service"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "pulp_labels"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|