Class: DockerEngineAPI::Models::Spec::Network

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/docker_engine_api/models/spec.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from DockerEngineAPI::Internal::Type::BaseModel

Instance Attribute Details

#aliasesArray<String>?

Discoverable alternate names for the service on this network.

Returns:

  • (Array<String>, nil)


295
# File 'lib/docker_engine_api/models/spec.rb', line 295

optional :aliases, DockerEngineAPI::Internal::Type::ArrayOf[String], api_name: :Aliases

#driver_optsHash{Symbol=>String}?

Driver attachment options for the network target.

Returns:

  • (Hash{Symbol=>String}, nil)


301
# File 'lib/docker_engine_api/models/spec.rb', line 301

optional :driver_opts, DockerEngineAPI::Internal::Type::HashOf[String], api_name: :DriverOpts

#targetString?

The target network for attachment. Must be a network name or ID.

Returns:

  • (String, nil)


307
# File 'lib/docker_engine_api/models/spec.rb', line 307

optional :target, String, api_name: :Target