class

Detector::Specification::Ocelot

Inherits Detector < Reference < Object

Constants

MARKER = /"UpstreamPathTemplate"/

UpstreamPathTemplate is Ocelot's own key name; nothing else uses it.

Instance methods

applicable?(filename : String) : Bool

Registers each Ocelot gateway config (ocelot.json, ocelot.<env>.json, or any JSON carrying Ocelot routes) in CodeLocator.

Source
detect(filename : String, file_contents : String) : Bool
Source
idempotent?

Registers each Ocelot gateway config (ocelot.json, ocelot.<env>.json, or any JSON carrying Ocelot routes) in CodeLocator.

Source
name

Registers each Ocelot gateway config (ocelot.json, ocelot.<env>.json, or any JSON carrying Ocelot routes) in CodeLocator.

Source