Class: DockerEngineRuby::Models::SwarmSpec::CaConfig::ExternalCA
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DockerEngineRuby::Models::SwarmSpec::CaConfig::ExternalCA
- Defined in:
- lib/docker_engine_ruby/models/swarm_spec.rb
Defined Under Namespace
Modules: Protocol
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(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 # @!attribute ca_cert # # @return [String, nil] optional :ca_cert, String, api_name: :CACert # @!attribute options # # @return [Hash{Symbol=>String}, nil] optional :options, DockerEngineRuby::Internal::Type::HashOf[String], api_name: :Options # @!attribute protocol # # @return [Symbol, DockerEngineRuby::Models::SwarmSpec::CaConfig::ExternalCA::Protocol, nil] optional :protocol, enum: -> { DockerEngineRuby::SwarmSpec::CaConfig::ExternalCA::Protocol }, api_name: :Protocol # @!attribute url # # @return [String, nil] optional :url, String, api_name: :URL # @!method initialize(ca_cert: nil, options: nil, protocol: nil, url: nil) # @param ca_cert [String] # @param options [Hash{Symbol=>String}] # @param protocol [Symbol, DockerEngineRuby::Models::SwarmSpec::CaConfig::ExternalCA::Protocol] # @param url [String] # @see DockerEngineRuby::Models::SwarmSpec::CaConfig::ExternalCA#protocol module Protocol extend DockerEngineRuby::Internal::Type::Enum CFSSL = :cfssl # @!method self.values # @return [Array<Symbol>] 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 |