Class: DockerEngineRuby::Models::Plugin::Config::Linux

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/docker_engine_ruby/models/plugin.rb,
sig/docker_engine_ruby/models/plugin.rbs

Overview

See Also:

  • DockerEngineRuby::Models::Plugin::Config#linux

Defined Under Namespace

Classes: Device

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 ⇒ Object



262
# File 'sig/docker_engine_ruby/models/plugin.rbs', line 262

def initialize: (

Instance Attribute Details

#allow_all_devices ⇒ Boolean

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


258
# File 'lib/docker_engine_ruby/models/plugin.rb', line 258

required :allow_all_devices, DockerEngineRuby::Internal::Type::Boolean, api_name: :AllowAllDevices

#capabilities ⇒ Array<String>

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


263
# File 'lib/docker_engine_ruby/models/plugin.rb', line 263

required :capabilities, DockerEngineRuby::Internal::Type::ArrayOf[String], api_name: :Capabilities

#devices ⇒ Array<DockerEngineRuby::Models::Plugin::Config::Linux::Device>

Parameters:

  • value (::Array[DockerEngineRuby::Plugin::Config::Linux::Device])

Returns:



268
269
270
271
272
# File 'lib/docker_engine_ruby/models/plugin.rb', line 268

required :devices,
-> {
  DockerEngineRuby::Internal::Type::ArrayOf[DockerEngineRuby::Plugin::Config::Linux::Device]
},
api_name: :Devices

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


268
# File 'sig/docker_engine_ruby/models/plugin.rbs', line 268

def to_hash: -> {