Class: DockerEngineRuby::Models::Container::HostConfig::Mount::BindOptions

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

Overview

See Also:

  • DockerEngineRuby::Models::Container::HostConfig::Mount#bind_options

Defined Under Namespace

Modules: Propagation

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(create_mountpoint: nil, non_recursive: nil, propagation: nil, read_only_force_recursive: nil, read_only_non_recursive: nil) ⇒ Object

Optional configuration for the bind type.

Parameters:



# File 'lib/docker_engine_ruby/models/container.rb', line 1416

Instance Attribute Details

#create_mountpoint ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


1386
1387
1388
# File 'lib/docker_engine_ruby/models/container.rb', line 1386

optional :create_mountpoint,
DockerEngineRuby::Internal::Type::Boolean,
api_name: :CreateMountpoint

#non_recursive ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


1393
# File 'lib/docker_engine_ruby/models/container.rb', line 1393

optional :non_recursive, DockerEngineRuby::Internal::Type::Boolean, api_name: :NonRecursive

#propagation ⇒ Symbol, ...



1398
1399
1400
# File 'lib/docker_engine_ruby/models/container.rb', line 1398

optional :propagation,
enum: -> { DockerEngineRuby::Container::HostConfig::Mount::BindOptions::Propagation },
api_name: :Propagation

#read_only_force_recursive ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


1405
1406
1407
# File 'lib/docker_engine_ruby/models/container.rb', line 1405

optional :read_only_force_recursive,
DockerEngineRuby::Internal::Type::Boolean,
api_name: :ReadOnlyForceRecursive

#read_only_non_recursive ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


1412
1413
1414
# File 'lib/docker_engine_ruby/models/container.rb', line 1412

optional :read_only_non_recursive,
DockerEngineRuby::Internal::Type::Boolean,
api_name: :ReadOnlyNonRecursive

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


1090
# File 'sig/docker_engine_ruby/models/container.rbs', line 1090

def to_hash: -> {