pulp_container_client 2.21.2 → 2.22.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 +4 -4
- data/docs/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/ContainerContainerPullThroughDistribution.md +6 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/ContainerManifestResponse.md +11 -3
- data/docs/ContentManifestsApi.md +2 -2
- data/docs/OCIBuildImage.md +4 -4
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/RepositoriesContainerApi.md +4 -4
- data/lib/pulp_container_client/api/content_manifests_api.rb +3 -3
- data/lib/pulp_container_client/api/repositories_container_api.rb +6 -6
- data/lib/pulp_container_client/models/container_container_distribution.rb +26 -26
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +45 -45
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +26 -26
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +45 -45
- data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +20 -20
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +20 -20
- data/lib/pulp_container_client/models/container_container_push_repository.rb +45 -45
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +55 -55
- data/lib/pulp_container_client/models/container_container_remote.rb +20 -20
- data/lib/pulp_container_client/models/container_container_remote_response.rb +20 -20
- data/lib/pulp_container_client/models/container_manifest_response.rb +46 -6
- data/lib/pulp_container_client/models/oci_build_image.rb +16 -15
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +26 -26
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +26 -26
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +20 -20
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +45 -45
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +20 -20
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_manifests_api_spec.rb +1 -1
- data/spec/api/repositories_container_api_spec.rb +2 -2
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +10 -10
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/container_manifest_response_spec.rb +24 -0
- data/spec/models/oci_build_image_spec.rb +2 -2
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +64 -64
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31174d89987e315da6c0d15913ef6a307492fc125cbedd34fd173a2e0a49daa4
|
4
|
+
data.tar.gz: 987810654b67ee97f0090beb4a6b50d64128eb17e07a90f9520d828c83610e5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb60cb2fed6cfa89ebc203f1c37539a825ebf076fc7d5fa886d52e44318dd4b835b7107f801e82df356930cf8b31217de5386c65c172e65f62e0647a009b65de
|
7
|
+
data.tar.gz: 5e6bc356629d4ba411a273dfe36b46a074be857302457a05a558cd10c735ec2073a27b90dfe3299c29d925391503b65d7079489a639b65dd72ea0c526e156934
|
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.22.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.22.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.22.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.22.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -5,10 +5,10 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**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\") |
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
12
12
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
13
13
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
14
14
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
@@ -20,10 +20,10 @@ Name | Type | Description | Notes
|
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
22
|
instance = PulpContainerClient::ContainerContainerDistribution.new(base_path: null,
|
23
|
-
name: null,
|
24
|
-
content_guard: null,
|
25
|
-
repository: null,
|
26
23
|
pulp_labels: null,
|
24
|
+
repository: null,
|
25
|
+
content_guard: null,
|
26
|
+
name: null,
|
27
27
|
hidden: null,
|
28
28
|
repository_version: null,
|
29
29
|
private: null,
|
@@ -6,15 +6,15 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
8
|
**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\") |
|
9
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
9
12
|
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
10
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
|
-
**
|
12
|
-
**
|
14
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
15
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
13
16
|
**no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional] [readonly]
|
14
17
|
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
15
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
16
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
17
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
18
18
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
19
19
|
**registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
20
20
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] [readonly]
|
@@ -29,15 +29,15 @@ require 'PulpContainerClient'
|
|
29
29
|
|
30
30
|
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_created: null,
|
31
31
|
base_path: null,
|
32
|
+
pulp_labels: null,
|
33
|
+
repository: null,
|
34
|
+
content_guard: null,
|
32
35
|
prn: null,
|
33
36
|
name: null,
|
34
|
-
|
35
|
-
|
37
|
+
hidden: null,
|
38
|
+
pulp_href: null,
|
36
39
|
no_content_change_since: null,
|
37
40
|
pulp_last_updated: null,
|
38
|
-
pulp_href: null,
|
39
|
-
pulp_labels: null,
|
40
|
-
hidden: null,
|
41
41
|
repository_version: null,
|
42
42
|
registry_path: null,
|
43
43
|
remote: null,
|
@@ -5,10 +5,10 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**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\") |
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
12
12
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
13
13
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. |
|
14
14
|
**distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional]
|
@@ -21,10 +21,10 @@ Name | Type | Description | Notes
|
|
21
21
|
require 'PulpContainerClient'
|
22
22
|
|
23
23
|
instance = PulpContainerClient::ContainerContainerPullThroughDistribution.new(base_path: null,
|
24
|
-
name: null,
|
25
|
-
content_guard: null,
|
26
|
-
repository: null,
|
27
24
|
pulp_labels: null,
|
25
|
+
repository: null,
|
26
|
+
content_guard: null,
|
27
|
+
name: null,
|
28
28
|
hidden: null,
|
29
29
|
remote: null,
|
30
30
|
distributions: null,
|
@@ -6,15 +6,15 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
8
|
**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\") |
|
9
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
9
12
|
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
10
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
|
-
**
|
12
|
-
**
|
14
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
15
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
13
16
|
**no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional] [readonly]
|
14
17
|
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
15
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
16
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
17
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
18
18
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. |
|
19
19
|
**distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional]
|
20
20
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
@@ -28,15 +28,15 @@ require 'PulpContainerClient'
|
|
28
28
|
|
29
29
|
instance = PulpContainerClient::ContainerContainerPullThroughDistributionResponse.new(pulp_created: null,
|
30
30
|
base_path: null,
|
31
|
+
pulp_labels: null,
|
32
|
+
repository: null,
|
33
|
+
content_guard: null,
|
31
34
|
prn: null,
|
32
35
|
name: null,
|
33
|
-
|
34
|
-
|
36
|
+
hidden: null,
|
37
|
+
pulp_href: null,
|
35
38
|
no_content_change_since: null,
|
36
39
|
pulp_last_updated: null,
|
37
|
-
pulp_href: null,
|
38
|
-
pulp_labels: null,
|
39
|
-
hidden: null,
|
40
40
|
remote: null,
|
41
41
|
distributions: null,
|
42
42
|
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
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
9
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
7
|
**description** | **String** | An optional description. | [optional]
|
8
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
|
+
**name** | **String** | A unique name for this repository. |
|
11
10
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
11
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
|
-
instance = PulpContainerClient::ContainerContainerPushRepository.new(
|
19
|
-
manifest_signing_service: null,
|
18
|
+
instance = PulpContainerClient::ContainerContainerPushRepository.new(description: null,
|
20
19
|
pulp_labels: null,
|
21
|
-
|
22
|
-
retain_repo_versions: null
|
20
|
+
name: null,
|
21
|
+
retain_repo_versions: null,
|
22
|
+
manifest_signing_service: null)
|
23
23
|
```
|
24
24
|
|
25
25
|
|
@@ -5,16 +5,16 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
|
+
**description** | **String** | An optional description. | [optional]
|
9
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
|
+
**versions_href** | **String** | | [optional] [readonly]
|
8
11
|
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
9
12
|
**name** | **String** | A unique name for this repository. |
|
13
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
10
14
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
15
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
11
16
|
**latest_version_href** | **String** | | [optional] [readonly]
|
12
17
|
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
13
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
14
|
-
**versions_href** | **String** | | [optional] [readonly]
|
15
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
16
|
-
**description** | **String** | An optional description. | [optional]
|
17
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
18
18
|
|
19
19
|
## Code Sample
|
20
20
|
|
@@ -22,16 +22,16 @@ Name | Type | Description | Notes
|
|
22
22
|
require 'PulpContainerClient'
|
23
23
|
|
24
24
|
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_created: null,
|
25
|
+
description: null,
|
26
|
+
pulp_labels: null,
|
27
|
+
versions_href: null,
|
25
28
|
prn: null,
|
26
29
|
name: null,
|
30
|
+
retain_repo_versions: null,
|
27
31
|
manifest_signing_service: null,
|
28
|
-
latest_version_href: null,
|
29
|
-
pulp_last_updated: null,
|
30
32
|
pulp_href: null,
|
31
|
-
|
32
|
-
|
33
|
-
description: null,
|
34
|
-
retain_repo_versions: null)
|
33
|
+
latest_version_href: null,
|
34
|
+
pulp_last_updated: null)
|
35
35
|
```
|
36
36
|
|
37
37
|
|
@@ -16,8 +16,12 @@ Name | Type | Description | Notes
|
|
16
16
|
**blobs** | **Array<String>** | Blobs that are referenced by this Manifest |
|
17
17
|
**annotations** | [**Object**](.md) | Property that contains arbitrary metadata stored inside the image manifest. | [optional] [readonly]
|
18
18
|
**labels** | [**Object**](.md) | Property describing metadata stored inside the image configuration | [optional] [readonly]
|
19
|
-
**is_bootable** | **Boolean** | A boolean determining whether users can boot from an image or not. | [optional] [default to false]
|
20
|
-
**is_flatpak** | **Boolean** | A boolean determining whether the image bundles a Flatpak application | [optional] [default to false]
|
19
|
+
**is_bootable** | **Boolean** | A boolean determining whether users can boot from an image or not.[deprecated] check type field instead | [optional] [default to false]
|
20
|
+
**is_flatpak** | **Boolean** | A boolean determining whether the image bundles a Flatpak application.[deprecated] check type field instead | [optional] [default to false]
|
21
|
+
**type** | **String** | Manifest type (flatpak, bootable, signature, etc.). | [optional]
|
22
|
+
**architecture** | **String** | The CPU architecture which the binaries in this image are built to run on. | [optional]
|
23
|
+
**os** | **String** | The name of the operating system which the image is built to run on. | [optional]
|
24
|
+
**compressed_image_size** | **Integer** | Specifies the sum of the sizes, in bytes, of all compressed layers | [optional]
|
21
25
|
|
22
26
|
## Code Sample
|
23
27
|
|
@@ -37,7 +41,11 @@ instance = PulpContainerClient::ContainerManifestResponse.new(pulp_href: null,
|
|
37
41
|
annotations: null,
|
38
42
|
labels: null,
|
39
43
|
is_bootable: null,
|
40
|
-
is_flatpak: null
|
44
|
+
is_flatpak: null,
|
45
|
+
type: null,
|
46
|
+
architecture: null,
|
47
|
+
os: null,
|
48
|
+
compressed_image_size: null)
|
41
49
|
```
|
42
50
|
|
43
51
|
|
data/docs/ContentManifestsApi.md
CHANGED
@@ -38,7 +38,7 @@ opts = {
|
|
38
38
|
limit: 56, # Integer | Number of results to return per page.
|
39
39
|
media_type: ['media_type_example'], # Array<String> | * `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
|
40
40
|
offset: 56, # Integer | The initial index from which to return the results.
|
41
|
-
ordering: ['ordering_example'], # Array<String> | 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) * `data` - Data * `-data` - Data (descending) * `annotations` - Annotations * `-annotations` - Annotations (descending) * `labels` - Labels * `-labels` - Labels (descending) * `is_bootable` - Is bootable * `-is_bootable` - Is bootable (descending) * `is_flatpak` - Is flatpak * `-is_flatpak` - Is flatpak (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
41
|
+
ordering: ['ordering_example'], # Array<String> | 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) * `type` - Type * `-type` - Type (descending) * `data` - Data * `-data` - Data (descending) * `annotations` - Annotations * `-annotations` - Annotations (descending) * `labels` - Labels * `-labels` - Labels (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `os` - Os * `-os` - Os (descending) * `compressed_image_size` - Compressed image size * `-compressed_image_size` - Compressed image size (descending) * `is_bootable` - Is bootable * `-is_bootable` - Is bootable (descending) * `is_flatpak` - Is flatpak * `-is_flatpak` - Is flatpak (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
42
42
|
orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
43
43
|
prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
|
44
44
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
@@ -72,7 +72,7 @@ Name | Type | Description | Notes
|
|
72
72
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
73
73
|
**media_type** | [**Array<String>**](String.md)| * `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 | [optional]
|
74
74
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
75
|
-
**ordering** | [**Array<String>**](String.md)| 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) * `data` - Data * `-data` - Data (descending) * `annotations` - Annotations * `-annotations` - Annotations (descending) * `labels` - Labels * `-labels` - Labels (descending) * `is_bootable` - Is bootable * `-is_bootable` - Is bootable (descending) * `is_flatpak` - Is flatpak * `-is_flatpak` - Is flatpak (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
75
|
+
**ordering** | [**Array<String>**](String.md)| 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) * `type` - Type * `-type` - Type (descending) * `data` - Data * `-data` - Data (descending) * `annotations` - Annotations * `-annotations` - Annotations (descending) * `labels` - Labels * `-labels` - Labels (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `os` - Os * `-os` - Os (descending) * `compressed_image_size` - Compressed image size * `-compressed_image_size` - Compressed image size (descending) * `is_bootable` - Is bootable * `-is_bootable` - Is bootable (descending) * `is_flatpak` - Is flatpak * `-is_flatpak` - Is flatpak (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
76
76
|
**orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
|
77
77
|
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
78
78
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
data/docs/OCIBuildImage.md
CHANGED
@@ -4,20 +4,20 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**containerfile_name** | **String** | Name of the Containerfile, from build_context, that should be used to run podman-build. | [optional]
|
8
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
|
+
**build_context** | **String** | RepositoryVersion to be used as the build context for container images. | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpContainerClient'
|
16
16
|
|
17
|
-
instance = PulpContainerClient::OCIBuildImage.new(
|
17
|
+
instance = PulpContainerClient::OCIBuildImage.new(containerfile_name: null,
|
18
18
|
containerfile: null,
|
19
19
|
tag: null,
|
20
|
-
|
20
|
+
build_context: null)
|
21
21
|
```
|
22
22
|
|
23
23
|
|
@@ -5,10 +5,10 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**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]
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
9
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
12
12
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
13
13
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
14
14
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
@@ -20,10 +20,10 @@ Name | Type | Description | Notes
|
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
22
|
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(base_path: null,
|
23
|
-
name: null,
|
24
|
-
content_guard: null,
|
25
|
-
repository: null,
|
26
23
|
pulp_labels: null,
|
24
|
+
repository: null,
|
25
|
+
content_guard: null,
|
26
|
+
name: null,
|
27
27
|
hidden: null,
|
28
28
|
repository_version: null,
|
29
29
|
private: null,
|
@@ -5,10 +5,10 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**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]
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
9
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
12
12
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
13
13
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional]
|
14
14
|
**distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional]
|
@@ -21,10 +21,10 @@ Name | Type | Description | Notes
|
|
21
21
|
require 'PulpContainerClient'
|
22
22
|
|
23
23
|
instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(base_path: null,
|
24
|
-
name: null,
|
25
|
-
content_guard: null,
|
26
|
-
repository: null,
|
27
24
|
pulp_labels: null,
|
25
|
+
repository: null,
|
26
|
+
content_guard: null,
|
27
|
+
name: null,
|
28
28
|
hidden: null,
|
29
29
|
remote: null,
|
30
30
|
distributions: 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
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
9
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
7
|
**description** | **String** | An optional description. | [optional]
|
8
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
|
+
**name** | **String** | A unique name for this repository. | [optional]
|
11
10
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
11
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
|
-
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
|
19
|
-
manifest_signing_service: null,
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(description: null,
|
20
19
|
pulp_labels: null,
|
21
|
-
|
22
|
-
retain_repo_versions: null
|
20
|
+
name: null,
|
21
|
+
retain_repo_versions: null,
|
22
|
+
manifest_signing_service: null)
|
23
23
|
```
|
24
24
|
|
25
25
|
|
@@ -161,10 +161,10 @@ end
|
|
161
161
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
162
162
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
163
163
|
opts = {
|
164
|
-
|
164
|
+
containerfile_name: 'containerfile_name_example', # String | Name of the Containerfile, from build_context, that should be used to run podman-build.
|
165
165
|
containerfile: File.new('/path/to/file'), # File | An uploaded Containerfile that should be used to run podman-build.
|
166
166
|
tag: 'latest', # String | A tag name for the new image being built.
|
167
|
-
|
167
|
+
build_context: 'build_context_example' # String | RepositoryVersion to be used as the build context for container images.
|
168
168
|
}
|
169
169
|
|
170
170
|
begin
|
@@ -182,10 +182,10 @@ end
|
|
182
182
|
Name | Type | Description | Notes
|
183
183
|
------------- | ------------- | ------------- | -------------
|
184
184
|
**container_container_repository_href** | **String**| |
|
185
|
-
**
|
185
|
+
**containerfile_name** | **String**| Name of the Containerfile, from build_context, that should be used to run podman-build. | [optional]
|
186
186
|
**containerfile** | **File**| An uploaded Containerfile that should be used to run podman-build. | [optional]
|
187
187
|
**tag** | **String**| A tag name for the new image being built. | [optional] [default to 'latest']
|
188
|
-
**
|
188
|
+
**build_context** | **String**| RepositoryVersion to be used as the build context for container images. | [optional]
|
189
189
|
|
190
190
|
### Return type
|
191
191
|
|
@@ -29,7 +29,7 @@ module PulpContainerClient
|
|
29
29
|
# @option opts [Integer] :limit Number of results to return per page.
|
30
30
|
# @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
|
31
31
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
32
|
-
# @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) * `data` - Data * `-data` - Data (descending) * `annotations` - Annotations * `-annotations` - Annotations (descending) * `labels` - Labels * `-labels` - Labels (descending) * `is_bootable` - Is bootable * `-is_bootable` - Is bootable (descending) * `is_flatpak` - Is flatpak * `-is_flatpak` - Is flatpak (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
32
|
+
# @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) * `type` - Type * `-type` - Type (descending) * `data` - Data * `-data` - Data (descending) * `annotations` - Annotations * `-annotations` - Annotations (descending) * `labels` - Labels * `-labels` - Labels (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `os` - Os * `-os` - Os (descending) * `compressed_image_size` - Compressed image size * `-compressed_image_size` - Compressed image size (descending) * `is_bootable` - Is bootable * `-is_bootable` - Is bootable (descending) * `is_flatpak` - Is flatpak * `-is_flatpak` - Is flatpak (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
33
33
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
34
34
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
35
35
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
@@ -56,7 +56,7 @@ module PulpContainerClient
|
|
56
56
|
# @option opts [Integer] :limit Number of results to return per page.
|
57
57
|
# @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
|
58
58
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
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) * `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) * `data` - Data * `-data` - Data (descending) * `annotations` - Annotations * `-annotations` - Annotations (descending) * `labels` - Labels * `-labels` - Labels (descending) * `is_bootable` - Is bootable * `-is_bootable` - Is bootable (descending) * `is_flatpak` - Is flatpak * `-is_flatpak` - Is flatpak (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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) * `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) * `type` - Type * `-type` - Type (descending) * `data` - Data * `-data` - Data (descending) * `annotations` - Annotations * `-annotations` - Annotations (descending) * `labels` - Labels * `-labels` - Labels (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `os` - Os * `-os` - Os (descending) * `compressed_image_size` - Compressed image size * `-compressed_image_size` - Compressed image size (descending) * `is_bootable` - Is bootable * `-is_bootable` - Is bootable (descending) * `is_flatpak` - Is flatpak * `-is_flatpak` - Is flatpak (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
60
60
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
61
61
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
62
62
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
@@ -76,7 +76,7 @@ module PulpContainerClient
|
|
76
76
|
if @api_client.config.client_side_validation && opts[:'media_type'] && !opts[:'media_type'].all? { |item| allowable_values.include?(item) }
|
77
77
|
fail ArgumentError, "invalid value for \"media_type\", must include one of #{allowable_values}"
|
78
78
|
end
|
79
|
-
allowable_values = ["-annotations", "-data", "-digest", "-is_bootable", "-is_flatpak", "-labels", "-media_type", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-schema_version", "-timestamp_of_interest", "-upstream_id", "annotations", "data", "digest", "is_bootable", "is_flatpak", "labels", "media_type", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "schema_version", "timestamp_of_interest", "upstream_id"]
|
79
|
+
allowable_values = ["-annotations", "-architecture", "-compressed_image_size", "-data", "-digest", "-is_bootable", "-is_flatpak", "-labels", "-media_type", "-os", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-schema_version", "-timestamp_of_interest", "-type", "-upstream_id", "annotations", "architecture", "compressed_image_size", "data", "digest", "is_bootable", "is_flatpak", "labels", "media_type", "os", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "schema_version", "timestamp_of_interest", "type", "upstream_id"]
|
80
80
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
81
81
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
82
82
|
end
|
@@ -163,10 +163,10 @@ module PulpContainerClient
|
|
163
163
|
# Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is in tech preview. Backwards compatibility when upgrading is not guaranteed.
|
164
164
|
# @param container_container_repository_href [String]
|
165
165
|
# @param [Hash] opts the optional parameters
|
166
|
-
# @option opts [String] :
|
166
|
+
# @option opts [String] :containerfile_name Name of the Containerfile, from build_context, that should be used to run podman-build.
|
167
167
|
# @option opts [File] :containerfile An uploaded Containerfile that should be used to run podman-build.
|
168
168
|
# @option opts [String] :tag A tag name for the new image being built. (default to 'latest')
|
169
|
-
# @option opts [
|
169
|
+
# @option opts [String] :build_context RepositoryVersion to be used as the build context for container images.
|
170
170
|
# @return [AsyncOperationResponse]
|
171
171
|
def build_image(container_container_repository_href, opts = {})
|
172
172
|
data, _status_code, _headers = build_image_with_http_info(container_container_repository_href, opts)
|
@@ -177,10 +177,10 @@ module PulpContainerClient
|
|
177
177
|
# Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is in tech preview. Backwards compatibility when upgrading is not guaranteed.
|
178
178
|
# @param container_container_repository_href [String]
|
179
179
|
# @param [Hash] opts the optional parameters
|
180
|
-
# @option opts [String] :
|
180
|
+
# @option opts [String] :containerfile_name Name of the Containerfile, from build_context, that should be used to run podman-build.
|
181
181
|
# @option opts [File] :containerfile An uploaded Containerfile that should be used to run podman-build.
|
182
182
|
# @option opts [String] :tag A tag name for the new image being built.
|
183
|
-
# @option opts [
|
183
|
+
# @option opts [String] :build_context RepositoryVersion to be used as the build context for container images.
|
184
184
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
185
185
|
def build_image_with_http_info(container_container_repository_href, opts = {})
|
186
186
|
if @api_client.config.debugging
|
@@ -209,10 +209,10 @@ module PulpContainerClient
|
|
209
209
|
|
210
210
|
# form parameters
|
211
211
|
form_params = opts[:form_params] || {}
|
212
|
-
form_params['
|
212
|
+
form_params['containerfile_name'] = opts[:'containerfile_name'] if !opts[:'containerfile_name'].nil?
|
213
213
|
form_params['containerfile'] = opts[:'containerfile'] if !opts[:'containerfile'].nil?
|
214
214
|
form_params['tag'] = opts[:'tag'] if !opts[:'tag'].nil?
|
215
|
-
form_params['
|
215
|
+
form_params['build_context'] = opts[:'build_context'] if !opts[:'build_context'].nil?
|
216
216
|
|
217
217
|
# http body (model)
|
218
218
|
post_body = opts[:body]
|