class

Detector::Specification::Tyk

Inherits Detector < Reference < Object

Constants

JSON_DEFINITION = /"(?:api_id|version_data)"\s*:/
JSON_LISTEN_PATH = /"listen_path"\s*:\s*"/
YAML_API_VERSION = /^\s*apiVersion\s*:\s*["']?tyk\.tyk\.io\//m
YAML_KIND = /^\s*kind\s*:\s*["']?ApiDefinition\b/m

Instance methods

applicable?(filename : String) : Bool

Registers Tyk classic API definitions (JSON, including dashboard exports) and Tyk Operator ApiDefinition resources in CodeLocator.

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

Registers Tyk classic API definitions (JSON, including dashboard exports) and Tyk Operator ApiDefinition resources in CodeLocator.

Source
name

Registers Tyk classic API definitions (JSON, including dashboard exports) and Tyk Operator ApiDefinition resources in CodeLocator.

Source