Class: DockerEngineRuby::Models::StatsResponse::Network

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from DockerEngineRuby::Internal::Type::BaseModel

Instance Attribute Details

#endpoint_idString?

Endpoint ID. Not used on Linux.

This field is Windows-specific and omitted for Linux containers.

Returns:

  • (String, nil)


745
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 745

optional :endpoint_id, String, nil?: true

#instance_idString?

Instance ID. Not used on Linux.

This field is Windows-specific and omitted for Linux containers.

Returns:

  • (String, nil)


753
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 753

optional :instance_id, String, nil?: true

#rx_bytesInteger?

Bytes received. Windows and Linux.

Returns:

  • (Integer, nil)


759
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 759

optional :rx_bytes, Integer

#rx_droppedInteger?

Incoming packets dropped. Windows and Linux.

Returns:

  • (Integer, nil)


765
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 765

optional :rx_dropped, Integer

#rx_errorsInteger?

Received errors. Not used on Windows.

This field is Linux-specific and always zero for Windows containers.

Returns:

  • (Integer, nil)


773
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 773

optional :rx_errors, Integer

#rx_packetsInteger?

Packets received. Windows and Linux.

Returns:

  • (Integer, nil)


779
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 779

optional :rx_packets, Integer

#tx_bytesInteger?

Bytes sent. Windows and Linux.

Returns:

  • (Integer, nil)


785
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 785

optional :tx_bytes, Integer

#tx_droppedInteger?

Outgoing packets dropped. Windows and Linux.

Returns:

  • (Integer, nil)


791
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 791

optional :tx_dropped, Integer

#tx_errorsInteger?

Sent errors. Not used on Windows.

This field is Linux-specific and always zero for Windows containers.

Returns:

  • (Integer, nil)


799
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 799

optional :tx_errors, Integer

#tx_packetsInteger?

Packets sent. Windows and Linux.

Returns:

  • (Integer, nil)


805
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 805

optional :tx_packets, Integer