class

Detector::Specification::K8sIngress

Inherits Detector < Reference < Object

Constants

INGRESS_API_VERSION_MARKER = Regex.union(INGRESS_API_VERSION_PREFIXES)

Every .yml/.yaml in the tree reaches this gate.

INGRESS_API_VERSION_PREFIXES = ["networking.k8s.io/", "extensions/v1beta1"]

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 ingress manifest path in CodeLocator.

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

Registers each ingress manifest path in CodeLocator.

Source
set_name

Registers each ingress manifest path in CodeLocator.

Source