Class: Docker::Stack::Localstack::EndpointStub::Plugin
- Inherits:
-
Seahorse::Client::Plugin
- Object
- Seahorse::Client::Plugin
- Docker::Stack::Localstack::EndpointStub::Plugin
- Defined in:
- lib/docker/stack/localstack/endpoint_stub.rb
Constant Summary collapse
- PORT_MAP =
{ 'Aws::APIGateway' => 4567, 'Aws::CloudFormation' => 4581, 'Aws::CloudWatch' => 4582, 'Aws::DynamoDB' => 4569, 'Aws::DynamoDBStreams' => 4570, 'Aws::Elasticsearch' => 4571, 'Aws::ElasticsearchService' => 4578, 'Aws::Firehose' => 4573, 'Aws::Kinesis' => 4568, 'Aws::Lambda' => 4574, 'Aws::Redshift' => 4577, 'Aws::Route53' => 4580, 'Aws::S3' => 4572, 'Aws::SES' => 4579, 'Aws::SNS' => 4575, 'Aws::SQS' => 4576, 'Aws::SSM' => 4583 }.freeze
Instance Method Summary collapse
Instance Method Details
#after_initialize(client) ⇒ Object
31 32 33 |
# File 'lib/docker/stack/localstack/endpoint_stub.rb', line 31 def after_initialize(client) client.config.endpoint = endpoint_for(client) || client.config.endpoint end |