Analyzer::Specification::K8sIngress
Inherits Analyzer::Specification::SpecificationEngine < Analyzer < FileHelper < Reference < Object
Constants
API_VERSION_LINE = /(?m)^[ \t-]*apiVersion:\s*["']?(?:networking\.k8s\.io\/[^"'\s#]+|extensions\/v1beta1)["']?\s*(?:#.*)?$/
DEFAULT_METHOD = "GET"
DEFAULT_PATH_TYPE = "ImplementationSpecific"
HOST_LINE = /^[ \t-]*host:\s*(.*)$/
KIND_LINE = /(?m)^[ \t-]*kind:\s*["']?Ingress["']?\s*(?:#.*)?$/
PATH_LINE = /^[ \t-]*path:\s*(.*)$/
PATH_TYPE_LINE = /^[ \t-]*pathType:\s*(.*)$/
REWRITE_ANNOTATION = "nginx.ingress.kubernetes.io/rewrite-target"
Class methods
tech_name
SourceInstance methods
analyze
Sourcetech
Instance-side view of the same declaration. The per-file rescues live on
this base class, which has no way to name the analyzer that is running
inside them, so a skipped file could not be attributed to a tech.
Deriving it from analyzer_for keeps the name written exactly once.