Class: DockerEngineRuby::Models::SwarmSpec
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DockerEngineRuby::Models::SwarmSpec
- Defined in:
- lib/docker_engine_ruby/models/swarm_spec.rb
Defined Under Namespace
Classes: CaConfig, Dispatcher, EncryptionConfig, Orchestration, Raft, TaskDefaults
Instance Attribute Summary collapse
-
#ca_config ⇒ DockerEngineRuby::Models::SwarmSpec::CaConfig?
CA configuration.
-
#dispatcher ⇒ DockerEngineRuby::Models::SwarmSpec::Dispatcher?
Dispatcher configuration.
-
#encryption_config ⇒ DockerEngineRuby::Models::SwarmSpec::EncryptionConfig?
Parameters related to encryption-at-rest.
-
#labels ⇒ Hash{Symbol=>String}?
User-defined key/value metadata.
-
#name ⇒ String?
Name of the swarm.
-
#orchestration ⇒ DockerEngineRuby::Models::SwarmSpec::Orchestration?
Orchestration configuration.
-
#raft ⇒ DockerEngineRuby::Models::SwarmSpec::Raft?
Raft configuration.
-
#task_defaults ⇒ DockerEngineRuby::Models::SwarmSpec::TaskDefaults?
Defaults for creating tasks in this cluster.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(election_tick: nil, heartbeat_tick: nil, keep_old_snapshots: nil, log_entries_for_slow_followers: nil, snapshot_interval: nil) ⇒ Object
constructor
Raft configuration.
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(election_tick: nil, heartbeat_tick: nil, keep_old_snapshots: nil, log_entries_for_slow_followers: nil, snapshot_interval: nil) ⇒ Object
Raft configuration.
|
|
# File 'lib/docker_engine_ruby/models/swarm_spec.rb', line 59
|
Instance Attribute Details
#ca_config ⇒ DockerEngineRuby::Models::SwarmSpec::CaConfig?
CA configuration.
10 |
# File 'lib/docker_engine_ruby/models/swarm_spec.rb', line 10 optional :ca_config, -> { DockerEngineRuby::SwarmSpec::CaConfig }, api_name: :CAConfig, nil?: true |
#dispatcher ⇒ DockerEngineRuby::Models::SwarmSpec::Dispatcher?
Dispatcher configuration.
16 |
# File 'lib/docker_engine_ruby/models/swarm_spec.rb', line 16 optional :dispatcher, -> { DockerEngineRuby::SwarmSpec::Dispatcher }, api_name: :Dispatcher, nil?: true |
#encryption_config ⇒ DockerEngineRuby::Models::SwarmSpec::EncryptionConfig?
Parameters related to encryption-at-rest.
22 23 24 |
# File 'lib/docker_engine_ruby/models/swarm_spec.rb', line 22 optional :encryption_config, -> { DockerEngineRuby::SwarmSpec::EncryptionConfig }, api_name: :EncryptionConfig |
#labels ⇒ Hash{Symbol=>String}?
User-defined key/value metadata.
30 |
# File 'lib/docker_engine_ruby/models/swarm_spec.rb', line 30 optional :labels, DockerEngineRuby::Internal::Type::HashOf[String], api_name: :Labels |
#name ⇒ String?
Name of the swarm.
36 |
# File 'lib/docker_engine_ruby/models/swarm_spec.rb', line 36 optional :name, String, api_name: :Name |
#orchestration ⇒ DockerEngineRuby::Models::SwarmSpec::Orchestration?
Orchestration configuration.
42 43 44 45 |
# File 'lib/docker_engine_ruby/models/swarm_spec.rb', line 42 optional :orchestration, -> { DockerEngineRuby::SwarmSpec::Orchestration }, api_name: :Orchestration, nil?: true |
#raft ⇒ DockerEngineRuby::Models::SwarmSpec::Raft?
Raft configuration.
51 |
# File 'lib/docker_engine_ruby/models/swarm_spec.rb', line 51 optional :raft, -> { DockerEngineRuby::SwarmSpec::Raft }, api_name: :Raft |
#task_defaults ⇒ DockerEngineRuby::Models::SwarmSpec::TaskDefaults?
Defaults for creating tasks in this cluster.
57 |
# File 'lib/docker_engine_ruby/models/swarm_spec.rb', line 57 optional :task_defaults, -> { DockerEngineRuby::SwarmSpec::TaskDefaults }, api_name: :TaskDefaults |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/docker_engine_ruby/models/swarm_spec.rb', line 153
|