Module: Kumonos::Envoy

Defined in:
lib/kumonos/envoy.rb

Overview

Generate envoy configuration.

Defined Under Namespace

Modules: AddressParser Classes: Admin, Cluster, DiscoverService, EnvoyConfig, Listener

Constant Summary collapse

DEFAULT_HTTP_FILTERS =
[{ name: 'envoy.router' }].freeze

Class Method Summary collapse

Class Method Details

.generate(definition, cluster:, node:) ⇒ Object



9
10
11
# File 'lib/kumonos/envoy.rb', line 9

def generate(definition, cluster:, node:)
  EnvoyConfig.build(definition, cluster: cluster, node: node).to_h
end