class

Detector::Specification::K8sGatewayApi

Inherits Detector < Reference < Object

Constants

GATEWAY_API_PREFIX_MARKER = /gateway\.networking\.k8s\.io\//

Every .yaml/.yml in the tree reaches these guards. Both must match, so they stay separate probes rather than a union.

HTTP_ROUTE_KIND_MARKER = /kind:[ \t]*["']?HTTPRoute/

kind: "HTTPRoute" is as valid as the bare form and is what Helm charts and generators emit; the marker has to allow the quotes or the whole manifest is dropped before the parse ever runs.

Class methods

tech_name

The tech name without needing an instance, so the registry can be read off the classes themselves rather than from a parallel list.

Source

Instance methods

applicable?(filename : String) : Bool

Registers each Gateway API manifest path in CodeLocator.

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

Registers each Gateway API manifest path in CodeLocator.

Source
set_name

Registers each Gateway API manifest path in CodeLocator.

Source