docker-engine 0.1.1
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 +7 -0
- data/.ignore +2 -0
- data/CHANGELOG.md +17 -0
- data/README.md +230 -0
- data/SECURITY.md +27 -0
- data/lib/docker_engine/client.rb +77 -0
- data/lib/docker_engine/errors.rb +228 -0
- data/lib/docker_engine/file_part.rb +58 -0
- data/lib/docker_engine/internal/transport/base_client.rb +567 -0
- data/lib/docker_engine/internal/transport/pooled_net_requester.rb +210 -0
- data/lib/docker_engine/internal/type/array_of.rb +168 -0
- data/lib/docker_engine/internal/type/base_model.rb +529 -0
- data/lib/docker_engine/internal/type/base_page.rb +55 -0
- data/lib/docker_engine/internal/type/boolean.rb +77 -0
- data/lib/docker_engine/internal/type/converter.rb +327 -0
- data/lib/docker_engine/internal/type/enum.rb +131 -0
- data/lib/docker_engine/internal/type/file_input.rb +111 -0
- data/lib/docker_engine/internal/type/hash_of.rb +188 -0
- data/lib/docker_engine/internal/type/request_parameters.rb +42 -0
- data/lib/docker_engine/internal/type/union.rb +243 -0
- data/lib/docker_engine/internal/type/unknown.rb +81 -0
- data/lib/docker_engine/internal/util.rb +920 -0
- data/lib/docker_engine/internal.rb +20 -0
- data/lib/docker_engine/models/auth_login_params.rb +32 -0
- data/lib/docker_engine/models/auth_response.rb +27 -0
- data/lib/docker_engine/models/config.rb +307 -0
- data/lib/docker_engine/models/container.rb +2489 -0
- data/lib/docker_engine/models/container_create_params.rb +1716 -0
- data/lib/docker_engine/models/container_delete_params.rb +38 -0
- data/lib/docker_engine/models/container_inspect_params.rb +22 -0
- data/lib/docker_engine/models/container_kill_params.rb +25 -0
- data/lib/docker_engine/models/container_list_params.rb +70 -0
- data/lib/docker_engine/models/container_list_response.rb +8 -0
- data/lib/docker_engine/models/container_logs_params.rb +74 -0
- data/lib/docker_engine/models/container_start_params.rb +27 -0
- data/lib/docker_engine/models/container_stop_params.rb +33 -0
- data/lib/docker_engine/models/create_request.rb +348 -0
- data/lib/docker_engine/models/create_response.rb +27 -0
- data/lib/docker_engine/models/error.rb +18 -0
- data/lib/docker_engine/models/image.rb +1393 -0
- data/lib/docker_engine/models/image_delete_params.rb +43 -0
- data/lib/docker_engine/models/image_delete_response.rb +28 -0
- data/lib/docker_engine/models/image_inspect_params.rb +22 -0
- data/lib/docker_engine/models/image_list_params.rb +68 -0
- data/lib/docker_engine/models/image_list_response.rb +8 -0
- data/lib/docker_engine/models/image_pull_params.rb +115 -0
- data/lib/docker_engine/models/network.rb +253 -0
- data/lib/docker_engine/models/network_create_params.rb +210 -0
- data/lib/docker_engine/models/network_create_response.rb +27 -0
- data/lib/docker_engine/models/network_delete_params.rb +14 -0
- data/lib/docker_engine/models/network_inspect_params.rb +30 -0
- data/lib/docker_engine/models/network_inspect_response.rb +131 -0
- data/lib/docker_engine/models/network_list_params.rb +40 -0
- data/lib/docker_engine/models/network_list_response.rb +8 -0
- data/lib/docker_engine/models/service.rb +520 -0
- data/lib/docker_engine/models/service_create_params.rb +34 -0
- data/lib/docker_engine/models/service_create_response.rb +32 -0
- data/lib/docker_engine/models/service_delete_params.rb +14 -0
- data/lib/docker_engine/models/service_inspect_params.rb +22 -0
- data/lib/docker_engine/models/service_list_params.rb +41 -0
- data/lib/docker_engine/models/service_list_response.rb +8 -0
- data/lib/docker_engine/models/spec.rb +2302 -0
- data/lib/docker_engine/models/summary.rb +763 -0
- data/lib/docker_engine/models/system_info_params.rb +14 -0
- data/lib/docker_engine/models/system_info_response.rb +1879 -0
- data/lib/docker_engine/models/system_ping_params.rb +14 -0
- data/lib/docker_engine/models/system_ping_response.rb +7 -0
- data/lib/docker_engine/models/system_version_params.rb +14 -0
- data/lib/docker_engine/models/system_version_response.rb +164 -0
- data/lib/docker_engine/models/volume.rb +650 -0
- data/lib/docker_engine/models/volume_create_params.rb +14 -0
- data/lib/docker_engine/models/volume_delete_params.rb +22 -0
- data/lib/docker_engine/models/volume_inspect_params.rb +14 -0
- data/lib/docker_engine/models/volume_list_params.rb +34 -0
- data/lib/docker_engine/models/volume_list_response.rb +34 -0
- data/lib/docker_engine/models.rb +121 -0
- data/lib/docker_engine/request_options.rb +77 -0
- data/lib/docker_engine/resources/auth.rb +38 -0
- data/lib/docker_engine/resources/containers.rb +258 -0
- data/lib/docker_engine/resources/images.rb +156 -0
- data/lib/docker_engine/resources/networks.rb +139 -0
- data/lib/docker_engine/resources/services.rb +113 -0
- data/lib/docker_engine/resources/system.rb +70 -0
- data/lib/docker_engine/resources/volumes.rb +105 -0
- data/lib/docker_engine/version.rb +5 -0
- data/lib/docker_engine.rb +114 -0
- data/manifest.yaml +17 -0
- data/rbi/docker_engine/client.rbi +56 -0
- data/rbi/docker_engine/errors.rbi +205 -0
- data/rbi/docker_engine/file_part.rbi +37 -0
- data/rbi/docker_engine/internal/transport/base_client.rbi +300 -0
- data/rbi/docker_engine/internal/transport/pooled_net_requester.rbi +84 -0
- data/rbi/docker_engine/internal/type/array_of.rbi +104 -0
- data/rbi/docker_engine/internal/type/base_model.rbi +314 -0
- data/rbi/docker_engine/internal/type/base_page.rbi +43 -0
- data/rbi/docker_engine/internal/type/boolean.rbi +58 -0
- data/rbi/docker_engine/internal/type/converter.rbi +222 -0
- data/rbi/docker_engine/internal/type/enum.rbi +82 -0
- data/rbi/docker_engine/internal/type/file_input.rbi +59 -0
- data/rbi/docker_engine/internal/type/hash_of.rbi +104 -0
- data/rbi/docker_engine/internal/type/request_parameters.rbi +31 -0
- data/rbi/docker_engine/internal/type/union.rbi +128 -0
- data/rbi/docker_engine/internal/type/unknown.rbi +58 -0
- data/rbi/docker_engine/internal/util.rbi +487 -0
- data/rbi/docker_engine/internal.rbi +18 -0
- data/rbi/docker_engine/models/auth_login_params.rbi +62 -0
- data/rbi/docker_engine/models/auth_response.rbi +39 -0
- data/rbi/docker_engine/models/config.rbi +442 -0
- data/rbi/docker_engine/models/container.rbi +4575 -0
- data/rbi/docker_engine/models/container_create_params.rbi +3297 -0
- data/rbi/docker_engine/models/container_delete_params.rbi +71 -0
- data/rbi/docker_engine/models/container_inspect_params.rbi +46 -0
- data/rbi/docker_engine/models/container_kill_params.rbi +46 -0
- data/rbi/docker_engine/models/container_list_params.rbi +124 -0
- data/rbi/docker_engine/models/container_list_response.rbi +11 -0
- data/rbi/docker_engine/models/container_logs_params.rbi +117 -0
- data/rbi/docker_engine/models/container_start_params.rbi +50 -0
- data/rbi/docker_engine/models/container_stop_params.rbi +60 -0
- data/rbi/docker_engine/models/create_request.rbi +702 -0
- data/rbi/docker_engine/models/create_response.rbi +36 -0
- data/rbi/docker_engine/models/error.rbi +28 -0
- data/rbi/docker_engine/models/image.rbi +2323 -0
- data/rbi/docker_engine/models/image_delete_params.rbi +75 -0
- data/rbi/docker_engine/models/image_delete_response.rbi +52 -0
- data/rbi/docker_engine/models/image_inspect_params.rbi +49 -0
- data/rbi/docker_engine/models/image_list_params.rbi +112 -0
- data/rbi/docker_engine/models/image_list_response.rbi +11 -0
- data/rbi/docker_engine/models/image_pull_params.rbi +186 -0
- data/rbi/docker_engine/models/network.rbi +419 -0
- data/rbi/docker_engine/models/network_create_params.rbi +362 -0
- data/rbi/docker_engine/models/network_create_response.rbi +37 -0
- data/rbi/docker_engine/models/network_delete_params.rbi +32 -0
- data/rbi/docker_engine/models/network_inspect_params.rbi +60 -0
- data/rbi/docker_engine/models/network_inspect_response.rbi +329 -0
- data/rbi/docker_engine/models/network_list_params.rbi +76 -0
- data/rbi/docker_engine/models/network_list_response.rbi +11 -0
- data/rbi/docker_engine/models/service.rbi +1076 -0
- data/rbi/docker_engine/models/service_create_params.rbi +77 -0
- data/rbi/docker_engine/models/service_create_response.rbi +50 -0
- data/rbi/docker_engine/models/service_delete_params.rbi +32 -0
- data/rbi/docker_engine/models/service_inspect_params.rbi +49 -0
- data/rbi/docker_engine/models/service_list_params.rbi +76 -0
- data/rbi/docker_engine/models/service_list_response.rbi +11 -0
- data/rbi/docker_engine/models/spec.rbi +4587 -0
- data/rbi/docker_engine/models/summary.rbi +1298 -0
- data/rbi/docker_engine/models/system_info_params.rbi +29 -0
- data/rbi/docker_engine/models/system_info_response.rbi +3587 -0
- data/rbi/docker_engine/models/system_ping_params.rbi +29 -0
- data/rbi/docker_engine/models/system_ping_response.rbi +7 -0
- data/rbi/docker_engine/models/system_version_params.rbi +32 -0
- data/rbi/docker_engine/models/system_version_response.rbi +282 -0
- data/rbi/docker_engine/models/volume.rbi +1218 -0
- data/rbi/docker_engine/models/volume_create_params.rbi +32 -0
- data/rbi/docker_engine/models/volume_delete_params.rbi +46 -0
- data/rbi/docker_engine/models/volume_inspect_params.rbi +32 -0
- data/rbi/docker_engine/models/volume_list_params.rbi +61 -0
- data/rbi/docker_engine/models/volume_list_response.rbi +55 -0
- data/rbi/docker_engine/models.rbi +83 -0
- data/rbi/docker_engine/request_options.rbi +59 -0
- data/rbi/docker_engine/resources/auth.rbi +30 -0
- data/rbi/docker_engine/resources/containers.rbi +231 -0
- data/rbi/docker_engine/resources/images.rbi +164 -0
- data/rbi/docker_engine/resources/networks.rbi +133 -0
- data/rbi/docker_engine/resources/services.rbi +88 -0
- data/rbi/docker_engine/resources/system.rbi +40 -0
- data/rbi/docker_engine/resources/volumes.rbi +80 -0
- data/rbi/docker_engine/version.rbi +5 -0
- data/sig/docker_engine/client.rbs +33 -0
- data/sig/docker_engine/errors.rbs +117 -0
- data/sig/docker_engine/file_part.rbs +21 -0
- data/sig/docker_engine/internal/transport/base_client.rbs +131 -0
- data/sig/docker_engine/internal/transport/pooled_net_requester.rbs +48 -0
- data/sig/docker_engine/internal/type/array_of.rbs +48 -0
- data/sig/docker_engine/internal/type/base_model.rbs +104 -0
- data/sig/docker_engine/internal/type/base_page.rbs +24 -0
- data/sig/docker_engine/internal/type/boolean.rbs +26 -0
- data/sig/docker_engine/internal/type/converter.rbs +79 -0
- data/sig/docker_engine/internal/type/enum.rbs +32 -0
- data/sig/docker_engine/internal/type/file_input.rbs +25 -0
- data/sig/docker_engine/internal/type/hash_of.rbs +48 -0
- data/sig/docker_engine/internal/type/request_parameters.rbs +19 -0
- data/sig/docker_engine/internal/type/union.rbs +52 -0
- data/sig/docker_engine/internal/type/unknown.rbs +26 -0
- data/sig/docker_engine/internal/util.rbs +185 -0
- data/sig/docker_engine/internal.rbs +9 -0
- data/sig/docker_engine/models/auth_login_params.rbs +38 -0
- data/sig/docker_engine/models/auth_response.rbs +17 -0
- data/sig/docker_engine/models/config.rbs +225 -0
- data/sig/docker_engine/models/container.rbs +1973 -0
- data/sig/docker_engine/models/container_create_params.rbs +1352 -0
- data/sig/docker_engine/models/container_delete_params.rbs +38 -0
- data/sig/docker_engine/models/container_inspect_params.rbs +25 -0
- data/sig/docker_engine/models/container_kill_params.rbs +25 -0
- data/sig/docker_engine/models/container_list_params.rbs +44 -0
- data/sig/docker_engine/models/container_list_response.rbs +7 -0
- data/sig/docker_engine/models/container_logs_params.rbs +70 -0
- data/sig/docker_engine/models/container_start_params.rbs +25 -0
- data/sig/docker_engine/models/container_stop_params.rbs +32 -0
- data/sig/docker_engine/models/create_request.rbs +255 -0
- data/sig/docker_engine/models/create_response.rbs +15 -0
- data/sig/docker_engine/models/error.rbs +13 -0
- data/sig/docker_engine/models/image.rbs +1038 -0
- data/sig/docker_engine/models/image_delete_params.rbs +38 -0
- data/sig/docker_engine/models/image_delete_response.rbs +24 -0
- data/sig/docker_engine/models/image_inspect_params.rbs +25 -0
- data/sig/docker_engine/models/image_list_params.rbs +56 -0
- data/sig/docker_engine/models/image_list_response.rbs +7 -0
- data/sig/docker_engine/models/image_pull_params.rbs +84 -0
- data/sig/docker_engine/models/network.rbs +236 -0
- data/sig/docker_engine/models/network_create_params.rbs +203 -0
- data/sig/docker_engine/models/network_create_response.rbs +15 -0
- data/sig/docker_engine/models/network_delete_params.rbs +15 -0
- data/sig/docker_engine/models/network_inspect_params.rbs +32 -0
- data/sig/docker_engine/models/network_inspect_response.rbs +149 -0
- data/sig/docker_engine/models/network_list_params.rbs +25 -0
- data/sig/docker_engine/models/network_list_response.rbs +7 -0
- data/sig/docker_engine/models/service.rbs +471 -0
- data/sig/docker_engine/models/service_create_params.rbs +38 -0
- data/sig/docker_engine/models/service_create_response.rbs +17 -0
- data/sig/docker_engine/models/service_delete_params.rbs +15 -0
- data/sig/docker_engine/models/service_inspect_params.rbs +26 -0
- data/sig/docker_engine/models/service_list_params.rbs +32 -0
- data/sig/docker_engine/models/service_list_response.rbs +7 -0
- data/sig/docker_engine/models/spec.rbs +1984 -0
- data/sig/docker_engine/models/summary.rbs +634 -0
- data/sig/docker_engine/models/system_info_params.rbs +15 -0
- data/sig/docker_engine/models/system_info_response.rbs +1380 -0
- data/sig/docker_engine/models/system_ping_params.rbs +15 -0
- data/sig/docker_engine/models/system_ping_response.rbs +5 -0
- data/sig/docker_engine/models/system_version_params.rbs +15 -0
- data/sig/docker_engine/models/system_version_response.rbs +127 -0
- data/sig/docker_engine/models/volume.rbs +478 -0
- data/sig/docker_engine/models/volume_create_params.rbs +15 -0
- data/sig/docker_engine/models/volume_delete_params.rbs +25 -0
- data/sig/docker_engine/models/volume_inspect_params.rbs +15 -0
- data/sig/docker_engine/models/volume_list_params.rbs +25 -0
- data/sig/docker_engine/models/volume_list_response.rbs +28 -0
- data/sig/docker_engine/models.rbs +81 -0
- data/sig/docker_engine/request_options.rbs +36 -0
- data/sig/docker_engine/resources/auth.rbs +14 -0
- data/sig/docker_engine/resources/containers.rbs +67 -0
- data/sig/docker_engine/resources/images.rbs +43 -0
- data/sig/docker_engine/resources/networks.rbs +41 -0
- data/sig/docker_engine/resources/services.rbs +30 -0
- data/sig/docker_engine/resources/system.rbs +17 -0
- data/sig/docker_engine/resources/volumes.rbs +28 -0
- data/sig/docker_engine/version.rbs +3 -0
- metadata +319 -0
|
@@ -0,0 +1,1393 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module DockerEngine
|
|
4
|
+
module Models
|
|
5
|
+
# @see DockerEngine::Resources::Images#inspect_
|
|
6
|
+
class Image < DockerEngine::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute architecture
|
|
8
|
+
# Hardware CPU architecture that the image runs on.
|
|
9
|
+
#
|
|
10
|
+
# @return [String, nil]
|
|
11
|
+
optional :architecture, String, api_name: :Architecture
|
|
12
|
+
|
|
13
|
+
# @!attribute author
|
|
14
|
+
# Name of the author that was specified when committing the image, or as specified
|
|
15
|
+
# through MAINTAINER (deprecated) in the Dockerfile.
|
|
16
|
+
#
|
|
17
|
+
# @return [String, nil]
|
|
18
|
+
optional :author, String, api_name: :Author, nil?: true
|
|
19
|
+
|
|
20
|
+
# @!attribute comment
|
|
21
|
+
# Optional message that was set when committing or importing the image.
|
|
22
|
+
#
|
|
23
|
+
# @return [String, nil]
|
|
24
|
+
optional :comment, String, api_name: :Comment, nil?: true
|
|
25
|
+
|
|
26
|
+
# @!attribute config
|
|
27
|
+
# Configuration of the image. These fields are used as defaults when starting a
|
|
28
|
+
# container from the image.
|
|
29
|
+
#
|
|
30
|
+
# @return [DockerEngine::Models::Image::Config, nil]
|
|
31
|
+
optional :config, -> { DockerEngine::Image::Config }, api_name: :Config
|
|
32
|
+
|
|
33
|
+
# @!attribute created
|
|
34
|
+
# Date and time at which the image was created, formatted in
|
|
35
|
+
# [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
|
|
36
|
+
#
|
|
37
|
+
# This information is only available if present in the image, and omitted
|
|
38
|
+
# otherwise.
|
|
39
|
+
#
|
|
40
|
+
# @return [String, nil]
|
|
41
|
+
optional :created, String, api_name: :Created, nil?: true
|
|
42
|
+
|
|
43
|
+
# @!attribute descriptor
|
|
44
|
+
# A descriptor struct containing digest, media type, and size, as defined in the
|
|
45
|
+
# [OCI Content Descriptors Specification](https://github.com/opencontainers/image-spec/blob/v1.0.1/descriptor.md).
|
|
46
|
+
#
|
|
47
|
+
# @return [DockerEngine::Models::Image::Descriptor, nil]
|
|
48
|
+
optional :descriptor, -> { DockerEngine::Image::Descriptor }, api_name: :Descriptor
|
|
49
|
+
|
|
50
|
+
# @!attribute graph_driver
|
|
51
|
+
# Information about the storage driver used to store the container's and image's
|
|
52
|
+
# filesystem.
|
|
53
|
+
#
|
|
54
|
+
# @return [DockerEngine::Models::Image::GraphDriver, nil]
|
|
55
|
+
optional :graph_driver, -> { DockerEngine::Image::GraphDriver }, api_name: :GraphDriver
|
|
56
|
+
|
|
57
|
+
# @!attribute id
|
|
58
|
+
# ID is the content-addressable ID of an image.
|
|
59
|
+
#
|
|
60
|
+
# This identifier is a content-addressable digest calculated from the image's
|
|
61
|
+
# configuration (which includes the digests of layers used by the image).
|
|
62
|
+
#
|
|
63
|
+
# Note that this digest differs from the `RepoDigests` below, which holds digests
|
|
64
|
+
# of image manifests that reference the image.
|
|
65
|
+
#
|
|
66
|
+
# @return [String, nil]
|
|
67
|
+
optional :id, String, api_name: :Id
|
|
68
|
+
|
|
69
|
+
# @!attribute identity
|
|
70
|
+
# Identity holds information about the identity and origin of the image. This is
|
|
71
|
+
# trusted information verified by the daemon and cannot be modified by tagging an
|
|
72
|
+
# image to a different name.
|
|
73
|
+
#
|
|
74
|
+
# @return [DockerEngine::Models::Image::Identity, nil]
|
|
75
|
+
optional :identity, -> { DockerEngine::Image::Identity }, api_name: :Identity
|
|
76
|
+
|
|
77
|
+
# @!attribute manifests
|
|
78
|
+
# Manifests is a list of image manifests available in this image. It provides a
|
|
79
|
+
# more detailed view of the platform-specific image manifests or other
|
|
80
|
+
# image-attached data like build attestations.
|
|
81
|
+
#
|
|
82
|
+
# Only available if the daemon provides a multi-platform image store and the
|
|
83
|
+
# `manifests` option is set in the inspect request.
|
|
84
|
+
#
|
|
85
|
+
# WARNING: This is experimental and may change at any time without any backward
|
|
86
|
+
# compatibility.
|
|
87
|
+
#
|
|
88
|
+
# @return [Array<DockerEngine::Models::Image::Manifest>, nil]
|
|
89
|
+
optional :manifests,
|
|
90
|
+
-> { DockerEngine::Internal::Type::ArrayOf[DockerEngine::Image::Manifest] },
|
|
91
|
+
api_name: :Manifests,
|
|
92
|
+
nil?: true
|
|
93
|
+
|
|
94
|
+
# @!attribute metadata
|
|
95
|
+
# Additional metadata of the image in the local cache. This information is local
|
|
96
|
+
# to the daemon, and not part of the image itself.
|
|
97
|
+
#
|
|
98
|
+
# @return [DockerEngine::Models::Image::Metadata, nil]
|
|
99
|
+
optional :metadata, -> { DockerEngine::Image::Metadata }, api_name: :Metadata
|
|
100
|
+
|
|
101
|
+
# @!attribute os
|
|
102
|
+
# Operating System the image is built to run on.
|
|
103
|
+
#
|
|
104
|
+
# @return [String, nil]
|
|
105
|
+
optional :os, String, api_name: :Os
|
|
106
|
+
|
|
107
|
+
# @!attribute os_version
|
|
108
|
+
# Operating System version the image is built to run on (especially for Windows).
|
|
109
|
+
#
|
|
110
|
+
# @return [String, nil]
|
|
111
|
+
optional :os_version, String, api_name: :OsVersion, nil?: true
|
|
112
|
+
|
|
113
|
+
# @!attribute repo_digests
|
|
114
|
+
# List of content-addressable digests of locally available image manifests that
|
|
115
|
+
# the image is referenced from. Multiple manifests can refer to the same image.
|
|
116
|
+
#
|
|
117
|
+
# These digests are usually only available if the image was either pulled from a
|
|
118
|
+
# registry, or if the image was pushed to a registry, which is when the manifest
|
|
119
|
+
# is generated and its digest calculated.
|
|
120
|
+
#
|
|
121
|
+
# @return [Array<String>, nil]
|
|
122
|
+
optional :repo_digests, DockerEngine::Internal::Type::ArrayOf[String], api_name: :RepoDigests
|
|
123
|
+
|
|
124
|
+
# @!attribute repo_tags
|
|
125
|
+
# List of image names/tags in the local image cache that reference this image.
|
|
126
|
+
#
|
|
127
|
+
# Multiple image tags can refer to the same image, and this list may be empty if
|
|
128
|
+
# no tags reference the image, in which case the image is "untagged", in which
|
|
129
|
+
# case it can still be referenced by its ID.
|
|
130
|
+
#
|
|
131
|
+
# @return [Array<String>, nil]
|
|
132
|
+
optional :repo_tags, DockerEngine::Internal::Type::ArrayOf[String], api_name: :RepoTags
|
|
133
|
+
|
|
134
|
+
# @!attribute root_fs
|
|
135
|
+
# Information about the image's RootFS, including the layer IDs.
|
|
136
|
+
#
|
|
137
|
+
# @return [DockerEngine::Models::Image::RootFs, nil]
|
|
138
|
+
optional :root_fs, -> { DockerEngine::Image::RootFs }, api_name: :RootFS
|
|
139
|
+
|
|
140
|
+
# @!attribute size
|
|
141
|
+
# Total size of the image including all layers it is composed of.
|
|
142
|
+
#
|
|
143
|
+
# @return [Integer, nil]
|
|
144
|
+
optional :size, Integer, api_name: :Size
|
|
145
|
+
|
|
146
|
+
# @!attribute variant
|
|
147
|
+
# CPU architecture variant (presently ARM-only).
|
|
148
|
+
#
|
|
149
|
+
# @return [String, nil]
|
|
150
|
+
optional :variant, String, api_name: :Variant, nil?: true
|
|
151
|
+
|
|
152
|
+
# @!method initialize(architecture: nil, author: nil, comment: nil, config: nil, created: nil, descriptor: nil, graph_driver: nil, id: nil, identity: nil, manifests: nil, metadata: nil, os: nil, os_version: nil, repo_digests: nil, repo_tags: nil, root_fs: nil, size: nil, variant: nil)
|
|
153
|
+
# Some parameter documentations has been truncated, see
|
|
154
|
+
# {DockerEngine::Models::Image} for more details.
|
|
155
|
+
#
|
|
156
|
+
# Information about an image in the local image cache.
|
|
157
|
+
#
|
|
158
|
+
# @param architecture [String] Hardware CPU architecture that the image runs on.
|
|
159
|
+
#
|
|
160
|
+
# @param author [String, nil] Name of the author that was specified when committing the image, or as
|
|
161
|
+
#
|
|
162
|
+
# @param comment [String, nil] Optional message that was set when committing or importing the image.
|
|
163
|
+
#
|
|
164
|
+
# @param config [DockerEngine::Models::Image::Config] Configuration of the image. These fields are used as defaults
|
|
165
|
+
#
|
|
166
|
+
# @param created [String, nil] Date and time at which the image was created, formatted in
|
|
167
|
+
#
|
|
168
|
+
# @param descriptor [DockerEngine::Models::Image::Descriptor] A descriptor struct containing digest, media type, and size, as defined in
|
|
169
|
+
#
|
|
170
|
+
# @param graph_driver [DockerEngine::Models::Image::GraphDriver] Information about the storage driver used to store the container's and
|
|
171
|
+
#
|
|
172
|
+
# @param id [String] ID is the content-addressable ID of an image.
|
|
173
|
+
#
|
|
174
|
+
# @param identity [DockerEngine::Models::Image::Identity] Identity holds information about the identity and origin of the image.
|
|
175
|
+
#
|
|
176
|
+
# @param manifests [Array<DockerEngine::Models::Image::Manifest>, nil] Manifests is a list of image manifests available in this image. It
|
|
177
|
+
#
|
|
178
|
+
# @param metadata [DockerEngine::Models::Image::Metadata] Additional metadata of the image in the local cache. This information
|
|
179
|
+
#
|
|
180
|
+
# @param os [String] Operating System the image is built to run on.
|
|
181
|
+
#
|
|
182
|
+
# @param os_version [String, nil] Operating System version the image is built to run on (especially
|
|
183
|
+
#
|
|
184
|
+
# @param repo_digests [Array<String>] List of content-addressable digests of locally available image manifests
|
|
185
|
+
#
|
|
186
|
+
# @param repo_tags [Array<String>] List of image names/tags in the local image cache that reference this
|
|
187
|
+
#
|
|
188
|
+
# @param root_fs [DockerEngine::Models::Image::RootFs] Information about the image's RootFS, including the layer IDs.
|
|
189
|
+
#
|
|
190
|
+
# @param size [Integer] Total size of the image including all layers it is composed of.
|
|
191
|
+
#
|
|
192
|
+
# @param variant [String, nil] CPU architecture variant (presently ARM-only).
|
|
193
|
+
|
|
194
|
+
# @see DockerEngine::Models::Image#config
|
|
195
|
+
class Config < DockerEngine::Internal::Type::BaseModel
|
|
196
|
+
# @!attribute args_escaped
|
|
197
|
+
# Command is already escaped (Windows only)
|
|
198
|
+
#
|
|
199
|
+
# @return [Boolean, nil]
|
|
200
|
+
optional :args_escaped, DockerEngine::Internal::Type::Boolean, api_name: :ArgsEscaped, nil?: true
|
|
201
|
+
|
|
202
|
+
# @!attribute cmd
|
|
203
|
+
# Command to run specified as a string or an array of strings.
|
|
204
|
+
#
|
|
205
|
+
# @return [Array<String>, nil]
|
|
206
|
+
optional :cmd, DockerEngine::Internal::Type::ArrayOf[String], api_name: :Cmd
|
|
207
|
+
|
|
208
|
+
# @!attribute entrypoint
|
|
209
|
+
# The entry point for the container as a string or an array of strings.
|
|
210
|
+
#
|
|
211
|
+
# If the array consists of exactly one empty string (`[""]`) then the entry point
|
|
212
|
+
# is reset to system default (i.e., the entry point used by docker when there is
|
|
213
|
+
# no `ENTRYPOINT` instruction in the `Dockerfile`).
|
|
214
|
+
#
|
|
215
|
+
# @return [Array<String>, nil]
|
|
216
|
+
optional :entrypoint, DockerEngine::Internal::Type::ArrayOf[String], api_name: :Entrypoint
|
|
217
|
+
|
|
218
|
+
# @!attribute env
|
|
219
|
+
# A list of environment variables to set inside the container in the form
|
|
220
|
+
# `["VAR=value", ...]`. A variable without `=` is removed from the environment,
|
|
221
|
+
# rather than to have an empty value.
|
|
222
|
+
#
|
|
223
|
+
# @return [Array<String>, nil]
|
|
224
|
+
optional :env, DockerEngine::Internal::Type::ArrayOf[String], api_name: :Env
|
|
225
|
+
|
|
226
|
+
# @!attribute exposed_ports
|
|
227
|
+
# An object mapping ports to an empty object in the form:
|
|
228
|
+
#
|
|
229
|
+
# `{"<port>/<tcp|udp|sctp>": {}}`
|
|
230
|
+
#
|
|
231
|
+
# @return [Hash{Symbol=>Object}, nil]
|
|
232
|
+
optional :exposed_ports,
|
|
233
|
+
DockerEngine::Internal::Type::HashOf[DockerEngine::Internal::Type::Unknown],
|
|
234
|
+
api_name: :ExposedPorts,
|
|
235
|
+
nil?: true
|
|
236
|
+
|
|
237
|
+
# @!attribute healthcheck
|
|
238
|
+
# A test to perform to check that the container is healthy. Healthcheck commands
|
|
239
|
+
# should be side-effect free.
|
|
240
|
+
#
|
|
241
|
+
# @return [DockerEngine::Models::Image::Config::Healthcheck, nil]
|
|
242
|
+
optional :healthcheck, -> { DockerEngine::Image::Config::Healthcheck }, api_name: :Healthcheck
|
|
243
|
+
|
|
244
|
+
# @!attribute labels
|
|
245
|
+
# User-defined key/value metadata.
|
|
246
|
+
#
|
|
247
|
+
# @return [Hash{Symbol=>String}, nil]
|
|
248
|
+
optional :labels, DockerEngine::Internal::Type::HashOf[String], api_name: :Labels
|
|
249
|
+
|
|
250
|
+
# @!attribute on_build
|
|
251
|
+
# `ONBUILD` metadata that were defined in the image's `Dockerfile`.
|
|
252
|
+
#
|
|
253
|
+
# @return [Array<String>, nil]
|
|
254
|
+
optional :on_build, DockerEngine::Internal::Type::ArrayOf[String], api_name: :OnBuild, nil?: true
|
|
255
|
+
|
|
256
|
+
# @!attribute shell
|
|
257
|
+
# Shell for when `RUN`, `CMD`, and `ENTRYPOINT` uses a shell.
|
|
258
|
+
#
|
|
259
|
+
# @return [Array<String>, nil]
|
|
260
|
+
optional :shell, DockerEngine::Internal::Type::ArrayOf[String], api_name: :Shell, nil?: true
|
|
261
|
+
|
|
262
|
+
# @!attribute stop_signal
|
|
263
|
+
# Signal to stop a container as a string or unsigned integer.
|
|
264
|
+
#
|
|
265
|
+
# @return [String, nil]
|
|
266
|
+
optional :stop_signal, String, api_name: :StopSignal, nil?: true
|
|
267
|
+
|
|
268
|
+
# @!attribute user
|
|
269
|
+
# The user that commands are run as inside the container.
|
|
270
|
+
#
|
|
271
|
+
# @return [String, nil]
|
|
272
|
+
optional :user, String, api_name: :User
|
|
273
|
+
|
|
274
|
+
# @!attribute volumes
|
|
275
|
+
# An object mapping mount point paths inside the container to empty objects.
|
|
276
|
+
#
|
|
277
|
+
# @return [Hash{Symbol=>Object}, nil]
|
|
278
|
+
optional :volumes,
|
|
279
|
+
DockerEngine::Internal::Type::HashOf[DockerEngine::Internal::Type::Unknown],
|
|
280
|
+
api_name: :Volumes
|
|
281
|
+
|
|
282
|
+
# @!attribute working_dir
|
|
283
|
+
# The working directory for commands to run in.
|
|
284
|
+
#
|
|
285
|
+
# @return [String, nil]
|
|
286
|
+
optional :working_dir, String, api_name: :WorkingDir
|
|
287
|
+
|
|
288
|
+
# @!method initialize(args_escaped: nil, cmd: nil, entrypoint: nil, env: nil, exposed_ports: nil, healthcheck: nil, labels: nil, on_build: nil, shell: nil, stop_signal: nil, user: nil, volumes: nil, working_dir: nil)
|
|
289
|
+
# Some parameter documentations has been truncated, see
|
|
290
|
+
# {DockerEngine::Models::Image::Config} for more details.
|
|
291
|
+
#
|
|
292
|
+
# Configuration of the image. These fields are used as defaults when starting a
|
|
293
|
+
# container from the image.
|
|
294
|
+
#
|
|
295
|
+
# @param args_escaped [Boolean, nil] Command is already escaped (Windows only)
|
|
296
|
+
#
|
|
297
|
+
# @param cmd [Array<String>] Command to run specified as a string or an array of strings.
|
|
298
|
+
#
|
|
299
|
+
# @param entrypoint [Array<String>] The entry point for the container as a string or an array of strings.
|
|
300
|
+
#
|
|
301
|
+
# @param env [Array<String>] A list of environment variables to set inside the container in the
|
|
302
|
+
#
|
|
303
|
+
# @param exposed_ports [Hash{Symbol=>Object}, nil] An object mapping ports to an empty object in the form:
|
|
304
|
+
#
|
|
305
|
+
# @param healthcheck [DockerEngine::Models::Image::Config::Healthcheck] A test to perform to check that the container is healthy.
|
|
306
|
+
#
|
|
307
|
+
# @param labels [Hash{Symbol=>String}] User-defined key/value metadata.
|
|
308
|
+
#
|
|
309
|
+
# @param on_build [Array<String>, nil] `ONBUILD` metadata that were defined in the image's `Dockerfile`.
|
|
310
|
+
#
|
|
311
|
+
# @param shell [Array<String>, nil] Shell for when `RUN`, `CMD`, and `ENTRYPOINT` uses a shell.
|
|
312
|
+
#
|
|
313
|
+
# @param stop_signal [String, nil] Signal to stop a container as a string or unsigned integer.
|
|
314
|
+
#
|
|
315
|
+
# @param user [String] The user that commands are run as inside the container.
|
|
316
|
+
#
|
|
317
|
+
# @param volumes [Hash{Symbol=>Object}] An object mapping mount point paths inside the container to empty
|
|
318
|
+
#
|
|
319
|
+
# @param working_dir [String] The working directory for commands to run in.
|
|
320
|
+
|
|
321
|
+
# @see DockerEngine::Models::Image::Config#healthcheck
|
|
322
|
+
class Healthcheck < DockerEngine::Internal::Type::BaseModel
|
|
323
|
+
# @!attribute interval
|
|
324
|
+
# The time to wait between checks in nanoseconds. It should be 0 or at least
|
|
325
|
+
# 1000000 (1 ms). 0 means inherit.
|
|
326
|
+
#
|
|
327
|
+
# @return [Integer, nil]
|
|
328
|
+
optional :interval, Integer, api_name: :Interval
|
|
329
|
+
|
|
330
|
+
# @!attribute retries
|
|
331
|
+
# The number of consecutive failures needed to consider a container as unhealthy.
|
|
332
|
+
# 0 means inherit.
|
|
333
|
+
#
|
|
334
|
+
# @return [Integer, nil]
|
|
335
|
+
optional :retries, Integer, api_name: :Retries
|
|
336
|
+
|
|
337
|
+
# @!attribute start_interval
|
|
338
|
+
# The time to wait between checks in nanoseconds during the start period. It
|
|
339
|
+
# should be 0 or at least 1000000 (1 ms). 0 means inherit.
|
|
340
|
+
#
|
|
341
|
+
# @return [Integer, nil]
|
|
342
|
+
optional :start_interval, Integer, api_name: :StartInterval
|
|
343
|
+
|
|
344
|
+
# @!attribute start_period
|
|
345
|
+
# Start period for the container to initialize before starting health-retries
|
|
346
|
+
# countdown in nanoseconds. It should be 0 or at least 1000000 (1 ms). 0 means
|
|
347
|
+
# inherit.
|
|
348
|
+
#
|
|
349
|
+
# @return [Integer, nil]
|
|
350
|
+
optional :start_period, Integer, api_name: :StartPeriod
|
|
351
|
+
|
|
352
|
+
# @!attribute test_
|
|
353
|
+
# The test to perform. Possible values are:
|
|
354
|
+
#
|
|
355
|
+
# - `[]` inherit healthcheck from image or parent image
|
|
356
|
+
# - `["NONE"]` disable healthcheck
|
|
357
|
+
# - `["CMD", args...]` exec arguments directly
|
|
358
|
+
# - `["CMD-SHELL", command]` run command with system's default shell
|
|
359
|
+
#
|
|
360
|
+
# A non-zero exit code indicates a failed healthcheck:
|
|
361
|
+
#
|
|
362
|
+
# - `0` healthy
|
|
363
|
+
# - `1` unhealthy
|
|
364
|
+
# - `2` reserved (treated as unhealthy)
|
|
365
|
+
# - other values: error running probe
|
|
366
|
+
#
|
|
367
|
+
# @return [Array<String>, nil]
|
|
368
|
+
optional :test_, DockerEngine::Internal::Type::ArrayOf[String], api_name: :Test
|
|
369
|
+
|
|
370
|
+
# @!attribute timeout
|
|
371
|
+
# The time to wait before considering the check to have hung. It should be 0 or at
|
|
372
|
+
# least 1000000 (1 ms). 0 means inherit.
|
|
373
|
+
#
|
|
374
|
+
# If the health check command does not complete within this timeout, the check is
|
|
375
|
+
# considered failed and the health check process is forcibly terminated without a
|
|
376
|
+
# graceful shutdown.
|
|
377
|
+
#
|
|
378
|
+
# @return [Integer, nil]
|
|
379
|
+
optional :timeout, Integer, api_name: :Timeout
|
|
380
|
+
|
|
381
|
+
# @!method initialize(interval: nil, retries: nil, start_interval: nil, start_period: nil, test_: nil, timeout: nil)
|
|
382
|
+
# Some parameter documentations has been truncated, see
|
|
383
|
+
# {DockerEngine::Models::Image::Config::Healthcheck} for more details.
|
|
384
|
+
#
|
|
385
|
+
# A test to perform to check that the container is healthy. Healthcheck commands
|
|
386
|
+
# should be side-effect free.
|
|
387
|
+
#
|
|
388
|
+
# @param interval [Integer] The time to wait between checks in nanoseconds. It should be 0 or at
|
|
389
|
+
#
|
|
390
|
+
# @param retries [Integer] The number of consecutive failures needed to consider a container as
|
|
391
|
+
#
|
|
392
|
+
# @param start_interval [Integer] The time to wait between checks in nanoseconds during the start period.
|
|
393
|
+
#
|
|
394
|
+
# @param start_period [Integer] Start period for the container to initialize before starting
|
|
395
|
+
#
|
|
396
|
+
# @param test_ [Array<String>] The test to perform. Possible values are:
|
|
397
|
+
#
|
|
398
|
+
# @param timeout [Integer] The time to wait before considering the check to have hung. It should
|
|
399
|
+
end
|
|
400
|
+
end
|
|
401
|
+
|
|
402
|
+
# @see DockerEngine::Models::Image#descriptor
|
|
403
|
+
class Descriptor < DockerEngine::Internal::Type::BaseModel
|
|
404
|
+
# @!attribute annotations
|
|
405
|
+
# Arbitrary metadata relating to the targeted content.
|
|
406
|
+
#
|
|
407
|
+
# @return [Hash{Symbol=>String}, nil]
|
|
408
|
+
optional :annotations, DockerEngine::Internal::Type::HashOf[String], nil?: true
|
|
409
|
+
|
|
410
|
+
# @!attribute artifact_type
|
|
411
|
+
# ArtifactType is the IANA media type of this artifact.
|
|
412
|
+
#
|
|
413
|
+
# @return [String, nil]
|
|
414
|
+
optional :artifact_type, String, api_name: :artifactType, nil?: true
|
|
415
|
+
|
|
416
|
+
# @!attribute data
|
|
417
|
+
# Data is an embedding of the targeted content. This is encoded as a base64 string
|
|
418
|
+
# when marshalled to JSON (automatically, by encoding/json). If present, Data can
|
|
419
|
+
# be used directly to avoid fetching the targeted content.
|
|
420
|
+
#
|
|
421
|
+
# @return [String, nil]
|
|
422
|
+
optional :data, String, nil?: true
|
|
423
|
+
|
|
424
|
+
# @!attribute digest
|
|
425
|
+
# The digest of the targeted content.
|
|
426
|
+
#
|
|
427
|
+
# @return [String, nil]
|
|
428
|
+
optional :digest, String
|
|
429
|
+
|
|
430
|
+
# @!attribute media_type
|
|
431
|
+
# The media type of the object this schema refers to.
|
|
432
|
+
#
|
|
433
|
+
# @return [String, nil]
|
|
434
|
+
optional :media_type, String, api_name: :mediaType
|
|
435
|
+
|
|
436
|
+
# @!attribute platform
|
|
437
|
+
# Describes the platform which the image in the manifest runs on, as defined in
|
|
438
|
+
# the
|
|
439
|
+
# [OCI Image Index Specification](https://github.com/opencontainers/image-spec/blob/v1.0.1/image-index.md).
|
|
440
|
+
#
|
|
441
|
+
# @return [DockerEngine::Models::Image::Descriptor::Platform, nil]
|
|
442
|
+
optional :platform, -> { DockerEngine::Image::Descriptor::Platform }, nil?: true
|
|
443
|
+
|
|
444
|
+
# @!attribute size
|
|
445
|
+
# The size in bytes of the blob.
|
|
446
|
+
#
|
|
447
|
+
# @return [Integer, nil]
|
|
448
|
+
optional :size, Integer
|
|
449
|
+
|
|
450
|
+
# @!attribute urls
|
|
451
|
+
# List of URLs from which this object MAY be downloaded.
|
|
452
|
+
#
|
|
453
|
+
# @return [Array<String>, nil]
|
|
454
|
+
optional :urls, DockerEngine::Internal::Type::ArrayOf[String], nil?: true
|
|
455
|
+
|
|
456
|
+
# @!method initialize(annotations: nil, artifact_type: nil, data: nil, digest: nil, media_type: nil, platform: nil, size: nil, urls: nil)
|
|
457
|
+
# Some parameter documentations has been truncated, see
|
|
458
|
+
# {DockerEngine::Models::Image::Descriptor} for more details.
|
|
459
|
+
#
|
|
460
|
+
# A descriptor struct containing digest, media type, and size, as defined in the
|
|
461
|
+
# [OCI Content Descriptors Specification](https://github.com/opencontainers/image-spec/blob/v1.0.1/descriptor.md).
|
|
462
|
+
#
|
|
463
|
+
# @param annotations [Hash{Symbol=>String}, nil] Arbitrary metadata relating to the targeted content.
|
|
464
|
+
#
|
|
465
|
+
# @param artifact_type [String, nil] ArtifactType is the IANA media type of this artifact.
|
|
466
|
+
#
|
|
467
|
+
# @param data [String, nil] Data is an embedding of the targeted content. This is encoded as a base64
|
|
468
|
+
#
|
|
469
|
+
# @param digest [String] The digest of the targeted content.
|
|
470
|
+
#
|
|
471
|
+
# @param media_type [String] The media type of the object this schema refers to.
|
|
472
|
+
#
|
|
473
|
+
# @param platform [DockerEngine::Models::Image::Descriptor::Platform, nil] Describes the platform which the image in the manifest runs on, as defined
|
|
474
|
+
#
|
|
475
|
+
# @param size [Integer] The size in bytes of the blob.
|
|
476
|
+
#
|
|
477
|
+
# @param urls [Array<String>, nil] List of URLs from which this object MAY be downloaded.
|
|
478
|
+
|
|
479
|
+
# @see DockerEngine::Models::Image::Descriptor#platform
|
|
480
|
+
class Platform < DockerEngine::Internal::Type::BaseModel
|
|
481
|
+
# @!attribute architecture
|
|
482
|
+
# The CPU architecture, for example `amd64` or `ppc64`.
|
|
483
|
+
#
|
|
484
|
+
# @return [String, nil]
|
|
485
|
+
optional :architecture, String
|
|
486
|
+
|
|
487
|
+
# @!attribute os
|
|
488
|
+
# The operating system, for example `linux` or `windows`.
|
|
489
|
+
#
|
|
490
|
+
# @return [String, nil]
|
|
491
|
+
optional :os, String
|
|
492
|
+
|
|
493
|
+
# @!attribute os_features
|
|
494
|
+
# Optional field specifying an array of strings, each listing a required OS
|
|
495
|
+
# feature (for example on Windows `win32k`).
|
|
496
|
+
#
|
|
497
|
+
# @return [Array<String>, nil]
|
|
498
|
+
optional :os_features, DockerEngine::Internal::Type::ArrayOf[String], api_name: :"os.features"
|
|
499
|
+
|
|
500
|
+
# @!attribute os_version
|
|
501
|
+
# Optional field specifying the operating system version, for example on Windows
|
|
502
|
+
# `10.0.19041.1165`.
|
|
503
|
+
#
|
|
504
|
+
# @return [String, nil]
|
|
505
|
+
optional :os_version, String, api_name: :"os.version"
|
|
506
|
+
|
|
507
|
+
# @!attribute variant
|
|
508
|
+
# Optional field specifying a variant of the CPU, for example `v7` to specify
|
|
509
|
+
# ARMv7 when architecture is `arm`.
|
|
510
|
+
#
|
|
511
|
+
# @return [String, nil]
|
|
512
|
+
optional :variant, String
|
|
513
|
+
|
|
514
|
+
# @!method initialize(architecture: nil, os: nil, os_features: nil, os_version: nil, variant: nil)
|
|
515
|
+
# Some parameter documentations has been truncated, see
|
|
516
|
+
# {DockerEngine::Models::Image::Descriptor::Platform} for more details.
|
|
517
|
+
#
|
|
518
|
+
# Describes the platform which the image in the manifest runs on, as defined in
|
|
519
|
+
# the
|
|
520
|
+
# [OCI Image Index Specification](https://github.com/opencontainers/image-spec/blob/v1.0.1/image-index.md).
|
|
521
|
+
#
|
|
522
|
+
# @param architecture [String] The CPU architecture, for example `amd64` or `ppc64`.
|
|
523
|
+
#
|
|
524
|
+
# @param os [String] The operating system, for example `linux` or `windows`.
|
|
525
|
+
#
|
|
526
|
+
# @param os_features [Array<String>] Optional field specifying an array of strings, each listing a required
|
|
527
|
+
#
|
|
528
|
+
# @param os_version [String] Optional field specifying the operating system version, for example on
|
|
529
|
+
#
|
|
530
|
+
# @param variant [String] Optional field specifying a variant of the CPU, for example `v7` to
|
|
531
|
+
end
|
|
532
|
+
end
|
|
533
|
+
|
|
534
|
+
# @see DockerEngine::Models::Image#graph_driver
|
|
535
|
+
class GraphDriver < DockerEngine::Internal::Type::BaseModel
|
|
536
|
+
# @!attribute data
|
|
537
|
+
# Low-level storage metadata, provided as key/value pairs.
|
|
538
|
+
#
|
|
539
|
+
# This information is driver-specific, and depends on the storage-driver in use,
|
|
540
|
+
# and should be used for informational purposes only.
|
|
541
|
+
#
|
|
542
|
+
# @return [Hash{Symbol=>String}]
|
|
543
|
+
required :data, DockerEngine::Internal::Type::HashOf[String], api_name: :Data
|
|
544
|
+
|
|
545
|
+
# @!attribute name
|
|
546
|
+
# Name of the storage driver.
|
|
547
|
+
#
|
|
548
|
+
# @return [String]
|
|
549
|
+
required :name, String, api_name: :Name
|
|
550
|
+
|
|
551
|
+
# @!method initialize(data:, name:)
|
|
552
|
+
# Some parameter documentations has been truncated, see
|
|
553
|
+
# {DockerEngine::Models::Image::GraphDriver} for more details.
|
|
554
|
+
#
|
|
555
|
+
# Information about the storage driver used to store the container's and image's
|
|
556
|
+
# filesystem.
|
|
557
|
+
#
|
|
558
|
+
# @param data [Hash{Symbol=>String}] Low-level storage metadata, provided as key/value pairs.
|
|
559
|
+
#
|
|
560
|
+
# @param name [String] Name of the storage driver.
|
|
561
|
+
end
|
|
562
|
+
|
|
563
|
+
# @see DockerEngine::Models::Image#identity
|
|
564
|
+
class Identity < DockerEngine::Internal::Type::BaseModel
|
|
565
|
+
# @!attribute build
|
|
566
|
+
# Build contains build reference information if image was created via build.
|
|
567
|
+
#
|
|
568
|
+
# @return [Array<DockerEngine::Models::Image::Identity::Build>, nil]
|
|
569
|
+
optional :build,
|
|
570
|
+
-> { DockerEngine::Internal::Type::ArrayOf[DockerEngine::Image::Identity::Build] },
|
|
571
|
+
api_name: :Build
|
|
572
|
+
|
|
573
|
+
# @!attribute pull
|
|
574
|
+
# Pull contains remote location information if image was created via pull. If
|
|
575
|
+
# image was pulled via mirror, this contains the original repository location.
|
|
576
|
+
# After successful push this images also contains the pushed repository location.
|
|
577
|
+
#
|
|
578
|
+
# @return [Array<DockerEngine::Models::Image::Identity::Pull>, nil]
|
|
579
|
+
optional :pull,
|
|
580
|
+
-> { DockerEngine::Internal::Type::ArrayOf[DockerEngine::Image::Identity::Pull] },
|
|
581
|
+
api_name: :Pull
|
|
582
|
+
|
|
583
|
+
# @!attribute signature
|
|
584
|
+
# Signature contains the properties of verified signatures for the image.
|
|
585
|
+
#
|
|
586
|
+
# @return [Array<DockerEngine::Models::Image::Identity::Signature>, nil]
|
|
587
|
+
optional :signature,
|
|
588
|
+
-> { DockerEngine::Internal::Type::ArrayOf[DockerEngine::Image::Identity::Signature] },
|
|
589
|
+
api_name: :Signature
|
|
590
|
+
|
|
591
|
+
# @!method initialize(build: nil, pull: nil, signature: nil)
|
|
592
|
+
# Some parameter documentations has been truncated, see
|
|
593
|
+
# {DockerEngine::Models::Image::Identity} for more details.
|
|
594
|
+
#
|
|
595
|
+
# Identity holds information about the identity and origin of the image. This is
|
|
596
|
+
# trusted information verified by the daemon and cannot be modified by tagging an
|
|
597
|
+
# image to a different name.
|
|
598
|
+
#
|
|
599
|
+
# @param build [Array<DockerEngine::Models::Image::Identity::Build>] Build contains build reference information if image was created via build.
|
|
600
|
+
#
|
|
601
|
+
# @param pull [Array<DockerEngine::Models::Image::Identity::Pull>] Pull contains remote location information if image was created via pull.
|
|
602
|
+
#
|
|
603
|
+
# @param signature [Array<DockerEngine::Models::Image::Identity::Signature>] Signature contains the properties of verified signatures for the image.
|
|
604
|
+
|
|
605
|
+
class Build < DockerEngine::Internal::Type::BaseModel
|
|
606
|
+
# @!attribute created_at
|
|
607
|
+
# CreatedAt is the time when the build ran.
|
|
608
|
+
#
|
|
609
|
+
# @return [Time, nil]
|
|
610
|
+
optional :created_at, Time, api_name: :CreatedAt
|
|
611
|
+
|
|
612
|
+
# @!attribute ref
|
|
613
|
+
# Ref is the identifier for the build request. This reference can be used to look
|
|
614
|
+
# up the build details in BuildKit history API.
|
|
615
|
+
#
|
|
616
|
+
# @return [String, nil]
|
|
617
|
+
optional :ref, String, api_name: :Ref
|
|
618
|
+
|
|
619
|
+
# @!method initialize(created_at: nil, ref: nil)
|
|
620
|
+
# Some parameter documentations has been truncated, see
|
|
621
|
+
# {DockerEngine::Models::Image::Identity::Build} for more details.
|
|
622
|
+
#
|
|
623
|
+
# BuildIdentity contains build reference information if image was created via
|
|
624
|
+
# build.
|
|
625
|
+
#
|
|
626
|
+
# @param created_at [Time] CreatedAt is the time when the build ran.
|
|
627
|
+
#
|
|
628
|
+
# @param ref [String] Ref is the identifier for the build request. This reference can be used to
|
|
629
|
+
end
|
|
630
|
+
|
|
631
|
+
class Pull < DockerEngine::Internal::Type::BaseModel
|
|
632
|
+
# @!attribute repository
|
|
633
|
+
# Repository is the remote repository location the image was pulled from.
|
|
634
|
+
#
|
|
635
|
+
# @return [String, nil]
|
|
636
|
+
optional :repository, String, api_name: :Repository
|
|
637
|
+
|
|
638
|
+
# @!method initialize(repository: nil)
|
|
639
|
+
# PullIdentity contains remote location information if image was created via pull.
|
|
640
|
+
# If image was pulled via mirror, this contains the original repository location.
|
|
641
|
+
#
|
|
642
|
+
# @param repository [String] Repository is the remote repository location the image was pulled from.
|
|
643
|
+
end
|
|
644
|
+
|
|
645
|
+
class Signature < DockerEngine::Internal::Type::BaseModel
|
|
646
|
+
# @!attribute docker_reference
|
|
647
|
+
# DockerReference is the Docker image reference associated with the signature.
|
|
648
|
+
# This is an optional field only present in older hashedrecord signatures.
|
|
649
|
+
#
|
|
650
|
+
# @return [String, nil]
|
|
651
|
+
optional :docker_reference, String, api_name: :DockerReference
|
|
652
|
+
|
|
653
|
+
# @!attribute error
|
|
654
|
+
# Error contains error information if signature verification failed. Other fields
|
|
655
|
+
# will be empty in this case.
|
|
656
|
+
#
|
|
657
|
+
# @return [String, nil]
|
|
658
|
+
optional :error, String, api_name: :Error
|
|
659
|
+
|
|
660
|
+
# @!attribute known_signer
|
|
661
|
+
# KnownSignerIdentity is an identifier for a special signer identity that is known
|
|
662
|
+
# to the implementation.
|
|
663
|
+
#
|
|
664
|
+
# @return [Symbol, DockerEngine::Models::Image::Identity::Signature::KnownSigner, nil]
|
|
665
|
+
optional :known_signer,
|
|
666
|
+
enum: -> { DockerEngine::Image::Identity::Signature::KnownSigner },
|
|
667
|
+
api_name: :KnownSigner
|
|
668
|
+
|
|
669
|
+
# @!attribute name
|
|
670
|
+
# Name is a textual description summarizing the type of signature.
|
|
671
|
+
#
|
|
672
|
+
# @return [String, nil]
|
|
673
|
+
optional :name, String, api_name: :Name
|
|
674
|
+
|
|
675
|
+
# @!attribute signature_type
|
|
676
|
+
# SignatureType is the type of signature format.
|
|
677
|
+
#
|
|
678
|
+
# @return [Symbol, DockerEngine::Models::Image::Identity::Signature::SignatureType, nil]
|
|
679
|
+
optional :signature_type,
|
|
680
|
+
enum: -> { DockerEngine::Image::Identity::Signature::SignatureType },
|
|
681
|
+
api_name: :SignatureType
|
|
682
|
+
|
|
683
|
+
# @!attribute signer
|
|
684
|
+
# SignerIdentity contains information about the signer certificate used to sign
|
|
685
|
+
# the image.
|
|
686
|
+
#
|
|
687
|
+
# @return [DockerEngine::Models::Image::Identity::Signature::Signer, nil]
|
|
688
|
+
optional :signer, -> { DockerEngine::Image::Identity::Signature::Signer }, api_name: :Signer
|
|
689
|
+
|
|
690
|
+
# @!attribute timestamps
|
|
691
|
+
# Timestamps contains a list of verified signed timestamps for the signature.
|
|
692
|
+
#
|
|
693
|
+
# @return [Array<DockerEngine::Models::Image::Identity::Signature::Timestamp>, nil]
|
|
694
|
+
optional :timestamps,
|
|
695
|
+
-> {
|
|
696
|
+
DockerEngine::Internal::Type::ArrayOf[DockerEngine::Image::Identity::Signature::Timestamp]
|
|
697
|
+
},
|
|
698
|
+
api_name: :Timestamps
|
|
699
|
+
|
|
700
|
+
# @!attribute warnings
|
|
701
|
+
# Warnings contains any warnings that occurred during signature verification. For
|
|
702
|
+
# example, if there was no internet connectivity and cached trust roots were used.
|
|
703
|
+
# Warning does not indicate a failed verification but may point to configuration
|
|
704
|
+
# issues.
|
|
705
|
+
#
|
|
706
|
+
# @return [Array<String>, nil]
|
|
707
|
+
optional :warnings, DockerEngine::Internal::Type::ArrayOf[String], api_name: :Warnings
|
|
708
|
+
|
|
709
|
+
# @!method initialize(docker_reference: nil, error: nil, known_signer: nil, name: nil, signature_type: nil, signer: nil, timestamps: nil, warnings: nil)
|
|
710
|
+
# Some parameter documentations has been truncated, see
|
|
711
|
+
# {DockerEngine::Models::Image::Identity::Signature} for more details.
|
|
712
|
+
#
|
|
713
|
+
# SignatureIdentity contains the properties of verified signatures for the image.
|
|
714
|
+
#
|
|
715
|
+
# @param docker_reference [String] DockerReference is the Docker image reference associated with the signature.
|
|
716
|
+
#
|
|
717
|
+
# @param error [String] Error contains error information if signature verification failed.
|
|
718
|
+
#
|
|
719
|
+
# @param known_signer [Symbol, DockerEngine::Models::Image::Identity::Signature::KnownSigner] KnownSignerIdentity is an identifier for a special signer identity that is known
|
|
720
|
+
#
|
|
721
|
+
# @param name [String] Name is a textual description summarizing the type of signature.
|
|
722
|
+
#
|
|
723
|
+
# @param signature_type [Symbol, DockerEngine::Models::Image::Identity::Signature::SignatureType] SignatureType is the type of signature format.
|
|
724
|
+
#
|
|
725
|
+
# @param signer [DockerEngine::Models::Image::Identity::Signature::Signer] SignerIdentity contains information about the signer certificate used to sign th
|
|
726
|
+
#
|
|
727
|
+
# @param timestamps [Array<DockerEngine::Models::Image::Identity::Signature::Timestamp>] Timestamps contains a list of verified signed timestamps for the signature.
|
|
728
|
+
#
|
|
729
|
+
# @param warnings [Array<String>] Warnings contains any warnings that occurred during signature verification.
|
|
730
|
+
|
|
731
|
+
# KnownSignerIdentity is an identifier for a special signer identity that is known
|
|
732
|
+
# to the implementation.
|
|
733
|
+
#
|
|
734
|
+
# @see DockerEngine::Models::Image::Identity::Signature#known_signer
|
|
735
|
+
module KnownSigner
|
|
736
|
+
extend DockerEngine::Internal::Type::Enum
|
|
737
|
+
|
|
738
|
+
DHI = :DHI
|
|
739
|
+
|
|
740
|
+
# @!method self.values
|
|
741
|
+
# @return [Array<Symbol>]
|
|
742
|
+
end
|
|
743
|
+
|
|
744
|
+
# SignatureType is the type of signature format.
|
|
745
|
+
#
|
|
746
|
+
# @see DockerEngine::Models::Image::Identity::Signature#signature_type
|
|
747
|
+
module SignatureType
|
|
748
|
+
extend DockerEngine::Internal::Type::Enum
|
|
749
|
+
|
|
750
|
+
BUNDLE_V0_3 = :"bundle-v0.3"
|
|
751
|
+
SIMPLESIGNING_V1 = :"simplesigning-v1"
|
|
752
|
+
|
|
753
|
+
# @!method self.values
|
|
754
|
+
# @return [Array<Symbol>]
|
|
755
|
+
end
|
|
756
|
+
|
|
757
|
+
# @see DockerEngine::Models::Image::Identity::Signature#signer
|
|
758
|
+
class Signer < DockerEngine::Internal::Type::BaseModel
|
|
759
|
+
# @!attribute build_config_digest
|
|
760
|
+
# Immutable reference to the specific version of the top-level/initiating build
|
|
761
|
+
# instructions.
|
|
762
|
+
#
|
|
763
|
+
# @return [String, nil]
|
|
764
|
+
optional :build_config_digest, String, api_name: :BuildConfigDigest
|
|
765
|
+
|
|
766
|
+
# @!attribute build_config_uri
|
|
767
|
+
# Build Config URL to the top-level/initiating build instructions.
|
|
768
|
+
#
|
|
769
|
+
# @return [String, nil]
|
|
770
|
+
optional :build_config_uri, String, api_name: :BuildConfigURI
|
|
771
|
+
|
|
772
|
+
# @!attribute build_signer_digest
|
|
773
|
+
# Immutable reference to the specific version of the build instructions that is
|
|
774
|
+
# responsible for signing.
|
|
775
|
+
#
|
|
776
|
+
# @return [String, nil]
|
|
777
|
+
optional :build_signer_digest, String, api_name: :BuildSignerDigest
|
|
778
|
+
|
|
779
|
+
# @!attribute build_signer_uri
|
|
780
|
+
# Reference to specific build instructions that are responsible for signing.
|
|
781
|
+
#
|
|
782
|
+
# @return [String, nil]
|
|
783
|
+
optional :build_signer_uri, String, api_name: :BuildSignerURI
|
|
784
|
+
|
|
785
|
+
# @!attribute build_trigger
|
|
786
|
+
# Event or action that initiated the build.
|
|
787
|
+
#
|
|
788
|
+
# @return [String, nil]
|
|
789
|
+
optional :build_trigger, String, api_name: :BuildTrigger
|
|
790
|
+
|
|
791
|
+
# @!attribute certificate_issuer
|
|
792
|
+
# CertificateIssuer is the certificate issuer.
|
|
793
|
+
#
|
|
794
|
+
# @return [String, nil]
|
|
795
|
+
optional :certificate_issuer, String, api_name: :CertificateIssuer
|
|
796
|
+
|
|
797
|
+
# @!attribute issuer
|
|
798
|
+
# The OIDC issuer. Should match `iss` claim of ID token or, in the case of a
|
|
799
|
+
# federated login like Dex it should match the issuer URL of the upstream issuer.
|
|
800
|
+
# The issuer is not set the extensions are invalid and will fail to render.
|
|
801
|
+
#
|
|
802
|
+
# @return [String, nil]
|
|
803
|
+
optional :issuer, String, api_name: :Issuer
|
|
804
|
+
|
|
805
|
+
# @!attribute run_invocation_uri
|
|
806
|
+
# Run Invocation URL to uniquely identify the build execution.
|
|
807
|
+
#
|
|
808
|
+
# @return [String, nil]
|
|
809
|
+
optional :run_invocation_uri, String, api_name: :RunInvocationURI
|
|
810
|
+
|
|
811
|
+
# @!attribute runner_environment
|
|
812
|
+
# Specifies whether the build took place in platform-hosted cloud infrastructure
|
|
813
|
+
# or customer/self-hosted infrastructure.
|
|
814
|
+
#
|
|
815
|
+
# @return [String, nil]
|
|
816
|
+
optional :runner_environment, String, api_name: :RunnerEnvironment
|
|
817
|
+
|
|
818
|
+
# @!attribute source_repository_digest
|
|
819
|
+
# Immutable reference to a specific version of the source code that the build was
|
|
820
|
+
# based upon.
|
|
821
|
+
#
|
|
822
|
+
# @return [String, nil]
|
|
823
|
+
optional :source_repository_digest, String, api_name: :SourceRepositoryDigest
|
|
824
|
+
|
|
825
|
+
# @!attribute source_repository_identifier
|
|
826
|
+
# Immutable identifier for the source repository the workflow was based upon.
|
|
827
|
+
#
|
|
828
|
+
# @return [String, nil]
|
|
829
|
+
optional :source_repository_identifier, String, api_name: :SourceRepositoryIdentifier
|
|
830
|
+
|
|
831
|
+
# @!attribute source_repository_owner_identifier
|
|
832
|
+
# Immutable identifier for the owner of the source repository that the workflow
|
|
833
|
+
# was based upon.
|
|
834
|
+
#
|
|
835
|
+
# @return [String, nil]
|
|
836
|
+
optional :source_repository_owner_identifier, String, api_name: :SourceRepositoryOwnerIdentifier
|
|
837
|
+
|
|
838
|
+
# @!attribute source_repository_owner_uri
|
|
839
|
+
# Source repository owner URL of the owner of the source repository that the build
|
|
840
|
+
# was based on.
|
|
841
|
+
#
|
|
842
|
+
# @return [String, nil]
|
|
843
|
+
optional :source_repository_owner_uri, String, api_name: :SourceRepositoryOwnerURI
|
|
844
|
+
|
|
845
|
+
# @!attribute source_repository_ref
|
|
846
|
+
# Source Repository Ref that the build run was based upon.
|
|
847
|
+
#
|
|
848
|
+
# @return [String, nil]
|
|
849
|
+
optional :source_repository_ref, String, api_name: :SourceRepositoryRef
|
|
850
|
+
|
|
851
|
+
# @!attribute source_repository_uri
|
|
852
|
+
# Source repository URL that the build was based on.
|
|
853
|
+
#
|
|
854
|
+
# @return [String, nil]
|
|
855
|
+
optional :source_repository_uri, String, api_name: :SourceRepositoryURI
|
|
856
|
+
|
|
857
|
+
# @!attribute source_repository_visibility_at_signing
|
|
858
|
+
# Source repository visibility at the time of signing the certificate.
|
|
859
|
+
#
|
|
860
|
+
# @return [String, nil]
|
|
861
|
+
optional :source_repository_visibility_at_signing,
|
|
862
|
+
String,
|
|
863
|
+
api_name: :SourceRepositoryVisibilityAtSigning
|
|
864
|
+
|
|
865
|
+
# @!attribute subject_alternative_name
|
|
866
|
+
# SubjectAlternativeName is the certificate subject alternative name.
|
|
867
|
+
#
|
|
868
|
+
# @return [String, nil]
|
|
869
|
+
optional :subject_alternative_name, String, api_name: :SubjectAlternativeName
|
|
870
|
+
|
|
871
|
+
# @!method initialize(build_config_digest: nil, build_config_uri: nil, build_signer_digest: nil, build_signer_uri: nil, build_trigger: nil, certificate_issuer: nil, issuer: nil, run_invocation_uri: nil, runner_environment: nil, source_repository_digest: nil, source_repository_identifier: nil, source_repository_owner_identifier: nil, source_repository_owner_uri: nil, source_repository_ref: nil, source_repository_uri: nil, source_repository_visibility_at_signing: nil, subject_alternative_name: nil)
|
|
872
|
+
# Some parameter documentations has been truncated, see
|
|
873
|
+
# {DockerEngine::Models::Image::Identity::Signature::Signer} for more details.
|
|
874
|
+
#
|
|
875
|
+
# SignerIdentity contains information about the signer certificate used to sign
|
|
876
|
+
# the image.
|
|
877
|
+
#
|
|
878
|
+
# @param build_config_digest [String] Immutable reference to the specific version of the top-level/initiating build in
|
|
879
|
+
#
|
|
880
|
+
# @param build_config_uri [String] Build Config URL to the top-level/initiating build instructions.
|
|
881
|
+
#
|
|
882
|
+
# @param build_signer_digest [String] Immutable reference to the specific version of the build instructions that is re
|
|
883
|
+
#
|
|
884
|
+
# @param build_signer_uri [String] Reference to specific build instructions that are responsible for signing.
|
|
885
|
+
#
|
|
886
|
+
# @param build_trigger [String] Event or action that initiated the build.
|
|
887
|
+
#
|
|
888
|
+
# @param certificate_issuer [String] CertificateIssuer is the certificate issuer.
|
|
889
|
+
#
|
|
890
|
+
# @param issuer [String] The OIDC issuer. Should match `iss` claim of ID token or, in the case of
|
|
891
|
+
#
|
|
892
|
+
# @param run_invocation_uri [String] Run Invocation URL to uniquely identify the build execution.
|
|
893
|
+
#
|
|
894
|
+
# @param runner_environment [String] Specifies whether the build took place in platform-hosted cloud infrastructure o
|
|
895
|
+
#
|
|
896
|
+
# @param source_repository_digest [String] Immutable reference to a specific version of the source code that the build was
|
|
897
|
+
#
|
|
898
|
+
# @param source_repository_identifier [String] Immutable identifier for the source repository the workflow was based upon.
|
|
899
|
+
#
|
|
900
|
+
# @param source_repository_owner_identifier [String] Immutable identifier for the owner of the source repository that the workflow wa
|
|
901
|
+
#
|
|
902
|
+
# @param source_repository_owner_uri [String] Source repository owner URL of the owner of the source repository that the build
|
|
903
|
+
#
|
|
904
|
+
# @param source_repository_ref [String] Source Repository Ref that the build run was based upon.
|
|
905
|
+
#
|
|
906
|
+
# @param source_repository_uri [String] Source repository URL that the build was based on.
|
|
907
|
+
#
|
|
908
|
+
# @param source_repository_visibility_at_signing [String] Source repository visibility at the time of signing the certificate.
|
|
909
|
+
#
|
|
910
|
+
# @param subject_alternative_name [String] SubjectAlternativeName is the certificate subject alternative name.
|
|
911
|
+
end
|
|
912
|
+
|
|
913
|
+
class Timestamp < DockerEngine::Internal::Type::BaseModel
|
|
914
|
+
# @!attribute timestamp
|
|
915
|
+
#
|
|
916
|
+
# @return [Time, nil]
|
|
917
|
+
optional :timestamp, Time, api_name: :Timestamp
|
|
918
|
+
|
|
919
|
+
# @!attribute type
|
|
920
|
+
# SignatureTimestampType is the type of timestamp used in the signature.
|
|
921
|
+
#
|
|
922
|
+
# @return [Symbol, DockerEngine::Models::Image::Identity::Signature::Timestamp::Type, nil]
|
|
923
|
+
optional :type,
|
|
924
|
+
enum: -> {
|
|
925
|
+
DockerEngine::Image::Identity::Signature::Timestamp::Type
|
|
926
|
+
},
|
|
927
|
+
api_name: :Type
|
|
928
|
+
|
|
929
|
+
# @!attribute uri
|
|
930
|
+
#
|
|
931
|
+
# @return [String, nil]
|
|
932
|
+
optional :uri, String, api_name: :URI
|
|
933
|
+
|
|
934
|
+
# @!method initialize(timestamp: nil, type: nil, uri: nil)
|
|
935
|
+
# SignatureTimestamp contains information about a verified signed timestamp for an
|
|
936
|
+
# image signature.
|
|
937
|
+
#
|
|
938
|
+
# @param timestamp [Time]
|
|
939
|
+
#
|
|
940
|
+
# @param type [Symbol, DockerEngine::Models::Image::Identity::Signature::Timestamp::Type] SignatureTimestampType is the type of timestamp used in the signature.
|
|
941
|
+
#
|
|
942
|
+
# @param uri [String]
|
|
943
|
+
|
|
944
|
+
# SignatureTimestampType is the type of timestamp used in the signature.
|
|
945
|
+
#
|
|
946
|
+
# @see DockerEngine::Models::Image::Identity::Signature::Timestamp#type
|
|
947
|
+
module Type
|
|
948
|
+
extend DockerEngine::Internal::Type::Enum
|
|
949
|
+
|
|
950
|
+
TLOG = :Tlog
|
|
951
|
+
TIMESTAMP_AUTHORITY = :TimestampAuthority
|
|
952
|
+
|
|
953
|
+
# @!method self.values
|
|
954
|
+
# @return [Array<Symbol>]
|
|
955
|
+
end
|
|
956
|
+
end
|
|
957
|
+
end
|
|
958
|
+
end
|
|
959
|
+
|
|
960
|
+
class Manifest < DockerEngine::Internal::Type::BaseModel
|
|
961
|
+
# @!attribute available
|
|
962
|
+
# Indicates whether all the child content (image config, layers) is fully
|
|
963
|
+
# available locally.
|
|
964
|
+
#
|
|
965
|
+
# @return [Boolean]
|
|
966
|
+
required :available, DockerEngine::Internal::Type::Boolean, api_name: :Available
|
|
967
|
+
|
|
968
|
+
# @!attribute descriptor
|
|
969
|
+
# A descriptor struct containing digest, media type, and size, as defined in the
|
|
970
|
+
# [OCI Content Descriptors Specification](https://github.com/opencontainers/image-spec/blob/v1.0.1/descriptor.md).
|
|
971
|
+
#
|
|
972
|
+
# @return [DockerEngine::Models::Image::Manifest::Descriptor]
|
|
973
|
+
required :descriptor, -> { DockerEngine::Image::Manifest::Descriptor }, api_name: :Descriptor
|
|
974
|
+
|
|
975
|
+
# @!attribute id
|
|
976
|
+
# ID is the content-addressable ID of an image and is the same as the digest of
|
|
977
|
+
# the image manifest.
|
|
978
|
+
#
|
|
979
|
+
# @return [String]
|
|
980
|
+
required :id, String, api_name: :ID
|
|
981
|
+
|
|
982
|
+
# @!attribute kind
|
|
983
|
+
# The kind of the manifest.
|
|
984
|
+
#
|
|
985
|
+
# | kind | description |
|
|
986
|
+
# | ----------- | ------------------------------------------------------------------------------------ |
|
|
987
|
+
# | image | Image manifest that can be used to start a container. |
|
|
988
|
+
# | attestation | Attestation manifest produced by the Buildkit builder for a specific image manifest. |
|
|
989
|
+
#
|
|
990
|
+
# @return [Symbol, DockerEngine::Models::Image::Manifest::Kind]
|
|
991
|
+
required :kind, enum: -> { DockerEngine::Image::Manifest::Kind }, api_name: :Kind
|
|
992
|
+
|
|
993
|
+
# @!attribute size
|
|
994
|
+
#
|
|
995
|
+
# @return [DockerEngine::Models::Image::Manifest::Size]
|
|
996
|
+
required :size, -> { DockerEngine::Image::Manifest::Size }, api_name: :Size
|
|
997
|
+
|
|
998
|
+
# @!attribute attestation_data
|
|
999
|
+
# The image data for the attestation manifest. This field is only populated when
|
|
1000
|
+
# Kind is "attestation".
|
|
1001
|
+
#
|
|
1002
|
+
# @return [DockerEngine::Models::Image::Manifest::AttestationData, nil]
|
|
1003
|
+
optional :attestation_data,
|
|
1004
|
+
-> { DockerEngine::Image::Manifest::AttestationData },
|
|
1005
|
+
api_name: :AttestationData,
|
|
1006
|
+
nil?: true
|
|
1007
|
+
|
|
1008
|
+
# @!attribute image_data
|
|
1009
|
+
# The image data for the image manifest. This field is only populated when Kind is
|
|
1010
|
+
# "image".
|
|
1011
|
+
#
|
|
1012
|
+
# @return [DockerEngine::Models::Image::Manifest::ImageData, nil]
|
|
1013
|
+
optional :image_data,
|
|
1014
|
+
-> {
|
|
1015
|
+
DockerEngine::Image::Manifest::ImageData
|
|
1016
|
+
},
|
|
1017
|
+
api_name: :ImageData,
|
|
1018
|
+
nil?: true
|
|
1019
|
+
|
|
1020
|
+
# @!method initialize(available:, descriptor:, id:, kind:, size:, attestation_data: nil, image_data: nil)
|
|
1021
|
+
# Some parameter documentations has been truncated, see
|
|
1022
|
+
# {DockerEngine::Models::Image::Manifest} for more details.
|
|
1023
|
+
#
|
|
1024
|
+
# ImageManifestSummary represents a summary of an image manifest.
|
|
1025
|
+
#
|
|
1026
|
+
# @param available [Boolean] Indicates whether all the child content (image config, layers) is fully availabl
|
|
1027
|
+
#
|
|
1028
|
+
# @param descriptor [DockerEngine::Models::Image::Manifest::Descriptor] A descriptor struct containing digest, media type, and size, as defined in
|
|
1029
|
+
#
|
|
1030
|
+
# @param id [String] ID is the content-addressable ID of an image and is the same as the
|
|
1031
|
+
#
|
|
1032
|
+
# @param kind [Symbol, DockerEngine::Models::Image::Manifest::Kind] The kind of the manifest.
|
|
1033
|
+
#
|
|
1034
|
+
# @param size [DockerEngine::Models::Image::Manifest::Size]
|
|
1035
|
+
#
|
|
1036
|
+
# @param attestation_data [DockerEngine::Models::Image::Manifest::AttestationData, nil] The image data for the attestation manifest.
|
|
1037
|
+
#
|
|
1038
|
+
# @param image_data [DockerEngine::Models::Image::Manifest::ImageData, nil] The image data for the image manifest.
|
|
1039
|
+
|
|
1040
|
+
# @see DockerEngine::Models::Image::Manifest#descriptor
|
|
1041
|
+
class Descriptor < DockerEngine::Internal::Type::BaseModel
|
|
1042
|
+
# @!attribute annotations
|
|
1043
|
+
# Arbitrary metadata relating to the targeted content.
|
|
1044
|
+
#
|
|
1045
|
+
# @return [Hash{Symbol=>String}, nil]
|
|
1046
|
+
optional :annotations, DockerEngine::Internal::Type::HashOf[String], nil?: true
|
|
1047
|
+
|
|
1048
|
+
# @!attribute artifact_type
|
|
1049
|
+
# ArtifactType is the IANA media type of this artifact.
|
|
1050
|
+
#
|
|
1051
|
+
# @return [String, nil]
|
|
1052
|
+
optional :artifact_type, String, api_name: :artifactType, nil?: true
|
|
1053
|
+
|
|
1054
|
+
# @!attribute data
|
|
1055
|
+
# Data is an embedding of the targeted content. This is encoded as a base64 string
|
|
1056
|
+
# when marshalled to JSON (automatically, by encoding/json). If present, Data can
|
|
1057
|
+
# be used directly to avoid fetching the targeted content.
|
|
1058
|
+
#
|
|
1059
|
+
# @return [String, nil]
|
|
1060
|
+
optional :data, String, nil?: true
|
|
1061
|
+
|
|
1062
|
+
# @!attribute digest
|
|
1063
|
+
# The digest of the targeted content.
|
|
1064
|
+
#
|
|
1065
|
+
# @return [String, nil]
|
|
1066
|
+
optional :digest, String
|
|
1067
|
+
|
|
1068
|
+
# @!attribute media_type
|
|
1069
|
+
# The media type of the object this schema refers to.
|
|
1070
|
+
#
|
|
1071
|
+
# @return [String, nil]
|
|
1072
|
+
optional :media_type, String, api_name: :mediaType
|
|
1073
|
+
|
|
1074
|
+
# @!attribute platform
|
|
1075
|
+
# Describes the platform which the image in the manifest runs on, as defined in
|
|
1076
|
+
# the
|
|
1077
|
+
# [OCI Image Index Specification](https://github.com/opencontainers/image-spec/blob/v1.0.1/image-index.md).
|
|
1078
|
+
#
|
|
1079
|
+
# @return [DockerEngine::Models::Image::Manifest::Descriptor::Platform, nil]
|
|
1080
|
+
optional :platform, -> { DockerEngine::Image::Manifest::Descriptor::Platform }, nil?: true
|
|
1081
|
+
|
|
1082
|
+
# @!attribute size
|
|
1083
|
+
# The size in bytes of the blob.
|
|
1084
|
+
#
|
|
1085
|
+
# @return [Integer, nil]
|
|
1086
|
+
optional :size, Integer
|
|
1087
|
+
|
|
1088
|
+
# @!attribute urls
|
|
1089
|
+
# List of URLs from which this object MAY be downloaded.
|
|
1090
|
+
#
|
|
1091
|
+
# @return [Array<String>, nil]
|
|
1092
|
+
optional :urls, DockerEngine::Internal::Type::ArrayOf[String], nil?: true
|
|
1093
|
+
|
|
1094
|
+
# @!method initialize(annotations: nil, artifact_type: nil, data: nil, digest: nil, media_type: nil, platform: nil, size: nil, urls: nil)
|
|
1095
|
+
# Some parameter documentations has been truncated, see
|
|
1096
|
+
# {DockerEngine::Models::Image::Manifest::Descriptor} for more details.
|
|
1097
|
+
#
|
|
1098
|
+
# A descriptor struct containing digest, media type, and size, as defined in the
|
|
1099
|
+
# [OCI Content Descriptors Specification](https://github.com/opencontainers/image-spec/blob/v1.0.1/descriptor.md).
|
|
1100
|
+
#
|
|
1101
|
+
# @param annotations [Hash{Symbol=>String}, nil] Arbitrary metadata relating to the targeted content.
|
|
1102
|
+
#
|
|
1103
|
+
# @param artifact_type [String, nil] ArtifactType is the IANA media type of this artifact.
|
|
1104
|
+
#
|
|
1105
|
+
# @param data [String, nil] Data is an embedding of the targeted content. This is encoded as a base64
|
|
1106
|
+
#
|
|
1107
|
+
# @param digest [String] The digest of the targeted content.
|
|
1108
|
+
#
|
|
1109
|
+
# @param media_type [String] The media type of the object this schema refers to.
|
|
1110
|
+
#
|
|
1111
|
+
# @param platform [DockerEngine::Models::Image::Manifest::Descriptor::Platform, nil] Describes the platform which the image in the manifest runs on, as defined
|
|
1112
|
+
#
|
|
1113
|
+
# @param size [Integer] The size in bytes of the blob.
|
|
1114
|
+
#
|
|
1115
|
+
# @param urls [Array<String>, nil] List of URLs from which this object MAY be downloaded.
|
|
1116
|
+
|
|
1117
|
+
# @see DockerEngine::Models::Image::Manifest::Descriptor#platform
|
|
1118
|
+
class Platform < DockerEngine::Internal::Type::BaseModel
|
|
1119
|
+
# @!attribute architecture
|
|
1120
|
+
# The CPU architecture, for example `amd64` or `ppc64`.
|
|
1121
|
+
#
|
|
1122
|
+
# @return [String, nil]
|
|
1123
|
+
optional :architecture, String
|
|
1124
|
+
|
|
1125
|
+
# @!attribute os
|
|
1126
|
+
# The operating system, for example `linux` or `windows`.
|
|
1127
|
+
#
|
|
1128
|
+
# @return [String, nil]
|
|
1129
|
+
optional :os, String
|
|
1130
|
+
|
|
1131
|
+
# @!attribute os_features
|
|
1132
|
+
# Optional field specifying an array of strings, each listing a required OS
|
|
1133
|
+
# feature (for example on Windows `win32k`).
|
|
1134
|
+
#
|
|
1135
|
+
# @return [Array<String>, nil]
|
|
1136
|
+
optional :os_features, DockerEngine::Internal::Type::ArrayOf[String], api_name: :"os.features"
|
|
1137
|
+
|
|
1138
|
+
# @!attribute os_version
|
|
1139
|
+
# Optional field specifying the operating system version, for example on Windows
|
|
1140
|
+
# `10.0.19041.1165`.
|
|
1141
|
+
#
|
|
1142
|
+
# @return [String, nil]
|
|
1143
|
+
optional :os_version, String, api_name: :"os.version"
|
|
1144
|
+
|
|
1145
|
+
# @!attribute variant
|
|
1146
|
+
# Optional field specifying a variant of the CPU, for example `v7` to specify
|
|
1147
|
+
# ARMv7 when architecture is `arm`.
|
|
1148
|
+
#
|
|
1149
|
+
# @return [String, nil]
|
|
1150
|
+
optional :variant, String
|
|
1151
|
+
|
|
1152
|
+
# @!method initialize(architecture: nil, os: nil, os_features: nil, os_version: nil, variant: nil)
|
|
1153
|
+
# Some parameter documentations has been truncated, see
|
|
1154
|
+
# {DockerEngine::Models::Image::Manifest::Descriptor::Platform} for more details.
|
|
1155
|
+
#
|
|
1156
|
+
# Describes the platform which the image in the manifest runs on, as defined in
|
|
1157
|
+
# the
|
|
1158
|
+
# [OCI Image Index Specification](https://github.com/opencontainers/image-spec/blob/v1.0.1/image-index.md).
|
|
1159
|
+
#
|
|
1160
|
+
# @param architecture [String] The CPU architecture, for example `amd64` or `ppc64`.
|
|
1161
|
+
#
|
|
1162
|
+
# @param os [String] The operating system, for example `linux` or `windows`.
|
|
1163
|
+
#
|
|
1164
|
+
# @param os_features [Array<String>] Optional field specifying an array of strings, each listing a required
|
|
1165
|
+
#
|
|
1166
|
+
# @param os_version [String] Optional field specifying the operating system version, for example on
|
|
1167
|
+
#
|
|
1168
|
+
# @param variant [String] Optional field specifying a variant of the CPU, for example `v7` to
|
|
1169
|
+
end
|
|
1170
|
+
end
|
|
1171
|
+
|
|
1172
|
+
# The kind of the manifest.
|
|
1173
|
+
#
|
|
1174
|
+
# | kind | description |
|
|
1175
|
+
# | ----------- | ------------------------------------------------------------------------------------ |
|
|
1176
|
+
# | image | Image manifest that can be used to start a container. |
|
|
1177
|
+
# | attestation | Attestation manifest produced by the Buildkit builder for a specific image manifest. |
|
|
1178
|
+
#
|
|
1179
|
+
# @see DockerEngine::Models::Image::Manifest#kind
|
|
1180
|
+
module Kind
|
|
1181
|
+
extend DockerEngine::Internal::Type::Enum
|
|
1182
|
+
|
|
1183
|
+
IMAGE = :image
|
|
1184
|
+
ATTESTATION = :attestation
|
|
1185
|
+
UNKNOWN = :unknown
|
|
1186
|
+
|
|
1187
|
+
# @!method self.values
|
|
1188
|
+
# @return [Array<Symbol>]
|
|
1189
|
+
end
|
|
1190
|
+
|
|
1191
|
+
# @see DockerEngine::Models::Image::Manifest#size
|
|
1192
|
+
class Size < DockerEngine::Internal::Type::BaseModel
|
|
1193
|
+
# @!attribute content
|
|
1194
|
+
# Content is the size (in bytes) of all the locally present content in the content
|
|
1195
|
+
# store (e.g. image config, layers) referenced by this manifest and its children.
|
|
1196
|
+
# This only includes blobs in the content store.
|
|
1197
|
+
#
|
|
1198
|
+
# @return [Integer]
|
|
1199
|
+
required :content, Integer, api_name: :Content
|
|
1200
|
+
|
|
1201
|
+
# @!attribute total
|
|
1202
|
+
# Total is the total size (in bytes) of all the locally present data (both
|
|
1203
|
+
# distributable and non-distributable) that's related to this manifest and its
|
|
1204
|
+
# children. This equal to the sum of [Content] size AND all the sizes in the
|
|
1205
|
+
# [Size] struct present in the Kind-specific data struct. For example, for an
|
|
1206
|
+
# image kind (Kind == "image") this would include the size of the image content
|
|
1207
|
+
# and unpacked image snapshots ([Size.Content] + [ImageData.Size.Unpacked]).
|
|
1208
|
+
#
|
|
1209
|
+
# @return [Integer]
|
|
1210
|
+
required :total, Integer, api_name: :Total
|
|
1211
|
+
|
|
1212
|
+
# @!method initialize(content:, total:)
|
|
1213
|
+
# Some parameter documentations has been truncated, see
|
|
1214
|
+
# {DockerEngine::Models::Image::Manifest::Size} for more details.
|
|
1215
|
+
#
|
|
1216
|
+
# @param content [Integer] Content is the size (in bytes) of all the locally present
|
|
1217
|
+
#
|
|
1218
|
+
# @param total [Integer] Total is the total size (in bytes) of all the locally present
|
|
1219
|
+
end
|
|
1220
|
+
|
|
1221
|
+
# @see DockerEngine::Models::Image::Manifest#attestation_data
|
|
1222
|
+
class AttestationData < DockerEngine::Internal::Type::BaseModel
|
|
1223
|
+
# @!attribute for_
|
|
1224
|
+
# The digest of the image manifest that this attestation is for.
|
|
1225
|
+
#
|
|
1226
|
+
# @return [String]
|
|
1227
|
+
required :for_, String, api_name: :For
|
|
1228
|
+
|
|
1229
|
+
# @!method initialize(for_:)
|
|
1230
|
+
# Some parameter documentations has been truncated, see
|
|
1231
|
+
# {DockerEngine::Models::Image::Manifest::AttestationData} for more details.
|
|
1232
|
+
#
|
|
1233
|
+
# The image data for the attestation manifest. This field is only populated when
|
|
1234
|
+
# Kind is "attestation".
|
|
1235
|
+
#
|
|
1236
|
+
# @param for_ [String] The digest of the image manifest that this attestation is for.
|
|
1237
|
+
end
|
|
1238
|
+
|
|
1239
|
+
# @see DockerEngine::Models::Image::Manifest#image_data
|
|
1240
|
+
class ImageData < DockerEngine::Internal::Type::BaseModel
|
|
1241
|
+
# @!attribute containers
|
|
1242
|
+
# The IDs of the containers that are using this image.
|
|
1243
|
+
#
|
|
1244
|
+
# @return [Array<String>]
|
|
1245
|
+
required :containers, DockerEngine::Internal::Type::ArrayOf[String], api_name: :Containers
|
|
1246
|
+
|
|
1247
|
+
# @!attribute platform
|
|
1248
|
+
# Describes the platform which the image in the manifest runs on, as defined in
|
|
1249
|
+
# the
|
|
1250
|
+
# [OCI Image Index Specification](https://github.com/opencontainers/image-spec/blob/v1.0.1/image-index.md).
|
|
1251
|
+
#
|
|
1252
|
+
# @return [DockerEngine::Models::Image::Manifest::ImageData::Platform, nil]
|
|
1253
|
+
required :platform,
|
|
1254
|
+
-> { DockerEngine::Image::Manifest::ImageData::Platform },
|
|
1255
|
+
api_name: :Platform,
|
|
1256
|
+
nil?: true
|
|
1257
|
+
|
|
1258
|
+
# @!attribute size
|
|
1259
|
+
#
|
|
1260
|
+
# @return [DockerEngine::Models::Image::Manifest::ImageData::Size]
|
|
1261
|
+
required :size, -> { DockerEngine::Image::Manifest::ImageData::Size }, api_name: :Size
|
|
1262
|
+
|
|
1263
|
+
# @!method initialize(containers:, platform:, size:)
|
|
1264
|
+
# Some parameter documentations has been truncated, see
|
|
1265
|
+
# {DockerEngine::Models::Image::Manifest::ImageData} for more details.
|
|
1266
|
+
#
|
|
1267
|
+
# The image data for the image manifest. This field is only populated when Kind is
|
|
1268
|
+
# "image".
|
|
1269
|
+
#
|
|
1270
|
+
# @param containers [Array<String>] The IDs of the containers that are using this image.
|
|
1271
|
+
#
|
|
1272
|
+
# @param platform [DockerEngine::Models::Image::Manifest::ImageData::Platform, nil] Describes the platform which the image in the manifest runs on, as defined
|
|
1273
|
+
#
|
|
1274
|
+
# @param size [DockerEngine::Models::Image::Manifest::ImageData::Size]
|
|
1275
|
+
|
|
1276
|
+
# @see DockerEngine::Models::Image::Manifest::ImageData#platform
|
|
1277
|
+
class Platform < DockerEngine::Internal::Type::BaseModel
|
|
1278
|
+
# @!attribute architecture
|
|
1279
|
+
# The CPU architecture, for example `amd64` or `ppc64`.
|
|
1280
|
+
#
|
|
1281
|
+
# @return [String, nil]
|
|
1282
|
+
optional :architecture, String
|
|
1283
|
+
|
|
1284
|
+
# @!attribute os
|
|
1285
|
+
# The operating system, for example `linux` or `windows`.
|
|
1286
|
+
#
|
|
1287
|
+
# @return [String, nil]
|
|
1288
|
+
optional :os, String
|
|
1289
|
+
|
|
1290
|
+
# @!attribute os_features
|
|
1291
|
+
# Optional field specifying an array of strings, each listing a required OS
|
|
1292
|
+
# feature (for example on Windows `win32k`).
|
|
1293
|
+
#
|
|
1294
|
+
# @return [Array<String>, nil]
|
|
1295
|
+
optional :os_features, DockerEngine::Internal::Type::ArrayOf[String], api_name: :"os.features"
|
|
1296
|
+
|
|
1297
|
+
# @!attribute os_version
|
|
1298
|
+
# Optional field specifying the operating system version, for example on Windows
|
|
1299
|
+
# `10.0.19041.1165`.
|
|
1300
|
+
#
|
|
1301
|
+
# @return [String, nil]
|
|
1302
|
+
optional :os_version, String, api_name: :"os.version"
|
|
1303
|
+
|
|
1304
|
+
# @!attribute variant
|
|
1305
|
+
# Optional field specifying a variant of the CPU, for example `v7` to specify
|
|
1306
|
+
# ARMv7 when architecture is `arm`.
|
|
1307
|
+
#
|
|
1308
|
+
# @return [String, nil]
|
|
1309
|
+
optional :variant, String
|
|
1310
|
+
|
|
1311
|
+
# @!method initialize(architecture: nil, os: nil, os_features: nil, os_version: nil, variant: nil)
|
|
1312
|
+
# Some parameter documentations has been truncated, see
|
|
1313
|
+
# {DockerEngine::Models::Image::Manifest::ImageData::Platform} for more details.
|
|
1314
|
+
#
|
|
1315
|
+
# Describes the platform which the image in the manifest runs on, as defined in
|
|
1316
|
+
# the
|
|
1317
|
+
# [OCI Image Index Specification](https://github.com/opencontainers/image-spec/blob/v1.0.1/image-index.md).
|
|
1318
|
+
#
|
|
1319
|
+
# @param architecture [String] The CPU architecture, for example `amd64` or `ppc64`.
|
|
1320
|
+
#
|
|
1321
|
+
# @param os [String] The operating system, for example `linux` or `windows`.
|
|
1322
|
+
#
|
|
1323
|
+
# @param os_features [Array<String>] Optional field specifying an array of strings, each listing a required
|
|
1324
|
+
#
|
|
1325
|
+
# @param os_version [String] Optional field specifying the operating system version, for example on
|
|
1326
|
+
#
|
|
1327
|
+
# @param variant [String] Optional field specifying a variant of the CPU, for example `v7` to
|
|
1328
|
+
end
|
|
1329
|
+
|
|
1330
|
+
# @see DockerEngine::Models::Image::Manifest::ImageData#size
|
|
1331
|
+
class Size < DockerEngine::Internal::Type::BaseModel
|
|
1332
|
+
# @!attribute unpacked
|
|
1333
|
+
# Unpacked is the size (in bytes) of the locally unpacked (uncompressed) image
|
|
1334
|
+
# content that's directly usable by the containers running this image. It's
|
|
1335
|
+
# independent of the distributable content - e.g. the image might still have an
|
|
1336
|
+
# unpacked data that's still used by some container even when the
|
|
1337
|
+
# distributable/compressed content is already gone.
|
|
1338
|
+
#
|
|
1339
|
+
# @return [Integer]
|
|
1340
|
+
required :unpacked, Integer, api_name: :Unpacked
|
|
1341
|
+
|
|
1342
|
+
# @!method initialize(unpacked:)
|
|
1343
|
+
# Some parameter documentations has been truncated, see
|
|
1344
|
+
# {DockerEngine::Models::Image::Manifest::ImageData::Size} for more details.
|
|
1345
|
+
#
|
|
1346
|
+
# @param unpacked [Integer] Unpacked is the size (in bytes) of the locally unpacked
|
|
1347
|
+
end
|
|
1348
|
+
end
|
|
1349
|
+
end
|
|
1350
|
+
|
|
1351
|
+
# @see DockerEngine::Models::Image#metadata
|
|
1352
|
+
class Metadata < DockerEngine::Internal::Type::BaseModel
|
|
1353
|
+
# @!attribute last_tag_time
|
|
1354
|
+
# Date and time at which the image was last tagged in
|
|
1355
|
+
# [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
|
|
1356
|
+
#
|
|
1357
|
+
# This information is only available if the image was tagged locally, and omitted
|
|
1358
|
+
# otherwise.
|
|
1359
|
+
#
|
|
1360
|
+
# @return [String, nil]
|
|
1361
|
+
optional :last_tag_time, String, api_name: :LastTagTime, nil?: true
|
|
1362
|
+
|
|
1363
|
+
# @!method initialize(last_tag_time: nil)
|
|
1364
|
+
# Some parameter documentations has been truncated, see
|
|
1365
|
+
# {DockerEngine::Models::Image::Metadata} for more details.
|
|
1366
|
+
#
|
|
1367
|
+
# Additional metadata of the image in the local cache. This information is local
|
|
1368
|
+
# to the daemon, and not part of the image itself.
|
|
1369
|
+
#
|
|
1370
|
+
# @param last_tag_time [String, nil] Date and time at which the image was last tagged in
|
|
1371
|
+
end
|
|
1372
|
+
|
|
1373
|
+
# @see DockerEngine::Models::Image#root_fs
|
|
1374
|
+
class RootFs < DockerEngine::Internal::Type::BaseModel
|
|
1375
|
+
# @!attribute type
|
|
1376
|
+
#
|
|
1377
|
+
# @return [String]
|
|
1378
|
+
required :type, String, api_name: :Type
|
|
1379
|
+
|
|
1380
|
+
# @!attribute layers
|
|
1381
|
+
#
|
|
1382
|
+
# @return [Array<String>, nil]
|
|
1383
|
+
optional :layers, DockerEngine::Internal::Type::ArrayOf[String], api_name: :Layers
|
|
1384
|
+
|
|
1385
|
+
# @!method initialize(type:, layers: nil)
|
|
1386
|
+
# Information about the image's RootFS, including the layer IDs.
|
|
1387
|
+
#
|
|
1388
|
+
# @param type [String]
|
|
1389
|
+
# @param layers [Array<String>]
|
|
1390
|
+
end
|
|
1391
|
+
end
|
|
1392
|
+
end
|
|
1393
|
+
end
|