Class: DockerEngineRuby::Models::TaskSpec::ContainerSpec::Mount::BindOptions

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

Overview

See Also:

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/task_spec.rb', line 669


Instance Attribute Details

#create_mountpointBoolean?

Returns:

  • (Boolean, nil)


639
640
641
# File 'lib/docker_engine_ruby/models/task_spec.rb', line 639

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

#non_recursiveBoolean?

Returns:

  • (Boolean, nil)


646
# File 'lib/docker_engine_ruby/models/task_spec.rb', line 646

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

#propagationSymbol, ...



651
652
653
# File 'lib/docker_engine_ruby/models/task_spec.rb', line 651

optional :propagation,
enum: -> { DockerEngineRuby::TaskSpec::ContainerSpec::Mount::BindOptions::Propagation },
api_name: :Propagation

#read_only_force_recursiveBoolean?

Returns:

  • (Boolean, nil)


658
659
660
# File 'lib/docker_engine_ruby/models/task_spec.rb', line 658

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

#read_only_non_recursiveBoolean?

Returns:

  • (Boolean, nil)


665
666
667
# File 'lib/docker_engine_ruby/models/task_spec.rb', line 665

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