pulp_container_client 2.12.3 → 2.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
- data/docs/ContainerContainerRemote.md +2 -2
- data/docs/ContentBlobsApi.md +2 -2
- data/docs/ContentManifestsApi.md +2 -2
- data/docs/ContentSignaturesApi.md +2 -2
- data/docs/ContentTagsApi.md +2 -2
- data/docs/DistributionsContainerApi.md +2 -2
- data/docs/OCIBuildImage.md +2 -2
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/docs/PatchedcontainerContainerRemote.md +2 -2
- data/docs/PulpContainerNamespacesApi.md +2 -2
- data/docs/RemotesContainerApi.md +2 -2
- data/docs/RepositoriesContainerApi.md +6 -6
- data/docs/RepositoriesContainerPushApi.md +2 -2
- data/docs/RepositoriesContainerPushVersionsApi.md +2 -2
- data/docs/RepositoriesContainerVersionsApi.md +2 -2
- data/git_push.sh +58 -0
- data/lib/pulp_container_client/api/content_blobs_api.rb +7 -3
- data/lib/pulp_container_client/api/content_manifests_api.rb +7 -3
- data/lib/pulp_container_client/api/content_signatures_api.rb +7 -3
- data/lib/pulp_container_client/api/content_tags_api.rb +7 -3
- data/lib/pulp_container_client/api/distributions_container_api.rb +7 -3
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +7 -3
- data/lib/pulp_container_client/api/remotes_container_api.rb +7 -3
- data/lib/pulp_container_client/api/repositories_container_api.rb +11 -7
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +7 -3
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +7 -3
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +7 -3
- data/lib/pulp_container_client/api_client.rb +1 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +20 -20
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +37 -37
- data/lib/pulp_container_client/models/container_container_namespace.rb +0 -9
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +0 -19
- data/lib/pulp_container_client/models/container_container_push_repository.rb +41 -41
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +53 -53
- data/lib/pulp_container_client/models/container_container_remote.rb +2 -2
- data/lib/pulp_container_client/models/oci_build_image.rb +2 -2
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +20 -20
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +41 -41
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +2 -2
- data/lib/pulp_container_client/version.rb +1 -1
- data/pulp_container_client.gemspec +3 -3
- data/spec/api/content_blobs_api_spec.rb +1 -1
- data/spec/api/content_manifests_api_spec.rb +1 -1
- data/spec/api/content_signatures_api_spec.rb +1 -1
- data/spec/api/content_tags_api_spec.rb +1 -1
- data/spec/api/distributions_container_api_spec.rb +1 -1
- data/spec/api/pulp_container_namespaces_api_spec.rb +1 -1
- data/spec/api/remotes_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_api_spec.rb +3 -3
- data/spec/api/repositories_container_push_api_spec.rb +1 -1
- data/spec/api/repositories_container_push_versions_api_spec.rb +1 -1
- data/spec/api/repositories_container_versions_api_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +9 -9
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +57 -56
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e63cde506030be6ac0046acfd7ab6588ce3e1b613f28bb95323f765dcf7e279
|
4
|
+
data.tar.gz: 867105e35a30cab2a2c4631454eee113255b1d753099689d8d749d2997a4b968
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 633760f7ac4e2c00f8feda6703f76b1eb507c716d2fce2473dd93563e5d28cfaf9bb8b4031813224bcf2a76a7a99791f646d4c0a75c036b0c65523da8a940ff9
|
7
|
+
data.tar.gz: 30ffc0c5a5450f3be5ad36c5e49b9ca94ed04b9e1ebbccfa176dcbc3a8d9eacda4a2044d185af3305a97945a46908f66d474e87c17794919479a87d346f4df69
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 2.
|
10
|
+
- Package version: 2.13.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_container_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_container_client-2.
|
27
|
+
gem install ./pulp_container_client-2.13.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.13.0.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_container_client', '~> 2.
|
36
|
+
gem 'pulp_container_client', '~> 2.13.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -70,7 +70,7 @@ opts = {
|
|
70
70
|
digest__in: ['digest__in_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
|
71
71
|
limit: 56, # Integer | Number of results to return per page.
|
72
72
|
offset: 56, # Integer | The initial index from which to return the results.
|
73
|
-
ordering: 'ordering_example', # String |
|
73
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
74
74
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
75
75
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
76
76
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
8
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
10
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
11
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
11
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
14
14
|
**description** | **String** | An optional description. | [optional]
|
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
22
|
-
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(pulp_labels: null,
|
22
|
+
repository: null,
|
23
|
+
name: null,
|
23
24
|
content_guard: null,
|
24
25
|
base_path: null,
|
25
|
-
repository: null,
|
26
26
|
repository_version: null,
|
27
27
|
private: null,
|
28
28
|
description: null)
|
@@ -4,13 +4,13 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
7
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
8
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
10
11
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
11
13
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
12
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
13
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
14
14
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
15
15
|
**registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
16
16
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
@@ -22,13 +22,13 @@ Name | Type | Description | Notes
|
|
22
22
|
```ruby
|
23
23
|
require 'PulpContainerClient'
|
24
24
|
|
25
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
26
|
-
pulp_href: null,
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_created: null,
|
27
26
|
pulp_labels: null,
|
27
|
+
repository: null,
|
28
|
+
name: null,
|
28
29
|
content_guard: null,
|
30
|
+
pulp_href: null,
|
29
31
|
base_path: null,
|
30
|
-
repository: null,
|
31
|
-
pulp_created: null,
|
32
32
|
repository_version: null,
|
33
33
|
registry_path: null,
|
34
34
|
namespace: null,
|
@@ -4,22 +4,22 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** | A unique name for this repository. |
|
8
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
|
-
**description** | **String** | An optional description. | [optional]
|
10
8
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
9
|
+
**name** | **String** | A unique name for this repository. |
|
11
10
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
11
|
+
**description** | **String** | An optional description. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
|
-
instance = PulpContainerClient::ContainerContainerPushRepository.new(
|
19
|
-
pulp_labels: null,
|
20
|
-
description: null,
|
18
|
+
instance = PulpContainerClient::ContainerContainerPushRepository.new(pulp_labels: null,
|
21
19
|
retain_repo_versions: null,
|
22
|
-
|
20
|
+
name: null,
|
21
|
+
manifest_signing_service: null,
|
22
|
+
description: null)
|
23
23
|
```
|
24
24
|
|
25
25
|
|
@@ -4,30 +4,30 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**versions_href** | **String** | | [optional] [readonly]
|
8
|
-
**name** | **String** | A unique name for this repository. |
|
9
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
10
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
11
|
-
**latest_version_href** | **String** | | [optional] [readonly]
|
12
|
-
**description** | **String** | An optional description. | [optional]
|
13
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
14
9
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
10
|
+
**name** | **String** | A unique name for this repository. |
|
15
11
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
12
|
+
**latest_version_href** | **String** | | [optional] [readonly]
|
13
|
+
**description** | **String** | An optional description. | [optional]
|
14
|
+
**versions_href** | **String** | | [optional] [readonly]
|
15
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
16
16
|
|
17
17
|
## Code Sample
|
18
18
|
|
19
19
|
```ruby
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
|
-
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
|
23
|
-
name: null,
|
24
|
-
pulp_href: null,
|
22
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_created: null,
|
25
23
|
pulp_labels: null,
|
24
|
+
retain_repo_versions: null,
|
25
|
+
name: null,
|
26
|
+
manifest_signing_service: null,
|
26
27
|
latest_version_href: null,
|
27
28
|
description: null,
|
28
|
-
|
29
|
-
|
30
|
-
manifest_signing_service: null)
|
29
|
+
versions_href: null,
|
30
|
+
pulp_href: null)
|
31
31
|
```
|
32
32
|
|
33
33
|
|
@@ -12,9 +12,9 @@ Name | Type | Description | Notes
|
|
12
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
14
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
-
**proxy_password** | **String** | The password to
|
15
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
17
|
+
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
18
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
data/docs/ContentBlobsApi.md
CHANGED
@@ -35,7 +35,7 @@ opts = {
|
|
35
35
|
digest__in: ['digest__in_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
|
36
36
|
limit: 56, # Integer | Number of results to return per page.
|
37
37
|
offset: 56, # Integer | The initial index from which to return the results.
|
38
|
-
ordering: 'ordering_example', # String |
|
38
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
39
39
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
40
40
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
41
41
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -61,7 +61,7 @@ Name | Type | Description | Notes
|
|
61
61
|
**digest__in** | [**Array<String>**](String.md)| Filter results where digest is in a comma-separated list of values | [optional]
|
62
62
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
63
63
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
64
|
-
**ordering** | **String
|
64
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
65
65
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
66
66
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
67
67
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/ContentManifestsApi.md
CHANGED
@@ -36,7 +36,7 @@ opts = {
|
|
36
36
|
limit: 56, # Integer | Number of results to return per page.
|
37
37
|
media_type: ['media_type_example'], # Array<String> |
|
38
38
|
offset: 56, # Integer | The initial index from which to return the results.
|
39
|
-
ordering: 'ordering_example', # String |
|
39
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
40
40
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
41
41
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
42
42
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -63,7 +63,7 @@ Name | Type | Description | Notes
|
|
63
63
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
64
64
|
**media_type** | [**Array<String>**](String.md)| | [optional]
|
65
65
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
66
|
-
**ordering** | **String
|
66
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
67
67
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
68
68
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
69
69
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
@@ -43,7 +43,7 @@ opts = {
|
|
43
43
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
44
44
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
45
45
|
offset: 56, # Integer | The initial index from which to return the results.
|
46
|
-
ordering: 'ordering_example', # String |
|
46
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
47
47
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
48
48
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
49
49
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -77,7 +77,7 @@ Name | Type | Description | Notes
|
|
77
77
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
78
78
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
79
79
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
80
|
-
**ordering** | **String
|
80
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
81
81
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
82
82
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
83
83
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/ContentTagsApi.md
CHANGED
@@ -37,7 +37,7 @@ opts = {
|
|
37
37
|
name: 'name_example', # String | Filter results where name matches value
|
38
38
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
39
39
|
offset: 56, # Integer | The initial index from which to return the results.
|
40
|
-
ordering: 'ordering_example', # String |
|
40
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
41
41
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
42
42
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
43
43
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -65,7 +65,7 @@ Name | Type | Description | Notes
|
|
65
65
|
**name** | **String**| Filter results where name matches value | [optional]
|
66
66
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
67
67
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
68
|
-
**ordering** | **String
|
68
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
69
69
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
70
70
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
71
71
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
@@ -211,7 +211,7 @@ opts = {
|
|
211
211
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
212
212
|
namespace__name: 'namespace__name_example', # String |
|
213
213
|
offset: 56, # Integer | The initial index from which to return the results.
|
214
|
-
ordering: 'ordering_example', # String |
|
214
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
215
215
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
216
216
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
217
217
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -243,7 +243,7 @@ Name | Type | Description | Notes
|
|
243
243
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
244
244
|
**namespace__name** | **String**| | [optional]
|
245
245
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
246
|
-
**ordering** | **String
|
246
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
247
247
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
248
248
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
249
249
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
data/docs/OCIBuildImage.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**containerfile_artifact** | **String** | Artifact representing the Containerfile that should be used to run
|
8
|
-
**containerfile** | **File** | An uploaded Containerfile that should be used to run
|
7
|
+
**containerfile_artifact** | **String** | Artifact representing the Containerfile that should be used to run podman-build. | [optional]
|
8
|
+
**containerfile** | **File** | An uploaded Containerfile that should be used to run podman-build. | [optional]
|
9
9
|
**tag** | **String** | A tag name for the new image being built. | [optional] [default to 'latest']
|
10
10
|
**artifacts** | [**Object**](.md) | A JSON string where each key is an artifact href and the value is it's relative path (name) inside the /pulp_working_directory of the build container executing the Containerfile. | [optional]
|
11
11
|
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
8
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
9
10
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
11
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
11
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
14
14
|
**description** | **String** | An optional description. | [optional]
|
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
22
|
-
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(pulp_labels: null,
|
22
|
+
repository: null,
|
23
|
+
name: null,
|
23
24
|
content_guard: null,
|
24
25
|
base_path: null,
|
25
|
-
repository: null,
|
26
26
|
repository_version: null,
|
27
27
|
private: null,
|
28
28
|
description: null)
|
@@ -4,22 +4,22 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** | A unique name for this repository. | [optional]
|
8
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
|
-
**description** | **String** | An optional description. | [optional]
|
10
8
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
9
|
+
**name** | **String** | A unique name for this repository. | [optional]
|
11
10
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
11
|
+
**description** | **String** | An optional description. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
|
-
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
|
19
|
-
pulp_labels: null,
|
20
|
-
description: null,
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(pulp_labels: null,
|
21
19
|
retain_repo_versions: null,
|
22
|
-
|
20
|
+
name: null,
|
21
|
+
manifest_signing_service: null,
|
22
|
+
description: null)
|
23
23
|
```
|
24
24
|
|
25
25
|
|
@@ -12,9 +12,9 @@ Name | Type | Description | Notes
|
|
12
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
14
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
-
**proxy_password** | **String** | The password to
|
15
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
17
|
+
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
18
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
@@ -204,7 +204,7 @@ opts = {
|
|
204
204
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
205
205
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
206
206
|
offset: 56, # Integer | The initial index from which to return the results.
|
207
|
-
ordering: 'ordering_example', # String |
|
207
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
208
208
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
209
209
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
210
210
|
}
|
@@ -230,7 +230,7 @@ Name | Type | Description | Notes
|
|
230
230
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
231
231
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
232
232
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
233
|
-
**ordering** | **String
|
233
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
234
234
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
235
235
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
236
236
|
|
data/docs/RemotesContainerApi.md
CHANGED
@@ -206,7 +206,7 @@ opts = {
|
|
206
206
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
207
207
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
208
208
|
offset: 56, # Integer | The initial index from which to return the results.
|
209
|
-
ordering: 'ordering_example', # String |
|
209
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
210
210
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
211
211
|
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
212
212
|
pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
|
@@ -239,7 +239,7 @@ Name | Type | Description | Notes
|
|
239
239
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
240
240
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
241
241
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
242
|
-
**ordering** | **String
|
242
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
243
243
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
244
244
|
**pulp_last_updated** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
245
245
|
**pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
|
@@ -158,8 +158,8 @@ end
|
|
158
158
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
159
159
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
160
160
|
opts = {
|
161
|
-
containerfile_artifact: 'containerfile_artifact_example', # String | Artifact representing the Containerfile that should be used to run
|
162
|
-
containerfile: File.new('/path/to/file'), # File | An uploaded Containerfile that should be used to run
|
161
|
+
containerfile_artifact: 'containerfile_artifact_example', # String | Artifact representing the Containerfile that should be used to run podman-build.
|
162
|
+
containerfile: File.new('/path/to/file'), # File | An uploaded Containerfile that should be used to run podman-build.
|
163
163
|
tag: 'latest', # String | A tag name for the new image being built.
|
164
164
|
artifacts: nil # Object | A JSON string where each key is an artifact href and the value is it's relative path (name) inside the /pulp_working_directory of the build container executing the Containerfile.
|
165
165
|
}
|
@@ -179,8 +179,8 @@ end
|
|
179
179
|
Name | Type | Description | Notes
|
180
180
|
------------- | ------------- | ------------- | -------------
|
181
181
|
**container_container_repository_href** | **String**| |
|
182
|
-
**containerfile_artifact** | **String**| Artifact representing the Containerfile that should be used to run
|
183
|
-
**containerfile** | **File**| An uploaded Containerfile that should be used to run
|
182
|
+
**containerfile_artifact** | **String**| Artifact representing the Containerfile that should be used to run podman-build. | [optional]
|
183
|
+
**containerfile** | **File**| An uploaded Containerfile that should be used to run podman-build. | [optional]
|
184
184
|
**tag** | **String**| A tag name for the new image being built. | [optional] [default to 'latest']
|
185
185
|
**artifacts** | [**Object**](Object.md)| A JSON string where each key is an artifact href and the value is it's relative path (name) inside the /pulp_working_directory of the build container executing the Containerfile. | [optional]
|
186
186
|
|
@@ -443,7 +443,7 @@ opts = {
|
|
443
443
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
444
444
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
445
445
|
offset: 56, # Integer | The initial index from which to return the results.
|
446
|
-
ordering: 'ordering_example', # String |
|
446
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
447
447
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
448
448
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
449
449
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -470,7 +470,7 @@ Name | Type | Description | Notes
|
|
470
470
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
471
471
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
472
472
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
473
|
-
**ordering** | **String
|
473
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
474
474
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
475
475
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
476
476
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
@@ -103,7 +103,7 @@ opts = {
|
|
103
103
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
104
104
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
105
105
|
offset: 56, # Integer | The initial index from which to return the results.
|
106
|
-
ordering: 'ordering_example', # String |
|
106
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
107
107
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
108
108
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
109
109
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -130,7 +130,7 @@ Name | Type | Description | Notes
|
|
130
130
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
131
131
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
132
132
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
133
|
-
**ordering** | **String
|
133
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
134
134
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
135
135
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
136
136
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
@@ -97,7 +97,7 @@ opts = {
|
|
97
97
|
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
98
98
|
number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
|
99
99
|
offset: 56, # Integer | The initial index from which to return the results.
|
100
|
-
ordering: 'ordering_example', # String |
|
100
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
101
101
|
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
102
102
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
103
103
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
@@ -133,7 +133,7 @@ Name | Type | Description | Notes
|
|
133
133
|
**number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
|
134
134
|
**number__range** | [**Array<Integer>**](Integer.md)| Filter results where number is between two comma separated values | [optional]
|
135
135
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
136
|
-
**ordering** | **String
|
136
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
137
137
|
**pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
138
138
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
139
139
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
@@ -97,7 +97,7 @@ opts = {
|
|
97
97
|
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
98
98
|
number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
|
99
99
|
offset: 56, # Integer | The initial index from which to return the results.
|
100
|
-
ordering: 'ordering_example', # String |
|
100
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
101
101
|
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
102
102
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
103
103
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
@@ -133,7 +133,7 @@ Name | Type | Description | Notes
|
|
133
133
|
**number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
|
134
134
|
**number__range** | [**Array<Integer>**](Integer.md)| Filter results where number is between two comma separated values | [optional]
|
135
135
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
136
|
-
**ordering** | **String
|
136
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
137
137
|
**pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
138
138
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
139
139
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
data/git_push.sh
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
3
|
+
#
|
4
|
+
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
|
5
|
+
|
6
|
+
git_user_id=$1
|
7
|
+
git_repo_id=$2
|
8
|
+
release_note=$3
|
9
|
+
git_host=$4
|
10
|
+
|
11
|
+
if [ "$git_host" = "" ]; then
|
12
|
+
git_host="github.com"
|
13
|
+
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
14
|
+
fi
|
15
|
+
|
16
|
+
if [ "$git_user_id" = "" ]; then
|
17
|
+
git_user_id="GIT_USER_ID"
|
18
|
+
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
19
|
+
fi
|
20
|
+
|
21
|
+
if [ "$git_repo_id" = "" ]; then
|
22
|
+
git_repo_id="GIT_REPO_ID"
|
23
|
+
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
24
|
+
fi
|
25
|
+
|
26
|
+
if [ "$release_note" = "" ]; then
|
27
|
+
release_note="Minor update"
|
28
|
+
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
29
|
+
fi
|
30
|
+
|
31
|
+
# Initialize the local directory as a Git repository
|
32
|
+
git init
|
33
|
+
|
34
|
+
# Adds the files in the local repository and stages them for commit.
|
35
|
+
git add .
|
36
|
+
|
37
|
+
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
38
|
+
git commit -m "$release_note"
|
39
|
+
|
40
|
+
# Sets the new remote
|
41
|
+
git_remote=`git remote`
|
42
|
+
if [ "$git_remote" = "" ]; then # git remote not defined
|
43
|
+
|
44
|
+
if [ "$GIT_TOKEN" = "" ]; then
|
45
|
+
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
46
|
+
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
47
|
+
else
|
48
|
+
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
|
49
|
+
fi
|
50
|
+
|
51
|
+
fi
|
52
|
+
|
53
|
+
git pull origin master
|
54
|
+
|
55
|
+
# Pushes (Forces) the changes in the local repository up to the remote repository
|
56
|
+
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
57
|
+
git push origin master 2>&1 | grep -v 'To https'
|
58
|
+
|