Class: DockerEngineRuby::Models::StatsResponse::PrecpuStats
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DockerEngineRuby::Models::StatsResponse::PrecpuStats
- Defined in:
- lib/docker_engine_ruby/models/stats_response.rb
Overview
Defined Under Namespace
Classes: CPUUsage, ThrottlingData
Instance Attribute Summary collapse
-
#cpu_usage ⇒ DockerEngineRuby::Models::StatsResponse::PrecpuStats::CPUUsage?
All CPU stats aggregated since container inception.
-
#online_cpus ⇒ Integer?
Number of online CPUs.
-
#system_cpu_usage ⇒ Integer?
System Usage.
-
#throttling_data ⇒ DockerEngineRuby::Models::StatsResponse::PrecpuStats::ThrottlingData?
CPU throttling stats of the container.
Instance Method Summary collapse
-
#initialize(percpu_usage: nil, total_usage: nil, usage_in_kernelmode: nil, usage_in_usermode: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see CPUUsage for more details.
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(percpu_usage: nil, total_usage: nil, usage_in_kernelmode: nil, usage_in_usermode: nil) ⇒ Object
Some parameter documentations has been truncated, see CPUUsage for more details.
All CPU stats aggregated since container inception.
|
|
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 894
|
Instance Attribute Details
#cpu_usage ⇒ DockerEngineRuby::Models::StatsResponse::PrecpuStats::CPUUsage?
All CPU stats aggregated since container inception.
868 |
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 868 optional :cpu_usage, -> { DockerEngineRuby::StatsResponse::PrecpuStats::CPUUsage } |
#online_cpus ⇒ Integer?
Number of online CPUs.
This field is Linux-specific and omitted for Windows containers.
876 |
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 876 optional :online_cpus, Integer, nil?: true |
#system_cpu_usage ⇒ Integer?
System Usage.
This field is Linux-specific and omitted for Windows containers.
884 |
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 884 optional :system_cpu_usage, Integer, nil?: true |
#throttling_data ⇒ DockerEngineRuby::Models::StatsResponse::PrecpuStats::ThrottlingData?
CPU throttling stats of the container.
This type is Linux-specific and omitted for Windows containers.
892 |
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 892 optional :throttling_data, -> { DockerEngineRuby::StatsResponse::PrecpuStats::ThrottlingData } |