class

Detector::Specification::IstioVirtualservice

Inherits Detector < Reference < Object

Constants

ISTIO_API_PREFIX_MARKER = /networking\.istio\.io\//

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

VIRTUAL_SERVICE_KIND_MARKER = /kind:[ \t]*["']?VirtualService/

kind: "VirtualService" 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 VirtualService manifest path in CodeLocator.

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

Registers each VirtualService manifest path in CodeLocator.

Source
set_name

Registers each VirtualService manifest path in CodeLocator.

Source