Class: DockerEngineRuby::Models::SystemDataUsageResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/docker_engine_ruby/models/system_data_usage_response.rb

Overview

Defined Under Namespace

Classes: BuildCacheDiskUsage, ContainersDiskUsage, ImagesDiskUsage, VolumesDiskUsage

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(active_count: nil, items: nil, reclaimable: nil, total_count: nil, total_size: nil) ⇒ Object

represents system data usage for image resources.

Parameters:

  • active_count (Integer) (defaults to: nil)

    Count of active images.

  • items (Array<Object>) (defaults to: nil)

    List of image summaries.

  • reclaimable (Integer) (defaults to: nil)

    Disk space that can be reclaimed by removing unused images.

  • total_count (Integer) (defaults to: nil)

    Count of all images.

  • total_size (Integer) (defaults to: nil)

    Disk space in use by images.



# File 'lib/docker_engine_ruby/models/system_data_usage_response.rb', line 39

Instance Attribute Details

#build_cache_disk_usageDockerEngineRuby::Models::SystemDataUsageResponse::BuildCacheDiskUsage?

represents system data usage for build cache resources.



11
12
13
# File 'lib/docker_engine_ruby/models/system_data_usage_response.rb', line 11

optional :build_cache_disk_usage,
-> { DockerEngineRuby::Models::SystemDataUsageResponse::BuildCacheDiskUsage },
api_name: :BuildCacheDiskUsage

#containers_disk_usageDockerEngineRuby::Models::SystemDataUsageResponse::ContainersDiskUsage?

represents system data usage information for container resources.



19
20
21
# File 'lib/docker_engine_ruby/models/system_data_usage_response.rb', line 19

optional :containers_disk_usage,
-> { DockerEngineRuby::Models::SystemDataUsageResponse::ContainersDiskUsage },
api_name: :ContainersDiskUsage

#images_disk_usageDockerEngineRuby::Models::SystemDataUsageResponse::ImagesDiskUsage?

represents system data usage for image resources.



27
28
29
# File 'lib/docker_engine_ruby/models/system_data_usage_response.rb', line 27

optional :images_disk_usage,
-> { DockerEngineRuby::Models::SystemDataUsageResponse::ImagesDiskUsage },
api_name: :ImagesDiskUsage

#volumes_disk_usageDockerEngineRuby::Models::SystemDataUsageResponse::VolumesDiskUsage?

represents system data usage for volume resources.



35
36
37
# File 'lib/docker_engine_ruby/models/system_data_usage_response.rb', line 35

optional :volumes_disk_usage,
-> { DockerEngineRuby::Models::SystemDataUsageResponse::VolumesDiskUsage },
api_name: :VolumesDiskUsage