Class: DockerEngineRuby::Models::SwarmSpec::CaConfig::ExternalCA
Defined Under Namespace
Modules: Protocol
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(ca_cert: nil, options: nil, protocol: nil, url: nil) ⇒ Object
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
|
# File 'lib/docker_engine_ruby/models/swarm_spec.rb', line 118
class ExternalCA < DockerEngineRuby::Internal::Type::BaseModel
optional :ca_cert, String, api_name: :CACert
optional :options, DockerEngineRuby::Internal::Type::HashOf[String], api_name: :Options
optional :protocol,
enum: -> { DockerEngineRuby::SwarmSpec::CaConfig::ExternalCA::Protocol },
api_name: :Protocol
optional :url, String, api_name: :URL
module Protocol
extend DockerEngineRuby::Internal::Type::Enum
CFSSL = :cfssl
end
end
|
Instance Attribute Details
#ca_cert ⇒ String?
122
|
# File 'lib/docker_engine_ruby/models/swarm_spec.rb', line 122
optional :ca_cert, String, api_name: :CACert
|
#options ⇒ Hash{Symbol=>String}?
127
|
# File 'lib/docker_engine_ruby/models/swarm_spec.rb', line 127
optional :options, DockerEngineRuby::Internal::Type::HashOf[String], api_name: :Options
|
#protocol ⇒ Symbol, ...
132
133
134
|
# File 'lib/docker_engine_ruby/models/swarm_spec.rb', line 132
optional :protocol,
enum: -> { DockerEngineRuby::SwarmSpec::CaConfig::ExternalCA::Protocol },
api_name: :Protocol
|
#url ⇒ String?
139
|
# File 'lib/docker_engine_ruby/models/swarm_spec.rb', line 139
optional :url, String, api_name: :URL
|